[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevorsm7%2Fretro-emu" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trevorsm7/retro-emu on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-13/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ea688ca31de8c90dc720938c41f5f6729c169a8e4d363d5a8f6633ad3d92136 [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" "1ea688ca31de8c90dc720938c41f5f6729c169a8e4d363d5a8f6633ad3d92136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ea688ca31de8c90dc720938c41f5f6729c169a8e4d363d5a8f6633ad3d92136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ea688ca31de8c90dc720938c41f5f6729c169a8e4d363d5a8f6633ad3d92136", kill_on_drop: false }` [INFO] [stdout] 1ea688ca31de8c90dc720938c41f5f6729c169a8e4d363d5a8f6633ad3d92136 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 260f222f8f83ba2d8eb39e95c2e18c88579ab484a03923bc6c3e59ae60e11602 [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" "260f222f8f83ba2d8eb39e95c2e18c88579ab484a03923bc6c3e59ae60e11602", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [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 4.79s [INFO] running `Command { std: "docker" "inspect" "260f222f8f83ba2d8eb39e95c2e18c88579ab484a03923bc6c3e59ae60e11602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "260f222f8f83ba2d8eb39e95c2e18c88579ab484a03923bc6c3e59ae60e11602", kill_on_drop: false }` [INFO] [stdout] 260f222f8f83ba2d8eb39e95c2e18c88579ab484a03923bc6c3e59ae60e11602 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--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] 815187cfc66f644fd6fe677f145c1b3d689bbe2fb8ae6ede23b42545899bb372 [INFO] running `Command { std: "docker" "start" "-a" "815187cfc66f644fd6fe677f145c1b3d689bbe2fb8ae6ede23b42545899bb372", 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] running `Command { std: "docker" "inspect" "815187cfc66f644fd6fe677f145c1b3d689bbe2fb8ae6ede23b42545899bb372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "815187cfc66f644fd6fe677f145c1b3d689bbe2fb8ae6ede23b42545899bb372", kill_on_drop: false }` [INFO] [stdout] 815187cfc66f644fd6fe677f145c1b3d689bbe2fb8ae6ede23b42545899bb372 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 54927c98c11f0590197da235c744ce469f97bdb268ab1d3392c6ea57971a6893 [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" "54927c98c11f0590197da235c744ce469f97bdb268ab1d3392c6ea57971a6893", 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-457cb851108781df) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test asm::test_parse_label ... ok [INFO] [stdout] test asm::test_assemble ... ok [INFO] [stdout] test asm::test_parse_number ... ok [INFO] [stdout] test cpu::test_add_carry ... ok [INFO] [stdout] test asm::test_parse_symbol ... ok [INFO] [stdout] test cpu::test_compare ... ok [INFO] [stdout] test memory::test_mem_rw ... ok [INFO] [stdout] test cpu::test_multiplication ... ok [INFO] [stdout] test cpu::test_wrapping ... ok [INFO] [stdout] test cpu::test_sub_borrow ... ok [INFO] [stdout] test cpu::test_lda_adc_sta ... ok [INFO] [stdout] test asm::test_parse_instruction ... ok [INFO] [stdout] test asm::test_parse_operand ... 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.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "54927c98c11f0590197da235c744ce469f97bdb268ab1d3392c6ea57971a6893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54927c98c11f0590197da235c744ce469f97bdb268ab1d3392c6ea57971a6893", kill_on_drop: false }` [INFO] [stdout] 54927c98c11f0590197da235c744ce469f97bdb268ab1d3392c6ea57971a6893