test_tutorial2_LoKi and test_tutorial3_ThOrfunctors failing due to functor JIT warnings on gcc12-dbg
test_tutorial2_LoKi
and test_tutorial3_ThOrfunctors
are failing on gcc12 dbg platforms (both detdesc and dd4hep). The problem is that the JIT compilation of functors emits warnings on stderr. For example this instance has the (cleaned up) stderr below. These or similar warnings probably happen during the project builds but the dashboard filters some warnings so everything appears green.
The fact that this test is failing on some platforms and not others is preventing the non-forced (safer) use of the reference update bot.
In file included from /workspace/build/LHCb/InstallArea/x86_64_v2-centos7-gcc12-dbg/include/Event/ParticleCombination.h:15,
from /workspace/build/LHCb/InstallArea/x86_64_v2-centos7-gcc12-dbg/include/Event/Particle.h:488,
from /workspace/build/Rec/Phys/SelKernel/include/SelKernel/Utilities.h:13,
from /workspace/build/Rec/Phys/FunctorCore/include/Functors/Core.h:17,
from /workspace/build/Rec/Phys/FunctorCore/include/Functors/Function.h:12,
from /workspace/build/Rec/Phys/FunctorCore/include/Functors/Adapters.h:12,
from /workspace/build/Rec/Phys/FunctorCore/include/Functors/JIT_includes.h:24,
from <command-line>:
In constructor 'boost::container::static_vector<T, Capacity, Options>::static_vector(std::initializer_list<typename boost::container::vector<T, typename boost::container::dtl::get_static_vector_allocator<T, Capacity, Options>::type>::value_type>) [with T = const LHCb::Particle*; long unsigned int Capacity = 8; Options = void]',
inlined from 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&}; <template-parameter-2-2> = void; Particle_t = LHCb::Particle]' at /workspace/build/LHCb/InstallArea/x86_64_v2-centos7-gcc12-dbg/include/Event/ParticleCombination.h:56:45:
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/static_vector.hpp:293:20: warning: '<anonymous>' may be used uninitialized [-Wmaybe-uninitialized]
293 | : base_t(il)
| ^
In file included from /cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/small_vector.hpp:27,
from /workspace/build/LHCb/InstallArea/x86_64_v2-centos7-gcc12-dbg/include/Kernel/MonotonicArena.h:17,
from /workspace/build/LHCb/InstallArea/x86_64_v2-centos7-gcc12-dbg/include/Kernel/EventLocalResource.h:34,
from /workspace/build/LHCb/InstallArea/x86_64_v2-centos7-gcc12-dbg/include/Kernel/EventContextExt.h:14,
from /workspace/build/LHCb/InstallArea/x86_64_v2-centos7-gcc12-dbg/include/Kernel/EventLocalAllocator.h:12,
from /workspace/build/LHCb/InstallArea/x86_64_v2-centos7-gcc12-dbg/include/Kernel/EventLocalUnique.h:12,
from /workspace/build/Rec/Phys/FunctorCore/include/Functors/Core.h:15:
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/vector.hpp: In constructor 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&}; <template-parameter-2-2> = void; Particle_t = LHCb::Particle]':
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/vector.hpp:1042:4: note: by argument 3 of type 'const boost::container::vector<const LHCb::Particle*, boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>, void>::allocator_type&' {aka 'const boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>&'} to 'boost::container::vector<T, Allocator, Options>::vector(std::initializer_list<_Tp>, const allocator_type&) [with T = const LHCb::Particle*; A = boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>; Options = void]' declared here
1042 | vector(std::initializer_list<value_type> il, const allocator_type& a = allocator_type())
| ^~~~~~
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/static_vector.hpp:293:20: note: '<anonymous>' declared here
293 | : base_t(il)
| ^
In constructor 'boost::container::static_vector<T, Capacity, Options>::static_vector(std::initializer_list<typename boost::container::vector<T, typename boost::container::dtl::get_static_vector_allocator<T, Capacity, Options>::type>::value_type>) [with T = const LHCb::Particle*; long unsigned int Capacity = 8; Options = void]',
inlined from 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&}; <template-parameter-2-2> = void; Particle_t = LHCb::Particle]' at /workspace/build/LHCb/InstallArea/x86_64_v2-centos7-gcc12-dbg/include/Event/ParticleCombination.h:56:45:
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/static_vector.hpp:293:20: warning: '<anonymous>' may be used uninitialized [-Wmaybe-uninitialized]
293 | : base_t(il)
| ^
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/vector.hpp: In constructor 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&}; <template-parameter-2-2> = void; Particle_t = LHCb::Particle]':
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/vector.hpp:1042:4: note: by argument 3 of type 'const boost::container::vector<const LHCb::Particle*, boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>, void>::allocator_type&' {aka 'const boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>&'} to 'boost::container::vector<T, Allocator, Options>::vector(std::initializer_list<_Tp>, const allocator_type&) [with T = const LHCb::Particle*; A = boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>; Options = void]' declared here
1042 | vector(std::initializer_list<value_type> il, const allocator_type& a = allocator_type())
| ^~~~~~
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/static_vector.hpp:293:20: note: '<anonymous>' declared here
293 | : base_t(il)
| ^
In constructor 'boost::container::static_vector<T, Capacity, Options>::static_vector(std::initializer_list<typename boost::container::vector<T, typename boost::container::dtl::get_static_vector_allocator<T, Capacity, Options>::type>::value_type>) [with T = const LHCb::Particle*; long unsigned int Capacity = 8; Options = void]',
inlined from 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&}; <template-parameter-2-2> = void; Particle_t = LHCb::Particle]' at /workspace/build/LHCb/InstallArea/x86_64_v2-centos7-gcc12-dbg/include/Event/ParticleCombination.h:56:45:
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/static_vector.hpp:293:20: warning: '<anonymous>' may be used uninitialized [-Wmaybe-uninitialized]
293 | : base_t(il)
| ^
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/vector.hpp: In constructor 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&}; <template-parameter-2-2> = void; Particle_t = LHCb::Particle]':
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/vector.hpp:1042:4: note: by argument 3 of type 'const boost::container::vector<const LHCb::Particle*, boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>, void>::allocator_type&' {aka 'const boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>&'} to 'boost::container::vector<T, Allocator, Options>::vector(std::initializer_list<_Tp>, const allocator_type&) [with T = const LHCb::Particle*; A = boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>; Options = void]' declared here
1042 | vector(std::initializer_list<value_type> il, const allocator_type& a = allocator_type())
| ^~~~~~
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/static_vector.hpp:293:20: note: '<anonymous>' declared here
293 | : base_t(il)
| ^
In constructor 'boost::container::static_vector<T, Capacity, Options>::static_vector(std::initializer_list<typename boost::container::vector<T, typename boost::container::dtl::get_static_vector_allocator<T, Capacity, Options>::type>::value_type>) [with T = const LHCb::Particle*; long unsigned int Capacity = 8; Options = void]',
inlined from 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&}; <template-parameter-2-2> = void; Particle_t = LHCb::Particle]' at /workspace/build/LHCb/InstallArea/x86_64_v2-centos7-gcc12-dbg/include/Event/ParticleCombination.h:56:45:
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/static_vector.hpp:293:20: warning: '<anonymous>' may be used uninitialized [-Wmaybe-uninitialized]
293 | : base_t(il)
| ^
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/vector.hpp: In constructor 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&}; <template-parameter-2-2> = void; Particle_t = LHCb::Particle]':
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/vector.hpp:1042:4: note: by argument 3 of type 'const boost::container::vector<const LHCb::Particle*, boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>, void>::allocator_type&' {aka 'const boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>&'} to 'boost::container::vector<T, Allocator, Options>::vector(std::initializer_list<_Tp>, const allocator_type&) [with T = const LHCb::Particle*; A = boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>; Options = void]' declared here
1042 | vector(std::initializer_list<value_type> il, const allocator_type& a = allocator_type())
| ^~~~~~
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/static_vector.hpp:293:20: note: '<anonymous>' declared here
293 | : base_t(il)
| ^
In constructor 'boost::container::static_vector<T, Capacity, Options>::static_vector(std::initializer_list<typename boost::container::vector<T, typename boost::container::dtl::get_static_vector_allocator<T, Capacity, Options>::type>::value_type>) [with T = const LHCb::Particle*; long unsigned int Capacity = 8; Options = void]',
inlined from 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&}; <template-parameter-2-2> = void; Particle_t = LHCb::Particle]' at /workspace/build/LHCb/InstallArea/x86_64_v2-centos7-gcc12-dbg/include/Event/ParticleCombination.h:56:45:
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/static_vector.hpp:293:20: warning: '<anonymous>' may be used uninitialized [-Wmaybe-uninitialized]
293 | : base_t(il)
| ^
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/vector.hpp: In constructor 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&}; <template-parameter-2-2> = void; Particle_t = LHCb::Particle]':
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/vector.hpp:1042:4: note: by argument 3 of type 'const boost::container::vector<const LHCb::Particle*, boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>, void>::allocator_type&' {aka 'const boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>&'} to 'boost::container::vector<T, Allocator, Options>::vector(std::initializer_list<_Tp>, const allocator_type&) [with T = const LHCb::Particle*; A = boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>; Options = void]' declared here
1042 | vector(std::initializer_list<value_type> il, const allocator_type& a = allocator_type())
| ^~~~~~
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/static_vector.hpp:293:20: note: '<anonymous>' declared here
293 | : base_t(il)
| ^
In constructor 'boost::container::static_vector<T, Capacity, Options>::static_vector(std::initializer_list<typename boost::container::vector<T, typename boost::container::dtl::get_static_vector_allocator<T, Capacity, Options>::type>::value_type>) [with T = const LHCb::Particle*; long unsigned int Capacity = 8; Options = void]',
inlined from 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&}; <template-parameter-2-2> = void; Particle_t = LHCb::Particle]' at /workspace/build/LHCb/InstallArea/x86_64_v2-centos7-gcc12-dbg/include/Event/ParticleCombination.h:56:45:
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/static_vector.hpp:293:20: warning: '<anonymous>' may be used uninitialized [-Wmaybe-uninitialized]
293 | : base_t(il)
| ^
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/vector.hpp: In constructor 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&}; <template-parameter-2-2> = void; Particle_t = LHCb::Particle]':
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/vector.hpp:1042:4: note: by argument 3 of type 'const boost::container::vector<const LHCb::Particle*, boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>, void>::allocator_type&' {aka 'const boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>&'} to 'boost::container::vector<T, Allocator, Options>::vector(std::initializer_list<_Tp>, const allocator_type&) [with T = const LHCb::Particle*; A = boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>; Options = void]' declared here
1042 | vector(std::initializer_list<value_type> il, const allocator_type& a = allocator_type())
| ^~~~~~
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/static_vector.hpp:293:20: note: '<anonymous>' declared here
293 | : base_t(il)
| ^
In constructor 'boost::container::static_vector<T, Capacity, Options>::static_vector(std::initializer_list<typename boost::container::vector<T, typename boost::container::dtl::get_static_vector_allocator<T, Capacity, Options>::type>::value_type>) [with T = const LHCb::Particle*; long unsigned int Capacity = 8; Options = void]',
inlined from 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&}; <template-parameter-2-2> = void; Particle_t = LHCb::Particle]' at /workspace/build/LHCb/InstallArea/x86_64_v2-centos7-gcc12-dbg/include/Event/ParticleCombination.h:56:45:
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/static_vector.hpp:293:20: warning: '<anonymous>' may be used uninitialized [-Wmaybe-uninitialized]
293 | : base_t(il)
| ^
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/vector.hpp: In constructor 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&, const LHCb::Particle* const&}; <template-parameter-2-2> = void; Particle_t = LHCb::Particle]':
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/vector.hpp:1042:4: note: by argument 3 of type 'const boost::container::vector<const LHCb::Particle*, boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>, void>::allocator_type&' {aka 'const boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>&'} to 'boost::container::vector<T, Allocator, Options>::vector(std::initializer_list<_Tp>, const allocator_type&) [with T = const LHCb::Particle*; A = boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>; Options = void]' declared here
1042 | vector(std::initializer_list<value_type> il, const allocator_type& a = allocator_type())
| ^~~~~~
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.81.0-7e325/x86_64-centos7-gcc12-dbg/include/boost/container/static_vector.hpp:293:20: note: '<anonymous>' declared here
293 | : base_t(il)
| ^
Fixed by LHCb!4194 (merged)
Edited by Patrick Koppenburg