[INFO] fetching crate docbot-derive 0.3.0-alpha.2... [INFO] checking docbot-derive-0.3.0-alpha.2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate docbot-derive 0.3.0-alpha.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate docbot-derive 0.3.0-alpha.2 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate docbot-derive 0.3.0-alpha.2 [INFO] finished tweaking crates.io crate docbot-derive 0.3.0-alpha.2 [INFO] tweaked toml for crates.io crate docbot-derive 0.3.0-alpha.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae4818fcba2cfa4c7c9fb8d2efdb7897eedfa7e106f98f2d41beb37bc1364496 [INFO] running `Command { std: "docker" "start" "-a" "ae4818fcba2cfa4c7c9fb8d2efdb7897eedfa7e106f98f2d41beb37bc1364496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae4818fcba2cfa4c7c9fb8d2efdb7897eedfa7e106f98f2d41beb37bc1364496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae4818fcba2cfa4c7c9fb8d2efdb7897eedfa7e106f98f2d41beb37bc1364496", kill_on_drop: false }` [INFO] [stdout] ae4818fcba2cfa4c7c9fb8d2efdb7897eedfa7e106f98f2d41beb37bc1364496 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edf4e5e4b8318ea5a1da35fb0f81feb19eddb466eadc7c4fa3efffd4fbe39f9a [INFO] running `Command { std: "docker" "start" "-a" "edf4e5e4b8318ea5a1da35fb0f81feb19eddb466eadc7c4fa3efffd4fbe39f9a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking docbot-derive v0.3.0-alpha.2 (/tmp/fixit) [INFO] [stderr] Migrating lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed inputs/mod.rs (1 fix) [INFO] [stderr] Fixed docs.rs (1 fix) [INFO] [stderr] Fixed attrs.rs (1 fix) [INFO] [stdout] warning: field `is_id` is never read [INFO] [stdout] --> bits/path.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PathParts { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 8 | pub is_id: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl ToTokens` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> bits/id.rs:18:72 [INFO] [stdout] | [INFO] [stdout] 18 | fn parse_ambiguous(span: Span, s: impl ToTokens, values: Vec<&str>) -> impl ToTokens { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> bits/id.rs:18:62 [INFO] [stdout] | [INFO] [stdout] 18 | fn parse_ambiguous(span: Span, s: impl ToTokens, values: Vec<&str>) -> impl ToTokens { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> docs.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | while let Some(req) = REQUIRED_ARG_RE.captures(usage) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> docs.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> docs.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | while let Some(opt) = OPTIONAL_ARG_RE.captures(usage) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> docs.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_id` is never read [INFO] [stdout] --> bits/path.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PathParts { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 8 | pub is_id: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl ToTokens` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> bits/id.rs:18:72 [INFO] [stdout] | [INFO] [stdout] 18 | fn parse_ambiguous(span: Span, s: impl ToTokens, values: Vec<&str>) -> impl ToTokens { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> bits/id.rs:18:62 [INFO] [stdout] | [INFO] [stdout] 18 | fn parse_ambiguous(span: Span, s: impl ToTokens, values: Vec<&str>) -> impl ToTokens { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> docs.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | while let Some(req) = REQUIRED_ARG_RE.captures(usage) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> docs.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> docs.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | while let Some(opt) = OPTIONAL_ARG_RE.captures(usage) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> docs.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.30s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking docbot-derive v0.3.0-alpha.2 (/tmp/fixit) [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> bits/id.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | |v| parse_ambiguous(input.span, &parse_s, v), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | || [INFO] [stdout] | |return type of closure `impl ToTokens` contains a lifetime `'2` [INFO] [stdout] | has type `Vec<&'1 str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> bits/id.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | |v| parse_ambiguous(input.span, &parse_s, v), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | || [INFO] [stdout] | |return type of closure `impl ToTokens` contains a lifetime `'2` [INFO] [stdout] | has type `Vec<&'1 str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> bits/id.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | |v| parse_ambiguous(input.span, &parse_s, v), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | || [INFO] [stdout] | |return type of closure `impl ToTokens` contains a lifetime `'2` [INFO] [stdout] | has type `Vec<&'1 str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> bits/id.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | |v| parse_ambiguous(input.span, &parse_s, v), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | || [INFO] [stdout] | |return type of closure `impl ToTokens` contains a lifetime `'2` [INFO] [stdout] | has type `Vec<&'1 str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `docbot-derive` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `docbot-derive` (lib) due to 3 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "edf4e5e4b8318ea5a1da35fb0f81feb19eddb466eadc7c4fa3efffd4fbe39f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edf4e5e4b8318ea5a1da35fb0f81feb19eddb466eadc7c4fa3efffd4fbe39f9a", kill_on_drop: false }` [INFO] [stdout] edf4e5e4b8318ea5a1da35fb0f81feb19eddb466eadc7c4fa3efffd4fbe39f9a