[INFO] fetching crate tagged-union-macro 0.0.1... [INFO] checking tagged-union-macro-0.0.1 against master#0f6e1ae67854c3c44726e8376144c16b465fe7c6 for pr-129392 [INFO] extracting crate tagged-union-macro 0.0.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate tagged-union-macro 0.0.1 on toolchain 0f6e1ae67854c3c44726e8376144c16b465fe7c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f6e1ae67854c3c44726e8376144c16b465fe7c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tagged-union-macro 0.0.1 [INFO] finished tweaking crates.io crate tagged-union-macro 0.0.1 [INFO] tweaked toml for crates.io crate tagged-union-macro 0.0.1 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" "+0f6e1ae67854c3c44726e8376144c16b465fe7c6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f6e1ae67854c3c44726e8376144c16b465fe7c6" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+0f6e1ae67854c3c44726e8376144c16b465fe7c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff7a244680b7fdb9cbc51a8f9b1bf1c24c9107e054d55dca7b2a0c7a6b76c854 [INFO] running `Command { std: "docker" "start" "-a" "ff7a244680b7fdb9cbc51a8f9b1bf1c24c9107e054d55dca7b2a0c7a6b76c854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff7a244680b7fdb9cbc51a8f9b1bf1c24c9107e054d55dca7b2a0c7a6b76c854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff7a244680b7fdb9cbc51a8f9b1bf1c24c9107e054d55dca7b2a0c7a6b76c854", kill_on_drop: false }` [INFO] [stdout] ff7a244680b7fdb9cbc51a8f9b1bf1c24c9107e054d55dca7b2a0c7a6b76c854 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+0f6e1ae67854c3c44726e8376144c16b465fe7c6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11e922fc306f768195b4ffe76b2e12204651f843a8db2473369823903115e37c [INFO] running `Command { std: "docker" "start" "-a" "11e922fc306f768195b4ffe76b2e12204651f843a8db2473369823903115e37c", kill_on_drop: false }` [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking tagged-union-macro v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `generics` [INFO] [stdout] --> src/lib.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let generics: Generics = input.generics.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generics` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generics` [INFO] [stdout] --> src/lib.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let generics: Generics = input.generics.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generics` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/lib.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut items = create_cast_methods_from_orig_enum(input); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> src/lib.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | vis: &Visibility, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generics` [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | generics: &Generics, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let mut items = create_cast_methods_from_orig_enum(input); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> src/lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | vis: &Visibility, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generics` [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | generics: &Generics, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generics` [INFO] [stdout] --> src/lib.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | generics: &Generics, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lib.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | input: &DataEnum, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/lib.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut items = create_cast_methods_from_orig_enum(input); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> src/lib.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | vis: &Visibility, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generics` [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | generics: &Generics, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let mut items = create_cast_methods_from_orig_enum(input); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> src/lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | vis: &Visibility, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generics` [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | generics: &Generics, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generics` [INFO] [stdout] --> src/lib.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | generics: &Generics, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lib.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | input: &DataEnum, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ItemImplExt` is never used [INFO] [stdout] --> src/lib.rs:446:7 [INFO] [stdout] | [INFO] [stdout] 446 | trait ItemImplExt { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ItemImplExt` is never used [INFO] [stdout] --> src/lib.rs:446:7 [INFO] [stdout] | [INFO] [stdout] 446 | trait ItemImplExt { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.91s [INFO] running `Command { std: "docker" "inspect" "11e922fc306f768195b4ffe76b2e12204651f843a8db2473369823903115e37c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11e922fc306f768195b4ffe76b2e12204651f843a8db2473369823903115e37c", kill_on_drop: false }` [INFO] [stdout] 11e922fc306f768195b4ffe76b2e12204651f843a8db2473369823903115e37c