[INFO] fetching crate burn-lm-llama 0.0.1... [INFO] testing burn-lm-llama-0.0.1 against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] extracting crate burn-lm-llama 0.0.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate burn-lm-llama 0.0.1 [INFO] finished tweaking crates.io crate burn-lm-llama 0.0.1 [INFO] tweaked toml for crates.io crate burn-lm-llama 0.0.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate burn-lm-llama 0.0.1 on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate burn-lm-llama 0.0.1 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e1ac1892b01e3ebf34a11df24a7226cf0a5a63a22ada6fbd913c4a1f6d03354 [INFO] running `Command { std: "docker" "start" "-a" "0e1ac1892b01e3ebf34a11df24a7226cf0a5a63a22ada6fbd913c4a1f6d03354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e1ac1892b01e3ebf34a11df24a7226cf0a5a63a22ada6fbd913c4a1f6d03354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e1ac1892b01e3ebf34a11df24a7226cf0a5a63a22ada6fbd913c4a1f6d03354", kill_on_drop: false }` [INFO] [stdout] 0e1ac1892b01e3ebf34a11df24a7226cf0a5a63a22ada6fbd913c4a1f6d03354 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c4cae878ca9b300fc7e6d9b543c57930a32a4260d90ef30d69a1dc40b614046 [INFO] running `Command { std: "docker" "start" "-a" "7c4cae878ca9b300fc7e6d9b543c57930a32a4260d90ef30d69a1dc40b614046", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling cubecl-common v0.6.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling embassy-futures v0.1.1 [INFO] [stderr] Compiling unit-prefix v0.5.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling macerator v0.2.8 [INFO] [stderr] Compiling thread-tree v0.3.3 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling burn-ndarray v0.18.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling moddef v0.2.6 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling atomic_float v1.1.0 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling console v0.16.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling indicatif v0.18.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling comfy-table v7.1.4 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling bytemuck_derive v1.10.0 [INFO] [stderr] Compiling derive-new v0.7.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling burn-derive v0.18.0 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling macerator-macros v0.1.2 [INFO] [stderr] Compiling burn-lm-macros v0.0.1 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling burn-common v0.18.0 [INFO] [stderr] Compiling burn-tensor v0.18.0 [INFO] [stderr] Compiling burn-ir v0.18.0 [INFO] [stderr] Compiling burn-autodiff v0.18.0 [INFO] [stderr] Compiling burn-core v0.18.0 [INFO] [stderr] Compiling burn v0.18.0 [INFO] [stderr] Compiling burn-lm-inference v0.0.1 [INFO] [stderr] Compiling burn-lm-llama v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HalfPrecisionSettings` [INFO] [stdout] --> src/nn/llama/base.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | record::{FileRecorder, HalfPrecisionSettings, RecorderError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Llama` [INFO] [stdout] --> src/nn/llama/pretrained.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{Llama, LlamaConfig, LlamaVersion, TinyLlamaVersion}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `burn::prelude` [INFO] [stdout] --> src/nn/llama/pretrained.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use burn::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_context_length` is never used [INFO] [stdout] --> src/nn/llama/pretrained.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn check_context_length(max_seq_len: usize, max_context_len: usize) { [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 00s [INFO] running `Command { std: "docker" "inspect" "7c4cae878ca9b300fc7e6d9b543c57930a32a4260d90ef30d69a1dc40b614046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c4cae878ca9b300fc7e6d9b543c57930a32a4260d90ef30d69a1dc40b614046", kill_on_drop: false }` [INFO] [stdout] 7c4cae878ca9b300fc7e6d9b543c57930a32a4260d90ef30d69a1dc40b614046 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ad4f6c3d6ee11b2038e4dd6fed5966331ea4dbd81cd7837609f1042bf4e11f4 [INFO] running `Command { std: "docker" "start" "-a" "4ad4f6c3d6ee11b2038e4dd6fed5966331ea4dbd81cd7837609f1042bf4e11f4", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `HalfPrecisionSettings` [INFO] [stdout] --> src/nn/llama/base.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | record::{FileRecorder, HalfPrecisionSettings, RecorderError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Llama` [INFO] [stdout] --> src/nn/llama/pretrained.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{Llama, LlamaConfig, LlamaVersion, TinyLlamaVersion}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling burn-lm-llama v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `burn::prelude` [INFO] [stdout] --> src/nn/llama/pretrained.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use burn::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_context_length` is never used [INFO] [stdout] --> src/nn/llama/pretrained.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn check_context_length(max_seq_len: usize, max_context_len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HalfPrecisionSettings` [INFO] [stdout] --> src/nn/llama/base.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | record::{FileRecorder, HalfPrecisionSettings, RecorderError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Llama` [INFO] [stdout] --> src/nn/llama/pretrained.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{Llama, LlamaConfig, LlamaVersion, TinyLlamaVersion}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `burn::prelude` [INFO] [stdout] --> src/nn/llama/pretrained.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use burn::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_context_length` is never used [INFO] [stdout] --> src/nn/llama/pretrained.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn check_context_length(max_seq_len: usize, max_context_len: usize) { [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 7.65s [INFO] running `Command { std: "docker" "inspect" "4ad4f6c3d6ee11b2038e4dd6fed5966331ea4dbd81cd7837609f1042bf4e11f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ad4f6c3d6ee11b2038e4dd6fed5966331ea4dbd81cd7837609f1042bf4e11f4", kill_on_drop: false }` [INFO] [stdout] 4ad4f6c3d6ee11b2038e4dd6fed5966331ea4dbd81cd7837609f1042bf4e11f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 238b71a330f5e9a1d8bf639e896d7155ab17a58518b24689c97d0268859fe128 [INFO] running `Command { std: "docker" "start" "-a" "238b71a330f5e9a1d8bf639e896d7155ab17a58518b24689c97d0268859fe128", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `HalfPrecisionSettings` [INFO] [stderr] --> src/nn/llama/base.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | record::{FileRecorder, HalfPrecisionSettings, RecorderError}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Llama` [INFO] [stderr] --> src/nn/llama/pretrained.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use super::{Llama, LlamaConfig, LlamaVersion, TinyLlamaVersion}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `burn::prelude` [INFO] [stderr] --> src/nn/llama/pretrained.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use burn::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_context_length` is never used [INFO] [stderr] --> src/nn/llama/pretrained.rs:150:4 [INFO] [stderr] | [INFO] [stderr] 150 | fn check_context_length(max_seq_len: usize, max_context_len: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `burn-lm-llama` (lib) generated 4 warnings (run `cargo fix --lib -p burn-lm-llama` to apply 2 suggestions) [INFO] [stderr] warning: `burn-lm-llama` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/burn_lm_llama-2e0624719d2b1f98) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test generation::generate::tests::test_temperature_softmax ... ok [INFO] [stdout] test nn::attention::cache::tests::test_autoregressive_cache_shift ... ok [INFO] [stdout] test nn::attention::cache::tests::test_autoregressive_cache_shrink ... ok [INFO] [stdout] test nn::transformer::tests::test_rms_norm ... ok [INFO] [stdout] test nn::pos_encoding::tests::test_rope_shift ... ok [INFO] [stdout] test nn::transformer::tests::test_transformer_cache_exceeded_max_seq_len ... ok [INFO] [stdout] test nn::transformer::tests::test_transformer_cache_should_shrink ... ok [INFO] [stdout] test nn::pos_encoding::tests::test_rope ... ok [INFO] [stdout] test nn::fftn::tests::test_fftn ... ok [INFO] [stdout] test nn::attention::mha::tests::test_attention_masked ... ok [INFO] [stdout] test nn::attention::mha::tests::test_attention_empty_cache ... ok [INFO] [stdout] test nn::attention::mha::tests::test_attention_decoding ... ok [INFO] [stdout] test nn::transformer::tests::test_transformer ... ok [INFO] [stdout] test generation::generate::tests::test_llama3_2_3b_test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- generation::generate::tests::test_llama3_2_3b_test stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'generation::generate::tests::test_llama3_2_3b_test' (25) panicked at src/generation/generate.rs:157:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[187][114][51][146][146][250][112][224][192][99][132][0][0][180][192][99][19][114][19][174][0][180][192][131][132][19][99][114][131][132][249][146][82][28][226][226][148][84][19][192][83][99][19][249][19][251][222][19][192][180][192][180][192][0][180][192][146][20][0][180][192][180][20][0]" [INFO] [stdout] right: "[187][114][51][146][146][250][112][224][192][99][132][0][0][180][192][99][19][114][19][174][0][180][192][131][132][19][99][114][131][132][249][146][82][28][226][226][148][84][19][192][83][99][19][249][19][251][222][19][192][180][192][180][192][0][180][192][146][20][0][180][192][180][20]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c37f0b99282 - std[b14e17aa63033746]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c37f0b99282 - std[b14e17aa63033746]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c37f0b99282 - std[b14e17aa63033746]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5c37f0b99282 - <::print::DisplayBacktrace as core[7ebf52c056bd56a4]::fmt::Display>::fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5c37f0baf80a - ::fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5c37f0baf80a - core[7ebf52c056bd56a4]::fmt::write [INFO] [stdout] 6: 0x5c37f0b9e1f6 - std[b14e17aa63033746]::io::default_write_fmt::> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c37f0b9e1f6 - as std[b14e17aa63033746]::io::Write>::write_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5c37f0b76ebf - ::print [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5c37f0b76ebf - std[b14e17aa63033746]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5c37f0b910e9 - std[b14e17aa63033746]::panicking::default_hook [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5c37f083d72e - core[7ebf52c056bd56a4]::ops::function::Fn<(&'a std[b14e17aa63033746]::panic::PanicHookInfo<'b>,), Output = ()> + core[7ebf52c056bd56a4]::marker::Send + core[7ebf52c056bd56a4]::marker::Sync> as core[7ebf52c056bd56a4]::ops::function::Fn<(&std[b14e17aa63033746]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x5c37f083d72e - test[3318909d72adbd73]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c37f0b91352 - core[7ebf52c056bd56a4]::ops::function::Fn<(&'a std[b14e17aa63033746]::panic::PanicHookInfo<'b>,), Output = ()> + core[7ebf52c056bd56a4]::marker::Send + core[7ebf52c056bd56a4]::marker::Sync> as core[7ebf52c056bd56a4]::ops::function::Fn<(&std[b14e17aa63033746]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x5c37f0b91352 - std[b14e17aa63033746]::panicking::panic_with_hook [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5c37f0b76f78 - std[b14e17aa63033746]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5c37f0b6e9a9 - std[b14e17aa63033746]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5c37f0b77dcd - __rustc[f8abce35e9738d16]::rust_begin_unwind [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5c37f0baff1c - core[7ebf52c056bd56a4]::panicking::panic_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5c37f0bafdd3 - core[7ebf52c056bd56a4]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c37f06dda71 - core[7ebf52c056bd56a4]::panicking::assert_failed:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c37f0711b94 - burn_lm_llama[79920a9fbf5be6e2]::generation::generate::tests::test_llama3_2_3b_test [INFO] [stdout] at /opt/rustwide/workdir/src/generation/generate.rs:157:9 [INFO] [stdout] 22: 0x5c37f0711187 - burn_lm_llama[79920a9fbf5be6e2]::generation::generate::tests::test_llama3_2_3b_test::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/generation/generate.rs:140:31 [INFO] [stdout] 23: 0x5c37f06f1b56 - >::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5c37f0831adb - core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5c37f0831adb - test[3318909d72adbd73]::__rust_begin_short_backtrace::, fn() -> core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c37f083e33a - test[3318909d72adbd73]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c37f083e33a - as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5c37f083e33a - std[b14e17aa63033746]::panicking::catch_unwind::do_call::, core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5c37f083e33a - std[b14e17aa63033746]::panicking::catch_unwind::, core[7ebf52c056bd56a4]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5c37f083e33a - std[b14e17aa63033746]::panic::catch_unwind::, core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c37f083e33a - test[3318909d72adbd73]::run_test_in_process [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c37f083e33a - test[3318909d72adbd73]::run_test::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c37f08398e4 - test[3318909d72adbd73]::run_test::{closure#1} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c37f08398e4 - std[b14e17aa63033746]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5c37f0840e32 - std[b14e17aa63033746]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5c37f0840e32 - ::{closure#1}::{closure#0}> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5c37f0840e32 - std[b14e17aa63033746]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5c37f0840e32 - std[b14e17aa63033746]::panicking::catch_unwind::<(), core[7ebf52c056bd56a4]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5c37f0840e32 - std[b14e17aa63033746]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c37f0840e32 - std[b14e17aa63033746]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5c37f0840e32 - ::{closure#1} as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5c37f0b98aef - + core[7ebf52c056bd56a4]::marker::Send> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 43: 0x5c37f0b98aef - ::new::thread_start [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/thread/unix.rs:127:17 [INFO] [stdout] 44: 0x7aa0a65adaa4 - [INFO] [stdout] 45: 0x7aa0a663aa64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] generation::generate::tests::test_llama3_2_3b_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 13 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.98s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "238b71a330f5e9a1d8bf639e896d7155ab17a58518b24689c97d0268859fe128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "238b71a330f5e9a1d8bf639e896d7155ab17a58518b24689c97d0268859fe128", kill_on_drop: false }` [INFO] [stdout] 238b71a330f5e9a1d8bf639e896d7155ab17a58518b24689c97d0268859fe128