[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] building pertark/shenzhen 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%2Fpertark%2Fshenzhen" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pertark/shenzhen 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/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-3-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] dfa606e62eefb83157cf5d95404f4ac2fff249e60e10d7d57d965c52b0a00797 [INFO] running `Command { std: "docker" "start" "-a" "dfa606e62eefb83157cf5d95404f4ac2fff249e60e10d7d57d965c52b0a00797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfa606e62eefb83157cf5d95404f4ac2fff249e60e10d7d57d965c52b0a00797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfa606e62eefb83157cf5d95404f4ac2fff249e60e10d7d57d965c52b0a00797", kill_on_drop: false }` [INFO] [stdout] dfa606e62eefb83157cf5d95404f4ac2fff249e60e10d7d57d965c52b0a00797 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] fda161cae8fc24a0841d3e728e8b49e41bc5d2d87095a03be615a14c2d44c1d4 [INFO] running `Command { std: "docker" "start" "-a" "fda161cae8fc24a0841d3e728e8b49e41bc5d2d87095a03be615a14c2d44c1d4", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling shenzhen v0.1.0 (/opt/rustwide/workdir) [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(()), [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.91s [INFO] running `Command { std: "docker" "inspect" "fda161cae8fc24a0841d3e728e8b49e41bc5d2d87095a03be615a14c2d44c1d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fda161cae8fc24a0841d3e728e8b49e41bc5d2d87095a03be615a14c2d44c1d4", kill_on_drop: false }` [INFO] [stdout] fda161cae8fc24a0841d3e728e8b49e41bc5d2d87095a03be615a14c2d44c1d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c7966f07c1c2026b181702ec7e6aeec31c58f0077317efc428c2950cbf2c84b5 [INFO] running `Command { std: "docker" "start" "-a" "c7966f07c1c2026b181702ec7e6aeec31c58f0077317efc428c2950cbf2c84b5", kill_on_drop: false }` [INFO] [stderr] Compiling 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(()), [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 `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "c7966f07c1c2026b181702ec7e6aeec31c58f0077317efc428c2950cbf2c84b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7966f07c1c2026b181702ec7e6aeec31c58f0077317efc428c2950cbf2c84b5", kill_on_drop: false }` [INFO] [stdout] c7966f07c1c2026b181702ec7e6aeec31c58f0077317efc428c2950cbf2c84b5