[INFO] cloning repository https://github.com/trevorsm7/retro-emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trevorsm7/retro-emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevorsm7%2Fretro-emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevorsm7%2Fretro-emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8e3b8f624841e8e12490366e84e75d97944a746 [INFO] testing trevorsm7/retro-emu against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevorsm7%2Fretro-emu" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trevorsm7/retro-emu on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trevorsm7/retro-emu [INFO] finished tweaking git repo https://github.com/trevorsm7/retro-emu [INFO] tweaked toml for git repo https://github.com/trevorsm7/retro-emu written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/trevorsm7/retro-emu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 018161ee4b8ea4f78c8c340f60b3ba5249eb4831a112c95d01d659dda53fc313 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "018161ee4b8ea4f78c8c340f60b3ba5249eb4831a112c95d01d659dda53fc313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "018161ee4b8ea4f78c8c340f60b3ba5249eb4831a112c95d01d659dda53fc313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "018161ee4b8ea4f78c8c340f60b3ba5249eb4831a112c95d01d659dda53fc313", kill_on_drop: false }` [INFO] [stdout] 018161ee4b8ea4f78c8c340f60b3ba5249eb4831a112c95d01d659dda53fc313 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5ef9fd5cefce8fcb14672914e28e1d30bce4abe33aa52948e6558ea513d7f9b2 [INFO] running `Command { std: "docker" "start" "-a" "5ef9fd5cefce8fcb14672914e28e1d30bce4abe33aa52948e6558ea513d7f9b2", kill_on_drop: false }` [INFO] [stderr] Compiling emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `CPU_6502` should have an upper camel case name [INFO] [stdout] --> src/cpu.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CPU_6502 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Cpu6502` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/asm.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/asm.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | _ => panic!(format!("Unsupported directive {:?}", directive)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 - _ => panic!(format!("Unsupported directive {:?}", directive)), [INFO] [stdout] 117 + _ => panic!("Unsupported directive {:?}", directive), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | panic!(format!("Unhandled command {}", line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 120 - panic!(format!("Unhandled command {}", line)); [INFO] [stdout] 120 + panic!("Unhandled command {}", line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:205:28 [INFO] [stdout] | [INFO] [stdout] 205 | panic!(format!("Label \"{}\" already exists", label)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 205 - panic!(format!("Label \"{}\" already exists", label)); [INFO] [stdout] 205 + panic!("Label \"{}\" already exists", label); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | panic!(format!("Invalid label \"{}\"", label)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 208 - panic!(format!("Invalid label \"{}\"", label)); [INFO] [stdout] 208 + panic!("Invalid label \"{}\"", label); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | _ => panic!(format!("Unsupported directive {:?}", directive)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 218 - _ => panic!(format!("Unsupported directive {:?}", directive)), [INFO] [stdout] 218 + _ => panic!("Unsupported directive {:?}", directive), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | panic!(format!("Invalid command \"{}\"", command)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 224 - panic!(format!("Invalid command \"{}\"", command)); [INFO] [stdout] 224 + panic!("Invalid command \"{}\"", command); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cpu.rs:936:25 [INFO] [stdout] | [INFO] [stdout] 936 | _ => panic!(format!("Illegal opcode {} at address {}", op, self.pc)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 936 - _ => panic!(format!("Illegal opcode {} at address {}", op, self.pc)) [INFO] [stdout] 936 + _ => panic!("Illegal opcode {} at address {}", op, self.pc) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bus.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(_) => panic!(format!("address {:?} already assigned", address)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 30 - Ok(_) => panic!(format!("address {:?} already assigned", address)), [INFO] [stdout] 30 + Ok(_) => panic!("address {:?} already assigned", address), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "5ef9fd5cefce8fcb14672914e28e1d30bce4abe33aa52948e6558ea513d7f9b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ef9fd5cefce8fcb14672914e28e1d30bce4abe33aa52948e6558ea513d7f9b2", kill_on_drop: false }` [INFO] [stdout] 5ef9fd5cefce8fcb14672914e28e1d30bce4abe33aa52948e6558ea513d7f9b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc1782a4d5af1d433ff25a20c82e479fa73aa3e18daacdbed1a72778dccd15f0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dc1782a4d5af1d433ff25a20c82e479fa73aa3e18daacdbed1a72778dccd15f0", kill_on_drop: false }` [INFO] [stderr] Compiling emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `CPU_6502` should have an upper camel case name [INFO] [stdout] --> src/cpu.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CPU_6502 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Cpu6502` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/asm.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/asm.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | _ => panic!(format!("Unsupported directive {:?}", directive)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 - _ => panic!(format!("Unsupported directive {:?}", directive)), [INFO] [stdout] 117 + _ => panic!("Unsupported directive {:?}", directive), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | panic!(format!("Unhandled command {}", line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 120 - panic!(format!("Unhandled command {}", line)); [INFO] [stdout] 120 + panic!("Unhandled command {}", line); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:205:28 [INFO] [stdout] | [INFO] [stdout] 205 | panic!(format!("Label \"{}\" already exists", label)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 205 - panic!(format!("Label \"{}\" already exists", label)); [INFO] [stdout] 205 + panic!("Label \"{}\" already exists", label); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | panic!(format!("Invalid label \"{}\"", label)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 208 - panic!(format!("Invalid label \"{}\"", label)); [INFO] [stdout] 208 + panic!("Invalid label \"{}\"", label); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | _ => panic!(format!("Unsupported directive {:?}", directive)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 218 - _ => panic!(format!("Unsupported directive {:?}", directive)), [INFO] [stdout] 218 + _ => panic!("Unsupported directive {:?}", directive), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | panic!(format!("Invalid command \"{}\"", command)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 224 - panic!(format!("Invalid command \"{}\"", command)); [INFO] [stdout] 224 + panic!("Invalid command \"{}\"", command); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cpu.rs:936:25 [INFO] [stdout] | [INFO] [stdout] 936 | _ => panic!(format!("Illegal opcode {} at address {}", op, self.pc)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 936 - _ => panic!(format!("Illegal opcode {} at address {}", op, self.pc)) [INFO] [stdout] 936 + _ => panic!("Illegal opcode {} at address {}", op, self.pc) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bus.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(_) => panic!(format!("address {:?} already assigned", address)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 30 - Ok(_) => panic!(format!("address {:?} already assigned", address)), [INFO] [stdout] 30 + Ok(_) => panic!("address {:?} already assigned", address), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.74s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/emu-b6fba21c51557a8e) [INFO] running `Command { std: "docker" "inspect" "dc1782a4d5af1d433ff25a20c82e479fa73aa3e18daacdbed1a72778dccd15f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc1782a4d5af1d433ff25a20c82e479fa73aa3e18daacdbed1a72778dccd15f0", kill_on_drop: false }` [INFO] [stdout] dc1782a4d5af1d433ff25a20c82e479fa73aa3e18daacdbed1a72778dccd15f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3d23dbaebc40b30c6f810e8930f428d01d532c3f5ff1854530926ffd628d43a7 [INFO] running `Command { std: "docker" "start" "-a" "3d23dbaebc40b30c6f810e8930f428d01d532c3f5ff1854530926ffd628d43a7", kill_on_drop: false }` [INFO] [stderr] warning: type `CPU_6502` should have an upper camel case name [INFO] [stdout] [INFO] [stderr] --> src/cpu.rs:21:12 [INFO] [stdout] running 14 tests [INFO] [stderr] | [INFO] [stderr] 21 | pub struct CPU_6502 { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `Cpu6502` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `size` [INFO] [stderr] --> src/asm.rs:275:8 [INFO] [stderr] | [INFO] [stderr] 275 | fn size(&self) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `size` [INFO] [stderr] --> src/asm.rs:359:8 [INFO] [stderr] | [INFO] [stderr] 359 | fn size(&self) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/asm.rs:117:37 [INFO] [stderr] | [INFO] [stderr] 117 | _ => panic!(format!("Unsupported directive {:?}", directive)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 117 - _ => panic!(format!("Unsupported directive {:?}", directive)), [INFO] [stderr] 117 + _ => panic!("Unsupported directive {:?}", directive), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/asm.rs:120:28 [INFO] [stderr] | [INFO] [stderr] 120 | panic!(format!("Unhandled command {}", line)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 120 - panic!(format!("Unhandled command {}", line)); [INFO] [stderr] 120 + panic!("Unhandled command {}", line); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/asm.rs:205:28 [INFO] [stderr] | [INFO] [stderr] 205 | panic!(format!("Label \"{}\" already exists", label)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 205 - panic!(format!("Label \"{}\" already exists", label)); [INFO] [stderr] 205 + panic!("Label \"{}\" already exists", label); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/asm.rs:208:24 [INFO] [stderr] | [INFO] [stderr] 208 | panic!(format!("Invalid label \"{}\"", label)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 208 - panic!(format!("Invalid label \"{}\"", label)); [INFO] [stderr] 208 + panic!("Invalid label \"{}\"", label); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/asm.rs:218:29 [INFO] [stderr] | [INFO] [stderr] 218 | _ => panic!(format!("Unsupported directive {:?}", directive)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 218 - _ => panic!(format!("Unsupported directive {:?}", directive)), [INFO] [stderr] 218 + _ => panic!("Unsupported directive {:?}", directive), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/asm.rs:224:20 [INFO] [stderr] | [INFO] [stderr] 224 | panic!(format!("Invalid command \"{}\"", command)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 224 - panic!(format!("Invalid command \"{}\"", command)); [INFO] [stderr] 224 + panic!("Invalid command \"{}\"", command); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cpu.rs:936:25 [INFO] [stderr] | [INFO] [stderr] 936 | _ => panic!(format!("Illegal opcode {} at address {}", op, self.pc)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 936 - _ => panic!(format!("Illegal opcode {} at address {}", op, self.pc)) [INFO] [stderr] 936 + _ => panic!("Illegal opcode {} at address {}", op, self.pc) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/bus.rs:30:29 [INFO] [stderr] | [INFO] [stderr] 30 | Ok(_) => panic!(format!("address {:?} already assigned", address)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 30 - Ok(_) => panic!(format!("address {:?} already assigned", address)), [INFO] [stderr] 30 + Ok(_) => panic!("address {:?} already assigned", address), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `emu` (bin "emu" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/emu-b6fba21c51557a8e) [INFO] [stdout] test asm::test_assemble ... ok [INFO] [stdout] test asm::test_parse_instruction ... ok [INFO] [stdout] test asm::test_parse_operand ... ok [INFO] [stdout] test asm::test_parse_symbol ... ok [INFO] [stdout] test asm::test_parse_label ... ok [INFO] [stdout] test cpu::test_compare ... ok [INFO] [stdout] test cpu::test_add_carry ... ok [INFO] [stdout] test cpu::test_lda_adc_sta ... ok [INFO] [stdout] test cpu::test_multiplication ... ok [INFO] [stdout] test cpu::test_sub_borrow ... ok [INFO] [stdout] test asm::test_parse_number ... ok [INFO] [stdout] test cpu::test_wrapping ... ok [INFO] [stdout] test memory::test_mem_rw ... ok [INFO] [stdout] test bus::test_mem_overlap_same - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3d23dbaebc40b30c6f810e8930f428d01d532c3f5ff1854530926ffd628d43a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d23dbaebc40b30c6f810e8930f428d01d532c3f5ff1854530926ffd628d43a7", kill_on_drop: false }` [INFO] [stdout] 3d23dbaebc40b30c6f810e8930f428d01d532c3f5ff1854530926ffd628d43a7