[INFO] cloning repository https://github.com/volucris1/MOS-Technology-6502 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/volucris1/MOS-Technology-6502" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolucris1%2FMOS-Technology-6502", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolucris1%2FMOS-Technology-6502'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8eb74dde746aba0f20f7fc2ed34f07f303611e1 [INFO] testing volucris1/MOS-Technology-6502 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolucris1%2FMOS-Technology-6502" "/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/volucris1/MOS-Technology-6502 [INFO] finished tweaking git repo https://github.com/volucris1/MOS-Technology-6502 [INFO] tweaked toml for git repo https://github.com/volucris1/MOS-Technology-6502 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/volucris1/MOS-Technology-6502 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/volucris1/MOS-Technology-6502 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded paste v1.0.8 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e4524caee44ed1b8887cec3f858f0081dc999006f9572c56b4741dc12685926 [INFO] running `Command { std: "docker" "start" "-a" "8e4524caee44ed1b8887cec3f858f0081dc999006f9572c56b4741dc12685926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e4524caee44ed1b8887cec3f858f0081dc999006f9572c56b4741dc12685926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e4524caee44ed1b8887cec3f858f0081dc999006f9572c56b4741dc12685926", kill_on_drop: false }` [INFO] [stdout] 8e4524caee44ed1b8887cec3f858f0081dc999006f9572c56b4741dc12685926 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa5bc030c0a5b06185c9203e1c25da78418b6abb76a6f1afa2553f7fc206cf24 [INFO] running `Command { std: "docker" "start" "-a" "fa5bc030c0a5b06185c9203e1c25da78418b6abb76a6f1afa2553f7fc206cf24", kill_on_drop: false }` [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Compiling mos_technology_6502 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `negative` is never used [INFO] [stdout] --> src/cpu/flags.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | impl_flag_getter!(negative, 7); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `overflow` and `set_overflow` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | impl_flag_getter!(overflow, 6); [INFO] [stdout] | ------------------^^^^^^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `brk` and `set_brk` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | impl_flag_getter!(brk, 4); [INFO] [stdout] | ------------------^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `decimical` and `set_decimical` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | impl_flag_getter!(decimical, 3); [INFO] [stdout] | ------------------^^^^^^^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `interrup` and `set_interrup` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | impl_flag_getter!(interrup, 2); [INFO] [stdout] | ------------------^^^^^^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `zero` is never used [INFO] [stdout] --> src/cpu/flags.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | impl_flag_getter!(zero, 1); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `carry` and `set_carry` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | impl_flag_getter!(carry, 0); [INFO] [stdout] | ------------------^^^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `raw` is never used [INFO] [stdout] --> src/cpu/flags.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Flags { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 48 | pub fn raw(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ProcessorStatus` is never used [INFO] [stdout] --> src/cpu/registers.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type ProcessorStatus = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sp` is never read [INFO] [stdout] --> src/cpu/registers.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Registers { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | sp: StackPointer, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sp`, `sp_mut`, and `ps` are never used [INFO] [stdout] --> src/cpu/registers.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn sp(&self) -> StackPointer { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn sp_mut(&mut self) -> &mut StackPointer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn ps(&mut self) -> &Flags { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "fa5bc030c0a5b06185c9203e1c25da78418b6abb76a6f1afa2553f7fc206cf24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa5bc030c0a5b06185c9203e1c25da78418b6abb76a6f1afa2553f7fc206cf24", kill_on_drop: false }` [INFO] [stdout] fa5bc030c0a5b06185c9203e1c25da78418b6abb76a6f1afa2553f7fc206cf24 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 261a34db251876df078b8517acf0257af556f0eb92d4cde56ca0150ef697ceb0 [INFO] running `Command { std: "docker" "start" "-a" "261a34db251876df078b8517acf0257af556f0eb92d4cde56ca0150ef697ceb0", kill_on_drop: false }` [INFO] [stderr] Compiling mos_technology_6502 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `negative` is never used [INFO] [stdout] --> src/cpu/flags.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | impl_flag_getter!(negative, 7); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `overflow` and `set_overflow` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | impl_flag_getter!(overflow, 6); [INFO] [stdout] | ------------------^^^^^^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `brk` and `set_brk` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | impl_flag_getter!(brk, 4); [INFO] [stdout] | ------------------^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `decimical` and `set_decimical` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | impl_flag_getter!(decimical, 3); [INFO] [stdout] | ------------------^^^^^^^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `interrup` and `set_interrup` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | impl_flag_getter!(interrup, 2); [INFO] [stdout] | ------------------^^^^^^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `zero` is never used [INFO] [stdout] --> src/cpu/flags.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | impl_flag_getter!(zero, 1); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `carry` and `set_carry` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | impl_flag_getter!(carry, 0); [INFO] [stdout] | ------------------^^^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `raw` is never used [INFO] [stdout] --> src/cpu/flags.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Flags { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 48 | pub fn raw(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ProcessorStatus` is never used [INFO] [stdout] --> src/cpu/registers.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type ProcessorStatus = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sp` is never read [INFO] [stdout] --> src/cpu/registers.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Registers { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | sp: StackPointer, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sp`, `sp_mut`, and `ps` are never used [INFO] [stdout] --> src/cpu/registers.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn sp(&self) -> StackPointer { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn sp_mut(&mut self) -> &mut StackPointer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn ps(&mut self) -> &Flags { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `negative` is never used [INFO] [stdout] --> src/cpu/flags.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | impl_flag_getter!(negative, 7); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `overflow` and `set_overflow` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | impl_flag_getter!(overflow, 6); [INFO] [stdout] | ------------------^^^^^^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `brk` and `set_brk` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | impl_flag_getter!(brk, 4); [INFO] [stdout] | ------------------^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `decimical` and `set_decimical` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | impl_flag_getter!(decimical, 3); [INFO] [stdout] | ------------------^^^^^^^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `interrup` and `set_interrup` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | impl_flag_getter!(interrup, 2); [INFO] [stdout] | ------------------^^^^^^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `zero` is never used [INFO] [stdout] --> src/cpu/flags.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | impl_flag_getter!(zero, 1); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `carry` and `set_carry` are never used [INFO] [stdout] --> src/cpu/flags.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 26 | impl Flags { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | impl_flag_getter!(carry, 0); [INFO] [stdout] | ------------------^^^^^---- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ProcessorStatus` is never used [INFO] [stdout] --> src/cpu/registers.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type ProcessorStatus = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sp` is never read [INFO] [stdout] --> src/cpu/registers.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Registers { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | sp: StackPointer, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sp` and `sp_mut` are never used [INFO] [stdout] --> src/cpu/registers.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn sp(&self) -> StackPointer { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn sp_mut(&mut self) -> &mut StackPointer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "261a34db251876df078b8517acf0257af556f0eb92d4cde56ca0150ef697ceb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "261a34db251876df078b8517acf0257af556f0eb92d4cde56ca0150ef697ceb0", kill_on_drop: false }` [INFO] [stdout] 261a34db251876df078b8517acf0257af556f0eb92d4cde56ca0150ef697ceb0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a1ccb2510a27cdd8e118f0a16a02084ed62edb384f31ae80d235d2f37fa19562 [INFO] running `Command { std: "docker" "start" "-a" "a1ccb2510a27cdd8e118f0a16a02084ed62edb384f31ae80d235d2f37fa19562", kill_on_drop: false }` [INFO] [stderr] warning: method `negative` is never used [INFO] [stderr] --> src/cpu/flags.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 26 | impl Flags { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 39 | impl_flag_getter!(negative, 7); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: methods `overflow` and `set_overflow` are never used [INFO] [stderr] --> src/cpu/flags.rs:31:24 [INFO] [stderr] | [INFO] [stderr] 26 | impl Flags { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | impl_flag_getter!(overflow, 6); [INFO] [stderr] | ------------------^^^^^^^^---- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: methods `brk` and `set_brk` are never used [INFO] [stderr] --> src/cpu/flags.rs:31:24 [INFO] [stderr] | [INFO] [stderr] 26 | impl Flags { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | impl_flag_getter!(brk, 4); [INFO] [stderr] | ------------------^^^---- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: methods `decimical` and `set_decimical` are never used [INFO] [stderr] --> src/cpu/flags.rs:31:24 [INFO] [stderr] | [INFO] [stderr] 26 | impl Flags { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | impl_flag_getter!(decimical, 3); [INFO] [stderr] | ------------------^^^^^^^^^---- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: methods `interrup` and `set_interrup` are never used [INFO] [stderr] --> src/cpu/flags.rs:31:24 [INFO] [stderr] | [INFO] [stderr] 26 | impl Flags { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | impl_flag_getter!(interrup, 2); [INFO] [stderr] | ------------------^^^^^^^^---- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `zero` is never used [INFO] [stderr] --> src/cpu/flags.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 26 | impl Flags { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 44 | impl_flag_getter!(zero, 1); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: methods `carry` and `set_carry` are never used [INFO] [stderr] --> src/cpu/flags.rs:31:24 [INFO] [stderr] | [INFO] [stderr] 26 | impl Flags { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn [](&mut self, $name: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | impl_flag_getter!(carry, 0); [INFO] [stderr] | ------------------^^^^^---- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_flag_getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `raw` is never used [INFO] [stderr] --> src/cpu/flags.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 47 | impl Flags { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] 48 | pub fn raw(&self) -> u8 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ProcessorStatus` is never used [INFO] [stderr] --> src/cpu/registers.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | pub type ProcessorStatus = u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `sp` is never read [INFO] [stderr] --> src/cpu/registers.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Registers { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 15 | sp: StackPointer, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: methods `sp`, `sp_mut`, and `ps` are never used [INFO] [stderr] --> src/cpu/registers.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl Registers { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn sp(&self) -> StackPointer { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn sp_mut(&mut self) -> &mut StackPointer { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn ps(&mut self) -> &Flags { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: `mos_technology_6502` (lib) generated 11 warnings [INFO] [stderr] warning: methods `sp` and `sp_mut` are never used [INFO] [stderr] --> src/cpu/registers.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl Registers { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn sp(&self) -> StackPointer { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn sp_mut(&mut self) -> &mut StackPointer { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mos_technology_6502` (lib test) generated 10 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mos_technology_6502-362478464dfea927) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test bit::test_trait_bit::method_set ... ok [INFO] [stdout] test bit::test_trait_bit::method_get ... ok [INFO] [stdout] test cpu::tests::test_cpu::test_lda ... ok [INFO] [stdout] test cpu::tests::test_cpu::test_sta ... ok [INFO] [stdout] test cpu::tests::test_cpu::test_ldy ... ok [INFO] [stdout] test cpu::tests::test_cpu::test_ldx ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] Doc-tests mos_technology_6502 [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" "a1ccb2510a27cdd8e118f0a16a02084ed62edb384f31ae80d235d2f37fa19562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1ccb2510a27cdd8e118f0a16a02084ed62edb384f31ae80d235d2f37fa19562", kill_on_drop: false }` [INFO] [stdout] a1ccb2510a27cdd8e118f0a16a02084ed62edb384f31ae80d235d2f37fa19562