[INFO] fetching crate intellichip-rs 0.1.0... [INFO] testing intellichip-rs-0.1.0 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1 [INFO] extracting crate intellichip-rs 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate intellichip-rs 0.1.0 [INFO] finished tweaking crates.io crate intellichip-rs 0.1.0 [INFO] tweaked toml for crates.io crate intellichip-rs 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate intellichip-rs 0.1.0 on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate intellichip-rs 0.1.0 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dyn-stack-macros v0.1.3 [INFO] [stderr] Downloaded gemm-f32 v0.18.2 [INFO] [stderr] Downloaded gemm-c32 v0.18.2 [INFO] [stderr] Downloaded gemm-f64 v0.18.2 [INFO] [stderr] Downloaded gemm-c64 v0.18.2 [INFO] [stderr] Downloaded py_literal v0.4.0 [INFO] [stderr] Downloaded gemm v0.18.2 [INFO] [stderr] Downloaded gemm-f16 v0.18.2 [INFO] [stderr] Downloaded gemm-common v0.18.2 [INFO] [stderr] Downloaded dyn-stack v0.13.2 [INFO] [stderr] Downloaded sysctl v0.6.0 [INFO] [stderr] Downloaded ndarray-npy v0.10.0 [INFO] [stderr] Downloaded candle-optimisers v0.10.0-alpha.1 [INFO] [stderr] Downloaded ug v0.1.0 [INFO] [stderr] Downloaded ug v0.4.0 [INFO] [stderr] Downloaded candle-nn v0.8.4 [INFO] [stderr] Downloaded candle-nn v0.9.1 [INFO] [stderr] Downloaded zip v6.0.0 [INFO] [stderr] Downloaded pulp v0.21.5 [INFO] [stderr] Downloaded candle-core v0.8.4 [INFO] [stderr] Downloaded candle-core v0.9.1 [INFO] [stderr] Downloaded ndarray v0.17.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3f921eb10a04e8aae88a2847539ad10f3b70046bb9fca41ca3b69c48a3a510d [INFO] running `Command { std: "docker" "start" "-a" "e3f921eb10a04e8aae88a2847539ad10f3b70046bb9fca41ca3b69c48a3a510d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3f921eb10a04e8aae88a2847539ad10f3b70046bb9fca41ca3b69c48a3a510d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f921eb10a04e8aae88a2847539ad10f3b70046bb9fca41ca3b69c48a3a510d", kill_on_drop: false }` [INFO] [stdout] e3f921eb10a04e8aae88a2847539ad10f3b70046bb9fca41ca3b69c48a3a510d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6db7ccb5e7c2feeb8c2b06e029bc7edfebb8e0ea5dbbc484a9685fb536e92a1 [INFO] running `Command { std: "docker" "start" "-a" "f6db7ccb5e7c2feeb8c2b06e029bc7edfebb8e0ea5dbbc484a9685fb536e92a1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling reborrow v0.5.5 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling pulp v0.21.5 [INFO] [stderr] Compiling dyn-stack-macros v0.1.3 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling serde_json v1.0.146 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling itoa v1.0.16 [INFO] [stderr] Compiling ryu v1.0.21 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling zlib-rs v0.5.5 [INFO] [stderr] Compiling bumpalo v3.19.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling pest v2.8.4 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling zopfli v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling pest_meta v2.8.4 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pest_generator v2.8.4 [INFO] [stderr] Compiling libz-rs-sys v0.5.5 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling pest_derive v2.8.4 [INFO] [stderr] Compiling zip v6.0.0 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling dyn-stack v0.13.2 [INFO] [stderr] Compiling dyn-stack v0.10.0 [INFO] [stderr] Compiling pulp v0.18.22 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling py_literal v0.4.0 [INFO] [stderr] Compiling ndarray v0.17.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling safetensors v0.4.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling gemm-common v0.18.2 [INFO] [stderr] Compiling gemm-common v0.17.1 [INFO] [stderr] Compiling gemm-f32 v0.17.1 [INFO] [stderr] Compiling gemm-c64 v0.17.1 [INFO] [stderr] Compiling gemm-c32 v0.17.1 [INFO] [stderr] Compiling gemm-f64 v0.17.1 [INFO] [stderr] Compiling ndarray-npy v0.10.0 [INFO] [stderr] Compiling gemm-f32 v0.18.2 [INFO] [stderr] Compiling gemm-c64 v0.18.2 [INFO] [stderr] Compiling gemm-c32 v0.18.2 [INFO] [stderr] Compiling gemm-f64 v0.18.2 [INFO] [stderr] Compiling gemm-f16 v0.17.1 [INFO] [stderr] Compiling gemm-f16 v0.18.2 [INFO] [stderr] Compiling gemm v0.17.1 [INFO] [stderr] Compiling gemm v0.18.2 [INFO] [stderr] Compiling ug v0.4.0 [INFO] [stderr] Compiling ug v0.1.0 [INFO] [stderr] Compiling candle-core v0.9.1 [INFO] [stderr] Compiling candle-core v0.8.4 [INFO] [stderr] Compiling candle-nn v0.8.4 [INFO] [stderr] Compiling candle-nn v0.9.1 [INFO] [stderr] Compiling candle-optimisers v0.10.0-alpha.1 [INFO] [stderr] Compiling intellichip-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `candle-core` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/bin/rustc --crate-name candle_core --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.9.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("accelerate", "cuda", "cudarc", "cudnn", "default", "metal", "mkl"))' -C metadata=309c25b66f75a737 -C extra-filename=-9a7575df003fa9fe --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-7912a666fa871683.rmeta --extern gemm=/opt/rustwide/target/debug/deps/libgemm-2b4c3c3a47660c65.rmeta --extern half=/opt/rustwide/target/debug/deps/libhalf-d99963f9fbe5822d.rmeta --extern memmap2=/opt/rustwide/target/debug/deps/libmemmap2-f4bbbd2f8eebdc80.rmeta --extern num_traits=/opt/rustwide/target/debug/deps/libnum_traits-0dcbcb0c01b72aa4.rmeta --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-20c83a6b7895c5e0.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-a338985ca76adf84.rmeta --extern rand_distr=/opt/rustwide/target/debug/deps/librand_distr-952c753da5f5d680.rmeta --extern rayon=/opt/rustwide/target/debug/deps/librayon-b077bc0837b6677a.rmeta --extern safetensors=/opt/rustwide/target/debug/deps/libsafetensors-f4eaff222689c70c.rmeta --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-a172095a60616994.rmeta --extern ug=/opt/rustwide/target/debug/deps/libug-623101b767625bbf.rmeta --extern yoke=/opt/rustwide/target/debug/deps/libyoke-652dc792d2e58878.rmeta --extern zip=/opt/rustwide/target/debug/deps/libzip-1cb59d9e55f99144.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `candle-core` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/bin/rustc --crate-name candle_core --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.8.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("accelerate", "cuda", "cudarc", "cudnn", "default", "metal", "mkl"))' -C metadata=ef14db0da151893a -C extra-filename=-08a431d5456c3a03 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-7912a666fa871683.rmeta --extern gemm=/opt/rustwide/target/debug/deps/libgemm-2b4c3c3a47660c65.rmeta --extern half=/opt/rustwide/target/debug/deps/libhalf-d99963f9fbe5822d.rmeta --extern memmap2=/opt/rustwide/target/debug/deps/libmemmap2-f4bbbd2f8eebdc80.rmeta --extern num_traits=/opt/rustwide/target/debug/deps/libnum_traits-0dcbcb0c01b72aa4.rmeta --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-20c83a6b7895c5e0.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-a338985ca76adf84.rmeta --extern rand_distr=/opt/rustwide/target/debug/deps/librand_distr-952c753da5f5d680.rmeta --extern rayon=/opt/rustwide/target/debug/deps/librayon-b077bc0837b6677a.rmeta --extern safetensors=/opt/rustwide/target/debug/deps/libsafetensors-f4eaff222689c70c.rmeta --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-a172095a60616994.rmeta --extern ug=/opt/rustwide/target/debug/deps/libug-4156d244a5e62215.rmeta --extern yoke=/opt/rustwide/target/debug/deps/libyoke-652dc792d2e58878.rmeta --extern zip=/opt/rustwide/target/debug/deps/libzip-1cb59d9e55f99144.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stdout] warning: unused import: `DType` [INFO] [stdout] --> src/layers/attention.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use candle_core::{Result, Tensor, DType, Device}; [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: `RotaryEmbedding` [INFO] [stdout] --> src/layers/attention.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | use super::positional::{apply_rotary_pos_emb, RotaryEmbedding}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Device` [INFO] [stdout] --> src/layers/activations.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use candle_core::{Result, Tensor, DType, Device, Module}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Linear` and `linear` [INFO] [stdout] --> src/layers/activations.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use candle_nn::{VarBuilder, Linear, linear, Init}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/layers/activations.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | let inter = find_multiple(((expansion * hidden_size as f32 * 2.0 / 3.0).round() as usize), 256); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - let inter = find_multiple(((expansion * hidden_size as f32 * 2.0 / 3.0).round() as usize), 256); [INFO] [stdout] 99 + let inter = find_multiple((expansion * hidden_size as f32 * 2.0 / 3.0).round() as usize, 256); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `D` [INFO] [stdout] --> src/layers/positional.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use candle_core::{Result, Tensor, Device, DType, D}; [INFO] [stdout] | ^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RMSNorm` [INFO] [stdout] --> src/models/mod.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::layers::{Attention, SwiGLU, CastedEmbedding, RMSNorm, RotaryEmbedding}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DType` and `Result` [INFO] [stdout] --> src/training/checkpoint.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use candle_core::{Result, Tensor, Device, DType}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SafeTensors` and `TensorView` [INFO] [stdout] --> src/training/checkpoint.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use safetensors::tensor::{SafeTensors, TensorView}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `loss` [INFO] [stdout] --> src/training/trainer.rs:3:68 [INFO] [stdout] | [INFO] [stdout] 3 | use candle_nn::{VarMap, VarBuilder, AdamW, ParamsAdamW, Optimizer, loss, ops}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataLoader` [INFO] [stdout] --> src/training/trainer.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::data::{DataLoader, BatchDataLoader}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Module` [INFO] [stdout] --> src/layers/activations.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use candle_core::{Result, Tensor, DType, Device, Module}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Module` [INFO] [stdout] --> src/models/mod.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use candle_nn::{VarBuilder, Module}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actual_batch_size` [INFO] [stdout] --> src/data/opcode_dataset.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let actual_batch_size = batch_indices.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_batch_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/training/checkpoint.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn load>(path: P, device: &Device) -> crate::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `std` [INFO] [stdout] --> src/utils.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn trunc_normal_init(std: F, a: F, b: F) -> impl Fn() -> F { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/utils.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn trunc_normal_init(std: F, a: F, b: F) -> impl Fn() -> F { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/utils.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn trunc_normal_init(std: F, a: F, b: F) -> impl Fn() -> F { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq_len` [INFO] [stdout] --> src/utils.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_causal_mask(seq_len: usize, device: &Device) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seq_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/utils.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_causal_mask(seq_len: usize, device: &Device) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hidden_size` is never read [INFO] [stdout] --> src/layers/attention.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Attention { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | hidden_size: 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: field `config` is never read [INFO] [stdout] --> src/models/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct TransformerBlock { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 44 | config: TRMConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data/numpy_dataset.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn get_input(&self, idx: usize) -> ArrayView1 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 141 | pub fn get_input(&self, idx: usize) -> ArrayView1<'_, i32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data/numpy_dataset.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_label(&self, idx: usize) -> ArrayView1 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_label(&self, idx: usize) -> ArrayView1<'_, i32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f6db7ccb5e7c2feeb8c2b06e029bc7edfebb8e0ea5dbbc484a9685fb536e92a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6db7ccb5e7c2feeb8c2b06e029bc7edfebb8e0ea5dbbc484a9685fb536e92a1", kill_on_drop: false }` [INFO] [stdout] f6db7ccb5e7c2feeb8c2b06e029bc7edfebb8e0ea5dbbc484a9685fb536e92a1