[INFO] cloning repository https://github.com/willemv/computer_enhance_homework [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/willemv/computer_enhance_homework" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemv%2Fcomputer_enhance_homework", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemv%2Fcomputer_enhance_homework'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f89624ec0fbc2b1c1f7a991b05269a1c04fb5a65 [INFO] building willemv/computer_enhance_homework against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemv%2Fcomputer_enhance_homework" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/willemv/computer_enhance_homework on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/willemv/computer_enhance_homework [INFO] finished tweaking git repo https://github.com/willemv/computer_enhance_homework [INFO] tweaked toml for git repo https://github.com/willemv/computer_enhance_homework written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/willemv/computer_enhance_homework 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 739f16789f85debd028bf6aca7ae9875b8a6ba7862a9e20e48ddfffd7470fea8 [INFO] running `Command { std: "docker" "start" "-a" "739f16789f85debd028bf6aca7ae9875b8a6ba7862a9e20e48ddfffd7470fea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "739f16789f85debd028bf6aca7ae9875b8a6ba7862a9e20e48ddfffd7470fea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "739f16789f85debd028bf6aca7ae9875b8a6ba7862a9e20e48ddfffd7470fea8", kill_on_drop: false }` [INFO] [stdout] 739f16789f85debd028bf6aca7ae9875b8a6ba7862a9e20e48ddfffd7470fea8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4df5c2c4dbbdc186dc61af0e326d8e7cb8095519c3cbcf68796b1a7c0a4d7ed1 [INFO] running `Command { std: "docker" "start" "-a" "4df5c2c4dbbdc186dc61af0e326d8e7cb8095519c3cbcf68796b1a7c0a4d7ed1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sim8086 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `json::parse_json_from_str as parse` [INFO] [stdout] --> src/json.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | use json::parse_json_from_str as parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/haversine_generator.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | if (args.len() < 4) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - if (args.len() < 4) { [INFO] [stdout] 91 + if args.len() < 4 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/haversine_calculator.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | ... if (reference_reader.is_some()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - if (reference_reader.is_some()) { [INFO] [stdout] 53 + if reference_reader.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/haversine_calculator.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let mut args: Vec = env::args().collect(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/bin/haversine_generator.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/haversine_calculator.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | reference_reader.as_mut().unwrap().read_exact(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = reference_reader.as_mut().unwrap().read_exact(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/haversine_generator.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | write!(&mut json, "{{\"pairs\": [\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/haversine_generator.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | write!(&mut json, " {{\"x0\": {x0:.24}, \"y0\": {y0:.24}, \"x1\": {x1:.24}, \"y1\": {y1:.24} }}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/haversine_generator.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | if i < config.count - 1 { write!(&mut json, ","); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/haversine_generator.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | write!(&mut json, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/haversine_generator.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | write!(&mut json, "]}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ax`, `dx`, and `sp` are never used [INFO] [stdout] --> src/bin/simulator.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 58 | [INFO] [stdout] 59 | fn ax(&self) -> i16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn dx(&self) -> i16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn sp(&self) -> i16 { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.91s [INFO] running `Command { std: "docker" "inspect" "4df5c2c4dbbdc186dc61af0e326d8e7cb8095519c3cbcf68796b1a7c0a4d7ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4df5c2c4dbbdc186dc61af0e326d8e7cb8095519c3cbcf68796b1a7c0a4d7ed1", kill_on_drop: false }` [INFO] [stdout] 4df5c2c4dbbdc186dc61af0e326d8e7cb8095519c3cbcf68796b1a7c0a4d7ed1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 963eadf5789d2fb93d78b31865cb1b8c03cfca11ee160b828b940cd0f49eb489 [INFO] running `Command { std: "docker" "start" "-a" "963eadf5789d2fb93d78b31865cb1b8c03cfca11ee160b828b940cd0f49eb489", kill_on_drop: false }` [INFO] [stderr] Compiling sim8086 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `json::parse_json_from_str as parse` [INFO] [stdout] --> src/json.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | use json::parse_json_from_str as parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/haversine_calculator.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | ... if (reference_reader.is_some()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - if (reference_reader.is_some()) { [INFO] [stdout] 53 + if reference_reader.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/haversine_generator.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | if (args.len() < 4) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - if (args.len() < 4) { [INFO] [stdout] 91 + if args.len() < 4 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/haversine_calculator.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let mut args: Vec = env::args().collect(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/bin/haversine_generator.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/haversine_calculator.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | reference_reader.as_mut().unwrap().read_exact(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = reference_reader.as_mut().unwrap().read_exact(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/haversine_generator.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | write!(&mut json, "{{\"pairs\": [\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/haversine_generator.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | write!(&mut json, " {{\"x0\": {x0:.24}, \"y0\": {y0:.24}, \"x1\": {x1:.24}, \"y1\": {y1:.24} }}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/haversine_generator.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | if i < config.count - 1 { write!(&mut json, ","); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/haversine_generator.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | write!(&mut json, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/haversine_generator.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | write!(&mut json, "]}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/bin/simulator.rs:706:14 [INFO] [stdout] | [INFO] [stdout] 706 | let (result, flags) = evaluate_op(ArithmeticOp::Add, i16::MAX, 1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/bin/simulator.rs:715:14 [INFO] [stdout] | [INFO] [stdout] 715 | let (result, flags) = evaluate_op(ArithmeticOp::Add, -1, 1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/bin/simulator.rs:724:14 [INFO] [stdout] | [INFO] [stdout] 724 | let (result, flags) = evaluate_op(ArithmeticOp::Add, 10, 10); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/bin/simulator.rs:733:14 [INFO] [stdout] | [INFO] [stdout] 733 | let (result, flags) = evaluate_op(ArithmeticOp::Sub, i16::MIN, 1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/bin/simulator.rs:742:14 [INFO] [stdout] | [INFO] [stdout] 742 | let (result, flags) = evaluate_op(ArithmeticOp::Sub, 0, 1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/bin/simulator.rs:751:14 [INFO] [stdout] | [INFO] [stdout] 751 | let (result, flags) = evaluate_op(ArithmeticOp::Sub, 20, 10); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ax`, `dx`, and `sp` are never used [INFO] [stdout] --> src/bin/simulator.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 58 | [INFO] [stdout] 59 | fn ax(&self) -> i16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn dx(&self) -> i16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn sp(&self) -> i16 { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "963eadf5789d2fb93d78b31865cb1b8c03cfca11ee160b828b940cd0f49eb489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "963eadf5789d2fb93d78b31865cb1b8c03cfca11ee160b828b940cd0f49eb489", kill_on_drop: false }` [INFO] [stdout] 963eadf5789d2fb93d78b31865cb1b8c03cfca11ee160b828b940cd0f49eb489