[INFO] fetching crate simple_llama 0.1.3-b... [INFO] testing simple_llama-0.1.3-b against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate simple_llama 0.1.3-b into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate simple_llama 0.1.3-b [INFO] finished tweaking crates.io crate simple_llama 0.1.3-b [INFO] tweaked toml for crates.io crate simple_llama 0.1.3-b written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate simple_llama 0.1.3-b on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate simple_llama 0.1.3-b 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded llama-cpp-2 v0.1.62 [INFO] [stderr] Downloaded which v6.0.1 [INFO] [stderr] Downloaded mlua-sys v0.6.1 [INFO] [stderr] Downloaded llama-cpp-sys-2 v0.1.62 [INFO] [stderr] Downloaded lua-src v546.0.2 [INFO] [stderr] Downloaded luajit-src v210.5.8+5790d25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef70128f2c6d1a07f71b72c807022716be03e167774bbad202e965233bdf13d3 [INFO] running `Command { std: "docker" "start" "-a" "ef70128f2c6d1a07f71b72c807022716be03e167774bbad202e965233bdf13d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef70128f2c6d1a07f71b72c807022716be03e167774bbad202e965233bdf13d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef70128f2c6d1a07f71b72c807022716be03e167774bbad202e965233bdf13d3", kill_on_drop: false }` [INFO] [stdout] ef70128f2c6d1a07f71b72c807022716be03e167774bbad202e965233bdf13d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69a26ae7e08b1bee8cd7f7b7793d119e7dae5147bb4d87cab82c46baa42621d9 [INFO] running `Command { std: "docker" "start" "-a" "69a26ae7e08b1bee8cd7f7b7793d119e7dae5147bb4d87cab82c46baa42621d9", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling llama-cpp-sys-2 v0.1.62 [INFO] [stderr] Compiling llama-cpp-2 v0.1.62 [INFO] [stderr] Compiling simple_llama v0.1.3-b (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/llm/mod.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 226 | ) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | ) -> anyhow::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.93s [INFO] running `Command { std: "docker" "inspect" "69a26ae7e08b1bee8cd7f7b7793d119e7dae5147bb4d87cab82c46baa42621d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69a26ae7e08b1bee8cd7f7b7793d119e7dae5147bb4d87cab82c46baa42621d9", kill_on_drop: false }` [INFO] [stdout] 69a26ae7e08b1bee8cd7f7b7793d119e7dae5147bb4d87cab82c46baa42621d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4aff71ddcf5976d719defa65b038a27907ca0b86531692ab3de4a56f684fd946 [INFO] running `Command { std: "docker" "start" "-a" "4aff71ddcf5976d719defa65b038a27907ca0b86531692ab3de4a56f684fd946", kill_on_drop: false }` [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling which v6.0.1 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling lua-src v546.0.2 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling luajit-src v210.5.8+5790d25 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling mlua-sys v0.6.1 [INFO] [stderr] Compiling clap_builder v4.5.9 [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling clap v4.5.9 [INFO] [stderr] Compiling toml v0.8.14 [INFO] [stderr] Compiling mlua v0.9.9 [INFO] [stderr] Compiling llama-cpp-sys-2 v0.1.62 [INFO] [stderr] Compiling llama-cpp-2 v0.1.62 [INFO] [stderr] Compiling simple_llama v0.1.3-b (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/llm/mod.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 226 | ) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | ) -> anyhow::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> examples/simple.rs:2:61 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, io::Write, num::NonZeroU32, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/llm/mod.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 226 | ) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | ) -> anyhow::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcXRAvrr/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libanyhow-1bdf2e76b99b1cd6,libencoding_rs-721451430cd4dde4,libcfg_if-33ef6c02a07f9fec}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{liblog-5fb51f756c1191b0,libserde-ea63a696d4fbb755,libllama_cpp_2-45b83808cdcc8d74,libthiserror-1a2b176da52d03fd,libenumflags2-bacf6148e4b0d7ee,libtracing-15390b4c254e4fbe,libpin_project_lite-e0c50e8704e39276,libtracing_core-2e5058304bee1886,libonce_cell-24c5d665b6879050,libllama_cpp_sys_2-5e5a0465308e7a10}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lllama" "-lggml" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcXRAvrr/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/mlua-sys-71af2fd0ce2c125a/out/lua-build/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/simple_llama-e8d5014856a7e458" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lllama [INFO] [stdout] rust-lld: error: unable to find library -lggml [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_llama` (lib test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcwrNjSv/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libtoml-526a64ebe46e06b2,libtoml_edit-4e382c425f111c94,libserde_spanned-eca1ead310af6efe,libindexmap-478de18483c8f743,libequivalent-fdc46004df91ad08,libhashbrown-5d9404f16ad26a3c,libwinnow-67612caa8f3623dd,libtoml_datetime-0965a5906cc9b35b,libsimple_llama-940e3f16695b4440,libanyhow-1bdf2e76b99b1cd6,libencoding_rs-721451430cd4dde4,libcfg_if-33ef6c02a07f9fec,liblog-5fb51f756c1191b0,libserde-ea63a696d4fbb755,libllama_cpp_2-45b83808cdcc8d74,libthiserror-1a2b176da52d03fd,libenumflags2-bacf6148e4b0d7ee,libtracing-15390b4c254e4fbe,libpin_project_lite-e0c50e8704e39276,libtracing_core-2e5058304bee1886,libonce_cell-24c5d665b6879050,libllama_cpp_sys_2-5e5a0465308e7a10,libclap-e76157d7715a56ae,libclap_builder-6d8dfb20322c26c3,libstrsim-24acdad2526b95b7,libanstream-7139e5a583a0b49e,libanstyle_query-1f18a97d2bc4bae7,libis_terminal_polyfill-b4fdeb930bc5725e,libcolorchoice-53282be104416541,libanstyle_parse-4c6e80c82b41bb7b,libutf8parse-8828ddbb63eb8bad,libclap_lex-c1930fbcec3d0b30,libanstyle-fed7b219c9cacdc4}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lllama" "-lggml" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcwrNjSv/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/mlua-sys-71af2fd0ce2c125a/out/lua-build/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/simple-b4f1bcdc9c6ad51a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lllama [INFO] [stdout] rust-lld: error: unable to find library -lggml [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_llama` (example "simple") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4aff71ddcf5976d719defa65b038a27907ca0b86531692ab3de4a56f684fd946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aff71ddcf5976d719defa65b038a27907ca0b86531692ab3de4a56f684fd946", kill_on_drop: false }` [INFO] [stdout] 4aff71ddcf5976d719defa65b038a27907ca0b86531692ab3de4a56f684fd946