[INFO] cloning repository https://github.com/mananuf/traits [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mananuf/traits" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmananuf%2Ftraits", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmananuf%2Ftraits'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38f9d80cce2da1fc799233d2560736fa0803a942 [INFO] checking mananuf/traits against try#d83b14207998f47b18a34e930157ac0d7c18b16e for pr-149137 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmananuf%2Ftraits" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mananuf/traits [INFO] finished tweaking git repo https://github.com/mananuf/traits [INFO] tweaked toml for git repo https://github.com/mananuf/traits written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mananuf/traits on toolchain d83b14207998f47b18a34e930157ac0d7c18b16e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mananuf/traits 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" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ecf8362a445fcf9ac1303939541f9a76a4d6782f84802e7fc6653ef99a6a773 [INFO] running `Command { std: "docker" "start" "-a" "6ecf8362a445fcf9ac1303939541f9a76a4d6782f84802e7fc6653ef99a6a773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ecf8362a445fcf9ac1303939541f9a76a4d6782f84802e7fc6653ef99a6a773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ecf8362a445fcf9ac1303939541f9a76a4d6782f84802e7fc6653ef99a6a773", kill_on_drop: false }` [INFO] [stdout] 6ecf8362a445fcf9ac1303939541f9a76a4d6782f84802e7fc6653ef99a6a773 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1df59ee30aefd902dbfe29229e700762422475b47e69947dffd982b2ad0a464 [INFO] running `Command { std: "docker" "start" "-a" "e1df59ee30aefd902dbfe29229e700762422475b47e69947dffd982b2ad0a464", kill_on_drop: false }` [INFO] [stderr] Checking traits v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Light` is never constructed [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum SkinColor { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 3 | Black, [INFO] [stdout] 4 | Light, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SkinColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `city`, and `country` are never read [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Address { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | state: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | city: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | country: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Address` 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 `age`, `sex`, `is_married`, and `skin_color` are never read [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct BioData { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | age: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | sex: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | is_married: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | skin_color: SkinColor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BioData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tutor` is never constructed [INFO] [stdout] --> src/main.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | struct Tutor { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl Tutor { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 73 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `attendance` is never used [INFO] [stdout] --> src/main.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 119 | trait Person: Debug { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 120 | fn attendance(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Light` is never constructed [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum SkinColor { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 3 | Black, [INFO] [stdout] 4 | Light, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SkinColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `city`, and `country` are never read [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Address { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | state: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | city: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | country: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Address` 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 `age`, `sex`, `is_married`, and `skin_color` are never read [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct BioData { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | age: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | sex: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | is_married: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | skin_color: SkinColor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BioData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tutor` is never constructed [INFO] [stdout] --> src/main.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | struct Tutor { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl Tutor { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 73 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `attendance` is never used [INFO] [stdout] --> src/main.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 119 | trait Person: Debug { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 120 | fn attendance(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "e1df59ee30aefd902dbfe29229e700762422475b47e69947dffd982b2ad0a464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1df59ee30aefd902dbfe29229e700762422475b47e69947dffd982b2ad0a464", kill_on_drop: false }` [INFO] [stdout] e1df59ee30aefd902dbfe29229e700762422475b47e69947dffd982b2ad0a464