[INFO] fetching crate eeric 0.1.0-rc.5... [INFO] checking eeric-0.1.0-rc.5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate eeric 0.1.0-rc.5 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate eeric 0.1.0-rc.5 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate eeric 0.1.0-rc.5 [INFO] finished tweaking crates.io crate eeric 0.1.0-rc.5 [INFO] tweaked toml for crates.io crate eeric 0.1.0-rc.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate eeric 0.1.0-rc.5 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd54751585d12656a02530b5c9759e677c6a2f8c70642706ef902408c6424f43 [INFO] running `Command { std: "docker" "start" "-a" "dd54751585d12656a02530b5c9759e677c6a2f8c70642706ef902408c6424f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd54751585d12656a02530b5c9759e677c6a2f8c70642706ef902408c6424f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd54751585d12656a02530b5c9759e677c6a2f8c70642706ef902408c6424f43", kill_on_drop: false }` [INFO] [stdout] dd54751585d12656a02530b5c9759e677c6a2f8c70642706ef902408c6424f43 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ad84dadb0244183eeaffbff3f8aa77f4740bf1c8b0d61a5414893278932de13 [INFO] running `Command { std: "docker" "start" "-a" "3ad84dadb0244183eeaffbff3f8aa77f4740bf1c8b0d61a5414893278932de13", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking eeric v0.1.0-rc.5 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/prelude.rs (1 fix) [INFO] [stderr] Fixed src/rv_core/instruction/executor/prelude.rs (1 fix) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/rv_core/registers/integer.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | 0 => unsafe { &mut DISCARD_VALUE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 47 | 0 => unsafe { addr_of_mut!(DISCARD_VALUE) }, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mask_bit` is never used [INFO] [stdout] --> src/extensions/num_mask_ext.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait NumMaskExt { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 2 | fn with_mask_bit(self, value: u64) -> u64; [INFO] [stdout] 3 | fn get_mask_bit(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclip.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclip.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclip.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclip.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclip.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclip.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 88 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclipu.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclipu.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclipu.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vsmul.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vsmul.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/rv_core/instruction/executor/prelude.rs (1 fix) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/rv_core/registers/integer.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | 0 => unsafe { &mut DISCARD_VALUE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 47 | 0 => unsafe { addr_of_mut!(DISCARD_VALUE) }, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mask_bit` is never used [INFO] [stdout] --> src/extensions/num_mask_ext.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait NumMaskExt { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 2 | fn with_mask_bit(self, value: u64) -> u64; [INFO] [stdout] 3 | fn get_mask_bit(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclip.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclip.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclip.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclip.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclip.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclip.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 88 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclipu.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclipu.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vnclipu.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vsmul.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rv_core/instruction/executor/v/vsmul.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | v.csr[VXSAT].write(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = v.csr[VXSAT].write(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/memcpy/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.24s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking eeric v0.1.0-rc.5 (/tmp/fixit) [INFO] [stdout] error[E0425]: cannot find value `FT0` in this scope [INFO] [stdout] --> src/rv_core/instruction/executor/f/flw.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | let (float, rest) = decompose(f[FT0]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rv_core/registers/aliases.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub const T0: usize = 5; [INFO] [stdout] | ------------------------ similarly named constant `T0` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 24 | let (float, rest) = decompose(f[T0]); [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 14 + use crate::rv_core::registers::aliases::float::FT0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FT0` in this scope [INFO] [stdout] --> src/rv_core/instruction/executor/f/flw.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | let (float, rest) = decompose(f[FT0]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rv_core/registers/aliases.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub const T0: usize = 5; [INFO] [stdout] | ------------------------ similarly named constant `T0` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 40 | let (float, rest) = decompose(f[T0]); [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 14 + use crate::rv_core::registers::aliases::float::FT0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/rv_core/registers/integer.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | 0 => unsafe { &mut DISCARD_VALUE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 47 | 0 => unsafe { addr_of_mut!(DISCARD_VALUE) }, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/rv_core/registers/integer.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | 0 => unsafe { &mut DISCARD_VALUE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 47 | 0 => unsafe { addr_of_mut!(DISCARD_VALUE) }, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eeric` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0796. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eeric` (lib test) due to 4 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3ad84dadb0244183eeaffbff3f8aa77f4740bf1c8b0d61a5414893278932de13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ad84dadb0244183eeaffbff3f8aa77f4740bf1c8b0d61a5414893278932de13", kill_on_drop: false }` [INFO] [stdout] 3ad84dadb0244183eeaffbff3f8aa77f4740bf1c8b0d61a5414893278932de13