[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] 80d6ea72bbf8da85978725ed3d2ed6415b691f0558f0c572d923a38865601d85 [INFO] running `Command { std: "docker" "start" "-a" "80d6ea72bbf8da85978725ed3d2ed6415b691f0558f0c572d923a38865601d85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80d6ea72bbf8da85978725ed3d2ed6415b691f0558f0c572d923a38865601d85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80d6ea72bbf8da85978725ed3d2ed6415b691f0558f0c572d923a38865601d85", kill_on_drop: false }` [INFO] [stdout] 80d6ea72bbf8da85978725ed3d2ed6415b691f0558f0c572d923a38865601d85 [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" "+1.60.0" "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] 7b8301928a5e0853dcba390fee4638c3b05f50b1178debd2aaa3ad836e1900de [INFO] running `Command { std: "docker" "start" "-a" "7b8301928a5e0853dcba390fee4638c3b05f50b1178debd2aaa3ad836e1900de", 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.65s [INFO] running `Command { std: "docker" "inspect" "7b8301928a5e0853dcba390fee4638c3b05f50b1178debd2aaa3ad836e1900de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b8301928a5e0853dcba390fee4638c3b05f50b1178debd2aaa3ad836e1900de", kill_on_drop: false }` [INFO] [stdout] 7b8301928a5e0853dcba390fee4638c3b05f50b1178debd2aaa3ad836e1900de [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b09fd456b2bb44262d28786a27038a9cd783367da59fdc5ccbab3afd8e0643db [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" "b09fd456b2bb44262d28786a27038a9cd783367da59fdc5ccbab3afd8e0643db", 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.65s [INFO] running `Command { std: "docker" "inspect" "b09fd456b2bb44262d28786a27038a9cd783367da59fdc5ccbab3afd8e0643db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b09fd456b2bb44262d28786a27038a9cd783367da59fdc5ccbab3afd8e0643db", kill_on_drop: false }` [INFO] [stdout] b09fd456b2bb44262d28786a27038a9cd783367da59fdc5ccbab3afd8e0643db [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" "+1.60.0" "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] c06f0ef2e72b3f1a0a93d78a176295d83e66db0a6b70ef5ac9b07a98d5d78474 [INFO] running `Command { std: "docker" "start" "-a" "c06f0ef2e72b3f1a0a93d78a176295d83e66db0a6b70ef5ac9b07a98d5d78474", kill_on_drop: false }` [INFO] [stderr] warning: type `CPU_6502` should have an upper camel case name [INFO] [stderr] --> src/cpu.rs:21:12 [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.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/emu-a1aa750d146eae71) [INFO] [stdout] [INFO] [stdout] running 14 tests [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_assemble ... ok [INFO] [stdout] test asm::test_parse_number ... ok [INFO] [stdout] test asm::test_parse_label ... ok [INFO] [stdout] test cpu::test_multiplication ... ok [INFO] [stdout] test cpu::test_lda_adc_sta ... ok [INFO] [stdout] test cpu::test_add_carry ... ok [INFO] [stdout] test cpu::test_compare ... ok [INFO] [stdout] test cpu::test_sub_borrow ... 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.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c06f0ef2e72b3f1a0a93d78a176295d83e66db0a6b70ef5ac9b07a98d5d78474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c06f0ef2e72b3f1a0a93d78a176295d83e66db0a6b70ef5ac9b07a98d5d78474", kill_on_drop: false }` [INFO] [stdout] c06f0ef2e72b3f1a0a93d78a176295d83e66db0a6b70ef5ac9b07a98d5d78474