[INFO] cloning repository https://github.com/noppej/Bitnet-Minimal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noppej/Bitnet-Minimal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoppej%2FBitnet-Minimal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoppej%2FBitnet-Minimal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7992db9856a75af46a20aa93bbdf23421367bd9 [INFO] testing noppej/Bitnet-Minimal against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoppej%2FBitnet-Minimal" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/noppej/Bitnet-Minimal [INFO] finished tweaking git repo https://github.com/noppej/Bitnet-Minimal [INFO] tweaked toml for git repo https://github.com/noppej/Bitnet-Minimal written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/noppej/Bitnet-Minimal on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/noppej/Bitnet-Minimal 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prettyplease v0.2.25 [INFO] [stderr] Downloaded nom_locate v4.2.0 [INFO] [stderr] Downloaded patch-apply v0.8.3 [INFO] [stderr] Downloaded cc v1.2.1 [INFO] [stderr] Downloaded libc v0.2.164 [INFO] [stderr] Downloaded bitnet-cpp-sys v0.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 909f10da062323d786270797e92176618ad2b8196f9d6b748f9dad71efaa3ea1 [INFO] running `Command { std: "docker" "start" "-a" "909f10da062323d786270797e92176618ad2b8196f9d6b748f9dad71efaa3ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "909f10da062323d786270797e92176618ad2b8196f9d6b748f9dad71efaa3ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "909f10da062323d786270797e92176618ad2b8196f9d6b748f9dad71efaa3ea1", kill_on_drop: false }` [INFO] [stdout] 909f10da062323d786270797e92176618ad2b8196f9d6b748f9dad71efaa3ea1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1a76cd46c663769847fc3af83879399bbcc0e678af016583cf4ab85ad0a4529 [INFO] running `Command { std: "docker" "start" "-a" "d1a76cd46c663769847fc3af83879399bbcc0e678af016583cf4ab85ad0a4529", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [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 prettyplease v0.2.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling patch-apply v0.8.3 [INFO] [stderr] Compiling bitnet-cpp-sys v0.0.4 [INFO] [stderr] error: failed to run custom build command for `bitnet-cpp-sys v0.0.4` [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-a181ed28854cc6ef/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/include/ggml-backend.h [INFO] [stderr] cargo:rerun-if-changed=/opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/include/ggml.h [INFO] [stderr] cargo:rerun-if-changed=/opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/include/ggml-alloc.h [INFO] [stderr] cargo:rerun-if-changed=/opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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=OFF" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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] -- 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.0s) [INFO] [stderr] -- Generating done (0.0s) [INFO] [stderr] -- Build files have been written to: /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/out/build [INFO] [stderr] running: cd "/opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/out/build" && MAKEFLAGS="-j --jobserver-fds=8,9 --jobserver-auth=8,9" "cmake" "--build" "." "--target" "install" "--config" "Release" [INFO] [stderr] [ 3%] Building C object 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-alloc.c.o [INFO] [stderr] [ 7%] Building CXX object 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/__/__/__/__/src/ggml-bitnet-lut.cpp.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-quants.c.o [INFO] [stderr] [ 18%] 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.c.o [INFO] [stderr] [ 22%] Building C object 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-aarch64.c.o [INFO] [stderr] [ 33%] Generating build details from Git [INFO] [stderr] [ 29%] 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] [ 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 toolchain '1.90.0-x86_64-unknown-linux-gnu'. [INFO] [stderr] To install, run `rustup component add --toolchain 1.90.0-x86_64-unknown-linux-gnu rustfmt` [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] 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] In file included from /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-quants.h:4, [INFO] [stderr] from /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/out/bitnet/src/ggml-bitnet-lut.cpp:9: [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:288:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 288 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:305:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 305 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/out/bitnet/src/ggml-bitnet-lut.cpp: In function 'void ggml_bitnet_init()': [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/out/bitnet/src/ggml-bitnet-lut.cpp: In function 'void ggml_bitnet_free()': [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/src/../../../../include/ggml-bitnet.h:3, [INFO] [stderr] from /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/out/bitnet/src/ggml-bitnet-lut.cpp:8: [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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] In file included from /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-quants.h:4, [INFO] [stderr] from /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/out/bitnet/src/ggml-bitnet-mad.cpp:5: [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:288:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 288 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/src/./ggml-common.h:305:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic] [INFO] [stderr] 305 | struct { [INFO] [stderr] | ^ [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c: In function 'weight_quant_f32': [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c: At top level: [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c: In function 'weight_quant_f16': [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c: At top level: [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/out/bitnet/3rdparty/llama.cpp/ggml/src/ggml.c:50: [INFO] [stderr] /opt/rustwide/target/debug/build/bitnet-cpp-sys-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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-31822ce8ac9f3fe8/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' 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: 0x6436e394c7a2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x6436e394c7a2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x6436e394c7a2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x6436e394c7a2 - ::fmt::hdcfcb6d4c8489523 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x6436e3976823 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x6436e3976823 - core::fmt::write::h8a494366950f23bb [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x6436e3948d43 - std::io::default_write_fmt::ha27fbccbc65eb6fa [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x6436e3948d43 - std::io::Write::write_fmt::h6556609fca33d0b1 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x6436e394c5f2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x6436e394e053 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x6436e394de35 - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x6436e394ea65 - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:833:13 [INFO] [stderr] 12: 0x6436e394e7fa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stderr] 13: 0x6436e394cca9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x6436e394e48d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stderr] 15: 0x6436e3974b70 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x6436e38cbc8b - cmake::fail::hef32eb948406861a [INFO] [stderr] 17: 0x6436e38cb53a - cmake::run::ha7c5198ea4b472be [INFO] [stderr] 18: 0x6436e38c81e5 - cmake::Config::build::hfc7192c0186a7220 [INFO] [stderr] 19: 0x6436e33438b4 - build_script_build::build::h56f09d79ca2c24b6 [INFO] [stderr] 20: 0x6436e33463d6 - build_script_build::main::h2106425a2c426d15 [INFO] [stderr] 21: 0x6436e333b213 - core::ops::function::FnOnce::call_once::h15dc36819c123950 [INFO] [stderr] 22: 0x6436e33469d6 - std::sys::backtrace::__rust_begin_short_backtrace::h2cd998beb4d6cac2 [INFO] [stderr] 23: 0x6436e3346969 - std::rt::lang_start::{{closure}}::hc5b18ff557ac87e4 [INFO] [stderr] 24: 0x6436e39417a0 - core::ops::function::impls:: for &F>::call_once::h638295a043b40957 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:290:21 [INFO] [stderr] 25: 0x6436e39417a0 - std::panicking::catch_unwind::do_call::hbd68098bdea1ca50 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stderr] 26: 0x6436e39417a0 - std::panicking::catch_unwind::h50591d85bf847c7c [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stderr] 27: 0x6436e39417a0 - std::panic::catch_unwind::h2487b4c4f2ae22c6 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stderr] 28: 0x6436e39417a0 - std::rt::lang_start_internal::{{closure}}::h61f0945cc6c9a811 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:175:24 [INFO] [stderr] 29: 0x6436e39417a0 - std::panicking::catch_unwind::do_call::h34b9c3722acd6bd1 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stderr] 30: 0x6436e39417a0 - std::panicking::catch_unwind::hf9a822ea043fb0d6 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stderr] 31: 0x6436e39417a0 - std::panic::catch_unwind::h5b3cac802237ed89 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stderr] 32: 0x6436e39417a0 - std::rt::lang_start_internal::h34f9328d113fd60a [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:171:5 [INFO] [stderr] 33: 0x6436e3346951 - std::rt::lang_start::hd057f446877cdb3e [INFO] [stderr] 34: 0x6436e33463f5 - main [INFO] [stderr] 35: 0x73f1745341ca - [INFO] [stderr] 36: 0x73f17453428b - __libc_start_main [INFO] [stderr] 37: 0x6436e333a765 - _start [INFO] [stderr] 38: 0x0 - [INFO] running `Command { std: "docker" "inspect" "d1a76cd46c663769847fc3af83879399bbcc0e678af016583cf4ab85ad0a4529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a76cd46c663769847fc3af83879399bbcc0e678af016583cf4ab85ad0a4529", kill_on_drop: false }` [INFO] [stdout] d1a76cd46c663769847fc3af83879399bbcc0e678af016583cf4ab85ad0a4529