google / riegeli

Riegeli/records is a file format for storing a sequence of string records, typically serialized protocol buffers.
Apache License 2.0
418 stars 53 forks source link

C++ version failing to build #22

Closed PolarBear292208 closed 2 years ago

PolarBear292208 commented 2 years ago

I'm synced to commit faac845.

I'm trying to build riegeli to try it out, but it's failing to build with the following error:

$ bazel build riegeli/records:all
INFO: Analyzed 9 targets (0 packages loaded, 0 targets configured).
INFO: Found 9 targets...
ERROR: /mnt/c/Users/miles/Development/riegeli/riegeli/chunk_encoding/BUILD:219:11: Compiling riegeli/chunk_encoding/transpose_decoder.cc failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 35 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./riegeli/chunk_encoding/decompressor.h:28,
                 from riegeli/chunk_encoding/transpose_decoder.cc:44:
./riegeli/base/any_dependency.h: In instantiation of 'struct riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, riegeli::ChainReader<> >':
./riegeli/base/any_dependency.h:463:14:   recursively required by substitution of 'template<class Manager> struct riegeli::AnyDependency<riegeli::Reader*>::MethodsFor<Manager, typename std::enable_if<riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, Manager>::value, void>::type> [with Manager = riegeli::ChainReader<>]'
./riegeli/base/any_dependency.h:463:14:   required from 'void riegeli::AnyDependency<Ptr>::Reset(std::tuple<_Args2 ...>) [with Manager = riegeli::ChainReader<>; ManagerArgs = {riegeli::Chain*&&}; Ptr = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:187:5:   required from 'void riegeli::internal::Decompressor<Src>::Initialize(SrcInit&&, riegeli::CompressionType) [with SrcInit = std::tuple<riegeli::Chain*&&>; Src = riegeli::ChainReader<>]'
./riegeli/chunk_encoding/decompressor.h:134:3:   required from 'riegeli::internal::Decompressor<Src>::Decompressor(std::tuple<_Args1 ...>, riegeli::CompressionType) [with SrcArgs = {riegeli::Chain*&&}; Src = riegeli::ChainReader<>]'
riegeli/chunk_encoding/transpose_decoder.cc:501:63:   required from here
./riegeli/base/any_dependency.h:253:8: error: 'template<class Manager, class Enable> struct riegeli::AnyDependency<riegeli::Reader*>::IsInline' is private within this context
  253 | struct AnyDependencyIsInline : AnyDependency<Ptr>::template IsInline<Manager> {
      |        ^~~~~~~~~~~~~~~~~~~~~
./riegeli/base/any_dependency.h:167:10: note: declared private here
  167 |   struct IsInline;
      |          ^~~~~~~~
./riegeli/base/any_dependency.h: In instantiation of 'struct riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, riegeli::BrotliReader<riegeli::ChainReader<> > >':
./riegeli/base/any_dependency.h:463:14:   recursively required by substitution of 'template<class Manager> struct riegeli::AnyDependency<riegeli::Reader*>::MethodsFor<Manager, typename std::enable_if<riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, Manager>::value, void>::type> [with Manager = riegeli::BrotliReader<riegeli::ChainReader<> >]'
./riegeli/base/any_dependency.h:463:14:   required from 'void riegeli::AnyDependency<Ptr>::Reset(std::tuple<_Args2 ...>) [with Manager = riegeli::BrotliReader<riegeli::ChainReader<> >; ManagerArgs = {riegeli::ChainReader<const riegeli::Chain*>&&}; Ptr = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:202:7:   required from 'void riegeli::internal::Decompressor<Src>::Initialize(SrcInit&&, riegeli::CompressionType) [with SrcInit = std::tuple<riegeli::Chain*&&>; Src = riegeli::ChainReader<>]'
./riegeli/chunk_encoding/decompressor.h:134:3:   required from 'riegeli::internal::Decompressor<Src>::Decompressor(std::tuple<_Args1 ...>, riegeli::CompressionType) [with SrcArgs = {riegeli::Chain*&&}; Src = riegeli::ChainReader<>]'
riegeli/chunk_encoding/transpose_decoder.cc:501:63:   required from here
./riegeli/base/any_dependency.h:253:8: error: 'template<class Manager, class Enable> struct riegeli::AnyDependency<riegeli::Reader*>::IsInline' is private within this context
  253 | struct AnyDependencyIsInline : AnyDependency<Ptr>::template IsInline<Manager> {
      |        ^~~~~~~~~~~~~~~~~~~~~
./riegeli/base/any_dependency.h:167:10: note: declared private here
  167 |   struct IsInline;
      |          ^~~~~~~~
./riegeli/base/any_dependency.h: In instantiation of 'struct riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, riegeli::ZstdReader<riegeli::ChainReader<> > >':
./riegeli/base/any_dependency.h:463:14:   recursively required by substitution of 'template<class Manager> struct riegeli::AnyDependency<riegeli::Reader*>::MethodsFor<Manager, typename std::enable_if<riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, Manager>::value, void>::type> [with Manager = riegeli::ZstdReader<riegeli::ChainReader<> >]'
./riegeli/base/any_dependency.h:463:14:   required from 'void riegeli::AnyDependency<Ptr>::Reset(std::tuple<_Args2 ...>) [with Manager = riegeli::ZstdReader<riegeli::ChainReader<> >; ManagerArgs = {riegeli::ChainReader<const riegeli::Chain*>&&, riegeli::ZstdReaderBase::Options&&}; Ptr = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:206:7:   required from 'void riegeli::internal::Decompressor<Src>::Initialize(SrcInit&&, riegeli::CompressionType) [with SrcInit = std::tuple<riegeli::Chain*&&>; Src = riegeli::ChainReader<>]'
./riegeli/chunk_encoding/decompressor.h:134:3:   required from 'riegeli::internal::Decompressor<Src>::Decompressor(std::tuple<_Args1 ...>, riegeli::CompressionType) [with SrcArgs = {riegeli::Chain*&&}; Src = riegeli::ChainReader<>]'
riegeli/chunk_encoding/transpose_decoder.cc:501:63:   required from here
./riegeli/base/any_dependency.h:253:8: error: 'template<class Manager, class Enable> struct riegeli::AnyDependency<riegeli::Reader*>::IsInline' is private within this context
  253 | struct AnyDependencyIsInline : AnyDependency<Ptr>::template IsInline<Manager> {
      |        ^~~~~~~~~~~~~~~~~~~~~
./riegeli/base/any_dependency.h:167:10: note: declared private here
  167 |   struct IsInline;
      |          ^~~~~~~~
./riegeli/base/any_dependency.h: In instantiation of 'struct riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, riegeli::SnappyReader<riegeli::ChainReader<> > >':
./riegeli/base/any_dependency.h:463:14:   recursively required by substitution of 'template<class Manager> struct riegeli::AnyDependency<riegeli::Reader*>::MethodsFor<Manager, typename std::enable_if<riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, Manager>::value, void>::type> [with Manager = riegeli::SnappyReader<riegeli::ChainReader<> >]'
./riegeli/base/any_dependency.h:463:14:   required from 'void riegeli::AnyDependency<Ptr>::Reset(std::tuple<_Args2 ...>) [with Manager = riegeli::SnappyReader<riegeli::ChainReader<> >; ManagerArgs = {riegeli::ChainReader<const riegeli::Chain*>&&}; Ptr = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:211:7:   required from 'void riegeli::internal::Decompressor<Src>::Initialize(SrcInit&&, riegeli::CompressionType) [with SrcInit = std::tuple<riegeli::Chain*&&>; Src = riegeli::ChainReader<>]'
./riegeli/chunk_encoding/decompressor.h:134:3:   required from 'riegeli::internal::Decompressor<Src>::Decompressor(std::tuple<_Args1 ...>, riegeli::CompressionType) [with SrcArgs = {riegeli::Chain*&&}; Src = riegeli::ChainReader<>]'
riegeli/chunk_encoding/transpose_decoder.cc:501:63:   required from here
./riegeli/base/any_dependency.h:253:8: error: 'template<class Manager, class Enable> struct riegeli::AnyDependency<riegeli::Reader*>::IsInline' is private within this context
  253 | struct AnyDependencyIsInline : AnyDependency<Ptr>::template IsInline<Manager> {
      |        ^~~~~~~~~~~~~~~~~~~~~
./riegeli/base/any_dependency.h:167:10: note: declared private here
  167 |   struct IsInline;
      |          ^~~~~~~~
./riegeli/base/any_dependency.h: In instantiation of 'struct riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, riegeli::Reader*>':
./riegeli/base/any_dependency.h:454:14:   recursively required by substitution of 'template<class Manager> struct riegeli::AnyDependency<riegeli::Reader*>::MethodsFor<Manager, typename std::enable_if<riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, Manager>::value, void>::type> [with Manager = riegeli::Reader*]'
./riegeli/base/any_dependency.h:454:14:   required from 'void riegeli::AnyDependency<Ptr>::Reset(Manager&&) [with Manager = riegeli::Reader*; Ptr = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:187:5:   required from 'void riegeli::internal::Decompressor<Src>::Initialize(SrcInit&&, riegeli::CompressionType) [with SrcInit = riegeli::Reader*; Src = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:171:3:   required from 'void riegeli::internal::Decompressor<Src>::Reset(Src&&, riegeli::CompressionType) [with Src = riegeli::Reader*]'
riegeli/chunk_encoding/transpose_decoder.cc:746:59:   required from here
./riegeli/base/any_dependency.h:253:8: error: 'template<class Manager, class Enable> struct riegeli::AnyDependency<riegeli::Reader*>::IsInline' is private within this context
  253 | struct AnyDependencyIsInline : AnyDependency<Ptr>::template IsInline<Manager> {
      |        ^~~~~~~~~~~~~~~~~~~~~
./riegeli/base/any_dependency.h:167:10: note: declared private here
  167 |   struct IsInline;
      |          ^~~~~~~~
./riegeli/base/any_dependency.h: In instantiation of 'struct riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, riegeli::BrotliReader<riegeli::Reader*> >':
./riegeli/base/any_dependency.h:463:14:   recursively required by substitution of 'template<class Manager> struct riegeli::AnyDependency<riegeli::Reader*>::MethodsFor<Manager, typename std::enable_if<riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, Manager>::value, void>::type> [with Manager = riegeli::BrotliReader<riegeli::Reader*>]'
./riegeli/base/any_dependency.h:463:14:   required from 'void riegeli::AnyDependency<Ptr>::Reset(std::tuple<_Args2 ...>) [with Manager = riegeli::BrotliReader<riegeli::Reader*>; ManagerArgs = {riegeli::Reader*&&}; Ptr = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:202:7:   required from 'void riegeli::internal::Decompressor<Src>::Initialize(SrcInit&&, riegeli::CompressionType) [with SrcInit = riegeli::Reader*; Src = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:171:3:   required from 'void riegeli::internal::Decompressor<Src>::Reset(Src&&, riegeli::CompressionType) [with Src = riegeli::Reader*]'
riegeli/chunk_encoding/transpose_decoder.cc:746:59:   required from here
./riegeli/base/any_dependency.h:253:8: error: 'template<class Manager, class Enable> struct riegeli::AnyDependency<riegeli::Reader*>::IsInline' is private within this context
  253 | struct AnyDependencyIsInline : AnyDependency<Ptr>::template IsInline<Manager> {
      |        ^~~~~~~~~~~~~~~~~~~~~
./riegeli/base/any_dependency.h:167:10: note: declared private here
  167 |   struct IsInline;
      |          ^~~~~~~~
./riegeli/base/any_dependency.h: In instantiation of 'struct riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, riegeli::ZstdReader<riegeli::Reader*> >':
./riegeli/base/any_dependency.h:463:14:   recursively required by substitution of 'template<class Manager> struct riegeli::AnyDependency<riegeli::Reader*>::MethodsFor<Manager, typename std::enable_if<riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, Manager>::value, void>::type> [with Manager = riegeli::ZstdReader<riegeli::Reader*>]'
./riegeli/base/any_dependency.h:463:14:   required from 'void riegeli::AnyDependency<Ptr>::Reset(std::tuple<_Args2 ...>) [with Manager = riegeli::ZstdReader<riegeli::Reader*>; ManagerArgs = {riegeli::Reader*&&, riegeli::ZstdReaderBase::Options&&}; Ptr = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:206:7:   required from 'void riegeli::internal::Decompressor<Src>::Initialize(SrcInit&&, riegeli::CompressionType) [with SrcInit = riegeli::Reader*; Src = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:171:3:   required from 'void riegeli::internal::Decompressor<Src>::Reset(Src&&, riegeli::CompressionType) [with Src = riegeli::Reader*]'
riegeli/chunk_encoding/transpose_decoder.cc:746:59:   required from here
./riegeli/base/any_dependency.h:253:8: error: 'template<class Manager, class Enable> struct riegeli::AnyDependency<riegeli::Reader*>::IsInline' is private within this context
  253 | struct AnyDependencyIsInline : AnyDependency<Ptr>::template IsInline<Manager> {
      |        ^~~~~~~~~~~~~~~~~~~~~
./riegeli/base/any_dependency.h:167:10: note: declared private here
  167 |   struct IsInline;
      |          ^~~~~~~~
./riegeli/base/any_dependency.h: In instantiation of 'struct riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, riegeli::SnappyReader<riegeli::Reader*> >':
./riegeli/base/any_dependency.h:463:14:   recursively required by substitution of 'template<class Manager> struct riegeli::AnyDependency<riegeli::Reader*>::MethodsFor<Manager, typename std::enable_if<riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, Manager>::value, void>::type> [with Manager = riegeli::SnappyReader<riegeli::Reader*>]'
./riegeli/base/any_dependency.h:463:14:   required from 'void riegeli::AnyDependency<Ptr>::Reset(std::tuple<_Args2 ...>) [with Manager = riegeli::SnappyReader<riegeli::Reader*>; ManagerArgs = {riegeli::Reader*&&}; Ptr = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:211:7:   required from 'void riegeli::internal::Decompressor<Src>::Initialize(SrcInit&&, riegeli::CompressionType) [with SrcInit = riegeli::Reader*; Src = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:171:3:   required from 'void riegeli::internal::Decompressor<Src>::Reset(Src&&, riegeli::CompressionType) [with Src = riegeli::Reader*]'
riegeli/chunk_encoding/transpose_decoder.cc:746:59:   required from here
./riegeli/base/any_dependency.h:253:8: error: 'template<class Manager, class Enable> struct riegeli::AnyDependency<riegeli::Reader*>::IsInline' is private within this context
  253 | struct AnyDependencyIsInline : AnyDependency<Ptr>::template IsInline<Manager> {
      |        ^~~~~~~~~~~~~~~~~~~~~
./riegeli/base/any_dependency.h:167:10: note: declared private here
  167 |   struct IsInline;
      |          ^~~~~~~~
./riegeli/base/any_dependency.h: In instantiation of 'struct riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, riegeli::ChainReader<riegeli::Chain> >':
./riegeli/base/any_dependency.h:463:14:   recursively required by substitution of 'template<class Manager> struct riegeli::AnyDependency<riegeli::Reader*>::MethodsFor<Manager, typename std::enable_if<riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, Manager>::value, void>::type> [with Manager = riegeli::ChainReader<riegeli::Chain>]'
./riegeli/base/any_dependency.h:463:14:   required from 'void riegeli::AnyDependency<Ptr>::Reset(std::tuple<_Args2 ...>) [with Manager = riegeli::ChainReader<riegeli::Chain>; ManagerArgs = {riegeli::Chain&&}; Ptr = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:187:5:   required from 'void riegeli::internal::Decompressor<Src>::Initialize(SrcInit&&, riegeli::CompressionType) [with SrcInit = std::tuple<riegeli::Chain&&>; Src = riegeli::ChainReader<riegeli::Chain>]'
./riegeli/chunk_encoding/decompressor.h:134:3:   required from 'riegeli::internal::Decompressor<Src>::Decompressor(std::tuple<_Args1 ...>, riegeli::CompressionType) [with SrcArgs = {riegeli::Chain&&}; Src = riegeli::ChainReader<riegeli::Chain>]'
/usr/include/c++/9/ext/new_allocator.h:147:4:   required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; _Args = {std::tuple<riegeli::Chain&&>, riegeli::CompressionType&}; _Tp = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >]'
/usr/include/c++/9/bits/alloc_traits.h:484:4:   required from 'static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; _Args = {std::tuple<riegeli::Chain&&>, riegeli::CompressionType&}; _Tp = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> > >]'
/usr/include/c++/9/bits/vector.tcc:115:30:   required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::tuple<riegeli::Chain&&>, riegeli::CompressionType&}; _Tp = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; _Alloc = std::allocator<riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> > >]'
riegeli/chunk_encoding/transpose_decoder.cc:796:63:   required from here
./riegeli/base/any_dependency.h:253:8: error: 'template<class Manager, class Enable> struct riegeli::AnyDependency<riegeli::Reader*>::IsInline' is private within this context
  253 | struct AnyDependencyIsInline : AnyDependency<Ptr>::template IsInline<Manager> {
      |        ^~~~~~~~~~~~~~~~~~~~~
./riegeli/base/any_dependency.h:167:10: note: declared private here
  167 |   struct IsInline;
      |          ^~~~~~~~
./riegeli/base/any_dependency.h: In instantiation of 'struct riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, riegeli::BrotliReader<riegeli::ChainReader<riegeli::Chain> > >':
./riegeli/base/any_dependency.h:463:14:   recursively required by substitution of 'template<class Manager> struct riegeli::AnyDependency<riegeli::Reader*>::MethodsFor<Manager, typename std::enable_if<riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, Manager>::value, void>::type> [with Manager = riegeli::BrotliReader<riegeli::ChainReader<riegeli::Chain> >]'
./riegeli/base/any_dependency.h:463:14:   required from 'void riegeli::AnyDependency<Ptr>::Reset(std::tuple<_Args2 ...>) [with Manager = riegeli::BrotliReader<riegeli::ChainReader<riegeli::Chain> >; ManagerArgs = {riegeli::ChainReader<riegeli::Chain>&&}; Ptr = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:202:7:   required from 'void riegeli::internal::Decompressor<Src>::Initialize(SrcInit&&, riegeli::CompressionType) [with SrcInit = std::tuple<riegeli::Chain&&>; Src = riegeli::ChainReader<riegeli::Chain>]'
./riegeli/chunk_encoding/decompressor.h:134:3:   required from 'riegeli::internal::Decompressor<Src>::Decompressor(std::tuple<_Args1 ...>, riegeli::CompressionType) [with SrcArgs = {riegeli::Chain&&}; Src = riegeli::ChainReader<riegeli::Chain>]'
/usr/include/c++/9/ext/new_allocator.h:147:4:   required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; _Args = {std::tuple<riegeli::Chain&&>, riegeli::CompressionType&}; _Tp = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >]'
/usr/include/c++/9/bits/alloc_traits.h:484:4:   required from 'static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; _Args = {std::tuple<riegeli::Chain&&>, riegeli::CompressionType&}; _Tp = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> > >]'
/usr/include/c++/9/bits/vector.tcc:115:30:   required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::tuple<riegeli::Chain&&>, riegeli::CompressionType&}; _Tp = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; _Alloc = std::allocator<riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> > >]'
riegeli/chunk_encoding/transpose_decoder.cc:796:63:   required from here
./riegeli/base/any_dependency.h:253:8: error: 'template<class Manager, class Enable> struct riegeli::AnyDependency<riegeli::Reader*>::IsInline' is private within this context
  253 | struct AnyDependencyIsInline : AnyDependency<Ptr>::template IsInline<Manager> {
      |        ^~~~~~~~~~~~~~~~~~~~~
./riegeli/base/any_dependency.h:167:10: note: declared private here
  167 |   struct IsInline;
      |          ^~~~~~~~
./riegeli/base/any_dependency.h: In instantiation of 'struct riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, riegeli::ZstdReader<riegeli::ChainReader<riegeli::Chain> > >':
./riegeli/base/any_dependency.h:463:14:   recursively required by substitution of 'template<class Manager> struct riegeli::AnyDependency<riegeli::Reader*>::MethodsFor<Manager, typename std::enable_if<riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, Manager>::value, void>::type> [with Manager = riegeli::ZstdReader<riegeli::ChainReader<riegeli::Chain> >]'
./riegeli/base/any_dependency.h:463:14:   required from 'void riegeli::AnyDependency<Ptr>::Reset(std::tuple<_Args2 ...>) [with Manager = riegeli::ZstdReader<riegeli::ChainReader<riegeli::Chain> >; ManagerArgs = {riegeli::ChainReader<riegeli::Chain>&&, riegeli::ZstdReaderBase::Options&&}; Ptr = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:206:7:   required from 'void riegeli::internal::Decompressor<Src>::Initialize(SrcInit&&, riegeli::CompressionType) [with SrcInit = std::tuple<riegeli::Chain&&>; Src = riegeli::ChainReader<riegeli::Chain>]'
./riegeli/chunk_encoding/decompressor.h:134:3:   required from 'riegeli::internal::Decompressor<Src>::Decompressor(std::tuple<_Args1 ...>, riegeli::CompressionType) [with SrcArgs = {riegeli::Chain&&}; Src = riegeli::ChainReader<riegeli::Chain>]'
/usr/include/c++/9/ext/new_allocator.h:147:4:   required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; _Args = {std::tuple<riegeli::Chain&&>, riegeli::CompressionType&}; _Tp = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >]'
/usr/include/c++/9/bits/alloc_traits.h:484:4:   required from 'static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; _Args = {std::tuple<riegeli::Chain&&>, riegeli::CompressionType&}; _Tp = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> > >]'
/usr/include/c++/9/bits/vector.tcc:115:30:   required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::tuple<riegeli::Chain&&>, riegeli::CompressionType&}; _Tp = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; _Alloc = std::allocator<riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> > >]'
riegeli/chunk_encoding/transpose_decoder.cc:796:63:   required from here
./riegeli/base/any_dependency.h:253:8: error: 'template<class Manager, class Enable> struct riegeli::AnyDependency<riegeli::Reader*>::IsInline' is private within this context
  253 | struct AnyDependencyIsInline : AnyDependency<Ptr>::template IsInline<Manager> {
      |        ^~~~~~~~~~~~~~~~~~~~~
./riegeli/base/any_dependency.h:167:10: note: declared private here
  167 |   struct IsInline;
      |          ^~~~~~~~
./riegeli/base/any_dependency.h: In instantiation of 'struct riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, riegeli::SnappyReader<riegeli::ChainReader<riegeli::Chain> > >':
./riegeli/base/any_dependency.h:463:14:   recursively required by substitution of 'template<class Manager> struct riegeli::AnyDependency<riegeli::Reader*>::MethodsFor<Manager, typename std::enable_if<riegeli::internal::AnyDependencyIsInline<riegeli::Reader*, Manager>::value, void>::type> [with Manager = riegeli::SnappyReader<riegeli::ChainReader<riegeli::Chain> >]'
./riegeli/base/any_dependency.h:463:14:   required from 'void riegeli::AnyDependency<Ptr>::Reset(std::tuple<_Args2 ...>) [with Manager = riegeli::SnappyReader<riegeli::ChainReader<riegeli::Chain> >; ManagerArgs = {riegeli::ChainReader<riegeli::Chain>&&}; Ptr = riegeli::Reader*]'
./riegeli/chunk_encoding/decompressor.h:211:7:   required from 'void riegeli::internal::Decompressor<Src>::Initialize(SrcInit&&, riegeli::CompressionType) [with SrcInit = std::tuple<riegeli::Chain&&>; Src = riegeli::ChainReader<riegeli::Chain>]'
./riegeli/chunk_encoding/decompressor.h:134:3:   required from 'riegeli::internal::Decompressor<Src>::Decompressor(std::tuple<_Args1 ...>, riegeli::CompressionType) [with SrcArgs = {riegeli::Chain&&}; Src = riegeli::ChainReader<riegeli::Chain>]'
/usr/include/c++/9/ext/new_allocator.h:147:4:   required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; _Args = {std::tuple<riegeli::Chain&&>, riegeli::CompressionType&}; _Tp = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >]'
/usr/include/c++/9/bits/alloc_traits.h:484:4:   required from 'static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; _Args = {std::tuple<riegeli::Chain&&>, riegeli::CompressionType&}; _Tp = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> > >]'
/usr/include/c++/9/bits/vector.tcc:115:30:   required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::tuple<riegeli::Chain&&>, riegeli::CompressionType&}; _Tp = riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> >; _Alloc = std::allocator<riegeli::internal::Decompressor<riegeli::ChainReader<riegeli::Chain> > >]'
riegeli/chunk_encoding/transpose_decoder.cc:796:63:   required from here
./riegeli/base/any_dependency.h:253:8: error: 'template<class Manager, class Enable> struct riegeli::AnyDependency<riegeli::Reader*>::IsInline' is private within this context
  253 | struct AnyDependencyIsInline : AnyDependency<Ptr>::template IsInline<Manager> {
      |        ^~~~~~~~~~~~~~~~~~~~~
./riegeli/base/any_dependency.h:167:10: note: declared private here
  167 |   struct IsInline;
      |          ^~~~~~~~
In file included from ./riegeli/chunk_encoding/transpose_decoder.h:27,
                 from riegeli/chunk_encoding/transpose_decoder.cc:15:
./riegeli/chunk_encoding/transpose_internal.h: In function 'bool riegeli::internal::HasSubtype(uint32_t)':
./riegeli/chunk_encoding/transpose_internal.h:119:1: warning: control reaches end of non-void function [-Wreturn-type]
  119 | }
      | ^
./riegeli/chunk_encoding/transpose_internal.h: In function 'bool riegeli::internal::HasDataBuffer(uint32_t, riegeli::internal::Subtype)':
./riegeli/chunk_encoding/transpose_internal.h:97:1: warning: control reaches end of non-void function [-Wreturn-type]
   97 | }
      | ^
riegeli/chunk_encoding/transpose_decoder.cc: In function 'riegeli::internal::CallbackType riegeli::internal::GetCallbackType(riegeli::{anonymous}::FieldIncluded, uint32_t, riegeli::internal::Subtype, size_t, bool)':
riegeli/chunk_encoding/transpose_decoder.cc:359:1: warning: control reaches end of non-void function [-Wreturn-type]
  359 | }
      | ^
INFO: Elapsed time: 21.153s, Critical Path: 12.16s
INFO: 65 processes: 14 internal, 51 processwrapper-sandbox.
FAILED: Build did NOT complete successfully