[INFO] cloning repository https://github.com/danellis/webarc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danellis/webarc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanellis%2Fwebarc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanellis%2Fwebarc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd029ae5ecb66eeae1d3e6d4aaf5071d0bbb9d58 [INFO] testing danellis/webarc against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanellis%2Fwebarc" "/workspace/builds/worker-35/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-35/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danellis/webarc on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danellis/webarc [INFO] finished tweaking git repo https://github.com/danellis/webarc [INFO] tweaked toml for git repo https://github.com/danellis/webarc written to /workspace/builds/worker-35/source/Cargo.toml [INFO] crate git repo https://github.com/danellis/webarc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5db428aeb2deecbee52bc8caaacb53ec6deb4843124776edfaecadbf911ac5f [INFO] running `Command { std: "docker" "start" "-a" "e5db428aeb2deecbee52bc8caaacb53ec6deb4843124776edfaecadbf911ac5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5db428aeb2deecbee52bc8caaacb53ec6deb4843124776edfaecadbf911ac5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5db428aeb2deecbee52bc8caaacb53ec6deb4843124776edfaecadbf911ac5f", kill_on_drop: false }` [INFO] [stdout] e5db428aeb2deecbee52bc8caaacb53ec6deb4843124776edfaecadbf911ac5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb33e57b348e340ea32663e41852b2ddb00b145444a749d703bd133e98b24c32 [INFO] running `Command { std: "docker" "start" "-a" "bb33e57b348e340ea32663e41852b2ddb00b145444a749d703bd133e98b24c32", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling webarc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Shr` [INFO] [stdout] --> src/webarc/instructions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Shr; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/webarc/instructions.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | fn exec_branch(registers: &mut RegisterFile, memory: &mut Memory, instruction: u32) -> Action { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/webarc/instructions.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | fn format_alu(address: u32, cond: &str, instruction: u32) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/webarc/instructions.rs:165:47 [INFO] [stdout] | [INFO] [stdout] 165 | fn exec_alu_add(registers: &mut RegisterFile, memory: &mut Memory, rd: u32, op1: u32, op2: u32) -> Action { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> src/webarc/instructions.rs:170:78 [INFO] [stdout] | [INFO] [stdout] 170 | fn exec_alu_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, rd: u32, op1: u32, op2: u32) -> Action { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op1` [INFO] [stdout] --> src/webarc/instructions.rs:170:87 [INFO] [stdout] | [INFO] [stdout] 170 | fn exec_alu_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, rd: u32, op1: u32, op2: u32) -> Action { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_op1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op2` [INFO] [stdout] --> src/webarc/instructions.rs:170:97 [INFO] [stdout] | [INFO] [stdout] 170 | fn exec_alu_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, rd: u32, op1: u32, op2: u32) -> Action { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_op2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/webarc/instructions.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | fn format_ldr_str(address: u32, cond: &str, instruction: u32) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/webarc/instructions.rs:283:23 [INFO] [stdout] | [INFO] [stdout] 283 | fn exec_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, instruction: u32) -> Action { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/webarc/instructions.rs:283:53 [INFO] [stdout] | [INFO] [stdout] 283 | fn exec_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, instruction: u32) -> Action { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/webarc/instructions.rs:283:74 [INFO] [stdout] | [INFO] [stdout] 283 | fn exec_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, instruction: u32) -> Action { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/webarc/instructions.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | fn format_unimplemented(address: u32, cond: &str, instruction: u32) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/webarc/instructions.rs:287:51 [INFO] [stdout] | [INFO] [stdout] 287 | fn format_unimplemented(address: u32, cond: &str, instruction: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNDEFINED_INSTRUCTION_VECTOR` [INFO] [stdout] --> src/webarc/cpu.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const UNDEFINED_INSTRUCTION_VECTOR: u32 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SWI_VECTOR` [INFO] [stdout] --> src/webarc/cpu.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const SWI_VECTOR: u32 = 0x08; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PREFETCH_ABORT_VECTOR` [INFO] [stdout] --> src/webarc/cpu.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const PREFETCH_ABORT_VECTOR: u32 = 0x0c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DATA_ABORT_VECTOR` [INFO] [stdout] --> src/webarc/cpu.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const DATA_ABORT_VECTOR: u32 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ADDRESS_EXCEPTION_VECTOR` [INFO] [stdout] --> src/webarc/cpu.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const ADDRESS_EXCEPTION_VECTOR: u32 = 0x14; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IRQ_VECTOR` [INFO] [stdout] --> src/webarc/cpu.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const IRQ_VECTOR: u32 = 0x18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FIRQ_VECTOR` [INFO] [stdout] --> src/webarc/cpu.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const FIRQ_VECTOR: u32 = 0x1c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | f.read(as_u8_slice(&mut rom)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "bb33e57b348e340ea32663e41852b2ddb00b145444a749d703bd133e98b24c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb33e57b348e340ea32663e41852b2ddb00b145444a749d703bd133e98b24c32", kill_on_drop: false }` [INFO] [stdout] bb33e57b348e340ea32663e41852b2ddb00b145444a749d703bd133e98b24c32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03d3d038fc2212efaf758b02aa7e7f1816a58b8b689b8ca9508885668c6324d9 [INFO] running `Command { std: "docker" "start" "-a" "03d3d038fc2212efaf758b02aa7e7f1816a58b8b689b8ca9508885668c6324d9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling webarc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Shr` [INFO] [stdout] --> src/webarc/instructions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Shr; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/webarc/instructions.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | fn exec_branch(registers: &mut RegisterFile, memory: &mut Memory, instruction: u32) -> Action { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/webarc/instructions.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | fn format_alu(address: u32, cond: &str, instruction: u32) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/webarc/instructions.rs:165:47 [INFO] [stdout] | [INFO] [stdout] 165 | fn exec_alu_add(registers: &mut RegisterFile, memory: &mut Memory, rd: u32, op1: u32, op2: u32) -> Action { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> src/webarc/instructions.rs:170:78 [INFO] [stdout] | [INFO] [stdout] 170 | fn exec_alu_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, rd: u32, op1: u32, op2: u32) -> Action { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op1` [INFO] [stdout] --> src/webarc/instructions.rs:170:87 [INFO] [stdout] | [INFO] [stdout] 170 | fn exec_alu_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, rd: u32, op1: u32, op2: u32) -> Action { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_op1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op2` [INFO] [stdout] --> src/webarc/instructions.rs:170:97 [INFO] [stdout] | [INFO] [stdout] 170 | fn exec_alu_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, rd: u32, op1: u32, op2: u32) -> Action { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_op2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/webarc/instructions.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | fn format_ldr_str(address: u32, cond: &str, instruction: u32) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/webarc/instructions.rs:283:23 [INFO] [stdout] | [INFO] [stdout] 283 | fn exec_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, instruction: u32) -> Action { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/webarc/instructions.rs:283:53 [INFO] [stdout] | [INFO] [stdout] 283 | fn exec_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, instruction: u32) -> Action { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/webarc/instructions.rs:283:74 [INFO] [stdout] | [INFO] [stdout] 283 | fn exec_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, instruction: u32) -> Action { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/webarc/instructions.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | fn format_unimplemented(address: u32, cond: &str, instruction: u32) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/webarc/instructions.rs:287:51 [INFO] [stdout] | [INFO] [stdout] 287 | fn format_unimplemented(address: u32, cond: &str, instruction: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNDEFINED_INSTRUCTION_VECTOR` [INFO] [stdout] --> src/webarc/cpu.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const UNDEFINED_INSTRUCTION_VECTOR: u32 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SWI_VECTOR` [INFO] [stdout] --> src/webarc/cpu.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const SWI_VECTOR: u32 = 0x08; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PREFETCH_ABORT_VECTOR` [INFO] [stdout] --> src/webarc/cpu.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const PREFETCH_ABORT_VECTOR: u32 = 0x0c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DATA_ABORT_VECTOR` [INFO] [stdout] --> src/webarc/cpu.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const DATA_ABORT_VECTOR: u32 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ADDRESS_EXCEPTION_VECTOR` [INFO] [stdout] --> src/webarc/cpu.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const ADDRESS_EXCEPTION_VECTOR: u32 = 0x14; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IRQ_VECTOR` [INFO] [stdout] --> src/webarc/cpu.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const IRQ_VECTOR: u32 = 0x18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FIRQ_VECTOR` [INFO] [stdout] --> src/webarc/cpu.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const FIRQ_VECTOR: u32 = 0x1c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | f.read(as_u8_slice(&mut rom)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "03d3d038fc2212efaf758b02aa7e7f1816a58b8b689b8ca9508885668c6324d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03d3d038fc2212efaf758b02aa7e7f1816a58b8b689b8ca9508885668c6324d9", kill_on_drop: false }` [INFO] [stdout] 03d3d038fc2212efaf758b02aa7e7f1816a58b8b689b8ca9508885668c6324d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4724b858e0784841098f5b489c3cf9f36f8d08ce3525ea5b3092ae0c059418e8 [INFO] running `Command { std: "docker" "start" "-a" "4724b858e0784841098f5b489c3cf9f36f8d08ce3525ea5b3092ae0c059418e8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::ops::Shr` [INFO] [stderr] --> src/webarc/instructions.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ops::Shr; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory` [INFO] [stderr] --> src/webarc/instructions.rs:28:46 [INFO] [stderr] | [INFO] [stderr] 28 | fn exec_branch(registers: &mut RegisterFile, memory: &mut Memory, instruction: u32) -> Action { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/webarc/instructions.rs:123:15 [INFO] [stderr] | [INFO] [stderr] 123 | fn format_alu(address: u32, cond: &str, instruction: u32) -> String { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory` [INFO] [stderr] --> src/webarc/instructions.rs:165:47 [INFO] [stderr] | [INFO] [stderr] 165 | fn exec_alu_add(registers: &mut RegisterFile, memory: &mut Memory, rd: u32, op1: u32, op2: u32) -> Action { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rd` [INFO] [stderr] --> src/webarc/instructions.rs:170:78 [INFO] [stderr] | [INFO] [stderr] 170 | fn exec_alu_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, rd: u32, op1: u32, op2: u32) -> Action { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `op1` [INFO] [stderr] --> src/webarc/instructions.rs:170:87 [INFO] [stderr] | [INFO] [stderr] 170 | fn exec_alu_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, rd: u32, op1: u32, op2: u32) -> Action { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_op1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `op2` [INFO] [stderr] --> src/webarc/instructions.rs:170:97 [INFO] [stderr] | [INFO] [stderr] 170 | fn exec_alu_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, rd: u32, op1: u32, op2: u32) -> Action { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_op2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/webarc/instructions.rs:229:19 [INFO] [stderr] | [INFO] [stderr] 229 | fn format_ldr_str(address: u32, cond: &str, instruction: u32) -> String { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `registers` [INFO] [stderr] --> src/webarc/instructions.rs:283:23 [INFO] [stderr] | [INFO] [stderr] 283 | fn exec_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, instruction: u32) -> Action { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory` [INFO] [stderr] --> src/webarc/instructions.rs:283:53 [INFO] [stderr] | [INFO] [stderr] 283 | fn exec_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, instruction: u32) -> Action { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `instruction` [INFO] [stderr] --> src/webarc/instructions.rs:283:74 [INFO] [stderr] | [INFO] [stderr] 283 | fn exec_unimplemented(registers: &mut RegisterFile, memory: &mut Memory, instruction: u32) -> Action { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/webarc/instructions.rs:287:25 [INFO] [stderr] | [INFO] [stderr] 287 | fn format_unimplemented(address: u32, cond: &str, instruction: u32) -> String { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `instruction` [INFO] [stderr] --> src/webarc/instructions.rs:287:51 [INFO] [stderr] | [INFO] [stderr] 287 | fn format_unimplemented(address: u32, cond: &str, instruction: u32) -> String { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `UNDEFINED_INSTRUCTION_VECTOR` [INFO] [stderr] --> src/webarc/cpu.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | const UNDEFINED_INSTRUCTION_VECTOR: u32 = 0x04; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SWI_VECTOR` [INFO] [stderr] --> src/webarc/cpu.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | const SWI_VECTOR: u32 = 0x08; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PREFETCH_ABORT_VECTOR` [INFO] [stderr] --> src/webarc/cpu.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | const PREFETCH_ABORT_VECTOR: u32 = 0x0c; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `DATA_ABORT_VECTOR` [INFO] [stderr] --> src/webarc/cpu.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | const DATA_ABORT_VECTOR: u32 = 0x10; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ADDRESS_EXCEPTION_VECTOR` [INFO] [stderr] --> src/webarc/cpu.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | const ADDRESS_EXCEPTION_VECTOR: u32 = 0x14; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `IRQ_VECTOR` [INFO] [stderr] --> src/webarc/cpu.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | const IRQ_VECTOR: u32 = 0x18; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `FIRQ_VECTOR` [INFO] [stderr] --> src/webarc/cpu.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | const FIRQ_VECTOR: u32 = 0x1c; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | f.read(as_u8_slice(&mut rom)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `webarc` (bin "webarc" test) generated 21 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/webarc-3f090c552244cd8a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4724b858e0784841098f5b489c3cf9f36f8d08ce3525ea5b3092ae0c059418e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4724b858e0784841098f5b489c3cf9f36f8d08ce3525ea5b3092ae0c059418e8", kill_on_drop: false }` [INFO] [stdout] 4724b858e0784841098f5b489c3cf9f36f8d08ce3525ea5b3092ae0c059418e8