[INFO] fetching crate haddock 0.2.1... [INFO] checking haddock-0.2.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate haddock 0.2.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate haddock 0.2.1 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 haddock 0.2.1 [INFO] finished tweaking crates.io crate haddock 0.2.1 [INFO] tweaked toml for crates.io crate haddock 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate haddock 0.2.1 already has a lockfile, it will not be regenerated [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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9e73b2f9099929e5feb46718dea5c141ef93d298ba0a053f9a15d75a7cdd53d [INFO] running `Command { std: "docker" "start" "-a" "c9e73b2f9099929e5feb46718dea5c141ef93d298ba0a053f9a15d75a7cdd53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9e73b2f9099929e5feb46718dea5c141ef93d298ba0a053f9a15d75a7cdd53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9e73b2f9099929e5feb46718dea5c141ef93d298ba0a053f9a15d75a7cdd53d", kill_on_drop: false }` [INFO] [stdout] c9e73b2f9099929e5feb46718dea5c141ef93d298ba0a053f9a15d75a7cdd53d [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25765b05582f8dee1110e961db61a3301aef25415162d6dd7cb96d24ac16eab4 [INFO] running `Command { std: "docker" "start" "-a" "25765b05582f8dee1110e961db61a3301aef25415162d6dd7cb96d24ac16eab4", 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] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking lock_api v0.4.11 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling rust_decimal v1.33.1 [INFO] [stderr] Compiling portable-atomic v1.3.2 [INFO] [stderr] Checking utf8-width v0.1.6 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling figment v0.10.13 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.109 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking clap_builder v4.4.12 [INFO] [stderr] Checking newline-converter v0.2.2 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking path-dedot v3.1.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking dyn-clone v1.0.11 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking path-absolutize v3.1.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling darling_core v0.20.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking temp-env v0.3.6 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pear_codegen v0.2.4 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pear v0.2.4 [INFO] [stderr] Compiling darling_macro v0.20.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking parse-hyperlinks v0.27.2 [INFO] [stderr] Checking inquire v0.6.2 [INFO] [stderr] Compiling darling v0.20.0 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Compiling automod v1.0.13 [INFO] [stderr] Compiling test-generator v0.3.1 [INFO] [stderr] Checking clap v4.4.12 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.7 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking byte-unit v5.1.2 [INFO] [stderr] Checking serde_ignored v0.1.9 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking serde_with v3.4.0 [INFO] [stderr] Checking serde_yaml v0.9.29 [INFO] [stderr] Checking haddock v0.2.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/compose.rs (1 fix) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/events.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | while let Some(line) = output.try_next().await? { [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] --> src/commands/events.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | } [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] --> src/commands/logs.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | while let Some(line) = output.try_next().await? { [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] --> src/commands/logs.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/commands/events.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | while let Some(line) = output.try_next().await? { [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] --> src/commands/events.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | } [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] --> src/commands/logs.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | while let Some(line) = output.try_next().await? { [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] --> src/commands/logs.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.85s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking haddock v0.2.1 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/commands/stop.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 83 | ... .chain( [INFO] [stdout] | ----- borrow later used by call [INFO] [stdout] 84 | ... if let Some(timeout) = [INFO] [stdout] 85 | ... &args.timeout.map(|timeout| timeout.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 88 | ... } else { [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/commands/stop.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 83 | ... .chain( [INFO] [stdout] | ----- borrow later used by call [INFO] [stdout] 84 | ... if let Some(timeout) = [INFO] [stdout] 85 | ... &args.timeout.map(|timeout| timeout.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 88 | ... } else { [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/commands/restart.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 83 | ... .chain( [INFO] [stdout] | ----- borrow later used by call [INFO] [stdout] 84 | ... if let Some(timeout) = [INFO] [stdout] 85 | ... &args.timeout.map(|timeout| timeout.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 88 | ... } else { [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/commands/restart.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 83 | ... .chain( [INFO] [stdout] | ----- borrow later used by call [INFO] [stdout] 84 | ... if let Some(timeout) = [INFO] [stdout] 85 | ... &args.timeout.map(|timeout| timeout.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 88 | ... } else { [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `haddock` (bin "haddock") 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] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `haddock` (bin "haddock" test) 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" "25765b05582f8dee1110e961db61a3301aef25415162d6dd7cb96d24ac16eab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25765b05582f8dee1110e961db61a3301aef25415162d6dd7cb96d24ac16eab4", kill_on_drop: false }` [INFO] [stdout] 25765b05582f8dee1110e961db61a3301aef25415162d6dd7cb96d24ac16eab4