[INFO] cloning repository https://github.com/Calastrophe/rustrsc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Calastrophe/rustrsc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalastrophe%2Frustrsc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalastrophe%2Frustrsc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1f7b6b2ef11a39a29230df163a652165d56f56b [INFO] building Calastrophe/rustrsc against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalastrophe%2Frustrsc" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Calastrophe/rustrsc [INFO] finished tweaking git repo https://github.com/Calastrophe/rustrsc [INFO] tweaked toml for git repo https://github.com/Calastrophe/rustrsc written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Calastrophe/rustrsc on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Calastrophe/rustrsc 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cairo-sys-rs v0.18.2 [INFO] [stderr] Downloaded glutin_egl_sys v0.7.0 [INFO] [stderr] Downloaded atk-sys v0.18.2 [INFO] [stderr] Downloaded rfd v0.12.1 [INFO] [stderr] Downloaded bytemuck v1.20.0 [INFO] [stderr] Downloaded cc v1.2.3 [INFO] [stderr] Downloaded glutin v0.32.1 [INFO] [stderr] Downloaded png v0.17.15 [INFO] [stderr] Downloaded gtk-sys v0.18.2 [INFO] [stderr] Downloaded gdk-sys v0.18.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c3371c85b561ad49fe4c326025aaf96f7717836e6864481fa8a015905dfb7a8 [INFO] running `Command { std: "docker" "start" "-a" "6c3371c85b561ad49fe4c326025aaf96f7717836e6864481fa8a015905dfb7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c3371c85b561ad49fe4c326025aaf96f7717836e6864481fa8a015905dfb7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c3371c85b561ad49fe4c326025aaf96f7717836e6864481fa8a015905dfb7a8", kill_on_drop: false }` [INFO] [stdout] 6c3371c85b561ad49fe4c326025aaf96f7717836e6864481fa8a015905dfb7a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 518bad0f001210247f731743c5856eaaf7c4df3230985bd555f38af9c0c2356a [INFO] running `Command { std: "docker" "start" "-a" "518bad0f001210247f731743c5856eaaf7c4df3230985bd555f38af9c0c2356a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.99 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.99 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling epaint_default_fonts v0.30.0 [INFO] [stderr] Compiling rfd v0.12.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.99 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.99 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.99 [INFO] [stderr] Compiling js-sys v0.3.76 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling emath v0.30.0 [INFO] [stderr] Compiling ecolor v0.30.0 [INFO] [stderr] Compiling epaint v0.30.0 [INFO] [stderr] Compiling egui v0.30.0 [INFO] [stderr] Compiling web-sys v0.3.76 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.49 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling egui_glow v0.30.0 [INFO] [stderr] Compiling eframe v0.30.0 [INFO] [stderr] Compiling rsc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `debugger` [INFO] [stdout] --> src/ui/top.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(debugger) = debugger { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debugger` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Change` is more private than the item `TimelessEngine::step_backward` [INFO] [stdout] --> src/emulator/memory.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn step_backward(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TimelessEngine::step_backward` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Change` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/emulator/memory.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | struct Change(usize, u32); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instructions_per_second` and `breakpoints` are never read [INFO] [stdout] --> src/debugger.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Debugger { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | pub instructions_per_second: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | breakpoints: HashSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/debugger.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Debugger { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn step_over(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn stepi(&mut self, steps: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn backi(&mut self, steps: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn restart(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn set_breakpoint(&mut self, address: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn remove_breakpoint(&mut self, address: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn halted(&mut self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn query(&mut self, address: u32) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn should_stop(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/debugger/event.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/debugger/message.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `State` is never used [INFO] [stdout] --> src/debugger/state.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `memory` is never read [INFO] [stdout] --> src/emulator.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Emulator { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | pub registers: Registers, [INFO] [stdout] 13 | pub memory: Memory, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/emulator.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Emulator { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn halted(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn cycle(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn execute(&mut self, i: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn fetch(&mut self) -> Instruction { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn halt(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn ldac(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn stac(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn mvac(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn movr(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn jmp(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn jmpz(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn out(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn sub(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn add(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn inc(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn clac(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn and(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn or(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn ashr(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn not(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn inc_pc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn dereference(&self, r: Register) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn update_z(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_map`, `symbol_map`, and `symbol_references` are never read [INFO] [stdout] --> src/emulator/assembler.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Assembler { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub instructions: Vec, [INFO] [stdout] 10 | pub line_map: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub symbol_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub symbol_references: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/emulator/memory.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | struct Change(usize, u32); [INFO] [stdout] | ------ ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time_step` and `changes` are never read [INFO] [stdout] --> src/emulator/memory.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TimelessEngine { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | time_step: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | changes: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `step_forward`, `step_backward`, and `add_change` are never used [INFO] [stdout] --> src/emulator/memory.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TimelessEngine { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn step_forward(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn step_backward(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn add_change(&mut self, idx: usize, value: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `engine` is never read [INFO] [stdout] --> src/emulator/memory.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Registers { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 43 | registers: [u32; 9], [INFO] [stdout] 44 | engine: TimelessEngine, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set`, `transfer`, `step_forward`, and `step_backward` are never used [INFO] [stdout] --> src/emulator/memory.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set(&mut self, reg: Register, val: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn transfer(&mut self, src: Register, dest: Register) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn step_forward(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn step_backward(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `underlying` and `engine` are never read [INFO] [stdout] --> src/emulator/memory.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Memory { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 88 | underlying: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 89 | engine: TimelessEngine, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `set`, `step_forward`, and `step_backward` are never used [INFO] [stdout] --> src/emulator/memory.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Memory { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get(&self, address: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn set(&mut self, address: u32, val: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn step_forward(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn step_backward(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/ui/cpu.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl CpuState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 7 | fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/ui/top.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Top { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 9 | fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "518bad0f001210247f731743c5856eaaf7c4df3230985bd555f38af9c0c2356a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "518bad0f001210247f731743c5856eaaf7c4df3230985bd555f38af9c0c2356a", kill_on_drop: false }` [INFO] [stdout] 518bad0f001210247f731743c5856eaaf7c4df3230985bd555f38af9c0c2356a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 3b47c96cd4edbf518b7eb06aa53bc325a161ce6cabc08c229c6e8c2973a120d6 [INFO] running `Command { std: "docker" "start" "-a" "3b47c96cd4edbf518b7eb06aa53bc325a161ce6cabc08c229c6e8c2973a120d6", kill_on_drop: false }` [INFO] [stderr] Compiling rsc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `debugger` [INFO] [stdout] --> src/ui/top.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(debugger) = debugger { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debugger` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Change` is more private than the item `TimelessEngine::step_backward` [INFO] [stdout] --> src/emulator/memory.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn step_backward(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TimelessEngine::step_backward` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Change` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/emulator/memory.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | struct Change(usize, u32); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instructions_per_second` and `breakpoints` are never read [INFO] [stdout] --> src/debugger.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Debugger { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | pub instructions_per_second: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | breakpoints: HashSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/debugger.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Debugger { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn step_over(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn stepi(&mut self, steps: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn backi(&mut self, steps: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn restart(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn set_breakpoint(&mut self, address: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn remove_breakpoint(&mut self, address: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn halted(&mut self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn query(&mut self, address: u32) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn should_stop(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/debugger/event.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/debugger/message.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `State` is never used [INFO] [stdout] --> src/debugger/state.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `memory` is never read [INFO] [stdout] --> src/emulator.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Emulator { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | pub registers: Registers, [INFO] [stdout] 13 | pub memory: Memory, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/emulator.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Emulator { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn halted(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn cycle(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn execute(&mut self, i: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn fetch(&mut self) -> Instruction { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn halt(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn ldac(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn stac(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn mvac(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn movr(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn jmp(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn jmpz(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn out(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn sub(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn add(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn inc(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn clac(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn and(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn or(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn ashr(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn not(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn inc_pc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn dereference(&self, r: Register) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn update_z(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_map`, `symbol_map`, and `symbol_references` are never read [INFO] [stdout] --> src/emulator/assembler.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Assembler { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub instructions: Vec, [INFO] [stdout] 10 | pub line_map: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub symbol_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub symbol_references: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/emulator/memory.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | struct Change(usize, u32); [INFO] [stdout] | ------ ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time_step` and `changes` are never read [INFO] [stdout] --> src/emulator/memory.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TimelessEngine { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | time_step: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | changes: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `step_forward`, `step_backward`, and `add_change` are never used [INFO] [stdout] --> src/emulator/memory.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TimelessEngine { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn step_forward(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn step_backward(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn add_change(&mut self, idx: usize, value: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `engine` is never read [INFO] [stdout] --> src/emulator/memory.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Registers { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 43 | registers: [u32; 9], [INFO] [stdout] 44 | engine: TimelessEngine, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set`, `transfer`, `step_forward`, and `step_backward` are never used [INFO] [stdout] --> src/emulator/memory.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set(&mut self, reg: Register, val: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn transfer(&mut self, src: Register, dest: Register) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn step_forward(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn step_backward(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `underlying` and `engine` are never read [INFO] [stdout] --> src/emulator/memory.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Memory { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 88 | underlying: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 89 | engine: TimelessEngine, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `set`, `step_forward`, and `step_backward` are never used [INFO] [stdout] --> src/emulator/memory.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Memory { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get(&self, address: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn set(&mut self, address: u32, val: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn step_forward(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn step_backward(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/ui/cpu.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl CpuState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 7 | fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/ui/top.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Top { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 9 | fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "3b47c96cd4edbf518b7eb06aa53bc325a161ce6cabc08c229c6e8c2973a120d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b47c96cd4edbf518b7eb06aa53bc325a161ce6cabc08c229c6e8c2973a120d6", kill_on_drop: false }` [INFO] [stdout] 3b47c96cd4edbf518b7eb06aa53bc325a161ce6cabc08c229c6e8c2973a120d6