[INFO] cloning repository https://github.com/jyasuu/candle-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jyasuu/candle-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjyasuu%2Fcandle-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjyasuu%2Fcandle-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31a72212fb655a49566437f94b53906bba34d66a [INFO] testing jyasuu/candle-demo against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjyasuu%2Fcandle-demo" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jyasuu/candle-demo [INFO] finished tweaking git repo https://github.com/jyasuu/candle-demo [INFO] tweaked toml for git repo https://github.com/jyasuu/candle-demo written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jyasuu/candle-demo on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jyasuu/candle-demo 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d77fe41761654f94a1fe4ccaa93422b60ae791a092b711b189a25183ed7de24a [INFO] running `Command { std: "docker" "start" "-a" "d77fe41761654f94a1fe4ccaa93422b60ae791a092b711b189a25183ed7de24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d77fe41761654f94a1fe4ccaa93422b60ae791a092b711b189a25183ed7de24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d77fe41761654f94a1fe4ccaa93422b60ae791a092b711b189a25183ed7de24a", kill_on_drop: false }` [INFO] [stdout] d77fe41761654f94a1fe4ccaa93422b60ae791a092b711b189a25183ed7de24a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 9e2064847f86fc155ef720f564c9263a7a398d2df639f8b4d38a5a5c49f520da [INFO] running `Command { std: "docker" "start" "-a" "9e2064847f86fc155ef720f564c9263a7a398d2df639f8b4d38a5a5c49f520da", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling indexmap v2.11.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling macro_rules_attribute v0.2.2 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling rayon-cond v0.3.0 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling monostate-impl v0.1.16 [INFO] [stderr] Compiling monostate v0.1.16 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling rustls-webpki v0.103.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ndarray-rand v0.14.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling tokenizers v0.15.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling hf-hub v0.3.2 [INFO] [stderr] Compiling candle-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `sample_top_k` is never used [INFO] [stdout] --> src/main.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl LlamaDemo { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | fn sample_top_k(&self, probabilities: &[f32], k: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "9e2064847f86fc155ef720f564c9263a7a398d2df639f8b4d38a5a5c49f520da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e2064847f86fc155ef720f564c9263a7a398d2df639f8b4d38a5a5c49f520da", kill_on_drop: false }` [INFO] [stdout] 9e2064847f86fc155ef720f564c9263a7a398d2df639f8b4d38a5a5c49f520da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 5692380fe51d9aac0b3191071c067fda5b24c52b05ea7b21bad20a153df480ae [INFO] running `Command { std: "docker" "start" "-a" "5692380fe51d9aac0b3191071c067fda5b24c52b05ea7b21bad20a153df480ae", kill_on_drop: false }` [INFO] [stderr] Compiling candle-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/main.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sample_top_k` is never used [INFO] [stdout] --> src/main.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl LlamaDemo { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | fn sample_top_k(&self, probabilities: &[f32], k: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.52s [INFO] running `Command { std: "docker" "inspect" "5692380fe51d9aac0b3191071c067fda5b24c52b05ea7b21bad20a153df480ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5692380fe51d9aac0b3191071c067fda5b24c52b05ea7b21bad20a153df480ae", kill_on_drop: false }` [INFO] [stdout] 5692380fe51d9aac0b3191071c067fda5b24c52b05ea7b21bad20a153df480ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 3322ceca3f913094fff7f4b7db276f888f18c8a72c8c64f53ae473e0947d311a [INFO] running `Command { std: "docker" "start" "-a" "3322ceca3f913094fff7f4b7db276f888f18c8a72c8c64f53ae473e0947d311a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/main.rs:580:9 [INFO] [stderr] | [INFO] [stderr] 580 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `sample_top_k` is never used [INFO] [stderr] --> src/main.rs:370:8 [INFO] [stderr] | [INFO] [stderr] 22 | impl LlamaDemo { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 370 | fn sample_top_k(&self, probabilities: &[f32], k: usize) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `candle-demo` (bin "candle-demo" test) generated 2 warnings (run `cargo fix --bin "candle-demo" -p candle-demo --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/candle-demo/09df2b9221785253/deps/candle_demo-09df2b9221785253) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_token_encoding ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3322ceca3f913094fff7f4b7db276f888f18c8a72c8c64f53ae473e0947d311a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3322ceca3f913094fff7f4b7db276f888f18c8a72c8c64f53ae473e0947d311a", kill_on_drop: false }` [INFO] [stdout] 3322ceca3f913094fff7f4b7db276f888f18c8a72c8c64f53ae473e0947d311a