[INFO] fetching crate thisctx 0.4.0... [INFO] building thisctx-0.4.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate thisctx 0.4.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate thisctx 0.4.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1e0684ad19b3000fc6a1ff6e7ceffa07d71df04aa6041c9bfaab26059038b2b [INFO] running `Command { std: "docker" "start" "-a" "e1e0684ad19b3000fc6a1ff6e7ceffa07d71df04aa6041c9bfaab26059038b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1e0684ad19b3000fc6a1ff6e7ceffa07d71df04aa6041c9bfaab26059038b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1e0684ad19b3000fc6a1ff6e7ceffa07d71df04aa6041c9bfaab26059038b2b", kill_on_drop: false }` [INFO] [stdout] e1e0684ad19b3000fc6a1ff6e7ceffa07d71df04aa6041c9bfaab26059038b2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4e1fa4f435fd9cc62bf258a997aff154b8203211f1e001be379e5de5f883b82 [INFO] running `Command { std: "docker" "start" "-a" "d4e1fa4f435fd9cc62bf258a997aff154b8203211f1e001be379e5de5f883b82", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thisctx_impl v0.4.0 [INFO] [stderr] Compiling thisctx v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.86s [INFO] running `Command { std: "docker" "inspect" "d4e1fa4f435fd9cc62bf258a997aff154b8203211f1e001be379e5de5f883b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4e1fa4f435fd9cc62bf258a997aff154b8203211f1e001be379e5de5f883b82", kill_on_drop: false }` [INFO] [stdout] d4e1fa4f435fd9cc62bf258a997aff154b8203211f1e001be379e5de5f883b82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01cd3d1e494e8a1e803403b8d5cc4fa3563edf466df82f56b9df942a1821e69a [INFO] running `Command { std: "docker" "start" "-a" "01cd3d1e494e8a1e803403b8d5cc4fa3563edf466df82f56b9df942a1821e69a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thisctx v0.4.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.25s [INFO] running `Command { std: "docker" "inspect" "01cd3d1e494e8a1e803403b8d5cc4fa3563edf466df82f56b9df942a1821e69a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01cd3d1e494e8a1e803403b8d5cc4fa3563edf466df82f56b9df942a1821e69a", kill_on_drop: false }` [INFO] [stdout] 01cd3d1e494e8a1e803403b8d5cc4fa3563edf466df82f56b9df942a1821e69a