[INFO] fetching crate derive_is_enum_variant 0.1.1... [INFO] checking derive_is_enum_variant-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate derive_is_enum_variant 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate derive_is_enum_variant 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate derive_is_enum_variant 0.1.1 [INFO] finished tweaking crates.io crate derive_is_enum_variant 0.1.1 [INFO] tweaked toml for crates.io crate derive_is_enum_variant 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding quote v0.3.15 (available: v1.0.37) [INFO] [stderr] Adding syn v0.11.11 (available: v2.0.77) [INFO] [stderr] Adding unicode-xid v0.0.4 (available: v0.2.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `derive_is_enum_variant` library target) [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67dd75ba63bee4bff2a512f057ac04700c3d4f314a563f9ac7c16b521db7dd62 [INFO] running `Command { std: "docker" "start" "-a" "67dd75ba63bee4bff2a512f057ac04700c3d4f314a563f9ac7c16b521db7dd62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67dd75ba63bee4bff2a512f057ac04700c3d4f314a563f9ac7c16b521db7dd62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67dd75ba63bee4bff2a512f057ac04700c3d4f314a563f9ac7c16b521db7dd62", kill_on_drop: false }` [INFO] [stdout] 67dd75ba63bee4bff2a512f057ac04700c3d4f314a563f9ac7c16b521db7dd62 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe7823079218613a103bd40798ae10694cd75a44c2c334bd0dd641c2e4f489b8 [INFO] running `Command { std: "docker" "start" "-a" "fe7823079218613a103bd40798ae10694cd75a44c2c334bd0dd641c2e4f489b8", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `derive_is_enum_variant` library target) [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking unicode-xid v0.0.4 [INFO] [stderr] Checking quote v0.3.15 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking syn v0.11.11 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking derive_is_enum_variant v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | '_' | 'a'...'z' | 'A'...'Z' | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:143:42 [INFO] [stdout] | [INFO] [stdout] 143 | '_' | 'a'...'z' | 'A'...'Z' | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:143:54 [INFO] [stdout] | [INFO] [stdout] 143 | '_' | 'a'...'z' | 'A'...'Z' | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | '_' | 'a'...'z' | 'A'...'Z' | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:143:42 [INFO] [stdout] | [INFO] [stdout] 143 | '_' | 'a'...'z' | 'A'...'Z' | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:143:54 [INFO] [stdout] | [INFO] [stdout] 143 | '_' | 'a'...'z' | 'A'...'Z' | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | '_' | 'a'...'z' | 'A'...'Z' | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:143:42 [INFO] [stdout] | [INFO] [stdout] 143 | '_' | 'a'...'z' | 'A'...'Z' | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:143:54 [INFO] [stdout] | [INFO] [stdout] 143 | '_' | 'a'...'z' | 'A'...'Z' | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for the crate [INFO] [stdout] --> tests/tests.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / #![deny(missing_docs)] [INFO] [stdout] 3 | | #![deny(unreachable_patterns)] [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | /// Tests for `#[derive(is_enum_variant)]`. [INFO] [stdout] ... | [INFO] [stdout] 154 | | OnlyOneVariant, [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> tests/tests.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> tests/tests.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | Struct { x: usize, y: usize }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a struct field [INFO] [stdout] --> tests/tests.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | Struct { x: usize, y: usize }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a struct field [INFO] [stdout] --> tests/tests.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | Struct { x: usize, y: usize }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> tests/tests.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | Tuple(usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> tests/tests.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> tests/tests.rs:126:58 [INFO] [stdout] | [INFO] [stdout] 126 | #[is_enum_variant(name = "i_dont_know_why_you_say")] Goodbye, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> tests/tests.rs:127:40 [INFO] [stdout] | [INFO] [stdout] 127 | #[is_enum_variant(name = "i_say")] Hello, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> tests/tests.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | #[is_enum_variant(skip)] NoPredicate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> tests/tests.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | YesPredicate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> tests/tests.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | OnlyOneVariant, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `derive_is_enum_variant` (test "tests") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "fe7823079218613a103bd40798ae10694cd75a44c2c334bd0dd641c2e4f489b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe7823079218613a103bd40798ae10694cd75a44c2c334bd0dd641c2e4f489b8", kill_on_drop: false }` [INFO] [stdout] fe7823079218613a103bd40798ae10694cd75a44c2c334bd0dd641c2e4f489b8