[INFO] cloning repository https://github.com/erwinlean/practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erwinlean/practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferwinlean%2Fpractice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferwinlean%2Fpractice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0619a042b97941b2705ab1b9ba2f262c5db2015 [INFO] checking erwinlean/practice against try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferwinlean%2Fpractice" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/erwinlean/practice [INFO] finished tweaking git repo https://github.com/erwinlean/practice [INFO] tweaked toml for git repo https://github.com/erwinlean/practice written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/erwinlean/practice on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/erwinlean/practice 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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 853b1cbcfe6989502a37f698fb18cf9ac9ae760475b428020d0f32934be05d29 [INFO] running `Command { std: "docker" "start" "-a" "853b1cbcfe6989502a37f698fb18cf9ac9ae760475b428020d0f32934be05d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "853b1cbcfe6989502a37f698fb18cf9ac9ae760475b428020d0f32934be05d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "853b1cbcfe6989502a37f698fb18cf9ac9ae760475b428020d0f32934be05d29", kill_on_drop: false }` [INFO] [stdout] 853b1cbcfe6989502a37f698fb18cf9ac9ae760475b428020d0f32934be05d29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca99b4d991735f2462279073bbd071da2aa9a9cddfac34ead7382fc1253d080a [INFO] running `Command { std: "docker" "start" "-a" "ca99b4d991735f2462279073bbd071da2aa9a9cddfac34ead7382fc1253d080a", kill_on_drop: false }` [INFO] [stderr] Checking practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/main.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | struct TestStruct2(u8, char, String); [INFO] [stdout] | ----------- ^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | struct KeyPress(String, char); [INFO] [stdout] | -------- ^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `KeyPress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(KeyPress) } [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WebEvent` has a derived impl for the trait `Debug`, 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] 75 - enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(KeyPress) } [INFO] [stdout] 75 + enum WebEvent { WELoad(()), WEClick(MouseClick), WEKeys(KeyPress) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(KeyPress) } [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WebEvent` has a derived impl for the trait `Debug`, 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] 75 - enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(KeyPress) } [INFO] [stdout] 75 + enum WebEvent { WELoad(bool), WEClick(()), WEKeys(KeyPress) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:75:63 [INFO] [stdout] | [INFO] [stdout] 75 | enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(KeyPress) } [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WebEvent` has a derived impl for the trait `Debug`, 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] 75 - enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(KeyPress) } [INFO] [stdout] 75 + enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(()) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | Manual(bool), [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transmission` has a derived impl for the trait `Debug`, 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] 96 - Manual(bool), [INFO] [stdout] 96 + Manual(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "ca99b4d991735f2462279073bbd071da2aa9a9cddfac34ead7382fc1253d080a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca99b4d991735f2462279073bbd071da2aa9a9cddfac34ead7382fc1253d080a", kill_on_drop: false }` [INFO] [stdout] ca99b4d991735f2462279073bbd071da2aa9a9cddfac34ead7382fc1253d080a