[INFO] fetching crate thisctx 0.4.0... [INFO] checking thisctx-0.4.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate thisctx 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate thisctx 0.4.0 [INFO] finished tweaking crates.io crate thisctx 0.4.0 [INFO] tweaked toml for crates.io crate thisctx 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate thisctx 0.4.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thisctx_impl v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09330c1448184958f511dab79e31974d4a55e61f5cc8bd0c057c0c03c2e834cb [INFO] running `Command { std: "docker" "start" "-a" "09330c1448184958f511dab79e31974d4a55e61f5cc8bd0c057c0c03c2e834cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09330c1448184958f511dab79e31974d4a55e61f5cc8bd0c057c0c03c2e834cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09330c1448184958f511dab79e31974d4a55e61f5cc8bd0c057c0c03c2e834cb", kill_on_drop: false }` [INFO] [stdout] 09330c1448184958f511dab79e31974d4a55e61f5cc8bd0c057c0c03c2e834cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 495596aa5ad92134f00b287d08482dfc03ab19ae3fb6a464ca6b501b0ee4175f [INFO] running `Command { std: "docker" "start" "-a" "495596aa5ad92134f00b287d08482dfc03ab19ae3fb6a464ca6b501b0ee4175f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thisctx_impl v0.4.0 [INFO] [stderr] Checking thisctx v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> tests/no_std.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Error { [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] --> tests/attr_visibility.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | PubVariant(#[thisctx(visibility = "pub(crate)")] i32), [INFO] [stdout] | ---------- field in this variant ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 13 - PubVariant(#[thisctx(visibility = "pub(crate)")] i32), [INFO] [stdout] 13 + PubVariant(#[thisctx(visibility = "pub(crate)")] ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/attr_visibility.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | PubCrateVariant(i32), [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 14 - PubCrateVariant(i32), [INFO] [stdout] 14 + PubCrateVariant(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HelloWorld` is never constructed [INFO] [stdout] --> tests/impl_trait.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct HelloWorld(&'static str); [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] --> tests/attr_module.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Variant1(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 6 - Variant1(String), [INFO] [stdout] 6 + Variant1(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/attr_module.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | Variant2(i32), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 7 - Variant2(i32), [INFO] [stdout] 7 + Variant2(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/attr_module.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | Variant1(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 13 - Variant1(String), [INFO] [stdout] 13 + Variant1(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/attr_module.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | Variant2(i32), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 14 - Variant2(i32), [INFO] [stdout] 14 + Variant2(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/attr_generic.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | GeneratedGeneric(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 7 - GeneratedGeneric(String), [INFO] [stdout] 7 + GeneratedGeneric(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> tests/attr_generic.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | NoGeneratedGenericOnField(String, #[thisctx(no_generic)] String, String), [INFO] [stdout] | ------------------------- ^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 9 - NoGeneratedGenericOnField(String, #[thisctx(no_generic)] String, String), [INFO] [stdout] 9 + NoGeneratedGenericOnField((), #[thisctx(no_generic)] (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/attr_generic.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | NoGeneratedGeneric(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 10 - NoGeneratedGeneric(String), [INFO] [stdout] 10 + NoGeneratedGeneric(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EmptyGeneric` is never used [INFO] [stdout] --> tests/generics.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum EmptyGeneric { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EmptyLifetime` is never used [INFO] [stdout] --> tests/generics.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum EmptyLifetime<'a, 'b> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BoundedGeneric` is never used [INFO] [stdout] --> tests/generics.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum BoundedGeneric, T2> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BoundedLifetime` is never used [INFO] [stdout] --> tests/generics.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | enum BoundedLifetime<'a, 'b: 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnusedLifetime` is never used [INFO] [stdout] --> tests/generics.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | enum UnusedLifetime<'a, 'b> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnusedGeneric` is never used [INFO] [stdout] --> tests/generics.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | enum UnusedGeneric { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> tests/generics.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | struct GenericDefault(T1, String, T2); [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [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] 55 - struct GenericDefault(T1, String, T2); [INFO] [stdout] 55 + struct GenericDefault(T1, (), T2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.96s [INFO] running `Command { std: "docker" "inspect" "495596aa5ad92134f00b287d08482dfc03ab19ae3fb6a464ca6b501b0ee4175f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "495596aa5ad92134f00b287d08482dfc03ab19ae3fb6a464ca6b501b0ee4175f", kill_on_drop: false }` [INFO] [stdout] 495596aa5ad92134f00b287d08482dfc03ab19ae3fb6a464ca6b501b0ee4175f