[INFO] cloning repository https://github.com/BjornTheProgrammer/rp2350-sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BjornTheProgrammer/rp2350-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBjornTheProgrammer%2Frp2350-sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBjornTheProgrammer%2Frp2350-sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed01e53aac11c3b2298c1e9e140fdbf76620ef05 [INFO] checking BjornTheProgrammer/rp2350-sim against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBjornTheProgrammer%2Frp2350-sim" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BjornTheProgrammer/rp2350-sim on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/BjornTheProgrammer/rp2350-sim [INFO] finished tweaking git repo https://github.com/BjornTheProgrammer/rp2350-sim [INFO] tweaked toml for git repo https://github.com/BjornTheProgrammer/rp2350-sim written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/BjornTheProgrammer/rp2350-sim 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5bc3ced23a3929d5f290405aaf7e43cc6fdaf0a9089e055876d7623fc7404d9 [INFO] running `Command { std: "docker" "start" "-a" "b5bc3ced23a3929d5f290405aaf7e43cc6fdaf0a9089e055876d7623fc7404d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5bc3ced23a3929d5f290405aaf7e43cc6fdaf0a9089e055876d7623fc7404d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5bc3ced23a3929d5f290405aaf7e43cc6fdaf0a9089e055876d7623fc7404d9", kill_on_drop: false }` [INFO] [stdout] b5bc3ced23a3929d5f290405aaf7e43cc6fdaf0a9089e055876d7623fc7404d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2a633ce492d5154770e329fdc6066c86fab9a7bd42b8db665e89e8bb0b65c4c [INFO] running `Command { std: "docker" "start" "-a" "d2a633ce492d5154770e329fdc6066c86fab9a7bd42b8db665e89e8bb0b65c4c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking arbitrary-int v1.2.7 [INFO] [stderr] Checking assert_hex v0.4.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking anyhow v1.0.86 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling boolean_expression v0.3.11 [INFO] [stderr] Compiling bitmatch v0.1.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling bilge-impl v0.2.0 [INFO] [stderr] Checking bilge v0.2.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking rp2350-sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Ipsr` [INFO] [stdout] --> src/cortex_m33/operation.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | apsr::{Apsr, Ipsr}, control::NPriv, exception::Exceptions, registers::{PcRegister, Register}, CortexM33, Mode [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cortex_m33::apsr::Apsr` [INFO] [stdout] --> src/cortex_m33/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::cortex_m33::apsr::Apsr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipsr` [INFO] [stdout] --> src/cortex_m33/operation.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | apsr::{Apsr, Ipsr}, control::NPriv, exception::Exceptions, registers::{PcRegister, Register}, CortexM33, Mode [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cortex_m33::apsr::Apsr` [INFO] [stdout] --> src/cortex_m33/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::cortex_m33::apsr::Apsr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frameptr` [INFO] [stdout] --> src/cortex_m33/operation.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let frameptr = cortex.registers.sp.get_msp(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frameptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_mode` [INFO] [stdout] --> src/cortex_m33/operation.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | let current_mode = Mode::Handler; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frameptr` [INFO] [stdout] --> src/cortex_m33/operation.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let frameptr = cortex.registers.sp.get_msp(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frameptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_mode` [INFO] [stdout] --> src/cortex_m33/operation.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let current_mode = Mode::Thread; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frameptr` [INFO] [stdout] --> src/cortex_m33/operation.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | let frameptr = cortex.registers.sp.get_psp(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frameptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_mode` [INFO] [stdout] --> src/cortex_m33/operation.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | let current_mode = Mode::Thread; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force_thread` [INFO] [stdout] --> src/cortex_m33/operation.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | let force_thread = cortex.mode == Mode::Thread && cortex.control.npriv == NPriv::ThreadModeUnprivileged; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_force_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pc` [INFO] [stdout] --> src/cortex_m33/operation.rs:336:20 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn bx_write_pc(pc: &mut PcRegister, current_mode: Mode, address: u32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lsb` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn get_lsb(n: N) -> N { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_msb` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get_msb(n: N) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_ones` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn is_ones>(value: N, range: R) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exception_active_bit_count` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn exception_active_bit_count(exceptions: &Exceptions) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exception_return` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn exception_return(cortex: &mut CortexM33, ipsr: u8, current_mode: Mode, exc_return: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deactivate` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn deactivate(cortex: &mut CortexM33, returning_exception_number: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `popstack` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn popstack(cortex: &mut CortexM33, frameptr: u32, exc_return: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `branch_to` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:332:8 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn branch_to(cortex: &mut CortexM33, address: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bx_write_pc` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn bx_write_pc(pc: &mut PcRegister, current_mode: Mode, address: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Lsr` is never constructed [INFO] [stdout] --> src/cortex_m33/operation.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 412 | pub enum SRType { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 413 | Lsl, [INFO] [stdout] 414 | Lsr, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SRType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `usize` to `usize` [INFO] [stdout] --> src/cortex_m33/operation.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | let mask = V::one() << bit.into(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frameptr` [INFO] [stdout] --> src/cortex_m33/operation.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let frameptr = cortex.registers.sp.get_msp(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frameptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_mode` [INFO] [stdout] --> src/cortex_m33/operation.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | let current_mode = Mode::Handler; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frameptr` [INFO] [stdout] --> src/cortex_m33/operation.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let frameptr = cortex.registers.sp.get_msp(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frameptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_mode` [INFO] [stdout] --> src/cortex_m33/operation.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let current_mode = Mode::Thread; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frameptr` [INFO] [stdout] --> src/cortex_m33/operation.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | let frameptr = cortex.registers.sp.get_psp(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frameptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_mode` [INFO] [stdout] --> src/cortex_m33/operation.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | let current_mode = Mode::Thread; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force_thread` [INFO] [stdout] --> src/cortex_m33/operation.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | let force_thread = cortex.mode == Mode::Thread && cortex.control.npriv == NPriv::ThreadModeUnprivileged; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_force_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pc` [INFO] [stdout] --> src/cortex_m33/operation.rs:336:20 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn bx_write_pc(pc: &mut PcRegister, current_mode: Mode, address: u32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rp2350-sim` (lib) due to 1 previous error; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `get_lsb` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn get_lsb(n: N) -> N { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_msb` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get_msb(n: N) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_ones` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn is_ones>(value: N, range: R) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exception_active_bit_count` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn exception_active_bit_count(exceptions: &Exceptions) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exception_return` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn exception_return(cortex: &mut CortexM33, ipsr: u8, current_mode: Mode, exc_return: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deactivate` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn deactivate(cortex: &mut CortexM33, returning_exception_number: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `popstack` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn popstack(cortex: &mut CortexM33, frameptr: u32, exc_return: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `branch_to` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:332:8 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn branch_to(cortex: &mut CortexM33, address: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bx_write_pc` is never used [INFO] [stdout] --> src/cortex_m33/operation.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn bx_write_pc(pc: &mut PcRegister, current_mode: Mode, address: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Lsr` is never constructed [INFO] [stdout] --> src/cortex_m33/operation.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 412 | pub enum SRType { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 413 | Lsl, [INFO] [stdout] 414 | Lsr, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SRType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `usize` to `usize` [INFO] [stdout] --> src/cortex_m33/operation.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | let mask = V::one() << bit.into(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rp2350-sim` (lib test) due to 1 previous error; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d2a633ce492d5154770e329fdc6066c86fab9a7bd42b8db665e89e8bb0b65c4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2a633ce492d5154770e329fdc6066c86fab9a7bd42b8db665e89e8bb0b65c4c", kill_on_drop: false }` [INFO] [stdout] d2a633ce492d5154770e329fdc6066c86fab9a7bd42b8db665e89e8bb0b65c4c