[INFO] fetching crate thisctx 0.4.0... [INFO] checking thisctx-0.4.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate thisctx 0.4.0 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate thisctx 0.4.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22a29ef8dbe25398919112fd2285fc252070b4ffff60e206faf0625aa0229f85 [INFO] running `Command { std: "docker" "start" "-a" "22a29ef8dbe25398919112fd2285fc252070b4ffff60e206faf0625aa0229f85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22a29ef8dbe25398919112fd2285fc252070b4ffff60e206faf0625aa0229f85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22a29ef8dbe25398919112fd2285fc252070b4ffff60e206faf0625aa0229f85", kill_on_drop: false }` [INFO] [stdout] 22a29ef8dbe25398919112fd2285fc252070b4ffff60e206faf0625aa0229f85 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ba1c50803de4cee8924b092db40eb254ab6892cad1d7aa32f9c56a6911bf01e [INFO] running `Command { std: "docker" "start" "-a" "5ba1c50803de4cee8924b092db40eb254ab6892cad1d7aa32f9c56a6911bf01e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thisctx_impl v0.4.0 [INFO] [stderr] Checking thisctx v0.4.0 (/opt/rustwide/workdir) [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_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: 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_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: 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: 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 4.67s [INFO] running `Command { std: "docker" "inspect" "5ba1c50803de4cee8924b092db40eb254ab6892cad1d7aa32f9c56a6911bf01e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ba1c50803de4cee8924b092db40eb254ab6892cad1d7aa32f9c56a6911bf01e", kill_on_drop: false }` [INFO] [stdout] 5ba1c50803de4cee8924b092db40eb254ab6892cad1d7aa32f9c56a6911bf01e