[INFO] fetching crate bitnet-cpp 0.0.5... [INFO] checking bitnet-cpp-0.0.5 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate bitnet-cpp 0.0.5 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate bitnet-cpp 0.0.5 [INFO] finished tweaking crates.io crate bitnet-cpp 0.0.5 [INFO] tweaked toml for crates.io crate bitnet-cpp 0.0.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bitnet-cpp 0.0.5 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bitnet-cpp 0.0.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 984deaf1bac99902330fbd1049000bacf38089ad4a35f049f142f3c55dc65805 [INFO] running `Command { std: "docker" "start" "-a" "984deaf1bac99902330fbd1049000bacf38089ad4a35f049f142f3c55dc65805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "984deaf1bac99902330fbd1049000bacf38089ad4a35f049f142f3c55dc65805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "984deaf1bac99902330fbd1049000bacf38089ad4a35f049f142f3c55dc65805", kill_on_drop: false }` [INFO] [stdout] 984deaf1bac99902330fbd1049000bacf38089ad4a35f049f142f3c55dc65805 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 631334b3d15cd3567c7fd6c1922ea5a0ed89d4f244489aefad14a59e2b2bb044 [INFO] running `Command { std: "docker" "start" "-a" "631334b3d15cd3567c7fd6c1922ea5a0ed89d4f244489aefad14a59e2b2bb044", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling patch-apply v0.8.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling bitnet-cpp-sys v0.0.5 [INFO] [stderr] error: failed to run custom build command for `bitnet-cpp-sys v0.0.5` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/bitnet-cpp-sys-198dee7e040dc4fa/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-env-changed=TARGET [INFO] [stderr] cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS [INFO] [stderr] cargo:rerun-if-changed=wrapper.h [INFO] [stderr] cargo:rerun-if-changed=./bitnet/3rdparty/llama.cpp/include/llama.h [INFO] [stderr] cargo:rerun-if-changed=/opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/include/ggml.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/stdbool.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/stddef.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/__stddef_ptrdiff_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/__stddef_size_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/__stddef_wchar_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/__stddef_null.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/__stddef_nullptr_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/__stddef_max_align_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/__stddef_offsetof.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/stdint.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/stdint.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/libc-header-start.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/features.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/features-time64.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/timesize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/stdc-predef.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/sys/cdefs.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/long-double.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/gnu/stubs.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/gnu/stubs-64.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/features.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/timesize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/typesizes.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/time64.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wchar.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/stdint-intn.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/stdint-least.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/stdio.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/libc-header-start.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/features.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/stddef.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/__stddef_size_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/__stddef_null.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/stdarg.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/__stdarg___gnuc_va_list.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/__FILE.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/FILE.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/stdio_lim.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/floatn.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/features.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/floatn-common.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/features.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/long-double.h [INFO] [stderr] cargo:rerun-if-changed=/opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/include/ggml-backend.h [INFO] [stderr] cargo:rerun-if-changed=/opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/include/ggml.h [INFO] [stderr] cargo:rerun-if-changed=/opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/include/ggml-alloc.h [INFO] [stderr] cargo:rerun-if-changed=/opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/include/ggml.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/stddef.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/stdint.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/stdio.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-18/lib/clang/18/include/stdbool.h [INFO] [stderr] cargo:rerun-if-changed=wrapper.h [INFO] [stderr] CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE_TOOLCHAIN_FILE = None [INFO] [stderr] CMAKE_TOOLCHAIN_FILE = None [INFO] [stderr] CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE_GENERATOR = None [INFO] [stderr] CMAKE_GENERATOR = None [INFO] [stderr] CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE_PREFIX_PATH = None [INFO] [stderr] CMAKE_PREFIX_PATH = None [INFO] [stderr] CMAKE_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE = None [INFO] [stderr] CMAKE = None [INFO] [stderr] running: cd "/opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet" "-DLLAMA_BUILD_TESTS=OFF" "-DLLAMA_BUILD_EXAMPLES=OFF" "-DLLAMA_BUILD_SERVER=OFF" "-DBITNET_X86_TL2=ON" "-DBUILD_SHARED_LIBS=OFF" "-DGGML_METAL=OFF" "-DGGML_OPENMP=ON" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Release" [INFO] [stderr] -- The C compiler identification is GNU 13.3.0 [INFO] [stderr] -- The CXX compiler identification is GNU 13.3.0 [INFO] [stderr] -- Detecting C compiler ABI info [INFO] [stderr] -- Detecting C compiler ABI info - done [INFO] [stderr] -- Check for working C compiler: /usr/bin/cc - skipped [INFO] [stderr] -- Detecting C compile features [INFO] [stderr] -- Detecting C compile features - done [INFO] [stderr] -- Detecting CXX compiler ABI info [INFO] [stderr] -- Detecting CXX compiler ABI info - done [INFO] [stderr] -- Check for working CXX compiler: /usr/bin/c++ - skipped [INFO] [stderr] -- Detecting CXX compile features [INFO] [stderr] -- Detecting CXX compile features - done [INFO] [stderr] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD [INFO] [stderr] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success [INFO] [stderr] -- Found Threads: TRUE [INFO] [stderr] -- Found Git: /usr/bin/git (found version "2.43.0") [INFO] [stderr] -- Found OpenMP_C: -fopenmp (found version "4.5") [INFO] [stderr] -- Found OpenMP_CXX: -fopenmp (found version "4.5") [INFO] [stderr] -- Found OpenMP: TRUE (found version "4.5") [INFO] [stderr] -- OpenMP found [INFO] [stderr] -- Using llamafile [INFO] [stderr] -- Warning: ccache not found - consider installing it for faster compilation or disable this warning with GGML_CCACHE=OFF [INFO] [stderr] -- CMAKE_SYSTEM_PROCESSOR: x86_64 [INFO] [stderr] -- x86 detected [INFO] [stderr] -- Configuring done (2.9s) [INFO] [stderr] -- Generating done (0.0s) [INFO] [stderr] -- Build files have been written to: /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/build [INFO] [stderr] running: cd "/opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/build" && MAKEFLAGS="-j --jobserver-fds=8,9 --jobserver-auth=8,9" "cmake" "--build" "." "--target" "install" "--config" "Release" [INFO] [stderr] [ 3%] Generating build details from Git [INFO] [stderr] [ 7%] Building C object 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml.c.o [INFO] [stderr] [ 11%] Building CXX object 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-backend.cpp.o [INFO] [stderr] [ 14%] Building C object 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-alloc.c.o [INFO] [stderr] [ 18%] Building CXX object 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/__/__/__/__/src/ggml-bitnet-mad.cpp.o [INFO] [stderr] -- Found Git: /usr/bin/git (found version "2.43.0") [INFO] [stderr] [ 22%] Building CXX object 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/llamafile/sgemm.cpp.o [INFO] [stderr] [ 25%] Building C object 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-aarch64.c.o [INFO] [stderr] [ 29%] Building CXX object 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/__/__/__/__/src/ggml-bitnet-lut.cpp.o [INFO] [stderr] [ 33%] Building C object 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-quants.c.o [INFO] [stderr] [ 37%] Building CXX object 3rdparty/llama.cpp/common/CMakeFiles/build_info.dir/build-info.cpp.o [INFO] [stderr] [ 37%] Built target build_info [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] error: 'rustfmt' is not installed for the custom toolchain 'a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d'. [INFO] [stderr] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stderr] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stderr] Failed to run rustfmt: Internal rustfmt error (non-fatal, continuing) [INFO] [stderr] fatal: not a git repository (or any parent up to mount point /opt/rustwide) [INFO] [stderr] Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). [INFO] [stderr] fatal: not a git repository (or any parent up to mount point /opt/rustwide) [INFO] [stderr] Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). [INFO] [stderr] CMake Warning at 3rdparty/llama.cpp/common/CMakeLists.txt:30 (message): [INFO] [stderr] Git repository not found; to enable automatic generation of build info, [INFO] [stderr] make sure Git is installed and the project is a Git repository. [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] CMake Warning: [INFO] [stderr] Manually-specified variables were not used by the project: [INFO] [stderr] [INFO] [stderr] CMAKE_ASM_COMPILER [INFO] [stderr] CMAKE_ASM_FLAGS [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] gmake: warning: -j16 forced in submake: resetting jobserver mode. [INFO] [stderr] cc1: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C [INFO] [stderr] cc1: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C [INFO] [stderr] fatal: not a git repository (or any parent up to mount point /opt/rustwide) [INFO] [stderr] Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). [INFO] [stderr] fatal: not a git repository (or any parent up to mount point /opt/rustwide) [INFO] [stderr] Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). [INFO] [stderr] cc1: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C [INFO] [stderr] cc1: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C [INFO] [stderr] In file included from /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-quants.h:4, [INFO] [stderr] from /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:9: [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:154:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 154 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:175:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 175 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:196:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 196 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:261:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 261 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:294:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 294 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:311:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 311 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp: In function 'void ggml_bitnet_init()': [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:101:9: error: 'initialized' was not declared in this scope [INFO] [stderr] 101 | if (initialized) { [INFO] [stderr] | ^~~~~~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:104:5: error: 'initialized' was not declared in this scope [INFO] [stderr] 104 | initialized = true; [INFO] [stderr] | ^~~~~~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:109:9: error: 'bitnet_tensor_extras' was not declared in this scope; did you mean 'bitnet_tensor_extra'? [INFO] [stderr] 109 | if (bitnet_tensor_extras == nullptr) { [INFO] [stderr] | ^~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] | bitnet_tensor_extra [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:110:56: error: 'GGML_BITNET_MAX_NODES' was not declared in this scope [INFO] [stderr] 110 | bitnet_tensor_extras = new bitnet_tensor_extra[GGML_BITNET_MAX_NODES]; [INFO] [stderr] | ^~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] In file included from /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-quants.h:4, [INFO] [stderr] from /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-mad.cpp:5: [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:154:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 154 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:175:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 175 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:196:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 196 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:261:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 261 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:294:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 294 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:311:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 311 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:112:5: error: 'bitnet_tensor_extras_index' was not declared in this scope; did you mean 'bitnet_tensor_extra'? [INFO] [stderr] 112 | bitnet_tensor_extras_index = 0; [INFO] [stderr] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] | bitnet_tensor_extra [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp: In function 'void ggml_bitnet_free()': [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:118:10: error: 'initialized' was not declared in this scope [INFO] [stderr] 118 | if (!initialized) { [INFO] [stderr] | ^~~~~~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:121:5: error: 'initialized' was not declared in this scope [INFO] [stderr] 121 | initialized = false; [INFO] [stderr] | ^~~~~~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:125:28: error: 'bitnet_tensor_extras_index' was not declared in this scope; did you mean 'bitnet_tensor_extra'? [INFO] [stderr] 125 | for (size_t i = 0; i < bitnet_tensor_extras_index; i++) { [INFO] [stderr] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] | bitnet_tensor_extra [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:129:14: error: 'bitnet_tensor_extras' was not declared in this scope; did you mean 'bitnet_tensor_extra'? [INFO] [stderr] 129 | delete[] bitnet_tensor_extras; [INFO] [stderr] | ^~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] | bitnet_tensor_extra [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp: In function 'bool ggml_bitnet_can_mul_mat(const ggml_tensor*, const ggml_tensor*, const ggml_tensor*)': [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:134:10: error: 'is_type_supported' was not declared in this scope [INFO] [stderr] 134 | if ((is_type_supported(src0->type)) && [INFO] [stderr] | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:137:15: warning: 'ggml_tensor::backend' is deprecated: use the buffer type to find the storage location of the tensor [-Wdeprecated-declarations] [INFO] [stderr] 137 | src0->backend == GGML_BACKEND_TYPE_CPU) { [INFO] [stderr] | ^~~~~~~ [INFO] [stderr] In file included from /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/../../../../include/ggml-bitnet.h:3, [INFO] [stderr] from /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:8: [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/../include/ggml.h:585:48: note: declared here [INFO] [stderr] 585 | GGML_DEPRECATED(enum ggml_backend_type backend, "use the buffer type to find the storage location of the tensor"); [INFO] [stderr] | ^~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/../include/ggml.h:192:41: note: in definition of macro 'GGML_DEPRECATED' [INFO] [stderr] 192 | # define GGML_DEPRECATED(func, hint) func __attribute__((deprecated(hint))) [INFO] [stderr] | ^~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:137:15: warning: 'ggml_tensor::backend' is deprecated: use the buffer type to find the storage location of the tensor [-Wdeprecated-declarations] [INFO] [stderr] 137 | src0->backend == GGML_BACKEND_TYPE_CPU) { [INFO] [stderr] | ^~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/../include/ggml.h:585:48: note: declared here [INFO] [stderr] 585 | GGML_DEPRECATED(enum ggml_backend_type backend, "use the buffer type to find the storage location of the tensor"); [INFO] [stderr] | ^~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/../include/ggml.h:192:41: note: in definition of macro 'GGML_DEPRECATED' [INFO] [stderr] 192 | # define GGML_DEPRECATED(func, hint) func __attribute__((deprecated(hint))) [INFO] [stderr] | ^~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:137:15: warning: 'ggml_tensor::backend' is deprecated: use the buffer type to find the storage location of the tensor [-Wdeprecated-declarations] [INFO] [stderr] 137 | src0->backend == GGML_BACKEND_TYPE_CPU) { [INFO] [stderr] | ^~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/../include/ggml.h:585:48: note: declared here [INFO] [stderr] 585 | GGML_DEPRECATED(enum ggml_backend_type backend, "use the buffer type to find the storage location of the tensor"); [INFO] [stderr] | ^~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/../include/ggml.h:192:41: note: in definition of macro 'GGML_DEPRECATED' [INFO] [stderr] 192 | # define GGML_DEPRECATED(func, hint) func __attribute__((deprecated(hint))) [INFO] [stderr] | ^~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp: In function 'size_t ggml_bitnet_mul_mat_get_wsize(const ggml_tensor*, const ggml_tensor*, const ggml_tensor*)': [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-lut.cpp:143:131: warning: unused parameter 'dst' [-Wunused-parameter] [INFO] [stderr] 143 | size_t ggml_bitnet_mul_mat_get_wsize(const struct ggml_tensor * src0, const struct ggml_tensor * src1, const struct ggml_tensor * dst) { [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] gmake[2]: *** [3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/build.make:146: 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/__/__/__/__/src/ggml-bitnet-lut.cpp.o] Error 1 [INFO] [stderr] gmake[2]: *** Waiting for unfinished jobs.... [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c:12514:6: warning: no previous prototype for 'float_act_quant' [-Wmissing-prototypes] [INFO] [stderr] 12514 | void float_act_quant(const int K, float* B, int32_t* dst, float* act_scale) { [INFO] [stderr] | ^~~~~~~~~~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c:12530:6: warning: no previous prototype for 'weight_quant_f32' [-Wmissing-prototypes] [INFO] [stderr] 12530 | void weight_quant_f32(const int M, const int K, float* A, int32_t* dst, float* i2_scale) { [INFO] [stderr] | ^~~~~~~~~~~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c: In function 'weight_quant_f32': [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c:12545:35: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] [INFO] [stderr] 12545 | dst[i] = (double)A[i] * i2_scale[0] > 0 ? 1 : -1; [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c: At top level: [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c:12550:6: warning: no previous prototype for 'weight_quant_f16' [-Wmissing-prototypes] [INFO] [stderr] 12550 | void weight_quant_f16(const int M, const int K, uint16_t* A, int32_t* dst, float* i2_scale) { [INFO] [stderr] | ^~~~~~~~~~~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c: In function 'weight_quant_f16': [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c:12566:37: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] [INFO] [stderr] 12566 | dst[i] = (double)temp_A * i2_scale[0] > 0 ? 1 : -1; [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c: At top level: [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c:12571:6: warning: no previous prototype for 'matrixMultiply_int' [-Wmissing-prototypes] [INFO] [stderr] 12571 | void matrixMultiply_int(const int M, const int N, const int K, const int32_t* A, const int32_t* B, int32_t* C) { [INFO] [stderr] | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c: In function 'ggml_compute_forward_mul_mat': [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c:12736:44: warning: initialization of 'bitnet_float_type *' {aka 'float *'} from incompatible pointer type 'char *' [-Wincompatible-pointer-types] [INFO] [stderr] 12736 | bitnet_float_type * bitnet_f_ptr = wdata; [INFO] [stderr] | ^~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c:12740:31: warning: pointer targets in initialization of 'int8_t *' {aka 'signed char *'} from 'char *' differ in signedness [-Wpointer-sign] [INFO] [stderr] 12740 | int8_t * three_qlut = cur_wdata; [INFO] [stderr] | ^~~~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c:12757:42: warning: passing argument 1 of 'ggml_bitnet_transform_tensor' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [INFO] [stderr] 12757 | ggml_bitnet_transform_tensor(src0); [INFO] [stderr] | ^~~~ [INFO] [stderr] In file included from /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c:50: [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/../../../../include/ggml-bitnet.h:35:65: note: expected 'struct ggml_tensor *' but argument is of type 'const struct ggml_tensor *' [INFO] [stderr] 35 | GGML_API void ggml_bitnet_transform_tensor(struct ggml_tensor * tensor); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c:12761:51: warning: passing argument 2 of 'ggml_fp32_to_fp16_row' from incompatible pointer type [-Wincompatible-pointer-types] [INFO] [stderr] 12761 | ggml_fp32_to_fp16_row(src1->data, bitnet_f_ptr, ne10 * ne11); [INFO] [stderr] | ^~~~~~~~~~~~ [INFO] [stderr] | | [INFO] [stderr] | bitnet_float_type * {aka float *} [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c:541:59: note: expected 'ggml_fp16_t *' {aka 'short unsigned int *'} but argument is of type 'bitnet_float_type *' {aka 'float *'} [INFO] [stderr] 541 | void ggml_fp32_to_fp16_row(const float * x, ggml_fp16_t * y, int64_t n) { [INFO] [stderr] | ~~~~~~~~~~~~~~^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-mad.cpp: In function 'size_t quantize_i2_s(const float*, void*, int64_t, int64_t, const float*)': [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-mad.cpp:46:100: warning: unused parameter 'quant_weights' [-Wunused-parameter] [INFO] [stderr] 46 | size_t quantize_i2_s(const float * src, void * dst, int64_t nrow, int64_t n_per_row, const float * quant_weights) { [INFO] [stderr] | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-mad.cpp: In function 'void ggml_vec_dot_i2_i8_s(int, float*, size_t, const void*, size_t, const void*, size_t, int)': [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-mad.cpp:95:28: warning: cast from type 'const void*' to type 'uint8_t*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] [INFO] [stderr] 95 | const uint8_t * x = (uint8_t *)vx; [INFO] [stderr] | ^~~~~~~~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-mad.cpp:96:28: warning: cast from type 'const void*' to type 'int8_t*' {aka 'signed char*'} casts away qualifiers [-Wcast-qual] [INFO] [stderr] 96 | const int8_t * y = (int8_t *)vy; [INFO] [stderr] | ^~~~~~~~~~~~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-mad.cpp:94:52: warning: unused parameter 'bs' [-Wunused-parameter] [INFO] [stderr] 94 | void ggml_vec_dot_i2_i8_s(int n, float * s, size_t bs, const void * vx, size_t bx, const void * vy, size_t by, int nrc) { [INFO] [stderr] | ~~~~~~~^~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-mad.cpp:94:80: warning: unused parameter 'bx' [-Wunused-parameter] [INFO] [stderr] 94 | void ggml_vec_dot_i2_i8_s(int n, float * s, size_t bs, const void * vx, size_t bx, const void * vy, size_t by, int nrc) { [INFO] [stderr] | ~~~~~~~^~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-mad.cpp:94:108: warning: unused parameter 'by' [-Wunused-parameter] [INFO] [stderr] 94 | void ggml_vec_dot_i2_i8_s(int n, float * s, size_t bs, const void * vx, size_t bx, const void * vy, size_t by, int nrc) { [INFO] [stderr] | ~~~~~~~^~ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-88ee6de5e8af0c68/out/bitnet/src/ggml-bitnet-mad.cpp:94:116: warning: unused parameter 'nrc' [-Wunused-parameter] [INFO] [stderr] 94 | void ggml_vec_dot_i2_i8_s(int n, float * s, size_t bs, const void * vx, size_t bx, const void * vy, size_t by, int nrc) { [INFO] [stderr] | ~~~~^~~ [INFO] [stderr] gmake[1]: *** [CMakeFiles/Makefile2:184: 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/all] Error 2 [INFO] [stderr] gmake: *** [Makefile:136: all] Error 2 [INFO] [stderr] [INFO] [stderr] thread 'main' (915) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cmake-0.1.51/src/lib.rs:1100:5: [INFO] [stderr] [INFO] [stderr] command did not execute successfully, got: exit status: 2 [INFO] [stderr] [INFO] [stderr] build script failed, must exit now [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55d5cf194822 - std::backtrace_rs::backtrace::libunwind::trace::h105f921882c12e03 [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x55d5cf194822 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8b40918ba88bae2 [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x55d5cf194822 - std::sys::backtrace::_print_fmt::h61144b3593b669a6 [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x55d5cf194822 - ::fmt::ha7f14f4d725d0e1f [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x55d5cf1b9baf - core::fmt::rt::Argument::fmt::h291cffbfb6f5f437 [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x55d5cf1b9baf - core::fmt::write::h613c8eb2432c6a8e [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x55d5cf1838f3 - std::io::default_write_fmt::h1b19b0ce9c092acc [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x55d5cf1838f3 - std::io::Write::write_fmt::ha60efb35d66e9b8c [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x55d5cf194b32 - std::sys::backtrace::BacktraceLock::print::hb1963680433203b9 [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x55d5cf18018c - std::panicking::default_hook::{{closure}}::h12644fad1f9f9c3f [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x55d5cf17ffc6 - std::panicking::default_hook::h92d7423bfb093343 [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x55d5cf17fae1 - std::panicking::panic_with_hook::hfd863520fce8e281 [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x55d5cf194bea - std::panicking::panic_handler::{{closure}}::h75bad88e9628e7c4 [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x55d5cf194b49 - std::sys::backtrace::__rust_end_short_backtrace::hba2ee9743eb3598b [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x55d5cf17fa1d - __rustc[d20f6e1e05d5ea87]::rust_begin_unwind [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x55d5cf1c1ad0 - core::panicking::panic_fmt::h291b19446b355b1a [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x55d5cf10ad7b - cmake::fail::h045773a978c5b0a5 [INFO] [stderr] 17: 0x55d5cf109efa - cmake::run::hb8af88613494192a [INFO] [stderr] 18: 0x55d5cf110645 - cmake::Config::build::h97a5555cf17fb283 [INFO] [stderr] 19: 0x55d5ceb871d4 - build_script_build::build::heb538d5acef01780 [INFO] [stderr] 20: 0x55d5ceb81d06 - build_script_build::main::h617ae36fc19d4020 [INFO] [stderr] 21: 0x55d5ceb8b4c3 - core::ops::function::FnOnce::call_once::h86e8adb1c0717ef5 [INFO] [stderr] 22: 0x55d5ceb8c196 - std::sys::backtrace::__rust_begin_short_backtrace::h3f9a1a4a21233291 [INFO] [stderr] 23: 0x55d5ceb80949 - std::rt::lang_start::{{closure}}::h851746d832f50527 [INFO] [stderr] 24: 0x55d5cf1953e0 - core::ops::function::impls:: for &F>::call_once::hd30f70589ce52217 [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/ops/function.rs:290:21 [INFO] [stderr] 25: 0x55d5cf1953e0 - std::panicking::catch_unwind::do_call::h229a800b64964a72 [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/panicking.rs:590:40 [INFO] [stderr] 26: 0x55d5cf1953e0 - std::panicking::catch_unwind::hf5b1c782bbaa8c87 [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/panicking.rs:553:19 [INFO] [stderr] 27: 0x55d5cf1953e0 - std::panic::catch_unwind::h44fb21a21f79e7af [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/panic.rs:359:14 [INFO] [stderr] 28: 0x55d5cf1953e0 - std::rt::lang_start_internal::{{closure}}::h3d19e32b9588f707 [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/rt.rs:175:24 [INFO] [stderr] 29: 0x55d5cf1953e0 - std::panicking::catch_unwind::do_call::hf0c858106eb39fbd [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/panicking.rs:590:40 [INFO] [stderr] 30: 0x55d5cf1953e0 - std::panicking::catch_unwind::h92692cc8e925ec21 [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/panicking.rs:553:19 [INFO] [stderr] 31: 0x55d5cf1953e0 - std::panic::catch_unwind::h4f023f48f37702a5 [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/panic.rs:359:14 [INFO] [stderr] 32: 0x55d5cf1953e0 - std::rt::lang_start_internal::h80fdaffb9834036d [INFO] [stderr] at /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/rt.rs:171:5 [INFO] [stderr] 33: 0x55d5ceb80931 - std::rt::lang_start::h1375d03083bc688d [INFO] [stderr] 34: 0x55d5ceb89215 - main [INFO] [stderr] 35: 0x7ed15bc0a1ca - [INFO] [stderr] 36: 0x7ed15bc0a28b - __libc_start_main [INFO] [stderr] 37: 0x55d5ceb7dc05 - _start [INFO] [stderr] 38: 0x0 - [INFO] running `Command { std: "docker" "inspect" "631334b3d15cd3567c7fd6c1922ea5a0ed89d4f244489aefad14a59e2b2bb044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "631334b3d15cd3567c7fd6c1922ea5a0ed89d4f244489aefad14a59e2b2bb044", kill_on_drop: false }` [INFO] [stdout] 631334b3d15cd3567c7fd6c1922ea5a0ed89d4f244489aefad14a59e2b2bb044