[INFO] fetching crate unused 0.1.0... [INFO] checking unused-0.1.0 against master#bbcc1691a4646a6d2ebb2189bdff5b878407fbe6 for pr-117351 [INFO] extracting crate unused 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate unused 0.1.0 on toolchain bbcc1691a4646a6d2ebb2189bdff5b878407fbe6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbcc1691a4646a6d2ebb2189bdff5b878407fbe6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unused 0.1.0 [INFO] finished tweaking crates.io crate unused 0.1.0 [INFO] tweaked toml for crates.io crate unused 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbcc1691a4646a6d2ebb2189bdff5b878407fbe6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbcc1691a4646a6d2ebb2189bdff5b878407fbe6" "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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+bbcc1691a4646a6d2ebb2189bdff5b878407fbe6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8e9c6a644534245214abb11adbbb9024ed171e984a7cda1012212c28590e0ca [INFO] running `Command { std: "docker" "start" "-a" "c8e9c6a644534245214abb11adbbb9024ed171e984a7cda1012212c28590e0ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8e9c6a644534245214abb11adbbb9024ed171e984a7cda1012212c28590e0ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8e9c6a644534245214abb11adbbb9024ed171e984a7cda1012212c28590e0ca", kill_on_drop: false }` [INFO] [stdout] c8e9c6a644534245214abb11adbbb9024ed171e984a7cda1012212c28590e0ca [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" "-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+bbcc1691a4646a6d2ebb2189bdff5b878407fbe6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 450b675cfa85ac67ceea9defd72e304e30b8b3d4c9b201eb71fb0bfccef4fa70 [INFO] running `Command { std: "docker" "start" "-a" "450b675cfa85ac67ceea9defd72e304e30b8b3d4c9b201eb71fb0bfccef4fa70", kill_on_drop: false }` [INFO] [stderr] Checking unused v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/contravariant.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/contravariant.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/contravariant.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/contravariant.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/contravariant.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/contravariant.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/contravariant.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/contravariant.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/contravariant.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/contravariant.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/contravariant.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/contravariant.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/contravariant.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/contravariant.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/covariant.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/covariant.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/covariant.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/covariant.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/covariant.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/covariant.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/covariant.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/covariant.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/covariant.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/covariant.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/covariant.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/covariant.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/covariant.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/covariant.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/invariant.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/invariant.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/invariant.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/invariant.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/invariant.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/invariant.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/invariant.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/invariant.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/invariant.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/invariant.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/invariant.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/invariant.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/invariant.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `End`, which is uninhabited [INFO] [stdout] --> src/invariant.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/contravariant.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/contravariant.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/contravariant.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/contravariant.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/contravariant.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/contravariant.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/contravariant.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/contravariant.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/contravariant.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/contravariant.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/contravariant.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/contravariant.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/contravariant.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/contravariant.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/covariant.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/covariant.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/covariant.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/covariant.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/covariant.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/covariant.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/covariant.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/covariant.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/covariant.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/covariant.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/covariant.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/covariant.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/covariant.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/covariant.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/invariant.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/invariant.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/invariant.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/invariant.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/invariant.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/invariant.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/invariant.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/invariant.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/invariant.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/invariant.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/invariant.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/invariant.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/invariant.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^--------------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `end::End`, which is uninhabited [INFO] [stdout] --> src/invariant.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | match self.inconstruable() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "450b675cfa85ac67ceea9defd72e304e30b8b3d4c9b201eb71fb0bfccef4fa70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "450b675cfa85ac67ceea9defd72e304e30b8b3d4c9b201eb71fb0bfccef4fa70", kill_on_drop: false }` [INFO] [stdout] 450b675cfa85ac67ceea9defd72e304e30b8b3d4c9b201eb71fb0bfccef4fa70 [INFO] checking unused-0.1.0 against try#ac89e27721b9b4d1482ebc87f2f83b4e23d49d71 for pr-117351 [INFO] extracting crate unused 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate unused 0.1.0 on toolchain ac89e27721b9b4d1482ebc87f2f83b4e23d49d71 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac89e27721b9b4d1482ebc87f2f83b4e23d49d71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unused 0.1.0 [INFO] finished tweaking crates.io crate unused 0.1.0 [INFO] tweaked toml for crates.io crate unused 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac89e27721b9b4d1482ebc87f2f83b4e23d49d71" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac89e27721b9b4d1482ebc87f2f83b4e23d49d71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+ac89e27721b9b4d1482ebc87f2f83b4e23d49d71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 413c28b5ea4b2a340d7380d143c95160ce03cbecf8a6d7f2f112ac75a8778203 [INFO] running `Command { std: "docker" "start" "-a" "413c28b5ea4b2a340d7380d143c95160ce03cbecf8a6d7f2f112ac75a8778203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "413c28b5ea4b2a340d7380d143c95160ce03cbecf8a6d7f2f112ac75a8778203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "413c28b5ea4b2a340d7380d143c95160ce03cbecf8a6d7f2f112ac75a8778203", kill_on_drop: false }` [INFO] [stdout] 413c28b5ea4b2a340d7380d143c95160ce03cbecf8a6d7f2f112ac75a8778203 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+ac89e27721b9b4d1482ebc87f2f83b4e23d49d71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f5079373b3b5d91e8e6c42865d53d99b2c8f10e1ad96d365274aff2ebfcf047 [INFO] running `Command { std: "docker" "start" "-a" "0f5079373b3b5d91e8e6c42865d53d99b2c8f10e1ad96d365274aff2ebfcf047", kill_on_drop: false }` [INFO] [stderr] Checking unused v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the size for values of type `T` cannot be known at compilation time [INFO] [stdout] --> src/covariant.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Covariant { [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] 10 | _t: fn() -> T, [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 9 - pub struct Covariant { [INFO] [stdout] 9 + pub struct Covariant { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `T` cannot be known at compilation time [INFO] [stdout] --> src/invariant.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Invariant { [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] 10 | _t: fn(T) -> T, [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 9 - pub struct Invariant { [INFO] [stdout] 9 + pub struct Invariant { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `T` cannot be known at compilation time [INFO] [stdout] --> src/covariant.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Covariant { [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] 10 | _t: fn() -> T, [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 9 - pub struct Covariant { [INFO] [stdout] 9 + pub struct Covariant { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `T` cannot be known at compilation time [INFO] [stdout] --> src/invariant.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Invariant { [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] 10 | _t: fn(T) -> T, [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 9 - pub struct Invariant { [INFO] [stdout] 9 + pub struct Invariant { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unused` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unused` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "0f5079373b3b5d91e8e6c42865d53d99b2c8f10e1ad96d365274aff2ebfcf047", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f5079373b3b5d91e8e6c42865d53d99b2c8f10e1ad96d365274aff2ebfcf047", kill_on_drop: false }` [INFO] [stdout] 0f5079373b3b5d91e8e6c42865d53d99b2c8f10e1ad96d365274aff2ebfcf047