[INFO] cloning repository https://github.com/bezdomniy/rust-llm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bezdomniy/rust-llm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbezdomniy%2Frust-llm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbezdomniy%2Frust-llm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48e74030fdffbd462ee15768f42f4cb6322e9f7c [INFO] checking bezdomniy/rust-llm against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbezdomniy%2Frust-llm" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/bezdomniy/rust-llm [INFO] finished tweaking git repo https://github.com/bezdomniy/rust-llm [INFO] tweaked toml for git repo https://github.com/bezdomniy/rust-llm written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bezdomniy/rust-llm on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bezdomniy/rust-llm 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e215c7eeaacffc688a3f95030644d0eda5ea2551947ecff6e06297472297c731 [INFO] running `Command { std: "docker" "start" "-a" "e215c7eeaacffc688a3f95030644d0eda5ea2551947ecff6e06297472297c731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e215c7eeaacffc688a3f95030644d0eda5ea2551947ecff6e06297472297c731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e215c7eeaacffc688a3f95030644d0eda5ea2551947ecff6e06297472297c731", kill_on_drop: false }` [INFO] [stdout] e215c7eeaacffc688a3f95030644d0eda5ea2551947ecff6e06297472297c731 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb01673c82da258ad1185a7420ca33ad6bbd9fce616bce1483307cbd3649afdf [INFO] running `Command { std: "docker" "start" "-a" "fb01673c82da258ad1185a7420ca33ad6bbd9fce616bce1483307cbd3649afdf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking bytemuck v1.19.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rust-llm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `slice_as_chunks` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slice_as_chunks)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_as_chunks` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slice_as_chunks)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logits` [INFO] [stdout] --> src/sampler.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | fn sample_topp(logits: &[f32], topp: f32, prob_index: &[ProbIndex], coin: f32) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topp` [INFO] [stdout] --> src/sampler.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | fn sample_topp(logits: &[f32], topp: f32, prob_index: &[ProbIndex], coin: f32) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_topp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prob_index` [INFO] [stdout] --> src/sampler.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | fn sample_topp(logits: &[f32], topp: f32, prob_index: &[ProbIndex], coin: f32) -> usize { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prob_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coin` [INFO] [stdout] --> src/sampler.rs:53:73 [INFO] [stdout] | [INFO] [stdout] 53 | fn sample_topp(logits: &[f32], topp: f32, prob_index: &[ProbIndex], coin: f32) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_coin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logits` [INFO] [stdout] --> src/sampler.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | fn sample_mult(logits: &[f32], coin: f32) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coin` [INFO] [stdout] --> src/sampler.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | fn sample_mult(logits: &[f32], coin: f32) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_coin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logits` [INFO] [stdout] --> src/sampler.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | fn sample_topp(logits: &[f32], topp: f32, prob_index: &[ProbIndex], coin: f32) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topp` [INFO] [stdout] --> src/sampler.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | fn sample_topp(logits: &[f32], topp: f32, prob_index: &[ProbIndex], coin: f32) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_topp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prob_index` [INFO] [stdout] --> src/sampler.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | fn sample_topp(logits: &[f32], topp: f32, prob_index: &[ProbIndex], coin: f32) -> usize { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prob_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coin` [INFO] [stdout] --> src/sampler.rs:53:73 [INFO] [stdout] | [INFO] [stdout] 53 | fn sample_topp(logits: &[f32], topp: f32, prob_index: &[ProbIndex], coin: f32) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_coin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logits` [INFO] [stdout] --> src/sampler.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | fn sample_mult(logits: &[f32], coin: f32) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coin` [INFO] [stdout] --> src/sampler.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | fn sample_mult(logits: &[f32], coin: f32) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_coin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prob` and `index` are never read [INFO] [stdout] --> src/sampler.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ProbIndex { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | pub prob: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProbIndex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rng_state` and `vocab_size` are never read [INFO] [stdout] --> src/sampler.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Sampler { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub rng_state: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub vocab_size: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vocab_size`, `max_token_length`, and `byte_pieces` are never read [INFO] [stdout] --> src/tokenizer.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Tokenizer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub vocab_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub vocab_sorted: Box<[u32]>, [INFO] [stdout] 13 | pub max_token_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub byte_pieces: [u8; 256], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tokenizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transformer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Config { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/transformer.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / #[repr(C)] [INFO] [stdout] 9 | | #[derive(Clone, Copy, Pod, Zeroable, Debug)] [INFO] [stdout] 10 | | pub struct Config { [INFO] [stdout] 11 | | pub dim: i32, [INFO] [stdout] ... | [INFO] [stdout] 17 | | pub seq_len: i32, [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_hex_byte` is never used [INFO] [stdout] --> src/utils.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn parse_hex_byte(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prob` and `index` are never read [INFO] [stdout] --> src/sampler.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ProbIndex { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | pub prob: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProbIndex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rng_state` and `vocab_size` are never read [INFO] [stdout] --> src/sampler.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Sampler { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub rng_state: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub vocab_size: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vocab_size`, `max_token_length`, and `byte_pieces` are never read [INFO] [stdout] --> src/tokenizer.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Tokenizer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub vocab_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub vocab_sorted: Box<[u32]>, [INFO] [stdout] 13 | pub max_token_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub byte_pieces: [u8; 256], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tokenizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/transformer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Config { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/transformer.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / #[repr(C)] [INFO] [stdout] 9 | | #[derive(Clone, Copy, Pod, Zeroable, Debug)] [INFO] [stdout] 10 | | pub struct Config { [INFO] [stdout] 11 | | pub dim: i32, [INFO] [stdout] ... | [INFO] [stdout] 17 | | pub seq_len: i32, [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_hex_byte` is never used [INFO] [stdout] --> src/utils.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn parse_hex_byte(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.98s [INFO] running `Command { std: "docker" "inspect" "fb01673c82da258ad1185a7420ca33ad6bbd9fce616bce1483307cbd3649afdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb01673c82da258ad1185a7420ca33ad6bbd9fce616bce1483307cbd3649afdf", kill_on_drop: false }` [INFO] [stdout] fb01673c82da258ad1185a7420ca33ad6bbd9fce616bce1483307cbd3649afdf