[INFO] fetching crate derive_is_enum_variant 0.1.1... [INFO] checking derive_is_enum_variant-0.1.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate derive_is_enum_variant 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate derive_is_enum_variant 0.1.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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.79) [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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83c092805311abefe93dfa01b04cfd9f670a8ca66952c4dcaa2f91f04578e166 [INFO] running `Command { std: "docker" "start" "-a" "83c092805311abefe93dfa01b04cfd9f670a8ca66952c4dcaa2f91f04578e166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83c092805311abefe93dfa01b04cfd9f670a8ca66952c4dcaa2f91f04578e166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c092805311abefe93dfa01b04cfd9f670a8ca66952c4dcaa2f91f04578e166", kill_on_drop: false }` [INFO] [stdout] 83c092805311abefe93dfa01b04cfd9f670a8ca66952c4dcaa2f91f04578e166 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9530d7d68de1d64426b8e1b754dffc9d24415180bc15f82cb4131f3a3c4f0193 [INFO] running `Command { std: "docker" "start" "-a" "9530d7d68de1d64426b8e1b754dffc9d24415180bc15f82cb4131f3a3c4f0193", 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] Checking 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: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: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] [stderr] error: could not compile `derive_is_enum_variant` (test "tests") due to 12 previous errors [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] running `Command { std: "docker" "inspect" "9530d7d68de1d64426b8e1b754dffc9d24415180bc15f82cb4131f3a3c4f0193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9530d7d68de1d64426b8e1b754dffc9d24415180bc15f82cb4131f3a3c4f0193", kill_on_drop: false }` [INFO] [stdout] 9530d7d68de1d64426b8e1b754dffc9d24415180bc15f82cb4131f3a3c4f0193