[INFO] cloning repository https://github.com/tuna-arch/escolar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tuna-arch/escolar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuna-arch%2Fescolar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuna-arch%2Fescolar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85d3ed079854483eb18b1a9e2ce38f1452deb27b [INFO] checking tuna-arch/escolar/85d3ed079854483eb18b1a9e2ce38f1452deb27b against master#c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuna-arch%2Fescolar" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tuna-arch/escolar [INFO] finished tweaking git repo https://github.com/tuna-arch/escolar [INFO] tweaked toml for git repo https://github.com/tuna-arch/escolar written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tuna-arch/escolar on toolchain c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tuna-arch/escolar 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" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03dcdf0dea3a2af242da3d0286ef03be50c8c257bc9287a252170b8b541ba08d [INFO] running `Command { std: "docker" "start" "-a" "03dcdf0dea3a2af242da3d0286ef03be50c8c257bc9287a252170b8b541ba08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03dcdf0dea3a2af242da3d0286ef03be50c8c257bc9287a252170b8b541ba08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03dcdf0dea3a2af242da3d0286ef03be50c8c257bc9287a252170b8b541ba08d", kill_on_drop: false }` [INFO] [stdout] 03dcdf0dea3a2af242da3d0286ef03be50c8c257bc9287a252170b8b541ba08d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc9b6ba4ef64f54f01bbd70711b28b50355e908ec16d9c484c3ca1396e250885 [INFO] running `Command { std: "docker" "start" "-a" "fc9b6ba4ef64f54f01bbd70711b28b50355e908ec16d9c484c3ca1396e250885", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking escolar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | type Op = Fn(u16, &u16, &[u16], u16, u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | type Op = dyn Fn(u16, &u16, &[u16], u16, u16); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | type Op = Fn(u16, &u16, &[u16], u16, u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | type Op = dyn Fn(u16, &u16, &[u16], u16, u16); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | ip = dispatch(ip, &flags, &state, opcode, addr, value); [INFO] [stdout] | -------- ^^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut [u16]` [INFO] [stdout] found reference `&[u16; 1024]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn dispatch(ip: u16, flags: &u16, memory: &mut [u16], opcode: u16, addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn op_mov(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | fn op_add(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | fn op_nand(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/main.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | fn op_nand(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | fn op_nand(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | fn op_nand(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | fn op_shl(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | fn op_shr(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let ip = memory[addr as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:41:63 [INFO] [stdout] | [INFO] [stdout] 41 | fn op_jz(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | fn op_lt(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | fn op_gt(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | fn op_in(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/main.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | fn op_in(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:69:52 [INFO] [stdout] | [INFO] [stdout] 69 | fn op_in(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | fn op_in(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | fn op_out(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | fn op_undefined(ip: u16, flags: &u16, memory: &mut [u16], opcode: u16, addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | fn op_undefined(ip: u16, flags: &u16, memory: &mut [u16], opcode: u16, addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/main.rs:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | fn op_undefined(ip: u16, flags: &u16, memory: &mut [u16], opcode: u16, addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:82:72 [INFO] [stdout] | [INFO] [stdout] 82 | fn op_undefined(ip: u16, flags: &u16, memory: &mut [u16], opcode: u16, addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:82:83 [INFO] [stdout] | [INFO] [stdout] 82 | fn op_undefined(ip: u16, flags: &u16, memory: &mut [u16], opcode: u16, addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | ip = dispatch(ip, &flags, &state, opcode, addr, value); [INFO] [stdout] | -------- ^^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut [u16]` [INFO] [stdout] found reference `&[u16; 1024]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn dispatch(ip: u16, flags: &u16, memory: &mut [u16], opcode: u16, addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `escolar` (bin "escolar" test) due to 1 previous error; 23 warnings emitted [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn op_mov(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | fn op_add(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | fn op_nand(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/main.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | fn op_nand(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | fn op_nand(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | fn op_nand(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | fn op_shl(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | fn op_shr(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let ip = memory[addr as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:41:63 [INFO] [stdout] | [INFO] [stdout] 41 | fn op_jz(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | fn op_lt(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | fn op_gt(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | fn op_in(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/main.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | fn op_in(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:69:52 [INFO] [stdout] | [INFO] [stdout] 69 | fn op_in(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | fn op_in(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | fn op_out(ip: u16, flags: &u16, memory: &mut [u16], addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | fn op_undefined(ip: u16, flags: &u16, memory: &mut [u16], opcode: u16, addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | fn op_undefined(ip: u16, flags: &u16, memory: &mut [u16], opcode: u16, addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/main.rs:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | fn op_undefined(ip: u16, flags: &u16, memory: &mut [u16], opcode: u16, addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:82:72 [INFO] [stdout] | [INFO] [stdout] 82 | fn op_undefined(ip: u16, flags: &u16, memory: &mut [u16], opcode: u16, addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:82:83 [INFO] [stdout] | [INFO] [stdout] 82 | fn op_undefined(ip: u16, flags: &u16, memory: &mut [u16], opcode: u16, addr: u16, value: u16) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `escolar` (bin "escolar") due to 1 previous error; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fc9b6ba4ef64f54f01bbd70711b28b50355e908ec16d9c484c3ca1396e250885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc9b6ba4ef64f54f01bbd70711b28b50355e908ec16d9c484c3ca1396e250885", kill_on_drop: false }` [INFO] [stdout] fc9b6ba4ef64f54f01bbd70711b28b50355e908ec16d9c484c3ca1396e250885