[INFO] cloning repository https://github.com/betterA/NES_study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/betterA/NES_study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbetterA%2FNES_study", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbetterA%2FNES_study'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04476094681175086b16c86733ccd209950d4608 [INFO] checking betterA/NES_study/04476094681175086b16c86733ccd209950d4608 against master#5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbetterA%2FNES_study" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/betterA/NES_study on toolchain 5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/betterA/NES_study [INFO] finished tweaking git repo https://github.com/betterA/NES_study [INFO] tweaked toml for git repo https://github.com/betterA/NES_study written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/betterA/NES_study 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" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f50081923c68a4477a035115270935c6fd4e780dfb8139cc13f408103ee8e45 [INFO] running `Command { std: "docker" "start" "-a" "7f50081923c68a4477a035115270935c6fd4e780dfb8139cc13f408103ee8e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f50081923c68a4477a035115270935c6fd4e780dfb8139cc13f408103ee8e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f50081923c68a4477a035115270935c6fd4e780dfb8139cc13f408103ee8e45", kill_on_drop: false }` [INFO] [stdout] 7f50081923c68a4477a035115270935c6fd4e780dfb8139cc13f408103ee8e45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fd8fbbdb2747df054a10d99e9b798744ddb5c9949ef1a32c4470d645460d22f [INFO] running `Command { std: "docker" "start" "-a" "6fd8fbbdb2747df054a10d99e9b798744ddb5c9949ef1a32c4470d645460d22f", kill_on_drop: false }` [INFO] [stderr] Checking nes_slim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `lazy_static` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `lazy_static` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bitflags` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate bitflags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bitflags` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate bitflags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bitflags` in this scope [INFO] [stdout] --> src/cpu.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bitflags! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `bitflags` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate bitflags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bitflags` in this scope [INFO] [stdout] --> src/cpu.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bitflags! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `bitflags` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate bitflags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lazy_static` in this scope [INFO] [stdout] --> src/opscodes.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `lazy_static` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lazy_static` in this scope [INFO] [stdout] --> src/opscodes.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `lazy_static` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CpuFlags` in this scope [INFO] [stdout] --> src/cpu.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | pub status: CpuFlags, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPCODES_MAP` in module `opscodes` [INFO] [stdout] --> src/cpu.rs:217:77 [INFO] [stdout] | [INFO] [stdout] 217 | let ref opcodes:HashMap = *opscodes::OPCODES_MAP; [INFO] [stdout] | ^^^^^^^^^^^ not found in `opscodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CpuFlags` in this scope [INFO] [stdout] --> src/cpu.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | pub status: CpuFlags, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPCODES_MAP` in module `opscodes` [INFO] [stdout] --> src/cpu.rs:217:77 [INFO] [stdout] | [INFO] [stdout] 217 | let ref opcodes:HashMap = *opscodes::OPCODES_MAP; [INFO] [stdout] | ^^^^^^^^^^^ not found in `opscodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/opscodes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/opscodes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuFlags` [INFO] [stdout] --> src/cpu.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | status: CpuFlags::from_bits_truncate(0b100100), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CpuFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuFlags` [INFO] [stdout] --> src/cpu.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | self.status = CpuFlags::from_bits_truncate(0b100100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CpuFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuFlags` [INFO] [stdout] --> src/cpu.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | status: CpuFlags::from_bits_truncate(0b100100), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CpuFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuFlags` [INFO] [stdout] --> src/cpu.rs:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | self.status.insert(CpuFlags::ZERO); // 修改ZeroFlag位为 1 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CpuFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuFlags` [INFO] [stdout] --> src/cpu.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | self.status.remove(CpuFlags::ZERO); // 修改ZeroFlag 为 0 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CpuFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuFlags` [INFO] [stdout] --> src/cpu.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | self.status = CpuFlags::from_bits_truncate(0b100100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CpuFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuFlags` [INFO] [stdout] --> src/cpu.rs:255:32 [INFO] [stdout] | [INFO] [stdout] 255 | self.status.insert(CpuFlags::NEGATIV); // 为负数 修改NegativeFlag为 1 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CpuFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuFlags` [INFO] [stdout] --> src/cpu.rs:257:32 [INFO] [stdout] | [INFO] [stdout] 257 | self.status.remove(CpuFlags::NEGATIV); // 为负数 修改NegativeFlag为 0 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CpuFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuFlags` [INFO] [stdout] --> src/cpu.rs:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | self.status.insert(CpuFlags::ZERO); // 修改ZeroFlag位为 1 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CpuFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuFlags` [INFO] [stdout] --> src/cpu.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | self.status.remove(CpuFlags::ZERO); // 修改ZeroFlag 为 0 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CpuFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuFlags` [INFO] [stdout] --> src/cpu.rs:255:32 [INFO] [stdout] | [INFO] [stdout] 255 | self.status.insert(CpuFlags::NEGATIV); // 为负数 修改NegativeFlag为 1 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CpuFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuFlags` [INFO] [stdout] --> src/cpu.rs:257:32 [INFO] [stdout] | [INFO] [stdout] 257 | self.status.remove(CpuFlags::NEGATIV); // 为负数 修改NegativeFlag为 0 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CpuFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nes_slim` (bin "nes_slim") due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nes_slim` (bin "nes_slim" test) due to 13 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6fd8fbbdb2747df054a10d99e9b798744ddb5c9949ef1a32c4470d645460d22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd8fbbdb2747df054a10d99e9b798744ddb5c9949ef1a32c4470d645460d22f", kill_on_drop: false }` [INFO] [stdout] 6fd8fbbdb2747df054a10d99e9b798744ddb5c9949ef1a32c4470d645460d22f