[INFO] cloning repository https://github.com/crisdevelop3/rust-first-trial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crisdevelop3/rust-first-trial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrisdevelop3%2Frust-first-trial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrisdevelop3%2Frust-first-trial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d64b6594d9367587ebf1a9a67da067a43b536945 [INFO] checking crisdevelop3/rust-first-trial against master#ba7e63b63871a429533c189adbfb1d9a6337e000 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrisdevelop3%2Frust-first-trial" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/crisdevelop3/rust-first-trial [INFO] finished tweaking git repo https://github.com/crisdevelop3/rust-first-trial [INFO] tweaked toml for git repo https://github.com/crisdevelop3/rust-first-trial written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crisdevelop3/rust-first-trial on toolchain ba7e63b63871a429533c189adbfb1d9a6337e000 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/crisdevelop3/rust-first-trial 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" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ee30a1ab13be9540ac37d3f2cad65860a50341ff528ed67aefc7f709be59f89 [INFO] running `Command { std: "docker" "start" "-a" "5ee30a1ab13be9540ac37d3f2cad65860a50341ff528ed67aefc7f709be59f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ee30a1ab13be9540ac37d3f2cad65860a50341ff528ed67aefc7f709be59f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ee30a1ab13be9540ac37d3f2cad65860a50341ff528ed67aefc7f709be59f89", kill_on_drop: false }` [INFO] [stdout] 5ee30a1ab13be9540ac37d3f2cad65860a50341ff528ed67aefc7f709be59f89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 728e2918a76145c43e245d8d264b8fa07a846bf2a539159597324263e6591d8d [INFO] running `Command { std: "docker" "start" "-a" "728e2918a76145c43e245d8d264b8fa07a846bf2a539159597324263e6591d8d", kill_on_drop: false }` [INFO] [stderr] Checking hello-cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | let we_click = WebEvent::WEClick((click)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - let we_click = WebEvent::WEClick((click)); [INFO] [stdout] 135 + let we_click = WebEvent::WEClick(click); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | let we_click = WebEvent::WEClick((click)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - let we_click = WebEvent::WEClick((click)); [INFO] [stdout] 135 + let we_click = WebEvent::WEClick(click); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shadow_num` [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let shadow_num = 1; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shadow_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shadow_num` [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let shadow_num = 1; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shadow_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unit` is never constructed [INFO] [stdout] --> src/main.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | struct Unit; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | 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: fields `x` and `y` are never read [INFO] [stdout] --> src/main.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | struct MouseClick { x: i64, y: i64 } [INFO] [stdout] | ---------- ^ ^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `MouseClick` 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:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | 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] 133 - enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(KeyPress) } [INFO] [stdout] 133 + enum WebEvent { WELoad(()), WEClick(MouseClick), WEKeys(KeyPress) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unit` is never constructed [INFO] [stdout] --> src/main.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | struct Unit; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | 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] 133 - enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(KeyPress) } [INFO] [stdout] 133 + enum WebEvent { WELoad(bool), WEClick(()), WEKeys(KeyPress) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | 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:133:63 [INFO] [stdout] | [INFO] [stdout] 133 | 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] 133 - enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(KeyPress) } [INFO] [stdout] 133 + enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(()) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/main.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | struct MouseClick { x: i64, y: i64 } [INFO] [stdout] | ---------- ^ ^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `MouseClick` 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:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | 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] 133 - enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(KeyPress) } [INFO] [stdout] 133 + 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:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | 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] 133 - enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(KeyPress) } [INFO] [stdout] 133 + 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:133:63 [INFO] [stdout] | [INFO] [stdout] 133 | 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] 133 - enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(KeyPress) } [INFO] [stdout] 133 + enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(()) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "728e2918a76145c43e245d8d264b8fa07a846bf2a539159597324263e6591d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "728e2918a76145c43e245d8d264b8fa07a846bf2a539159597324263e6591d8d", kill_on_drop: false }` [INFO] [stdout] 728e2918a76145c43e245d8d264b8fa07a846bf2a539159597324263e6591d8d