[INFO] fetching crate derive_is_enum_variant 0.1.1... [INFO] checking derive_is_enum_variant-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate derive_is_enum_variant 0.1.1 into /workspace/builds/worker-3-tc2/source [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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate derive_is_enum_variant 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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.40) [INFO] [stderr] Adding syn v0.11.11 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8fd30b4632dde941b9135e92956ed1c5df3c51bd86e78e3a53c943ac7a81ceb [INFO] running `Command { std: "docker" "start" "-a" "b8fd30b4632dde941b9135e92956ed1c5df3c51bd86e78e3a53c943ac7a81ceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8fd30b4632dde941b9135e92956ed1c5df3c51bd86e78e3a53c943ac7a81ceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8fd30b4632dde941b9135e92956ed1c5df3c51bd86e78e3a53c943ac7a81ceb", kill_on_drop: false }` [INFO] [stdout] b8fd30b4632dde941b9135e92956ed1c5df3c51bd86e78e3a53c943ac7a81ceb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 929752a51c93f70e39d27a424f150f1f9890734c108d0da3af59803fceac6918 [INFO] running `Command { std: "docker" "start" "-a" "929752a51c93f70e39d27a424f150f1f9890734c108d0da3af59803fceac6918", 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 2024 [INFO] [stderr] Checking unicode-xid v0.0.4 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking quote v0.3.15 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking 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: `...` 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] 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] [stderr] error: could not compile `derive_is_enum_variant` (test "tests") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "929752a51c93f70e39d27a424f150f1f9890734c108d0da3af59803fceac6918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "929752a51c93f70e39d27a424f150f1f9890734c108d0da3af59803fceac6918", kill_on_drop: false }` [INFO] [stdout] 929752a51c93f70e39d27a424f150f1f9890734c108d0da3af59803fceac6918