[INFO] cloning repository https://github.com/krummja/nes-emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krummja/nes-emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrummja%2Fnes-emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrummja%2Fnes-emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32ebd2c0f997ec65dcf39f216e661fed34b4bfdf [INFO] testing krummja/nes-emu against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrummja%2Fnes-emu" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/krummja/nes-emu [INFO] finished tweaking git repo https://github.com/krummja/nes-emu [INFO] tweaked toml for git repo https://github.com/krummja/nes-emu written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/krummja/nes-emu on toolchain 33835004928d3bf65db4d4712e1330766263b0bd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/krummja/nes-emu 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52354c1c83c719580862fe47bd710d6a989e4c66c3d6ec21d20bf4303bea942f [INFO] running `Command { std: "docker" "start" "-a" "52354c1c83c719580862fe47bd710d6a989e4c66c3d6ec21d20bf4303bea942f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52354c1c83c719580862fe47bd710d6a989e4c66c3d6ec21d20bf4303bea942f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52354c1c83c719580862fe47bd710d6a989e4c66c3d6ec21d20bf4303bea942f", kill_on_drop: false }` [INFO] [stdout] 52354c1c83c719580862fe47bd710d6a989e4c66c3d6ec21d20bf4303bea942f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e2d54d4694c42aa93f3f6731edd96d291b788fe941e9e3a27eed882167b0a29 [INFO] running `Command { std: "docker" "start" "-a" "3e2d54d4694c42aa93f3f6731edd96d291b788fe941e9e3a27eed882167b0a29", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling impl_ops v0.1.1 [INFO] [stderr] Compiling nes-emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cpu.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(bus: &mut Bus) -> CPU { [INFO] [stdout] | ^^^^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(bus: &mut Bus) -> CPU<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cpu.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | if CPU::lookup(self.op_code).m != CPU::imp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 183 - if CPU::lookup(self.op_code).m != CPU::imp { [INFO] [stdout] 183 + if !std::ptr::fn_addr_eq(CPU::lookup(self.op_code).m, CPU::imp as for<'a> fn(&'a mut CPU<'_>) -> u8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cpu.rs:575:12 [INFO] [stdout] | [INFO] [stdout] 575 | if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 575 - if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stdout] 575 + if std::ptr::fn_addr_eq(CPU::lookup(self.op_code).m, CPU::imp as for<'a> fn(&'a mut CPU<'_>) -> u8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cpu.rs:894:12 [INFO] [stdout] | [INFO] [stdout] 894 | if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 894 - if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stdout] 894 + if std::ptr::fn_addr_eq(CPU::lookup(self.op_code).m, CPU::imp as for<'a> fn(&'a mut CPU<'_>) -> u8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "3e2d54d4694c42aa93f3f6731edd96d291b788fe941e9e3a27eed882167b0a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e2d54d4694c42aa93f3f6731edd96d291b788fe941e9e3a27eed882167b0a29", kill_on_drop: false }` [INFO] [stdout] 3e2d54d4694c42aa93f3f6731edd96d291b788fe941e9e3a27eed882167b0a29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e28ffbbe2f8c0522a727494c42a3cfa7d5dd1d9b2ec00ef2b5a679eab03190c [INFO] running `Command { std: "docker" "start" "-a" "2e28ffbbe2f8c0522a727494c42a3cfa7d5dd1d9b2ec00ef2b5a679eab03190c", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cpu.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(bus: &mut Bus) -> CPU { [INFO] [stdout] | ^^^^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(bus: &mut Bus) -> CPU<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cpu.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | if CPU::lookup(self.op_code).m != CPU::imp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 183 - if CPU::lookup(self.op_code).m != CPU::imp { [INFO] [stdout] 183 + if !std::ptr::fn_addr_eq(CPU::lookup(self.op_code).m, CPU::imp as for<'a> fn(&'a mut CPU<'_>) -> u8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cpu.rs:575:12 [INFO] [stdout] | [INFO] [stdout] 575 | if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 575 - if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stdout] 575 + if std::ptr::fn_addr_eq(CPU::lookup(self.op_code).m, CPU::imp as for<'a> fn(&'a mut CPU<'_>) -> u8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cpu.rs:894:12 [INFO] [stdout] | [INFO] [stdout] 894 | if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 894 - if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stdout] 894 + if std::ptr::fn_addr_eq(CPU::lookup(self.op_code).m, CPU::imp as for<'a> fn(&'a mut CPU<'_>) -> u8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nes-emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cpu.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(bus: &mut Bus) -> CPU { [INFO] [stdout] | ^^^^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(bus: &mut Bus) -> CPU<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cpu.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | if CPU::lookup(self.op_code).m != CPU::imp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 183 - if CPU::lookup(self.op_code).m != CPU::imp { [INFO] [stdout] 183 + if !std::ptr::fn_addr_eq(CPU::lookup(self.op_code).m, CPU::imp as for<'a> fn(&'a mut CPU<'_>) -> u8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cpu.rs:575:12 [INFO] [stdout] | [INFO] [stdout] 575 | if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 575 - if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stdout] 575 + if std::ptr::fn_addr_eq(CPU::lookup(self.op_code).m, CPU::imp as for<'a> fn(&'a mut CPU<'_>) -> u8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cpu.rs:894:12 [INFO] [stdout] | [INFO] [stdout] 894 | if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 894 - if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stdout] 894 + if std::ptr::fn_addr_eq(CPU::lookup(self.op_code).m, CPU::imp as for<'a> fn(&'a mut CPU<'_>) -> u8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "2e28ffbbe2f8c0522a727494c42a3cfa7d5dd1d9b2ec00ef2b5a679eab03190c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e28ffbbe2f8c0522a727494c42a3cfa7d5dd1d9b2ec00ef2b5a679eab03190c", kill_on_drop: false }` [INFO] [stdout] 2e28ffbbe2f8c0522a727494c42a3cfa7d5dd1d9b2ec00ef2b5a679eab03190c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3535f4b0919453ab0b84804b6f87aaf79e5f35843e2fb74fedf9f69af2e7ac58 [INFO] running `Command { std: "docker" "start" "-a" "3535f4b0919453ab0b84804b6f87aaf79e5f35843e2fb74fedf9f69af2e7ac58", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cpu.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn new(bus: &mut Bus) -> CPU { [INFO] [stderr] | ^^^^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 77 | pub fn new(bus: &mut Bus) -> CPU<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/cpu.rs:183:12 [INFO] [stderr] | [INFO] [stderr] 183 | if CPU::lookup(self.op_code).m != CPU::imp { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 183 - if CPU::lookup(self.op_code).m != CPU::imp { [INFO] [stderr] 183 + if !std::ptr::fn_addr_eq(CPU::lookup(self.op_code).m, CPU::imp as for<'a> fn(&'a mut CPU<'_>) -> u8) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/cpu.rs:575:12 [INFO] [stderr] | [INFO] [stderr] 575 | if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 575 - if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stderr] 575 + if std::ptr::fn_addr_eq(CPU::lookup(self.op_code).m, CPU::imp as for<'a> fn(&'a mut CPU<'_>) -> u8) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/cpu.rs:894:12 [INFO] [stderr] | [INFO] [stderr] 894 | if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 894 - if CPU::lookup(self.op_code).m == CPU::imp { [INFO] [stderr] 894 + if std::ptr::fn_addr_eq(CPU::lookup(self.op_code).m, CPU::imp as for<'a> fn(&'a mut CPU<'_>) -> u8) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `nes-emu` (lib) generated 4 warnings (run `cargo fix --lib -p nes-emu` to apply 1 suggestion) [INFO] [stderr] warning: `nes-emu` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nes_emu-ed11a331a98a3307) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nes_emu-2c9fa356e8e46c4d) [INFO] [stdout] [INFO] [stderr] Doc-tests nes_emu [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] [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" "3535f4b0919453ab0b84804b6f87aaf79e5f35843e2fb74fedf9f69af2e7ac58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3535f4b0919453ab0b84804b6f87aaf79e5f35843e2fb74fedf9f69af2e7ac58", kill_on_drop: false }` [INFO] [stdout] 3535f4b0919453ab0b84804b6f87aaf79e5f35843e2fb74fedf9f69af2e7ac58