[INFO] cloning repository https://github.com/pcein/chip8_emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pcein/chip8_emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcein%2Fchip8_emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcein%2Fchip8_emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5c4288b44bbe047d7445446b120f69b26af39d2 [INFO] building pcein/chip8_emu against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcein%2Fchip8_emu" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pcein/chip8_emu on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pcein/chip8_emu [INFO] finished tweaking git repo https://github.com/pcein/chip8_emu [INFO] tweaked toml for git repo https://github.com/pcein/chip8_emu written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pcein/chip8_emu already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded maplit v1.0.0 [INFO] [stderr] Downloaded structopt-derive v0.1.5 [INFO] [stderr] Downloaded structopt v0.1.5 [INFO] [stderr] Downloaded rand v0.3.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36d39dfaa2e7b3286692c48b541a522b7383daa67b7e78859a0c13128ccd0844 [INFO] running `Command { std: "docker" "start" "-a" "36d39dfaa2e7b3286692c48b541a522b7383daa67b7e78859a0c13128ccd0844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36d39dfaa2e7b3286692c48b541a522b7383daa67b7e78859a0c13128ccd0844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36d39dfaa2e7b3286692c48b541a522b7383daa67b7e78859a0c13128ccd0844", kill_on_drop: false }` [INFO] [stdout] 36d39dfaa2e7b3286692c48b541a522b7383daa67b7e78859a0c13128ccd0844 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3817278a61795e1c075bac6ee22f6e57a8aac4d21f4d532f48ce804fdc7ffe7f [INFO] running `Command { std: "docker" "start" "-a" "3817278a61795e1c075bac6ee22f6e57a8aac4d21f4d532f48ce804fdc7ffe7f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling maplit v1.0.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling clap v2.27.1 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling structopt-derive v0.1.5 [INFO] [stderr] Compiling structopt v0.1.5 [INFO] [stderr] Compiling chip8_emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cpu.rs:663:1 [INFO] [stdout] | [INFO] [stdout] 663 | / /// INSN_LUT1 is an instruction lookup table; used for decoding an [INFO] [stdout] 664 | | /// instruction based on its leftmost nibble. [INFO] [stdout] | |_--------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cpu.rs:682:1 [INFO] [stdout] | [INFO] [stdout] 682 | / /// There are multiple instructions whose opcodes start with [INFO] [stdout] 683 | | /// the leftmost nibble equal to 8. These instructions are uniquely [INFO] [stdout] 684 | | /// identified based on the value of their rightmost nibble. INSN_LUT2 [INFO] [stdout] 685 | | /// is used to perform this identification. [INFO] [stdout] | |_------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cpu.rs:700:1 [INFO] [stdout] | [INFO] [stdout] 700 | / /// There are multiple instructions whose opcodes start [INFO] [stdout] 701 | | /// with the leftmost nibble equal to 0xf. INSN_LUT3 identifies [INFO] [stdout] 702 | | /// these instructions based on the value of their least [INFO] [stdout] 703 | | /// significant byte. [INFO] [stdout] | |_---------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/screen.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / /// CHIP-8 uses keys from 0,1,...9 and a, b, ... f. [INFO] [stdout] 27 | | /// These are assigned codes from 0, 1, ... 0xf. [INFO] [stdout] | |_-----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/screen.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / /// CHIP-8 uses only two colors: 0 for OFF and [INFO] [stdout] 50 | | /// 1 for ON. [INFO] [stdout] | |_------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cpu.rs:665:1 [INFO] [stdout] | [INFO] [stdout] 665 | / lazy_static! { [INFO] [stdout] 666 | | static ref INSN_LUT1:HashMap = hashmap! { [INFO] [stdout] 667 | | 1 => CPU::jmp as InsnPtr, [INFO] [stdout] 668 | | 2 => CPU::call as InsnPtr, [INFO] [stdout] ... | [INFO] [stdout] 679 | | }; [INFO] [stdout] 680 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cpu.rs:665:1 [INFO] [stdout] | [INFO] [stdout] 665 | / lazy_static! { [INFO] [stdout] 666 | | static ref INSN_LUT1:HashMap = hashmap! { [INFO] [stdout] 667 | | 1 => CPU::jmp as InsnPtr, [INFO] [stdout] 668 | | 2 => CPU::call as InsnPtr, [INFO] [stdout] ... | [INFO] [stdout] 679 | | }; [INFO] [stdout] 680 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cpu.rs:686:1 [INFO] [stdout] | [INFO] [stdout] 686 | / lazy_static! { [INFO] [stdout] 687 | | static ref INSN_LUT2: HashMap = hashmap! { [INFO] [stdout] 688 | | 0 => CPU::assign_vy_to_vx as InsnPtr, [INFO] [stdout] 689 | | 1 => CPU::assign_vx_or_vy_to_vx as InsnPtr, [INFO] [stdout] ... | [INFO] [stdout] 697 | | }; [INFO] [stdout] 698 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cpu.rs:686:1 [INFO] [stdout] | [INFO] [stdout] 686 | / lazy_static! { [INFO] [stdout] 687 | | static ref INSN_LUT2: HashMap = hashmap! { [INFO] [stdout] 688 | | 0 => CPU::assign_vy_to_vx as InsnPtr, [INFO] [stdout] 689 | | 1 => CPU::assign_vx_or_vy_to_vx as InsnPtr, [INFO] [stdout] ... | [INFO] [stdout] 697 | | }; [INFO] [stdout] 698 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cpu.rs:704:1 [INFO] [stdout] | [INFO] [stdout] 704 | / lazy_static! { [INFO] [stdout] 705 | | static ref INSN_LUT3: HashMap = hashmap! { [INFO] [stdout] 706 | | 0x1e => CPU::assign_i_plus_vx_to_i as InsnPtr, [INFO] [stdout] 707 | | 0x33 => CPU::store_bcd_of_vx_to_mem as InsnPtr, [INFO] [stdout] ... | [INFO] [stdout] 715 | | }; [INFO] [stdout] 716 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cpu.rs:704:1 [INFO] [stdout] | [INFO] [stdout] 704 | / lazy_static! { [INFO] [stdout] 705 | | static ref INSN_LUT3: HashMap = hashmap! { [INFO] [stdout] 706 | | 0x1e => CPU::assign_i_plus_vx_to_i as InsnPtr, [INFO] [stdout] 707 | | 0x33 => CPU::store_bcd_of_vx_to_mem as InsnPtr, [INFO] [stdout] ... | [INFO] [stdout] 715 | | }; [INFO] [stdout] 716 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/screen.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | static ref KEYCODES:HashMap = hashmap! { [INFO] [stdout] 30 | | 0x0 => Keycode::Num0, [INFO] [stdout] 31 | | 0x1 => Keycode::Num1, [INFO] [stdout] ... | [INFO] [stdout] 46 | | }; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/screen.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | static ref KEYCODES:HashMap = hashmap! { [INFO] [stdout] 30 | | 0x0 => Keycode::Num0, [INFO] [stdout] 31 | | 0x1 => Keycode::Num1, [INFO] [stdout] ... | [INFO] [stdout] 46 | | }; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/screen.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / lazy_static! { [INFO] [stdout] 52 | | pub static ref PIXEL_COLORS:[Color; 2] = [INFO] [stdout] 53 | | [Color::RGBA(0, 0, 0, 255), [INFO] [stdout] 54 | | Color::RGBA(250, 250, 250, 255)]; [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/screen.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / lazy_static! { [INFO] [stdout] 52 | | pub static ref PIXEL_COLORS:[Color; 2] = [INFO] [stdout] 53 | | [Color::RGBA(0, 0, 0, 255), [INFO] [stdout] 54 | | Color::RGBA(250, 250, 250, 255)]; [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3817278a61795e1c075bac6ee22f6e57a8aac4d21f4d532f48ce804fdc7ffe7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3817278a61795e1c075bac6ee22f6e57a8aac4d21f4d532f48ce804fdc7ffe7f", kill_on_drop: false }` [INFO] [stdout] 3817278a61795e1c075bac6ee22f6e57a8aac4d21f4d532f48ce804fdc7ffe7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b30f8624f244ae1cc16dd1918f5592d5d7e0a9fd3499c57f46b66a9f4a659ee0 [INFO] running `Command { std: "docker" "start" "-a" "b30f8624f244ae1cc16dd1918f5592d5d7e0a9fd3499c57f46b66a9f4a659ee0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling chip8_emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cpu.rs:663:1 [INFO] [stdout] | [INFO] [stdout] 663 | / /// INSN_LUT1 is an instruction lookup table; used for decoding an [INFO] [stdout] 664 | | /// instruction based on its leftmost nibble. [INFO] [stdout] | |_--------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cpu.rs:682:1 [INFO] [stdout] | [INFO] [stdout] 682 | / /// There are multiple instructions whose opcodes start with [INFO] [stdout] 683 | | /// the leftmost nibble equal to 8. These instructions are uniquely [INFO] [stdout] 684 | | /// identified based on the value of their rightmost nibble. INSN_LUT2 [INFO] [stdout] 685 | | /// is used to perform this identification. [INFO] [stdout] | |_------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cpu.rs:700:1 [INFO] [stdout] | [INFO] [stdout] 700 | / /// There are multiple instructions whose opcodes start [INFO] [stdout] 701 | | /// with the leftmost nibble equal to 0xf. INSN_LUT3 identifies [INFO] [stdout] 702 | | /// these instructions based on the value of their least [INFO] [stdout] 703 | | /// significant byte. [INFO] [stdout] | |_---------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/screen.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / /// CHIP-8 uses keys from 0,1,...9 and a, b, ... f. [INFO] [stdout] 27 | | /// These are assigned codes from 0, 1, ... 0xf. [INFO] [stdout] | |_-----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/screen.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / /// CHIP-8 uses only two colors: 0 for OFF and [INFO] [stdout] 50 | | /// 1 for ON. [INFO] [stdout] | |_------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cpu.rs:665:1 [INFO] [stdout] | [INFO] [stdout] 665 | / lazy_static! { [INFO] [stdout] 666 | | static ref INSN_LUT1:HashMap = hashmap! { [INFO] [stdout] 667 | | 1 => CPU::jmp as InsnPtr, [INFO] [stdout] 668 | | 2 => CPU::call as InsnPtr, [INFO] [stdout] ... | [INFO] [stdout] 679 | | }; [INFO] [stdout] 680 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cpu.rs:665:1 [INFO] [stdout] | [INFO] [stdout] 665 | / lazy_static! { [INFO] [stdout] 666 | | static ref INSN_LUT1:HashMap = hashmap! { [INFO] [stdout] 667 | | 1 => CPU::jmp as InsnPtr, [INFO] [stdout] 668 | | 2 => CPU::call as InsnPtr, [INFO] [stdout] ... | [INFO] [stdout] 679 | | }; [INFO] [stdout] 680 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cpu.rs:686:1 [INFO] [stdout] | [INFO] [stdout] 686 | / lazy_static! { [INFO] [stdout] 687 | | static ref INSN_LUT2: HashMap = hashmap! { [INFO] [stdout] 688 | | 0 => CPU::assign_vy_to_vx as InsnPtr, [INFO] [stdout] 689 | | 1 => CPU::assign_vx_or_vy_to_vx as InsnPtr, [INFO] [stdout] ... | [INFO] [stdout] 697 | | }; [INFO] [stdout] 698 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cpu.rs:686:1 [INFO] [stdout] | [INFO] [stdout] 686 | / lazy_static! { [INFO] [stdout] 687 | | static ref INSN_LUT2: HashMap = hashmap! { [INFO] [stdout] 688 | | 0 => CPU::assign_vy_to_vx as InsnPtr, [INFO] [stdout] 689 | | 1 => CPU::assign_vx_or_vy_to_vx as InsnPtr, [INFO] [stdout] ... | [INFO] [stdout] 697 | | }; [INFO] [stdout] 698 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cpu.rs:704:1 [INFO] [stdout] | [INFO] [stdout] 704 | / lazy_static! { [INFO] [stdout] 705 | | static ref INSN_LUT3: HashMap = hashmap! { [INFO] [stdout] 706 | | 0x1e => CPU::assign_i_plus_vx_to_i as InsnPtr, [INFO] [stdout] 707 | | 0x33 => CPU::store_bcd_of_vx_to_mem as InsnPtr, [INFO] [stdout] ... | [INFO] [stdout] 715 | | }; [INFO] [stdout] 716 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cpu.rs:704:1 [INFO] [stdout] | [INFO] [stdout] 704 | / lazy_static! { [INFO] [stdout] 705 | | static ref INSN_LUT3: HashMap = hashmap! { [INFO] [stdout] 706 | | 0x1e => CPU::assign_i_plus_vx_to_i as InsnPtr, [INFO] [stdout] 707 | | 0x33 => CPU::store_bcd_of_vx_to_mem as InsnPtr, [INFO] [stdout] ... | [INFO] [stdout] 715 | | }; [INFO] [stdout] 716 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/screen.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | static ref KEYCODES:HashMap = hashmap! { [INFO] [stdout] 30 | | 0x0 => Keycode::Num0, [INFO] [stdout] 31 | | 0x1 => Keycode::Num1, [INFO] [stdout] ... | [INFO] [stdout] 46 | | }; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/screen.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | static ref KEYCODES:HashMap = hashmap! { [INFO] [stdout] 30 | | 0x0 => Keycode::Num0, [INFO] [stdout] 31 | | 0x1 => Keycode::Num1, [INFO] [stdout] ... | [INFO] [stdout] 46 | | }; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/screen.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / lazy_static! { [INFO] [stdout] 52 | | pub static ref PIXEL_COLORS:[Color; 2] = [INFO] [stdout] 53 | | [Color::RGBA(0, 0, 0, 255), [INFO] [stdout] 54 | | Color::RGBA(250, 250, 250, 255)]; [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/screen.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / lazy_static! { [INFO] [stdout] 52 | | pub static ref PIXEL_COLORS:[Color; 2] = [INFO] [stdout] 53 | | [Color::RGBA(0, 0, 0, 255), [INFO] [stdout] 54 | | Color::RGBA(250, 250, 250, 255)]; [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b30f8624f244ae1cc16dd1918f5592d5d7e0a9fd3499c57f46b66a9f4a659ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b30f8624f244ae1cc16dd1918f5592d5d7e0a9fd3499c57f46b66a9f4a659ee0", kill_on_drop: false }` [INFO] [stdout] b30f8624f244ae1cc16dd1918f5592d5d7e0a9fd3499c57f46b66a9f4a659ee0