[INFO] cloning repository https://github.com/AzimMuradov/raid-2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AzimMuradov/raid-2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzimMuradov%2Fraid-2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzimMuradov%2Fraid-2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99cc2eba17847844eb52ac2d1644742cff34c17b [INFO] checking AzimMuradov/raid-2 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzimMuradov%2Fraid-2" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AzimMuradov/raid-2 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AzimMuradov/raid-2 [INFO] finished tweaking git repo https://github.com/AzimMuradov/raid-2 [INFO] tweaked toml for git repo https://github.com/AzimMuradov/raid-2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AzimMuradov/raid-2 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a08ded225099a649c9e929ff03e9305c9f108ad165494e98cb74feae5c35302 [INFO] running `Command { std: "docker" "start" "-a" "8a08ded225099a649c9e929ff03e9305c9f108ad165494e98cb74feae5c35302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a08ded225099a649c9e929ff03e9305c9f108ad165494e98cb74feae5c35302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a08ded225099a649c9e929ff03e9305c9f108ad165494e98cb74feae5c35302", kill_on_drop: false }` [INFO] [stdout] 8a08ded225099a649c9e929ff03e9305c9f108ad165494e98cb74feae5c35302 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adb341739ad1c30569124c6c5004fa71b5a9126b8c21828749a81530a5c4b6a4 [INFO] running `Command { std: "docker" "start" "-a" "adb341739ad1c30569124c6c5004fa71b5a9126b8c21828749a81530a5c4b6a4", kill_on_drop: false }` [INFO] [stderr] Checking raid-2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bitvec::macros::internal::funty::Fundamental` [INFO] [stdout] --> src/hamming.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bitvec::macros::internal::funty::Fundamental; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `disk_cnt` and `disk_size` are never read [INFO] [stdout] --> src/raid2.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Raid2 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | strips: Vec, [INFO] [stdout] 11 | disk_cnt: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | disk_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_disks`, `get_disks_with_ec`, `read`, `read_with_ec`, `delete`, and `check` are never used [INFO] [stdout] --> src/raid2.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Raid2 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get_disks(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_disks_with_ec(&mut self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn read(&self, disk_index: u8, local_address: usize) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn read_with_ec(&mut self, disk_index: u8, local_address: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn delete(&mut self, disk_index: u8, local_address: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn check(&self) -> bool { self.strips.iter().all(Hamming::check) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/hamming.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Hamming { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn from_buffer(buf: &[bool]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn read_all_with_ec(&mut self) -> BitBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn read(&self, index: u8) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn read_with_ec(&mut self, index: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn clean(&mut self) { self.code.fill(false) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn check(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn correct_if_needed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "adb341739ad1c30569124c6c5004fa71b5a9126b8c21828749a81530a5c4b6a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adb341739ad1c30569124c6c5004fa71b5a9126b8c21828749a81530a5c4b6a4", kill_on_drop: false }` [INFO] [stdout] adb341739ad1c30569124c6c5004fa71b5a9126b8c21828749a81530a5c4b6a4 [INFO] checking AzimMuradov/raid-2 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzimMuradov%2Fraid-2" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AzimMuradov/raid-2 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AzimMuradov/raid-2 [INFO] finished tweaking git repo https://github.com/AzimMuradov/raid-2 [INFO] tweaked toml for git repo https://github.com/AzimMuradov/raid-2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AzimMuradov/raid-2 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7285fbcec13454481df823a803b22b0a8f5ea5cfffc0fa57c7ed3b23a37cf3e1 [INFO] running `Command { std: "docker" "start" "-a" "7285fbcec13454481df823a803b22b0a8f5ea5cfffc0fa57c7ed3b23a37cf3e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7285fbcec13454481df823a803b22b0a8f5ea5cfffc0fa57c7ed3b23a37cf3e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7285fbcec13454481df823a803b22b0a8f5ea5cfffc0fa57c7ed3b23a37cf3e1", kill_on_drop: false }` [INFO] [stdout] 7285fbcec13454481df823a803b22b0a8f5ea5cfffc0fa57c7ed3b23a37cf3e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45b1438b05b5a2872f0afd8c9b92b411652e8a22f98c12ef91ac1273bb575e4c [INFO] running `Command { std: "docker" "start" "-a" "45b1438b05b5a2872f0afd8c9b92b411652e8a22f98c12ef91ac1273bb575e4c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking raid-2 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/hamming.rs (1 fix) [INFO] [stdout] warning: fields `disk_cnt` and `disk_size` are never read [INFO] [stdout] --> src/raid2.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Raid2 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | strips: Vec, [INFO] [stdout] 11 | disk_cnt: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | disk_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_disks`, `get_disks_with_ec`, `read`, `read_with_ec`, `delete`, and `check` are never used [INFO] [stdout] --> src/raid2.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Raid2 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get_disks(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_disks_with_ec(&mut self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn read(&self, disk_index: u8, local_address: usize) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn read_with_ec(&mut self, disk_index: u8, local_address: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn delete(&mut self, disk_index: u8, local_address: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn check(&self) -> bool { self.strips.iter().all(Hamming::check) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/hamming.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Hamming { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_buffer(buf: &[bool]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn read_all_with_ec(&mut self) -> BitBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn read(&self, index: u8) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn read_with_ec(&mut self, index: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn clean(&mut self) { self.code.fill(false) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn check(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn correct_if_needed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bool` found for struct `BitRef<'_, Const, u8>` in the current scope [INFO] [stdout] --> src/hamming.rs:194:52 [INFO] [stdout] | [INFO] [stdout] 194 | let bit = hamming.code.get(index).unwrap().as_bool(); [INFO] [stdout] | ^^^^^^^ method not found in `BitRef<'_, Const, u8>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fundamental` which provides `as_bool` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 159 + use bitvec::macros::internal::funty::Fundamental; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bool` found for struct `BitRef<'_, Const, u8>` in the current scope [INFO] [stdout] --> src/hamming.rs:212:52 [INFO] [stdout] | [INFO] [stdout] 212 | let bit = hamming.code.get(index).unwrap().as_bool(); [INFO] [stdout] | ^^^^^^^ method not found in `BitRef<'_, Const, u8>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fundamental` which provides `as_bool` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 159 + use bitvec::macros::internal::funty::Fundamental; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bool` found for struct `BitRef<'_, Const, u8>` in the current scope [INFO] [stdout] --> src/hamming.rs:239:52 [INFO] [stdout] | [INFO] [stdout] 239 | let bit = hamming.code.get(index).unwrap().as_bool(); [INFO] [stdout] | ^^^^^^^ method not found in `BitRef<'_, Const, u8>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fundamental` which provides `as_bool` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 159 + use bitvec::macros::internal::funty::Fundamental; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bool` found for struct `BitRef<'_, Const, u8>` in the current scope [INFO] [stdout] --> src/hamming.rs:251:52 [INFO] [stdout] | [INFO] [stdout] 251 | let bit = hamming.code.get(index).unwrap().as_bool(); [INFO] [stdout] | ^^^^^^^ method not found in `BitRef<'_, Const, u8>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fundamental` which provides `as_bool` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 159 + use bitvec::macros::internal::funty::Fundamental; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bool` found for struct `BitRef<'_, Const, u8>` in the current scope [INFO] [stdout] --> src/hamming.rs:290:52 [INFO] [stdout] | [INFO] [stdout] 290 | let bit = hamming.code.get(index).unwrap().as_bool(); [INFO] [stdout] | ^^^^^^^ method not found in `BitRef<'_, Const, u8>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fundamental` which provides `as_bool` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 159 + use bitvec::macros::internal::funty::Fundamental; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bool` found for struct `BitRef<'_, Const, u8>` in the current scope [INFO] [stdout] --> src/hamming.rs:304:52 [INFO] [stdout] | [INFO] [stdout] 304 | let bit = hamming.code.get(index).unwrap().as_bool(); [INFO] [stdout] | ^^^^^^^ method not found in `BitRef<'_, Const, u8>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fundamental` which provides `as_bool` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 159 + use bitvec::macros::internal::funty::Fundamental; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raid-2` (bin "raid-2" test) due to 7 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "45b1438b05b5a2872f0afd8c9b92b411652e8a22f98c12ef91ac1273bb575e4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45b1438b05b5a2872f0afd8c9b92b411652e8a22f98c12ef91ac1273bb575e4c", kill_on_drop: false }` [INFO] [stdout] 45b1438b05b5a2872f0afd8c9b92b411652e8a22f98c12ef91ac1273bb575e4c