[INFO] cloning repository https://github.com/Lev-Stambler/qec_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lev-Stambler/qec_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLev-Stambler%2Fqec_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLev-Stambler%2Fqec_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93c3b3be74f8b02e1abe99cbba97226307257ed9 [INFO] checking Lev-Stambler/qec_rs against try#7d2afcda7a9c043d5175cbca3ab08f0acf02b13a for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLev-Stambler%2Fqec_rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lev-Stambler/qec_rs on toolchain 7d2afcda7a9c043d5175cbca3ab08f0acf02b13a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lev-Stambler/qec_rs [INFO] finished tweaking git repo https://github.com/Lev-Stambler/qec_rs [INFO] tweaked toml for git repo https://github.com/Lev-Stambler/qec_rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lev-Stambler/qec_rs 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" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wide v0.7.15 [INFO] [stderr] Downloaded rayon v1.8.1 [INFO] [stderr] Downloaded nalgebra-sparse v0.9.0 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 534dd47ccb6f8747f7793490e4b6534b50db58bdd9671148ea85ed36102e39a4 [INFO] running `Command { std: "docker" "start" "-a" "534dd47ccb6f8747f7793490e4b6534b50db58bdd9671148ea85ed36102e39a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "534dd47ccb6f8747f7793490e4b6534b50db58bdd9671148ea85ed36102e39a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "534dd47ccb6f8747f7793490e4b6534b50db58bdd9671148ea85ed36102e39a4", kill_on_drop: false }` [INFO] [stdout] 534dd47ccb6f8747f7793490e4b6534b50db58bdd9671148ea85ed36102e39a4 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6110a94fd0c1414836f1aa0aa5cea06c67fae8f3e04abff30db40257e47267db [INFO] running `Command { std: "docker" "start" "-a" "6110a94fd0c1414836f1aa0aa5cea06c67fae8f3e04abff30db40257e47267db", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking nalgebra-sparse v0.9.0 [INFO] [stderr] Checking qec_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nalgebra_sparse::csr::CsrMatrix` [INFO] [stdout] --> src/classical/decoders.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra_sparse::csr::CsrMatrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `f32::consts::E`, `intrinsics::log2f64`, and `ops::Mul` [INFO] [stdout] --> src/classical/decoders.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{f32::consts::E, intrinsics::log2f64, ops::Mul}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra_sparse::csr::CsrMatrix` [INFO] [stdout] --> src/classical/decoders.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra_sparse::csr::CsrMatrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `f32::consts::E`, `intrinsics::log2f64`, and `ops::Mul` [INFO] [stdout] --> src/classical/decoders.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{f32::consts::E, intrinsics::log2f64, ops::Mul}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `core_intrinsics`: intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> src/classical/decoders.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{f32::consts::E, intrinsics::log2f64, ops::Mul}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-05-09; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `core_intrinsics`: intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> src/classical/decoders.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{f32::consts::E, intrinsics::log2f64, ops::Mul}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-05-09; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/classical/code.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 41 | bit_nghbs: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 42 | H: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/classical/code.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 41 | bit_nghbs: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 42 | H: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/classical/decoders.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | .map(|(i, nghbs)| vec![0.0; nghbs.len()]) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/classical/decoders.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 93 | for (k, w) in nghbs.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/classical/decoders.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | for (j, u) in nghbs.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/classical/decoders.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | .map(|(i, nghbs)| vec![0.0; nghbs.len()]) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/classical/decoders.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 93 | for (k, w) in nghbs.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/classical/decoders.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | for (j, u) in nghbs.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `parity_to_data` as mutable, as it is a captured variable in a `Fn` closure [INFO] [stdout] --> src/classical/decoders.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | parity_to_data[u_i][j] = [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `data_to_parity` as mutable, as it is a captured variable in a `Fn` closure [INFO] [stdout] --> src/classical/decoders.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | data_to_parity[v_i][j] = data_to_parity[v_i][j] + sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `parity_to_data` as mutable, as it is a captured variable in a `Fn` closure [INFO] [stdout] --> src/classical/decoders.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | parity_to_data[u_i][j] = [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `data_to_parity` as mutable, as it is a captured variable in a `Fn` closure [INFO] [stdout] --> src/classical/decoders.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | data_to_parity[v_i][j] = data_to_parity[v_i][j] + sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classical/decoders.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut channel_llr: Vec = bit_probs [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classical/decoders.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut channel_llr: Vec = bit_probs [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `e_bp` [INFO] [stdout] --> src/classical/decoders.rs:165:27 [INFO] [stdout] | [INFO] [stdout] 139 | let e_bp = code [INFO] [stdout] | ---- move occurs because `e_bp` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 157 | let dvec_e = DMatrix::from_vec(1, e_bp.len(), e_bp); [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 165 | return Ok(e_bp); [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 157 | let dvec_e = DMatrix::from_vec(1, e_bp.len(), e_bp.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `e_bp` [INFO] [stdout] --> src/classical/decoders.rs:165:27 [INFO] [stdout] | [INFO] [stdout] 139 | let e_bp = code [INFO] [stdout] | ---- move occurs because `e_bp` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 157 | let dvec_e = DMatrix::from_vec(1, e_bp.len(), e_bp); [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 165 | return Ok(e_bp); [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 157 | let dvec_e = DMatrix::from_vec(1, e_bp.len(), e_bp.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dv` [INFO] [stdout] --> src/classical/code.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let dv: usize = degs.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dc` [INFO] [stdout] --> src/classical/code.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let dc: usize = degs.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dc` [INFO] [stdout] --> src/classical/code.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let dc = parity_checks.len(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dv` [INFO] [stdout] --> src/classical/code.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let dv: usize = degs.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dv` [INFO] [stdout] --> src/classical/code.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let dv = parity_checks[0].len(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dc` [INFO] [stdout] --> src/classical/code.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let dc: usize = degs.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dc` [INFO] [stdout] --> src/classical/code.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let dc = parity_checks.len(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dv` [INFO] [stdout] --> src/classical/code.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let dv = parity_checks[0].len(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0596, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0596, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qec_rs` (bin "qec_rs" test) due to 4 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `qec_rs` (bin "qec_rs") due to 4 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6110a94fd0c1414836f1aa0aa5cea06c67fae8f3e04abff30db40257e47267db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6110a94fd0c1414836f1aa0aa5cea06c67fae8f3e04abff30db40257e47267db", kill_on_drop: false }` [INFO] [stdout] 6110a94fd0c1414836f1aa0aa5cea06c67fae8f3e04abff30db40257e47267db