google / lyra

A Very Low-Bitrate Codec for Speech Compression

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the problem about building v0.0.2 version

Joll123 opened this issue · comments

when using command bazel build -c opt :encoder_main to build encoder, got the following errors. bazel version : 4.0.0; gcc version: 7.5.0. had anyone encounter with this error?

ERROR: /home/jhl/Desktop/lyra-0.0.2/BUILD:228:11: Compiling wavegru_model_impl.cc failed: (Exit 1): gcc failed: error executing command
(cd /home/jhl/.cache/bazel/bazel_jhl/bb53f55b2a50eb69f85d56c005aca520/sandbox/linux-sandbox/1/execroot/main &&
exec env -
PATH=/home/jhl/.local/bin:/home/jhl/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/jhl/bin
PWD=/proc/self/cwd
/usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/k8-opt/bin/objs/wavegru_model_impl/wavegru_model_impl.d '-frandom-seed=bazel-out/k8-opt/bin/objs/wavegru_model_impl/wavegru_model_impl.o' -DEIGEN_MPL2_ONLY '-DGLOG_DEPRECATED=attribute((deprecated))' '-DGLOG_EXPORT=attribute((visibility("default")))' -iquote . -iquote bazel-out/k8-opt/bin -iquote external/com_google_glog -iquote bazel-out/k8-opt/bin/external/com_google_glog -iquote external/com_github_gflags_gflags -iquote bazel-out/k8-opt/bin/external/com_github_gflags_gflags -iquote external/com_google_absl -iquote bazel-out/k8-opt/bin/external/com_google_absl -iquote external/zlib -iquote bazel-out/k8-opt/bin/external/zlib -iquote external/gulrak_filesystem -iquote bazel-out/k8-opt/bin/external/gulrak_filesystem -iquote external/com_google_audio_dsp -iquote bazel-out/k8-opt/bin/external/com_google_audio_dsp -iquote external/eigen_archive -iquote bazel-out/k8-opt/bin/external/eigen_archive -Ibazel-out/k8-opt/bin/external/com_google_glog/virtual_includes/glog -Ibazel-out/k8-opt/bin/external/com_github_gflags_gflags/virtual_includes/gflags -isystem external/zlib/zlib/include -isystem bazel-out/k8-opt/bin/external/zlib/zlib/include -isystem external/eigen_archive -isystem bazel-out/k8-opt/bin/external/eigen_archive '-std=gnu++17' -Wno-sign-compare -O3 -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE="redacted"' '-D__TIMESTAMP="redacted"' '-D__TIME
_="redacted"' -c wavegru_model_impl.cc -o bazel-out/k8-opt/bin/_objs/wavegru_model_impl/wavegru_model_impl.o)
Execution platform: @local_config_platform//:host

Use --sandbox_debug to see verbose messages from the sandbox gcc failed: error executing command
(cd /home/jhl/.cache/bazel/bazel_jhl/bb53f55b2a50eb69f85d56c005aca520/sandbox/linux-sandbox/1/execroot/main &&
exec env -
PATH=/home/jhl/.local/bin:/home/jhl/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/jhl/bin
PWD=/proc/self/cwd
/usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/k8-opt/bin/objs/wavegru_model_impl/wavegru_model_impl.d '-frandom-seed=bazel-out/k8-opt/bin/objs/wavegru_model_impl/wavegru_model_impl.o' -DEIGEN_MPL2_ONLY '-DGLOG_DEPRECATED=attribute((deprecated))' '-DGLOG_EXPORT=attribute((visibility("default")))' -iquote . -iquote bazel-out/k8-opt/bin -iquote external/com_google_glog -iquote bazel-out/k8-opt/bin/external/com_google_glog -iquote external/com_github_gflags_gflags -iquote bazel-out/k8-opt/bin/external/com_github_gflags_gflags -iquote external/com_google_absl -iquote bazel-out/k8-opt/bin/external/com_google_absl -iquote external/zlib -iquote bazel-out/k8-opt/bin/external/zlib -iquote external/gulrak_filesystem -iquote bazel-out/k8-opt/bin/external/gulrak_filesystem -iquote external/com_google_audio_dsp -iquote bazel-out/k8-opt/bin/external/com_google_audio_dsp -iquote external/eigen_archive -iquote bazel-out/k8-opt/bin/external/eigen_archive -Ibazel-out/k8-opt/bin/external/com_google_glog/virtual_includes/glog -Ibazel-out/k8-opt/bin/external/com_github_gflags_gflags/virtual_includes/gflags -isystem external/zlib/zlib/include -isystem bazel-out/k8-opt/bin/external/zlib/zlib/include -isystem external/eigen_archive -isystem bazel-out/k8-opt/bin/external/eigen_archive '-std=gnu++17' -Wno-sign-compare -O3 -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE="redacted"' '-D__TIMESTAMP="redacted"' '-D__TIME
_="redacted"' -c wavegru_model_impl.cc -o bazel-out/k8-opt/bin/_objs/wavegru_model_impl/wavegru_model_impl.o)
Execution platform: @local_config_platform//:host

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./sparse_matmul/numerics/fixed_types.h:27:0,
from ./sparse_matmul/numerics/fast_transcendentals.h:31,
from ./sparse_matmul/compute/gru_gates_arm.h:26,
from ./sparse_matmul/compute/gru_gates.h:25,
from sparse_matmul/sparse_matmul.h:21,
from dsp_util.h:24,
from causal_convolutional_conditioning.h:26,
from wavegru_model_impl.h:28,
from wavegru_model_impl.cc:15:
./sparse_matmul/vector/cache_aligned_vector.h: In member function 'int csrblocksparse::CacheAlignedVector::ScalarSample(float, std::minstd_rand*, csrblocksparse::CacheAlignedVector, int, int, int, csrblocksparse::SpinBarrier) const':
./sparse_matmul/vector/cache_aligned_vector.h:448:27: warning: comparison of constant '0' with boolean expression is always true [-Wbool-compare]
DCHECK(size_ > mindex >= 0);
~~~~~~~~~~~~~~~^~~~
bazel-out/k8-opt/bin/external/com_google_glog/_virtual_includes/glog/glog/logging.h:708:5: note: in definition of macro 'LOG_IF'
!(condition) ? (void) 0 : google::LogMessageVoidify() & LOG(severity)
^~~~~~~~~
bazel-out/k8-opt/bin/external/com_google_glog/_virtual_includes/glog/glog/logging.h:723:21: note: in expansion of macro 'GOOGLE_PREDICT_BRANCH_NOT_TAKEN'
LOG_IF(FATAL, GOOGLE_PREDICT_BRANCH_NOT_TAKEN(!(condition)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bazel-out/k8-opt/bin/external/com_google_glog/virtual_includes/glog/glog/logging.h:1371:29: note: in expansion of macro 'CHECK'
GLOG_MSVC_POP_WARNING() CHECK(condition)
^~~~~
./sparse_matmul/vector/cache_aligned_vector.h:448:5: note: in expansion of macro 'DCHECK'
DCHECK(size
> mindex >= 0);
^~~~~~
In file included from /usr/include/c++/7/bits/move.h:54:0,
from /usr/include/c++/7/bits/stl_pair.h:59,
from /usr/include/c++/7/bits/stl_algobase.h:64,
from /usr/include/c++/7/memory:62,
from wavegru_model_impl.h:21,
from wavegru_model_impl.cc:15:
/usr/include/c++/7/type_traits: In substitution of 'template<class _Tp, class> static std::true_type std::__do_is_default_constructible_impl::__test(int) [with _Tp = chromemedia::codec::LayerParams::FromDisk; = ]':
/usr/include/c++/7/type_traits:889:35: required from 'struct std::__is_default_constructible_implchromemedia::codec::LayerParams::FromDisk'
/usr/include/c++/7/type_traits:143:12: required from 'struct std::_and<std::_not<std::is_voidchromemedia::codec::LayerParams::FromDisk >, std::__is_default_constructible_implchromemedia::codec::LayerParams::FromDisk >'
/usr/include/c++/7/type_traits:893:12: required from 'struct std::__is_default_constructible_atomchromemedia::codec::LayerParams::FromDisk'
/usr/include/c++/7/type_traits:914:12: required from 'struct std::__is_default_constructible_safe<chromemedia::codec::LayerParams::FromDisk, false>'
/usr/include/c++/7/type_traits:920:12: required from 'struct std::is_default_constructiblechromemedia::codec::LayerParams::FromDisk'
/usr/include/c++/7/type_traits:2979:25: required from 'constexpr const bool std::is_default_constructible_vchromemedia::codec::LayerParams::FromDisk'
/usr/include/c++/7/variant:889:2: required from 'class std::variant<chromemedia::codec::LayerParams::FromDisk, chromemedia::codec::LayerParams::FromConstant>'
layer_wrapper_interface.h:82:56: required from here
/usr/include/c++/7/type_traits:878:48: error: constructor required before non-static data member for 'chromemedia::codec::LayerParams::FromDisk::path' has been parsed
template<typename _Tp, typename = decltype(_Tp())>
^~~~~
/usr/include/c++/7/type_traits:878:48: error: constructor required before non-static data member for 'chromemedia::codec::LayerParams::FromDisk::zipped' has been parsed
In file included from wavegru_model_impl.h:32:0,
from wavegru_model_impl.cc:15:
lyra_wavegru.h: In instantiation of 'static std::unique_ptr<chromemedia::codec::LyraWavegru > chromemedia::codec::LyraWavegru::Create(int, const ghc::filesystem::path&, const string&) [with WeightTypeKind = float; std::__cxx11::string = std::__cxx11::basic_string]':
wavegru_model_impl.cc:50:44: required from here
lyra_wavegru.h:83:17: sorry, unimplemented: non-trivial designated initializers not supported
LayerParams ar_to_gates_params{.num_input_channels = kNumSplitBands,
^~~~~~~~~~~~~~~~~~
lyra_wavegru.h:83:17: sorry, unimplemented: non-trivial designated initializers not supported
lyra_wavegru.h:83:17: sorry, unimplemented: non-trivial designated initializers not supported
lyra_wavegru.h:83:17: sorry, unimplemented: non-trivial designated initializers not supported
lyra_wavegru.h:83:17: sorry, unimplemented: non-trivial designated initializers not supported
lyra_wavegru.h:83:17: sorry, unimplemented: non-trivial designated initializers not supported
lyra_wavegru.h:83:17: sorry, unimplemented: non-trivial designated initializers not supported
lyra_wavegru.h:83:17: sorry, unimplemented: non-trivial designated initializers not supported
lyra_wavegru.h:105:17: sorry, unimplemented: non-trivial designated initializers not supported
LayerParams gru_params{.num_input_channels = kNumGruHiddens,
^~~~~~~~~~
lyra_wavegru.h:105:17: sorry, unimplemented: non-trivial designated initializers not supported
lyra_wavegru.h:105:17: sorry, unimplemented: non-trivial designated initializers not supported
lyra_wavegru.h:105:17: sorry, unimplemented: non-trivial designated initializers not supported
lyra_wavegru.h:105:17: sorry, unimplemented: non-trivial designated initializers not supported
lyra_wavegru.h:105:17: sorry, unimplemented: non-trivial designated initializers not supported
lyra_wavegru.h:105:17: sorry, unimplemented: non-trivial designated initializers not supported
lyra_wavegru.h:105:17: sorry, unimplemented: non-trivial designated initializers not supported
In file included from wavegru_model_impl.h:28:0,
from wavegru_model_impl.cc:15:
causal_convolutional_conditioning.h: In instantiation of 'static chromemedia::codec::LayerParams chromemedia::codec::CausalConvolutionalConditioning::Conv1DParams(int, int, int, const string&, const string&) [with Types = chromemedia::codec::ConditioningTypes; std::__cxx11::string = std::__cxx11::basic_string]':
causal_convolutional_conditioning.h:293:51: required from 'void chromemedia::codec::CausalConvolutionalConditioning::CreateLayers() [with Types = chromemedia::codec::ConditioningTypes]'
causal_convolutional_conditioning.h:121:17: required from 'chromemedia::codec::CausalConvolutionalConditioning::CausalConvolutionalConditioning(int, int, int, int, int, int, float, const string&, const string&) [with Types = chromemedia::codec::ConditioningTypes; std::__cxx11::string = std::__cxx11::basic_string]'
/usr/include/c++/7/bits/unique_ptr.h:821:30: required from 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = chromemedia::codec::CausalConvolutionalConditioning<chromemedia::codec::ConditioningTypes >; _Args = {int&, int&, int, const int&, int&, int, float&, const std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, const std::__cxx11::basic_string<char, std::char_traits, std::allocator >&}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptr<chromemedia::codec::CausalConvolutionalConditioning<chromemedia::codec::ConditioningTypes > >]'
wavegru_model_impl.cc:93:65: required from here
causal_convolutional_conditioning.h:189:53: sorry, unimplemented: non-trivial designated initializers not supported
.prefix = prefix + "conv1d"};
^
causal_convolutional_conditioning.h:189:53: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:189:53: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:189:53: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:189:53: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:189:53: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:189:53: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:189:53: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h: In instantiation of 'static chromemedia::codec::LayerParams chromemedia::codec::CausalConvolutionalConditioning::DilatedParams(int, int, int, const string&, const string&) [with Types = chromemedia::codec::ConditioningTypes; std::__cxx11::string = std::__cxx11::basic_string]':
causal_convolutional_conditioning.h:299:22: required from 'void chromemedia::codec::CausalConvolutionalConditioning::CreateLayers() [with Types = chromemedia::codec::ConditioningTypes]'
causal_convolutional_conditioning.h:121:17: required from 'chromemedia::codec::CausalConvolutionalConditioning::CausalConvolutionalConditioning(int, int, int, int, int, int, float, const string&, const string&) [with Types = chromemedia::codec::ConditioningTypes; std::__cxx11::string = std::__cxx11::basic_string]'
/usr/include/c++/7/bits/unique_ptr.h:821:30: required from 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = chromemedia::codec::CausalConvolutionalConditioning<chromemedia::codec::ConditioningTypes >; _Args = {int&, int&, int, const int&, int&, int, float&, const std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, const std::__cxx11::basic_string<char, std::char_traits, std::allocator >&}; typename std::_MakeUniq<_Tp>::_single_object = std::unique_ptr<chromemedia::codec::CausalConvolutionalConditioning<chromemedia::codec::ConditioningTypes > >]'
wavegru_model_impl.cc:93:65: required from here
causal_convolutional_conditioning.h:212:77: sorry, unimplemented: non-trivial designated initializers not supported
.prefix = prefix + absl::StrFormat("conditioning_stack%d
", level)};
^
causal_convolutional_conditioning.h:212:77: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:212:77: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:212:77: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:212:77: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:212:77: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:212:77: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:212:77: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h: In instantiation of 'static chromemedia::codec::LayerParams chromemedia::codec::CausalConvolutionalConditioning::TransposeParams(int, int, int, const string&, const string&) [with Types = chromemedia::codec::ConditioningTypes; std::__cxx11::string = std::__cxx11::basic_string]':
causal_convolutional_conditioning.h:314:24: required from 'void chromemedia::codec::CausalConvolutionalConditioning::CreateLayers() [with Types = chromemedia::codec::ConditioningTypes]'
causal_convolutional_conditioning.h:121:17: required from 'chromemedia::codec::CausalConvolutionalConditioning::CausalConvolutionalConditioning(int, int, int, int, int, int, float, const string&, const string&) [with Types = chromemedia::codec::ConditioningTypes; std::__cxx11::string = std::__cxx11::basic_string]'
/usr/include/c++/7/bits/unique_ptr.h:821:30: required from 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = chromemedia::codec::CausalConvolutionalConditioning<chromemedia::codec::ConditioningTypes >; _Args = {int&, int&, int, const int&, int&, int, float&, const std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, const std::__cxx11::basic_string<char, std::char_traits, std::allocator >&}; typename std::_MakeUniq<_Tp>::_single_object = std::unique_ptr<chromemedia::codec::CausalConvolutionalConditioning<chromemedia::codec::ConditioningTypes > >]'
wavegru_model_impl.cc:93:65: required from here
causal_convolutional_conditioning.h:241:68: sorry, unimplemented: non-trivial designated initializers not supported
.prefix = prefix + absl::StrFormat("transpose%d
", level)};
^
causal_convolutional_conditioning.h:241:68: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:241:68: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:241:68: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:241:68: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:241:68: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:241:68: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:241:68: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h: In instantiation of 'static chromemedia::codec::LayerParams chromemedia::codec::CausalConvolutionalConditioning::ConvCondParams(int, int, int, const string&, const string&) [with Types = chromemedia::codec::ConditioningTypes; std::__cxx11::string = std::__cxx11::basic_string]':
causal_convolutional_conditioning.h:328:56: required from 'void chromemedia::codec::CausalConvolutionalConditioning::CreateLayers() [with Types = chromemedia::codec::ConditioningTypes]'
causal_convolutional_conditioning.h:121:17: required from 'chromemedia::codec::CausalConvolutionalConditioning::CausalConvolutionalConditioning(int, int, int, int, int, int, float, const string&, const string&) [with Types = chromemedia::codec::ConditioningTypes; std::__cxx11::string = std::__cxx11::basic_string]'
/usr/include/c++/7/bits/unique_ptr.h:821:30: required from 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = chromemedia::codec::CausalConvolutionalConditioning<chromemedia::codec::ConditioningTypes >; _Args = {int&, int&, int, const int&, int&, int, float&, const std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, const std::__cxx11::basic_string<char, std::char_traits, std::allocator >&}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptr<chromemedia::codec::CausalConvolutionalConditioning<chromemedia::codec::ConditioningTypes > >]'
wavegru_model_impl.cc:93:65: required from here
causal_convolutional_conditioning.h:266:56: sorry, unimplemented: non-trivial designated initializers not supported
.prefix = prefix + "conv_cond"};
^
causal_convolutional_conditioning.h:266:56: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:266:56: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:266:56: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:266:56: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:266:56: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:266:56: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:266:56: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h: In instantiation of 'static chromemedia::codec::LayerParams chromemedia::codec::CausalConvolutionalConditioning::ConvToGatesParams(int, int, const string&, const string&) [with Types = chromemedia::codec::ConditioningTypes; std::__cxx11::string = std::__cxx11::basic_string]':
causal_convolutional_conditioning.h:334:26: required from 'void chromemedia::codec::CausalConvolutionalConditioning::CreateLayers() [with Types = chromemedia::codec::ConditioningTypes]'
causal_convolutional_conditioning.h:121:17: required from 'chromemedia::codec::CausalConvolutionalConditioning::CausalConvolutionalConditioning(int, int, int, int, int, int, float, const string&, const string&) [with Types = chromemedia::codec::ConditioningTypes; std::__cxx11::string = std::__cxx11::basic_string]'
/usr/include/c++/7/bits/unique_ptr.h:821:30: required from 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = chromemedia::codec::CausalConvolutionalConditioning<chromemedia::codec::ConditioningTypes >; _Args = {int&, int&, int, const int&, int&, int, float&, const std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, const std::__cxx11::basic_string<char, std::char_traits, std::allocator >&}; typename std::_MakeUniq<_Tp>::_single_object = std::unique_ptr<chromemedia::codec::CausalConvolutionalConditioning<chromemedia::codec::ConditioningTypes > >]'
wavegru_model_impl.cc:93:65: required from here
causal_convolutional_conditioning.h:288:60: sorry, unimplemented: non-trivial designated initializers not supported
.prefix = prefix + "conv_to_gates"};
^
causal_convolutional_conditioning.h:288:60: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:288:60: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:288:60: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:288:60: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:288:60: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:288:60: sorry, unimplemented: non-trivial designated initializers not supported
causal_convolutional_conditioning.h:288:60: sorry, unimplemented: non-trivial designated initializers not supported
In file included from ./sparse_matmul/numerics/fixed_types.h:27:0,
from ./sparse_matmul/numerics/fast_transcendentals.h:31,
from ./sparse_matmul/compute/gru_gates_arm.h:26,
from ./sparse_matmul/compute/gru_gates.h:25,
from sparse_matmul/sparse_matmul.h:21,
from dsp_util.h:24,
from causal_convolutional_conditioning.h:26,
from wavegru_model_impl.h:28,
from wavegru_model_impl.cc:15:
./sparse_matmul/vector/cache_aligned_vector.h: In instantiation of 'int csrblocksparse::CacheAlignedVector::ScalarSample(float, std::minstd_rand*, csrblocksparse::CacheAlignedVector, int, int, int, csrblocksparse::SpinBarrier) const [with DataType = float; std::minstd_rand = std::linear_congruential_engine<long unsigned int, 48271, 0, 2147483647>]':
project_and_sample.h:216:27: required from 'void chromemedia::codec::ProjectAndSample::MolSamples(int, std::minstd_rand*, int, int*) [with Types = chromemedia::codec::ProjectAndSampleTypes<float, 2, 3, 3, 4, 4, void>; std::minstd_rand = std::linear_congruential_engine<long unsigned int, 48271, 0, 2147483647>]'
project_and_sample.h:146:15: required from 'void chromemedia::codec::ProjectAndSample::GetSamples(const csrblocksparse::MutableVectorView&, int, std::minstd_rand*, csrblocksparse::CacheAlignedVector, int, int) [with Types = chromemedia::codec::ProjectAndSampleTypes<float, 2, 3, 3, 4, 4, void>; typename Types::ProjRhsType = float; std::minstd_rand = std::linear_congruential_engine<long unsigned int, 48271, 0, 2147483647>; typename Types::ScratchType = float]'
lyra_wavegru.h:291:7: required from 'int chromemedia::codec::LyraWavegru::SamplingBody(csrblocksparse::SpinBarrier*, int, chromemedia::codec::LyraWavegru::ConditioningType*, std::vector<std::vector >, const std::function<void(short int, int, int, int)>&) [with WeightTypeKind = float; chromemedia::codec::LyraWavegru::ConditioningType = chromemedia::codec::CausalConvolutionalConditioning<chromemedia::codec::ConditioningTypes >]'
lyra_wavegru.h:165:43: required from 'int chromemedia::codec::LyraWavegru::SampleThreaded(int, chromemedia::codec::LyraWavegru::ConditioningType*, std::vector<std::vector >*, int) [with WeightTypeKind = float; chromemedia::codec::LyraWavegru::ConditioningType = chromemedia::codec::CausalConvolutionalConditioning<chromemedia::codec::ConditioningTypes >]'
wavegru_model_impl.cc:131:58: required from here
./sparse_matmul/vector/cache_aligned_vector.h:448:27: warning: comparison of constant '0' with boolean expression is always true [-Wbool-compare]
DCHECK(size
> mindex >= 0);
bazel-out/k8-opt/bin/external/com_google_glog/_virtual_includes/glog/glog/logging.h:708:5: note: in definition of macro 'LOG_IF'
!(condition) ? (void) 0 : google::LogMessageVoidify() & LOG(severity)
^~~~~~~~~
bazel-out/k8-opt/bin/external/com_google_glog/virtual_includes/glog/glog/logging.h:723:21: note: in expansion of macro 'GOOGLE_PREDICT_BRANCH_NOT_TAKEN'
LOG_IF(FATAL, GOOGLE_PREDICT_BRANCH_NOT_TAKEN(!(condition)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bazel-out/k8-opt/bin/external/com_google_glog/virtual_includes/glog/glog/logging.h:1371:29: note: in expansion of macro 'CHECK'
GLOG_MSVC_POP_WARNING() CHECK(condition)
^~~~~
./sparse_matmul/vector/cache_aligned_vector.h:448:5: note: in expansion of macro 'DCHECK'
DCHECK(size
> mindex >= 0);
^~~~~~
./sparse_matmul/vector/cache_aligned_vector.h:448:18: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
DCHECK(size
> mindex >= 0);
~~~~~~^~~
bazel-out/k8-opt/bin/external/com_google_glog/_virtual_includes/glog/glog/logging.h:708:5: note: in definition of macro 'LOG_IF'
!(condition) ? (void) 0 : google::LogMessageVoidify() & LOG(severity)
^~~~~~~~~
bazel-out/k8-opt/bin/external/com_google_glog/virtual_includes/glog/glog/logging.h:723:21: note: in expansion of macro 'GOOGLE_PREDICT_BRANCH_NOT_TAKEN'
LOG_IF(FATAL, GOOGLE_PREDICT_BRANCH_NOT_TAKEN(!(condition)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bazel-out/k8-opt/bin/external/com_google_glog/virtual_includes/glog/glog/logging.h:1371:29: note: in expansion of macro 'CHECK'
GLOG_MSVC_POP_WARNING() CHECK(condition)
^~~~~
./sparse_matmul/vector/cache_aligned_vector.h:448:5: note: in expansion of macro 'DCHECK'
DCHECK(size
> mindex >= 0);
^~~~~~
./sparse_matmul/vector/cache_aligned_vector.h:449:33: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
DCHECK((maxdex == -1) || (0 <= mindex < maxdex < size
));
^~~~
bazel-out/k8-opt/bin/external/com_google_glog/_virtual_includes/glog/glog/logging.h:708:5: note: in definition of macro 'LOG_IF'
!(condition) ? (void) 0 : google::LogMessageVoidify() & LOG(severity)
^~~~~~~~~
bazel-out/k8-opt/bin/external/com_google_glog/virtual_includes/glog/glog/logging.h:723:21: note: in expansion of macro 'GOOGLE_PREDICT_BRANCH_NOT_TAKEN'
LOG_IF(FATAL, GOOGLE_PREDICT_BRANCH_NOT_TAKEN(!(condition)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bazel-out/k8-opt/bin/external/com_google_glog/virtual_includes/glog/glog/logging.h:1371:29: note: in expansion of macro 'CHECK'
GLOG_MSVC_POP_WARNING() CHECK(condition)
^~~~~
./sparse_matmul/vector/cache_aligned_vector.h:449:5: note: in expansion of macro 'DCHECK'
DCHECK((maxdex == -1) || (0 <= mindex < maxdex < size
));
^~~~~~
./sparse_matmul/vector/cache_aligned_vector.h:449:43: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
DCHECK((maxdex == -1) || (0 <= mindex < maxdex < size
));
~~~~~~~~~~~~^

bazel-out/k8-opt/bin/external/com_google_glog/_virtual_includes/glog/glog/logging.h:708:5: note: in definition of macro 'LOG_IF'
!(condition) ? (void) 0 : google::LogMessageVoidify() & LOG(severity)
^~~~~~~~~
bazel-out/k8-opt/bin/external/com_google_glog/_virtual_includes/glog/glog/logging.h:723:21: note: in expansion of macro 'GOOGLE_PREDICT_BRANCH_NOT_TAKEN'
LOG_IF(FATAL, GOOGLE_PREDICT_BRANCH_NOT_TAKEN(!(condition)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bazel-out/k8-opt/bin/external/com_google_glog/virtual_includes/glog/glog/logging.h:1371:29: note: in expansion of macro 'CHECK'
GLOG_MSVC_POP_WARNING() CHECK(condition)
^~~~~
./sparse_matmul/vector/cache_aligned_vector.h:449:5: note: in expansion of macro 'DCHECK'
DCHECK((maxdex == -1) || (0 <= mindex < maxdex < size
));
^~~~~~
Target //:encoder_main failed to build
INFO: Elapsed time: 37.542s, Critical Path: 8.30s
INFO: 9 processes: 5 internal, 4 linux-sandbox.
FAILED: Build did NOT complete successfully