[*** VMUBUNTU (LINUX-5.3.0-55-GENERIC-X86_64-WITH-GLIBC2.29_X86_64): 2A0E8DCC94ED7EF3FD9EEFD3784EE70927F6D6B1 ***] [CHECKOUT] pulling from https://hg.sr.ht/~vnorilo/kronos searching for changes no changes found 70 files updated, 0 files merged, 0 files removed, 0 files unresolved parent: 1438:2a0e8dcc94ed tip merge branch: default commit: (clean) update: (current) [CONFIGURE] -- Building compiler for x86/64 nehalem -- Readline: /usr/lib/x86_64-linux-gnu/libreadline.so -- Found LibSndFile: /usr/lib/x86_64-linux-gnu/libsndfile.so -- Found jack: /usr/lib/x86_64-linux-gnu/libjack.so -- Linking jack -- Found LLVM 6.0.1 targeting AArch64;AMDGPU;ARM;BPF;Hexagon;Lanai;Mips;MSP430;NVPTX;PowerPC;Sparc;SystemZ;X86;XCore;WebAssembly;AVR -- Using LLVMConfig.cmake in: /usr/lib/llvm-6.0/cmake -- Using Binaryen backend -- Embedding TinyXML -- Using Threads -- Including LLVM backend -- Core Library /home/vnorilo/code/k3bot/Source/kronos/library/ [kronoslang/core 0.12.7] (0) -- Building -- Configuring done -- Generating done -- Build files have been written to: /home/vnorilo/code/k3bot/Build/kronos [BUILD] Scanning dependencies of target static_test_core [ 32%] Building CXX object CMakeFiles/static_test_core.dir/src/driver/StaticTestCore.cpp.o [ 32%] Linking CXX static library libstatic_test_core.a [ 32%] Built target static_test_core Scanning dependencies of target lithe [ 32%] Building CXX object src/lithe/CMakeFiles/lithe.dir/lithe.cpp.o [ 32%] Building CXX object src/lithe/CMakeFiles/lithe.dir/ast.cpp.o [ 32%] Linking CXX static library liblithe.a [ 32%] Built target lithe Scanning dependencies of target network [ 32%] Building CXX object src/network/CMakeFiles/network.dir/websocket.cpp.o [ 32%] Building CXX object src/network/CMakeFiles/network.dir/router.cpp.o [ 32%] Building CXX object src/network/CMakeFiles/network.dir/http.cpp.o [ 32%] Linking CXX static library libnetwork.a [ 32%] Built target network Scanning dependencies of target platform [ 32%] Building CXX object CMakeFiles/platform.dir/src/common/Platform.cpp.o [ 32%] Linking CXX static library libplatform.a [ 32%] Built target platform Scanning dependencies of target grammar_common [ 32%] Building CXX object src/lithe/CMakeFiles/grammar_common.dir/grammar/common.cpp.o [ 32%] Linking CXX static library libgrammar_common.a [ 32%] Built target grammar_common Scanning dependencies of target grammar_json [ 32%] Building CXX object src/lithe/CMakeFiles/grammar_json.dir/grammar/json.cpp.o [ 32%] Linking CXX static library libgrammar_json.a [ 32%] Built target grammar_json Scanning dependencies of target package_manager [ 32%] Building CXX object CMakeFiles/package_manager.dir/src/driver/package.cpp.o [ 32%] Linking CXX static library libpackage_manager.a [ 32%] Built target package_manager Scanning dependencies of target tinyxml [ 32%] Building CXX object CMakeFiles/tinyxml.dir/src/tinyxml/tinyxmlerror.cpp.o [ 32%] Linking CXX static library libtinyxml.a [ 32%] Built target tinyxml Scanning dependencies of target llvm_backend [ 32%] Building CXX object CMakeFiles/llvm_backend.dir/src/backends/LLVMCompiler.cpp.o In file included from /usr/lib/llvm-6.0/include/llvm/ADT/DenseMapInfo.h:17, from /usr/lib/llvm-6.0/include/llvm/ADT/DenseMap.h:17, from /usr/lib/llvm-6.0/include/llvm/Support/Options.h:40, from /usr/lib/llvm-6.0/include/llvm/IR/LLVMContext.h:21, from /home/vnorilo/code/k3bot/Source/kronos/src/backends/LLVMCompiler.h:17, from /home/vnorilo/code/k3bot/Source/kronos/src/backends/LLVMCompiler.cpp:4: /usr/lib/llvm-6.0/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Type*]’: /home/vnorilo/code/k3bot/Source/kronos/src/backends/LLVMCompiler.cpp:546:169: required from here /usr/lib/llvm-6.0/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef::Data’ from ‘std::initializer_list::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] 102 | : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()), /usr/lib/llvm-6.0/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Value*]’: /home/vnorilo/code/k3bot/Source/kronos/src/backends/LLVMCompiler.cpp:547:85: required from here /usr/lib/llvm-6.0/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef::Data’ from ‘std::initializer_list::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] [ 32%] Building CXX object CMakeFiles/llvm_backend.dir/src/backends/LLVMModule.cpp.o In file included from /usr/lib/llvm-6.0/include/llvm/ADT/DenseMapInfo.h:17, from /usr/lib/llvm-6.0/include/llvm/ADT/DenseMap.h:17, from /usr/lib/llvm-6.0/include/llvm/IR/Verifier.h:24, from /home/vnorilo/code/k3bot/Source/kronos/src/backends/LLVMModule.cpp:3: /usr/lib/llvm-6.0/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Value*]’: /home/vnorilo/code/k3bot/Source/kronos/src/backends/LLVMModule.cpp:173:11: required from ‘K3::Backends::LLVM::MakeIR(Kronos::BuildFlags):: [with auto:4 = llvm::IRBuilder<>; auto:5 = llvm::iterator_range]’ /usr/include/c++/9/type_traits:2336:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = K3::Backends::LLVM::MakeIR(Kronos::BuildFlags)::&; _Args = {llvm::IRBuilder&, llvm::iterator_range}]’ /usr/include/c++/9/type_traits:2347:55: required from ‘struct std::__result_of_impl&, llvm::IRBuilder&, llvm::iterator_range >’ /usr/include/c++/9/type_traits:2352:12: required from ‘struct std::__invoke_result&, llvm::IRBuilder&, llvm::iterator_range >’ /usr/include/c++/9/type_traits:2365:12: required from ‘class std::result_of&(llvm::IRBuilder<>&, llvm::iterator_range)>’ /usr/include/c++/9/bits/std_function.h:448:9: required by substitution of ‘template std::function&, llvm::iterator_range)>::function(_Functor) [with _Functor = K3::Backends::LLVM::MakeIR(Kronos::BuildFlags)::; = void; = void]’ /home/vnorilo/code/k3bot/Source/kronos/src/backends/LLVMModule.cpp:176:6: required from here /usr/lib/llvm-6.0/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef::Data’ from ‘std::initializer_list::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] 102 | : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()), /usr/lib/llvm-6.0/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Constant*]’: /home/vnorilo/code/k3bot/Source/kronos/src/backends/LLVMModule.cpp:364:8: required from here /usr/lib/llvm-6.0/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef::Data’ from ‘std::initializer_list::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /usr/lib/llvm-6.0/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Type*]’: /home/vnorilo/code/k3bot/Source/kronos/src/backends/LLVMModule.cpp:379:11: required from here /usr/lib/llvm-6.0/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef::Data’ from ‘std::initializer_list::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] [ 32%] Building CXX object CMakeFiles/llvm_backend.dir/src/backends/LLVMScatterLoad.cpp.o [ 32%] Building CXX object CMakeFiles/llvm_backend.dir/src/backends/LLVMAoT.cpp.o [ 32%] Building CXX object CMakeFiles/llvm_backend.dir/src/backends/LLVMJiT.cpp.o [ 32%] Linking CXX static library libllvm_backend.a [ 32%] Built target llvm_backend [ 32%] Built target paf Scanning dependencies of target grammar_kronos [ 32%] Building CXX object src/lithe/CMakeFiles/grammar_kronos.dir/grammar/kronos.cpp.o [ 32%] Linking CXX static library libgrammar_kronos.a [ 32%] Built target grammar_kronos Scanning dependencies of target core [ 32%] Building CXX object CMakeFiles/core.dir/src/backends/CallGraphAnalysis.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/backends/CodeMotionPass.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/backends/CopyElision.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/backends/DriverSignature.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/backends/CodeGenModule.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/backends/CodeGenCompiler.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/backends/SideEffectCompiler.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/backends/TargetLowering.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/common/Graphviz.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/common/Ref.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/common/ssstring.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/common/CallStack.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/Conversions.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/DynamicVariables.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/Evaluate.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/FlowControl.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/FunctionSequence.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/Generic.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/ImmutableNode.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/Invariant.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/kronos.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/LibraryRef.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/ModuleBuilder.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/Native.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/NativeVector.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/Parser.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/CodeRepository.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/Reactive.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/RegionNode.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/Stateful.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/TLS.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/Type.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/TypeAlgebra.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/Typed.cpp.o [ 32%] Building CXX object CMakeFiles/core.dir/src/k3/TypeRuleGenerator.cpp.o [ 32%] Linking CXX shared library libkronos.so [ 32%] Built target core [ 32%] Built target cli Scanning dependencies of target kc [ 32%] Building CXX object CMakeFiles/kc.dir/src/driver/kc.cpp.o [ 32%] Linking CXX executable bin/kc [ 32%] Built target kc [ 32%] kc /home/vnorilo/code/k3bot/Source/kronos/library/tests/Extending-Functions.k -> /home/vnorilo/code/k3bot/Build/kronos/kc_obj/Extending-Functions_Eval-w3zS1.o [ 32%] Linking CXX executable bin/Extending-Functions.Eval-w3zS1 [ 32%] Built target Extending-Functions.Eval-w3zS1 [ 32%] kc /home/vnorilo/code/k3bot/Source/kronos/library/tests/Extending-Functions.k -> /home/vnorilo/code/k3bot/Build/kronos/kc_obj/Extending-Functions_Eval-x-Jrw.o [ 32%] Linking CXX executable bin/Extending-Functions.Eval-x-Jrw [ 32%] Built target Extending-Functions.Eval-x-Jrw [ 32%] kc /home/vnorilo/code/k3bot/Source/kronos/library/tests/Extending-Functions.k -> /home/vnorilo/code/k3bot/Build/kronos/kc_obj/Extending-Functions_Eval-f697f.o [ 32%] Linking CXX executable bin/Extending-Functions.Eval-f697f [ 32%] Built target Extending-Functions.Eval-f697f [ 32%] kc /home/vnorilo/code/k3bot/Source/kronos/library/tests/Extending-Functions.k -> /home/vnorilo/code/k3bot/Build/kronos/kc_obj/Extending-Functions_Eval-6o3vJ.o [ 32%] Linking CXX executable bin/Extending-Functions.Eval-6o3vJ [ 32%] Built target Extending-Functions.Eval-6o3vJ [ 32%] kc /home/vnorilo/code/k3bot/Source/kronos/library/tests/Math.k -> /home/vnorilo/code/k3bot/Build/kronos/kc_obj/Math_Copy-Sign-IEEE.o LLVM ERROR: Cannot select: 0x556af0ac0000: ch = store 0x556af0a05f60, 0x556af0ac34b8, FrameIndex:i64<2>, undef:i64 0x556af0ac34b8: i32,ch = load,<0x556af0a1b238>,<0x556af0a26e98>,<0x556af0a145a8>)(noalias=<0x556af09cf028>,<0x556af09c8fc8>,<0x556af0a26f08>,<0x556af09e8578>,<0x556af0a1b698>,<0x556af0a187b8>,<0x556af0a1b178>,<0x556af0a1b1b8>,<0x556af0a1b1f8>,<0x556af0a26f48>,<0x556af0a1b278>,<0x556af0a1b2b8>,<0x556af0a26f88>,<0x556af0a14568>,<0x556af0a146a8>,<0x556af0a260f8>)> 0x556af0ac33e8, 0x556af0ac28f0, undef:i64 0x556af0ac28f0: i64 = add 0x556af0aba998, Constant:i64<28> 0x556af0aba998: i64,ch = CopyFromReg 0x556af0a05f60, Register:i64 %2 0x556af0aba930: i64 = Register %2 0x556af0ac09c0: i64 = Constant<28> 0x556af0abab38: i64 = undef 0x556af0ac4910: i64 = FrameIndex<2> 0x556af0abab38: i64 = undef In function: Eval::Algorithm:Zip-With_seq make[5]: *** [CMakeFiles/Math.Copy-Sign-IEEE.dir/build.make:64: kc_obj/Math_Copy-Sign-IEEE.o] Error 1 make[5]: *** Deleting file 'kc_obj/Math_Copy-Sign-IEEE.o' make[4]: *** [CMakeFiles/Makefile2:257: CMakeFiles/Math.Copy-Sign-IEEE.dir/all] Error 2 make[3]: *** [Makefile:163: all] Error 2 *** build failed *** (2, u'/home/vnorilo/code/k3bot/Build/kronos:cmake --build . --config Release') Traceback (most recent call last): File "/home/vnorilo/code/k3bot/Source/couchbot/couchbot.py", line 132, in build_commit cmake("--build", ".", "--config", "Release") File "/home/vnorilo/code/k3bot/Source/couchbot/couchbot.py", line 85, in cmake system(("cmake",) + args, bot.workspace) File "/home/vnorilo/code/k3bot/Source/couchbot/couchbot.py", line 73, in system for line in popen_gen(cwd, args): File "/home/vnorilo/code/k3bot/Source/couchbot/couchbot.py", line 39, in popen_gen raise RuntimeError(return_code, cwd + ":" + " ".join(arg_str)) RuntimeError: (2, u'/home/vnorilo/code/k3bot/Build/kronos:cmake --build . --config Release')