[INFO] cloning repository https://github.com/pertark/shenzhen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pertark/shenzhen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpertark%2Fshenzhen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpertark%2Fshenzhen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bac90d50e1c158b54b773346603d2d14b6c2404a [INFO] checking pertark/shenzhen against master#f7b43542838f0a4a6cfdb17fbeadf45002042a77 for pr-138499 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpertark%2Fshenzhen" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pertark/shenzhen on toolchain f7b43542838f0a4a6cfdb17fbeadf45002042a77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f7b43542838f0a4a6cfdb17fbeadf45002042a77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pertark/shenzhen [INFO] finished tweaking git repo https://github.com/pertark/shenzhen [INFO] tweaked toml for git repo https://github.com/pertark/shenzhen written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pertark/shenzhen 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" "+f7b43542838f0a4a6cfdb17fbeadf45002042a77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f7b43542838f0a4a6cfdb17fbeadf45002042a77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be7813b03c44416eb0390cc46ef108b490f7cf0e9a96dbe3a0bfecdc0f49bcf0 [INFO] running `Command { std: "docker" "start" "-a" "be7813b03c44416eb0390cc46ef108b490f7cf0e9a96dbe3a0bfecdc0f49bcf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be7813b03c44416eb0390cc46ef108b490f7cf0e9a96dbe3a0bfecdc0f49bcf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be7813b03c44416eb0390cc46ef108b490f7cf0e9a96dbe3a0bfecdc0f49bcf0", kill_on_drop: false }` [INFO] [stdout] be7813b03c44416eb0390cc46ef108b490f7cf0e9a96dbe3a0bfecdc0f49bcf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f7b43542838f0a4a6cfdb17fbeadf45002042a77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70138c79b31417e46920562afb2779358c8aca71b683ea3f98ab664462f436f3 [INFO] running `Command { std: "docker" "start" "-a" "70138c79b31417e46920562afb2779358c8aca71b683ea3f98ab664462f436f3", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking shenzhen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/device.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/device.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | Some(cond) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/device.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn push_update_with(&mut self, data: i16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/devices/mc.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | Opcode::Jmp(label) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalState` is never constructed [INFO] [stdout] --> src/board.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct GlobalState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/board.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl GlobalState { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 9 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/board.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `advance` is never used [INFO] [stdout] --> src/board.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 24 | pub fn advance(&mut self) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `step` is never used [INFO] [stdout] --> src/device.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Device { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 7 | fn step(&mut self); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_attachments` is never used [INFO] [stdout] --> src/device.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait McDevice { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 17 | fn update_attachments(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/device.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | Sleep(u32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DeviceState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 58 - Sleep(u32), [INFO] [stdout] 58 + Sleep(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Exec`, `Write`, and `Read` are never constructed [INFO] [stdout] --> src/device.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum DeviceState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 58 | Sleep(u32), [INFO] [stdout] 59 | Exec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/device.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct SimpleIOWire { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 101 | value: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleIOWire` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/device.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct XBusWire { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 116 | value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XBusWire` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Attachment` is never used [INFO] [stdout] --> src/device.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | pub enum Attachment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_value_from_attachment` is never used [INFO] [stdout] --> src/device.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 124 | impl Attachment { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 125 | fn read_value_from_attachment(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attachments` is never read [INFO] [stdout] --> src/devices/mc.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct MC4000X { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 166 | attachments: ( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/device.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | Some(cond) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/device.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn push_update_with(&mut self, data: i16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/devices/mc.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | Opcode::Jmp(label) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalState` is never constructed [INFO] [stdout] --> src/board.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct GlobalState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/board.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl GlobalState { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 9 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/board.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `advance` is never used [INFO] [stdout] --> src/board.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 24 | pub fn advance(&mut self) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `step` is never used [INFO] [stdout] --> src/device.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Device { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 7 | fn step(&mut self); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_attachments` is never used [INFO] [stdout] --> src/device.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait McDevice { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 17 | fn update_attachments(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/device.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | Sleep(u32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DeviceState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 58 - Sleep(u32), [INFO] [stdout] 58 + Sleep(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Exec`, `Write`, and `Read` are never constructed [INFO] [stdout] --> src/device.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum DeviceState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 58 | Sleep(u32), [INFO] [stdout] 59 | Exec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/device.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct SimpleIOWire { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 101 | value: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleIOWire` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/device.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct XBusWire { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 116 | value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XBusWire` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Attachment` is never used [INFO] [stdout] --> src/device.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | pub enum Attachment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_value_from_attachment` is never used [INFO] [stdout] --> src/device.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 124 | impl Attachment { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 125 | fn read_value_from_attachment(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attachments` is never read [INFO] [stdout] --> src/devices/mc.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct MC4000X { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 166 | attachments: ( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.72s [INFO] running `Command { std: "docker" "inspect" "70138c79b31417e46920562afb2779358c8aca71b683ea3f98ab664462f436f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70138c79b31417e46920562afb2779358c8aca71b683ea3f98ab664462f436f3", kill_on_drop: false }` [INFO] [stdout] 70138c79b31417e46920562afb2779358c8aca71b683ea3f98ab664462f436f3