[INFO] fetching crate super-sabicom 0.2.0... [INFO] checking super-sabicom-0.2.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate super-sabicom 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate super-sabicom 0.2.0 [INFO] finished tweaking crates.io crate super-sabicom 0.2.0 [INFO] tweaked toml for crates.io crate super-sabicom 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate super-sabicom 0.2.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate super-sabicom 0.2.0 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.33 [INFO] [stderr] Downloaded thiserror-impl v1.0.33 [INFO] [stderr] Downloaded meru-interface v0.3.0 [INFO] [stderr] Downloaded super-sabicom-macro v0.1.0 [INFO] [stderr] Downloaded argopt-impl v0.3.0 [INFO] [stderr] Downloaded schemars v0.8.10 [INFO] [stderr] Downloaded argopt v0.3.0 [INFO] [stderr] Downloaded anyhow v1.0.63 [INFO] [stderr] Downloaded clap_derive v3.2.17 [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] [stderr] Downloaded dyn-clone v1.0.9 [INFO] [stderr] Downloaded compress-tools v0.13.0 [INFO] [stderr] Downloaded schemars_derive v0.8.10 [INFO] [stderr] Downloaded clap v3.2.17 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cf8a3356b11d4f1af862bafca3af801f56dc7f63d7ec74947e45b0a4a086268 [INFO] running `Command { std: "docker" "start" "-a" "7cf8a3356b11d4f1af862bafca3af801f56dc7f63d7ec74947e45b0a4a086268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cf8a3356b11d4f1af862bafca3af801f56dc7f63d7ec74947e45b0a4a086268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cf8a3356b11d4f1af862bafca3af801f56dc7f63d7ec74947e45b0a4a086268", kill_on_drop: false }` [INFO] [stdout] 7cf8a3356b11d4f1af862bafca3af801f56dc7f63d7ec74947e45b0a4a086268 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 132410e2d82a92a5d08bce54a654a705285db67547a9e1f19f00c2a2072e3a06 [INFO] running `Command { std: "docker" "start" "-a" "132410e2d82a92a5d08bce54a654a705285db67547a9e1f19f00c2a2072e3a06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling schemars v0.8.10 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking dyn-clone v1.0.9 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling compress-tools v0.13.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling anyhow v1.0.63 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling convert_case v0.5.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling thiserror-impl v1.0.33 [INFO] [stderr] Compiling clap_derive v3.2.17 [INFO] [stderr] Compiling enum-ordinalize v3.1.11 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling schemars_derive v0.8.10 [INFO] [stderr] Compiling super-sabicom-macro v0.1.0 [INFO] [stderr] Compiling educe v0.4.19 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking thiserror v1.0.33 [INFO] [stderr] Checking modular-bitfield v0.11.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking clap v3.2.17 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling argopt-impl v0.3.0 [INFO] [stderr] Checking argopt v0.3.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking meru-interface v0.3.0 [INFO] [stderr] Checking super-sabicom v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `BITS` and `from_u8` are never used [INFO] [stdout] --> src/cpu.rs:198:11 [INFO] [stdout] | [INFO] [stdout] 190 | trait Value: [INFO] [stdout] | ----- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 198 | const BITS: u32; [INFO] [stdout] | ^^^^ [INFO] [stdout] 199 | [INFO] [stdout] 200 | fn from_u8(v: u8) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `BITS` and `from_u8` are never used [INFO] [stdout] --> src/cpu.rs:198:11 [INFO] [stdout] | [INFO] [stdout] 190 | trait Value: [INFO] [stdout] | ----- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 198 | const BITS: u32; [INFO] [stdout] | ^^^^ [INFO] [stdout] 199 | [INFO] [stdout] 200 | fn from_u8(v: u8) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `counter`, `counter_mut` [INFO] [stdout] --> examples/spc.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | impl context::Timing for Timing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `counter`, `counter_mut` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn counter(&self) -> &Counter { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn counter_mut(&mut self) -> &mut Counter { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/spc.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 46 | / loop { [INFO] [stdout] 47 | | use context::Timing; [INFO] [stdout] 48 | | ctx.elapse(8); [INFO] [stdout] 49 | | spc.tick(&mut ctx); [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 51 | [INFO] [stdout] 52 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `bus_locked` is not a member of trait `context::Bus` [INFO] [stdout] --> examples/65816-test.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | / fn bus_locked(&self) -> bool { [INFO] [stdout] 208 | | false [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ not a member of trait `context::Bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button` and `Keycode` [INFO] [stdout] --> examples/mini.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | controller::{Button, GameController}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | event::Event, [INFO] [stdout] 18 | keyboard::{Keycode, Scancode}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `super-sabicom` (example "spc") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `counter`, `counter_mut` [INFO] [stdout] --> examples/65816-test.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | impl context::Timing for Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `counter`, `counter_mut` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn counter(&self) -> &Counter { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn counter_mut(&mut self) -> &mut Counter { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BusAccessType` in `spc` [INFO] [stdout] --> examples/spc700-test.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | if matches!(e.2, spc::BusAccessType::Write) { [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `BusAccessType` in `spc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BusAccessType` in `spc` [INFO] [stdout] --> examples/spc700-test.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | (spc::BusAccessType::Read, BusAccessType::Read) => true, [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `BusAccessType` in `spc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BusAccessType` in `spc` [INFO] [stdout] --> examples/spc700-test.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | (spc::BusAccessType::Write, BusAccessType::Write) => true, [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `BusAccessType` in `spc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BusAccessType` in `spc` [INFO] [stdout] --> examples/spc700-test.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | (spc::BusAccessType::Wait, BusAccessType::Wait) => true, [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `BusAccessType` in `spc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BusAccessType` in module `spc` [INFO] [stdout] --> examples/spc700-test.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | type SpcBusLog = Vec<(Option, Option, spc::BusAccessType)>; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `spc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BusAccessType` in module `spc` [INFO] [stdout] --> examples/spc700-test.rs:113:39 [INFO] [stdout] | [INFO] [stdout] 113 | fn test_bus_access_attr(actual: &spc::BusAccessType, expect: &BusAccessType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `spc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] warning: field `controllers` is never read [INFO] [stdout] --> examples/mini.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 317 | struct InputManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 320 | controllers: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `super-sabicom` (example "65816-test") due to 2 previous errors [INFO] [stdout] error[E0609]: no field `bus_log` on type `&super_sabicom::spc::Spc` [INFO] [stdout] --> examples/spc700-test.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | .bus_log [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `regs`, `ioregs`, `dsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `bus_log` on type `super_sabicom::spc::Spc` [INFO] [stdout] --> examples/spc700-test.rs:143:56 [INFO] [stdout] | [INFO] [stdout] 143 | if result == test_case.final_ && test_bus_log(&spc.bus_log, &test_case.cycles) { [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `regs`, `ioregs`, `dsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `bus_log` on type `super_sabicom::spc::Spc` [INFO] [stdout] --> examples/spc700-test.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | TestResult::Fail(result, spc.bus_log.clone()) [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `regs`, `ioregs`, `dsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `super-sabicom` (example "spc700-test") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "132410e2d82a92a5d08bce54a654a705285db67547a9e1f19f00c2a2072e3a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "132410e2d82a92a5d08bce54a654a705285db67547a9e1f19f00c2a2072e3a06", kill_on_drop: false }` [INFO] [stdout] 132410e2d82a92a5d08bce54a654a705285db67547a9e1f19f00c2a2072e3a06