Using Mac catalina
`2021/06/22 07:39:43 Downloading https://releases.bazel.build/4.0.0/release/bazel-4.0.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Analyzing: 362 targets (17 packages loaded, 0 targets configured)
Analyzing: 362 targets (64 packages loaded, 909 targets configured)
Analyzing: 362 targets (82 packages loaded, 9004 targets configured)
Analyzing: 362 targets (105 packages loaded, 11569 targets configured)
INFO: Analyzed 362 targets (110 packages loaded, 18310 targets configured).
INFO: Found 362 targets...
[0 / 64] [Prepa] Writing script external/tfhe/libtfhe_foreign_cc/build_script.sh
INFO: From Compiling clang/utils/TableGen/RISCVVEmitter.cpp [for host]:
external/llvm-project/clang/utils/TableGen/RISCVVEmitter.cpp: In member function 'void {anonymous}::RVVType::applyModifier(llvm::StringRef)':
external/llvm-project/clang/utils/TableGen/RISCVVEmitter.cpp:644:27: warning: 'Log2EEW' may be used uninitialized in this function [-Wmaybe-uninitialized]
644 | ElementBitwidth = 1 << Log2EEW;
| ~~^~~~~~~~~~
INFO: From Compiling clang/utils/TableGen/NeonEmitter.cpp [for host]:
external/llvm-project/clang/utils/TableGen/NeonEmitter.cpp: In static member function 'static {anonymous}::Type {anonymous}::Type::fromTypedefName(llvm::StringRef)':
external/llvm-project/clang/utils/TableGen/NeonEmitter.cpp:770:36: warning: 'NumLanes' may be used uninitialized in this function [-Wmaybe-uninitialized]
770 | T.Bitwidth = T.ElementBitwidth * NumLanes;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[46 / 467] BootstrapGNUMake external/rules_foreign_cc/toolchains/make [for host]; 29s processwrapper-sandbox ... (4 actions, 3 running)
[90 / 467] CcCmakeMakeRule external/tfhe/libtfhe/include; 23s processwrapper-sandbox ... (4 actions, 3 running)
[146 / 467] Compiling llvm/lib/Support/Signals.cpp [for host]; 1s processwrapper-sandbox ... (4 actions, 3 running)
INFO: From Compiling llvm/lib/Support/YAMLParser.cpp [for host]:
external/llvm-project/llvm/lib/Support/YAMLParser.cpp: In member function 'bool llvm::yaml::Scanner::findBlockScalarIndent(unsigned int&, unsigned int, unsigned int&, bool&)':
external/llvm-project/llvm/lib/Support/YAMLParser.cpp:268:5: warning: 'LongestAllSpaceLine' may be used uninitialized in this function [-Wmaybe-uninitialized]
268 | if (Position >= End)
| ^~
external/llvm-project/llvm/lib/Support/YAMLParser.cpp:1584:23: note: 'LongestAllSpaceLine' was declared here
1584 | StringRef::iterator LongestAllSpaceLine;
| ^~~~~~~~~~~~~~~~~~~
INFO: From Compiling llvm/lib/Support/VirtualFileSystem.cpp [for host]:
external/llvm-project/llvm/lib/Support/VirtualFileSystem.cpp: In member function 'std::unique_ptrllvm::vfs::RedirectingFileSystem::Entry llvm::vfs::RedirectingFileSystemParser::parseEntry(llvm::yaml::Node*, llvm::vfs::RedirectingFileSystem*, bool)':
external/llvm-project/llvm/lib/Support/VirtualFileSystem.cpp:1616:5: warning: 'Kind' may be used uninitialized in this function [-Wmaybe-uninitialized]
1616 | switch (Kind) {
| ^~~~~~
INFO: From Compiling llvm/lib/Support/APFloat.cpp [for host]:
external/llvm-project/llvm/lib/Support/APFloat.cpp: In member function 'llvm::Expectedllvm::APFloatBase::opStatus llvm::detail::IEEEFloat::convertFromDecimalString(llvm::StringRef, llvm::APFloatBase::roundingMode)':
external/llvm-project/llvm/lib/Support/APFloat.cpp:2794:16: warning: 'D.llvm::decimalInfo::lastSigDigit' may be used uninitialized in this function [-Wmaybe-uninitialized]
2794 | } while (p <= D.lastSigDigit);
| ~~^~~~~~~~~~~~~~~~~
external/llvm-project/llvm/lib/Support/APFloat.cpp:2753:58: warning: 'D.llvm::decimalInfo::firstSigDigit' may be used uninitialized in this function [-Wmaybe-uninitialized]
2753 | partCount = static_cast(D.lastSigDigit - D.firstSigDigit) + 1;
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
[241 / 696] [Sched] Linking external/llvm-project/clang/clang-tblgen [for host] ... (4 actions, 2 running)
INFO: From Compiling llvm/lib/BinaryFormat/MsgPackDocument.cpp [for host]:
external/llvm-project/llvm/lib/BinaryFormat/MsgPackDocument.cpp: In member function 'bool llvm::msgpack::Document::readFromBlob(llvm::StringRef, bool, llvm::function_ref<int(llvm::msgpack::DocNode*, llvm::msgpack::DocNode, llvm::msgpack::DocNode)>)':
external/llvm-project/llvm/lib/BinaryFormat/MsgPackDocument.cpp:174:12: warning: 'N.llvm::msgpack::DocNode::.llvm::msgpack::DocNode::::Raw.llvm::StringRef::Length' may be used uninitialized in this function [-Wmaybe-uninitialized]
174 | Node = getArrayNode();
| ~~~~~^~~~~~~~~~~~~~~~
[308 / 706] [Sched] Linking external/llvm-project/clang/clang-tblgen [for host]; 55s ... (4 actions, 2 running)
INFO: From Compiling llvm/lib/MC/WasmObjectWriter.cpp [for host]:
external/llvm-project/llvm/lib/MC/WasmObjectWriter.cpp: In member function 'uint64_t {anonymous}::WasmObjectWriter::writeOneObject(llvm::MCAssembler&, const llvm::MCAsmLayout&, {anonymous}::WasmObjectWriter::DwoMode)':
external/llvm-project/llvm/lib/MC/WasmObjectWriter.cpp:1885:22: warning: 'DataSectionIndex' may be used uninitialized in this function [-Wmaybe-uninitialized]
1885 | writeRelocSection(DataSectionIndex, "DATA", DataRelocations);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/llvm-project/llvm/lib/MC/WasmObjectWriter.cpp:1884:22: warning: 'CodeSectionIndex' may be used uninitialized in this function [-Wmaybe-uninitialized]
1884 | writeRelocSection(CodeSectionIndex, "CODE", CodeRelocations);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[363 / 706] [Sched] Linking external/llvm-project/clang/clang-tblgen [for host]; 116s ... (4 actions, 2 running)
INFO: From Compiling llvm/lib/MC/MachObjectWriter.cpp [for host]:
external/llvm-project/llvm/lib/MC/MachObjectWriter.cpp: In member function 'void llvm::MachObjectWriter::writeNlist(llvm::MachObjectWriter::MachSymbolData&, const llvm::MCAsmLayout&)':
external/llvm-project/llvm/lib/MC/MachObjectWriter.cpp:381:13: warning: 'AliaseeInfo' may be used uninitialized in this function [-Wmaybe-uninitialized]
381 | Address = AliaseeInfo->StringIndex;
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[419 / 706] [Sched] Linking external/llvm-project/clang/clang-tblgen [for host]; 186s ... (4 actions, 3 running)
ERROR: /root/.cache/bazel/_bazel_root/595596dc4dacd40e54f4e8ca596c8a84/external/llvm-project/llvm/BUILD:1689:12: Generating code from table: lib/Target/RISCV/RISCV.td @llvm-project//llvm:RISCVCommonTableGen__gen_instr_info_genrule failed: (Killed): bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
ERROR: /usr/src/fhe/transpiler/examples/calculator/BUILD:69:15 Action transpiler/examples/calculator/calculator_bool.bool.ir failed: (Killed): bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
INFO: Elapsed time: 599.389s, Critical Path: 210.46s
INFO: 1057 processes: 528 internal, 529 processwrapper-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully`
bug documentation