[INFO] cloning repository https://github.com/KShivendu/smoltron
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KShivendu/smoltron" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKShivendu%2Fsmoltron", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKShivendu%2Fsmoltron'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fcb9aee49ae6da84a65c6e277b6a996ab45346f3
[INFO] building KShivendu/smoltron against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKShivendu%2Fsmoltron" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KShivendu/smoltron
[INFO] finished tweaking git repo https://github.com/KShivendu/smoltron
[INFO] tweaked toml for git repo https://github.com/KShivendu/smoltron written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KShivendu/smoltron on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KShivendu/smoltron 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ab6d231e62536afadbc83f45864663013b3003fa822132fbae90b05ac127556e
[INFO] running `Command { std: "docker" "start" "-a" "ab6d231e62536afadbc83f45864663013b3003fa822132fbae90b05ac127556e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab6d231e62536afadbc83f45864663013b3003fa822132fbae90b05ac127556e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab6d231e62536afadbc83f45864663013b3003fa822132fbae90b05ac127556e", kill_on_drop: false }`
[INFO] [stdout] ab6d231e62536afadbc83f45864663013b3003fa822132fbae90b05ac127556e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 583e576e57d6af33c9c9717ce6b9e333066b63e1b39286c516fcd17949607745
[INFO] running `Command { std: "docker" "start" "-a" "583e576e57d6af33c9c9717ce6b9e333066b63e1b39286c516fcd17949607745", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling reborrow v0.5.5
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling pulp v0.21.5
[INFO] [stderr]    Compiling bitflags v2.9.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling raw-cpuid v11.5.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling raw-cpuid v10.7.0
[INFO] [stderr]    Compiling cc v1.2.34
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling rand_distr v0.5.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling bindgen v0.69.5
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling shell-words v1.1.0
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling build-probe-mpi v0.1.4
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling libffi-sys v2.3.0
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling bytemuck_derive v1.10.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling bytemuck v1.23.2
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling dyn-stack v0.13.0
[INFO] [stderr]    Compiling dyn-stack v0.10.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling num_enum_derive v0.7.4
[INFO] [stderr]    Compiling zip v1.1.4
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling pulp v0.18.22
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling memmap2 v0.9.8
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling num_enum v0.7.4
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling mpi v0.8.0
[INFO] [stderr]    Compiling gemm-common v0.17.1
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling gemm-f32 v0.17.1
[INFO] [stderr]    Compiling gemm-c32 v0.17.1
[INFO] [stderr]    Compiling gemm-c64 v0.17.1
[INFO] [stderr]    Compiling gemm-f64 v0.17.1
[INFO] [stderr]    Compiling gemm-common v0.18.2
[INFO] [stderr]    Compiling gemm-f32 v0.18.2
[INFO] [stderr]    Compiling mpi-sys v0.2.2
[INFO] [stderr]    Compiling gemm-f16 v0.18.2
[INFO] [stderr]    Compiling gemm-c64 v0.18.2
[INFO] [stderr]    Compiling gemm-f64 v0.18.2
[INFO] [stderr]    Compiling gemm-c32 v0.18.2
[INFO] [stderr]    Compiling gemm v0.18.2
[INFO] [stderr]    Compiling safetensors v0.4.5
[INFO] [stderr]    Compiling gemm-f16 v0.17.1
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling custom_derive v0.1.7
[INFO] [stderr]    Compiling conv v0.3.3
[INFO] [stderr]    Compiling gemm v0.17.1
[INFO] [stderr]    Compiling libffi v3.2.0
[INFO] [stderr]    Compiling clap_derive v4.5.45
[INFO] [stderr]    Compiling ug v0.4.0
[INFO] [stderr]    Compiling clap_builder v4.5.44
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling candle-core v0.9.1
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling clap v4.5.45
[INFO] [stderr]    Compiling candle-nn v0.9.1
[INFO] [stderr]    Compiling smoltron v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Device`
[INFO] [stdout]  --> src/parallelism.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candle_core::{Device, Tensor};
[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 variable: `grad`
[INFO] [stdout]   --> src/parallelism.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         for grad in gradients.iter_mut() {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_grad`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `local_rank`
[INFO] [stdout]   --> src/communication.rs:21:33
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(config: &Config, local_rank: u32) -> Self {
[INFO] [stdout]    |                                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(config: &Config, _local_rank: u32) -> Self {
[INFO] [stdout]    |                                 +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `GPUS_PER_NODE`
[INFO] [stdout]    |
[INFO] [stdout] 21 -     pub fn new(config: &Config, local_rank: u32) -> Self {
[INFO] [stdout] 21 +     pub fn new(config: &Config, communication::GPUS_PER_NODE: u32) -> Self {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rank`, `size`, `world_rank`, `world_size`, `local_rank`, and `communicator` are never read
[INFO] [stdout]   --> src/communication.rs:6:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct ProcessGroup {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout]  6 |     pub rank: u32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]  7 |     pub size: u32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]  8 |     pub world_rank: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]  9 |     pub world_size: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 10 |     pub local_rank: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 11 |     pub communicator: mpi::topology::SimpleCommunicator,
[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 `data_parallel_group` is never read
[INFO] [stdout]   --> src/communication.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct CommunicationManager {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 15 |     pub data_parallel_group: ProcessGroup,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `comm` is never read
[INFO] [stdout]  --> src/parallelism.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct DataParallel {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 8 |     comm: Arc<CommunicationManager>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `all_reduce_gradients` is never used
[INFO] [stdout]   --> src/parallelism.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl DataParallel {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn all_reduce_gradients(&self, gradients: &mut Vec<Tensor>) -> SmolResult<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `comm` and `data_parallel` are never read
[INFO] [stdout]   --> src/training.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct DistributedTrainer {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 10 |     comm: Arc<CommunicationManager>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 11 |     data_parallel: DataParallel,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 33s
[INFO] running `Command { std: "docker" "inspect" "583e576e57d6af33c9c9717ce6b9e333066b63e1b39286c516fcd17949607745", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "583e576e57d6af33c9c9717ce6b9e333066b63e1b39286c516fcd17949607745", kill_on_drop: false }`
[INFO] [stdout] 583e576e57d6af33c9c9717ce6b9e333066b63e1b39286c516fcd17949607745
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 37346a9d20679df1edd48645db8cd008c6b5194ff02abb2e18cdb5e9ca52c435
[INFO] running `Command { std: "docker" "start" "-a" "37346a9d20679df1edd48645db8cd008c6b5194ff02abb2e18cdb5e9ca52c435", kill_on_drop: false }`
[INFO] [stderr]    Compiling smoltron v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Device`
[INFO] [stdout]  --> src/parallelism.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candle_core::{Device, Tensor};
[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 variable: `local_rank`
[INFO] [stdout]   --> src/communication.rs:21:33
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(config: &Config, local_rank: u32) -> Self {
[INFO] [stdout]    |                                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(config: &Config, _local_rank: u32) -> Self {
[INFO] [stdout]    |                                 +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `GPUS_PER_NODE`
[INFO] [stdout]    |
[INFO] [stdout] 21 -     pub fn new(config: &Config, local_rank: u32) -> Self {
[INFO] [stdout] 21 +     pub fn new(config: &Config, communication::GPUS_PER_NODE: u32) -> Self {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grad`
[INFO] [stdout]   --> src/parallelism.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         for grad in gradients.iter_mut() {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_grad`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rank`, `size`, `world_rank`, `world_size`, `local_rank`, and `communicator` are never read
[INFO] [stdout]   --> src/communication.rs:6:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct ProcessGroup {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout]  6 |     pub rank: u32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]  7 |     pub size: u32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]  8 |     pub world_rank: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]  9 |     pub world_size: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 10 |     pub local_rank: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 11 |     pub communicator: mpi::topology::SimpleCommunicator,
[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 `comm` is never read
[INFO] [stdout]  --> src/parallelism.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct DataParallel {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 8 |     comm: Arc<CommunicationManager>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `all_reduce_gradients` is never used
[INFO] [stdout]   --> src/parallelism.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl DataParallel {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn all_reduce_gradients(&self, gradients: &mut Vec<Tensor>) -> SmolResult<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `comm` and `data_parallel` are never read
[INFO] [stdout]   --> src/training.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct DistributedTrainer {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 10 |     comm: Arc<CommunicationManager>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 11 |     data_parallel: DataParallel,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data_parallel_group` is never read
[INFO] [stdout]   --> src/communication.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct CommunicationManager {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 15 |     pub data_parallel_group: ProcessGroup,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s
[INFO] running `Command { std: "docker" "inspect" "37346a9d20679df1edd48645db8cd008c6b5194ff02abb2e18cdb5e9ca52c435", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37346a9d20679df1edd48645db8cd008c6b5194ff02abb2e18cdb5e9ca52c435", kill_on_drop: false }`
[INFO] [stdout] 37346a9d20679df1edd48645db8cd008c6b5194ff02abb2e18cdb5e9ca52c435
