[INFO] fetching crate containers-api 0.9.0... [INFO] checking containers-api-0.9.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate containers-api 0.9.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate containers-api 0.9.0 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate containers-api 0.9.0 [INFO] finished tweaking crates.io crate containers-api 0.9.0 [INFO] tweaked toml for crates.io crate containers-api 0.9.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 162 packages to latest compatible versions [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding hyper v0.14.31 (available: v1.5.1) [INFO] [stderr] Adding hyper-openssl v0.9.2 (available: v0.10.2) [INFO] [stderr] Adding hyperlocal v0.8.0 (available: v0.9.1) [INFO] [stderr] Adding memfile v0.2.1 (available: v0.3.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcd3df530b8fd0befe756419f77efae9e69f52dd36be67b39109c28ea060e61e [INFO] running `Command { std: "docker" "start" "-a" "dcd3df530b8fd0befe756419f77efae9e69f52dd36be67b39109c28ea060e61e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcd3df530b8fd0befe756419f77efae9e69f52dd36be67b39109c28ea060e61e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcd3df530b8fd0befe756419f77efae9e69f52dd36be67b39109c28ea060e61e", kill_on_drop: false }` [INFO] [stdout] dcd3df530b8fd0befe756419f77efae9e69f52dd36be67b39109c28ea060e61e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e13ba04efc0d43aea929e188fc778dfd81fe9219a872bdba9b715f7f0e2260a [INFO] running `Command { std: "docker" "start" "-a" "8e13ba04efc0d43aea929e188fc778dfd81fe9219a872bdba9b715f7f0e2260a", 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 rustix v0.38.41 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking tar v0.4.43 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking serde v1.0.215 [INFO] [stderr] Checking hyper v0.14.31 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking hyperlocal v0.8.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking containers-api v0.9.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/opts.rs (44 fixes) [INFO] [stderr] Fixed src/conn/transport.rs (4 fixes) [INFO] [stdout] warning: `impl futures_util::AsyncRead + futures_util::AsyncWrite` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/conn/client.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | ) -> Result [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] --> src/conn/client.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/conn/client.rs:353:19 [INFO] [stdout] | [INFO] [stdout] 353 | endpoint: impl AsRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 350 ~ async fn stream_upgrade>( [INFO] [stdout] 351 | &self, [INFO] [stdout] 352 | method: Method, [INFO] [stdout] 353 ~ endpoint: T, [INFO] [stdout] 354 | body: Payload, [INFO] [stdout] 355 ~ ) -> Result, E> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures_util::AsyncRead + futures_util::AsyncWrite` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/conn/client.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | ) -> Result [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] --> src/conn/client.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/conn/client.rs:353:19 [INFO] [stdout] | [INFO] [stdout] 353 | endpoint: impl AsRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 350 ~ async fn stream_upgrade>( [INFO] [stdout] 351 | &self, [INFO] [stdout] 352 | method: Method, [INFO] [stdout] 353 ~ endpoint: T, [INFO] [stdout] 354 | body: Payload, [INFO] [stdout] 355 ~ ) -> Result, E> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/conn/transport.rs:157:32 [INFO] [stdout] | [INFO] [stdout] 157 | while let Some(chnk) = body.next().await { [INFO] [stdout] | ---- ^^^^^^^^^^^^----- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `chnk` calls a custom destructor [INFO] [stdout] | `chnk` will be dropped later as of Edition 2024 [INFO] [stdout] 158 | match chnk { [INFO] [stdout] 159 | Ok(chnk) => { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `chnk` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `chnk` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.60s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking containers-api v0.9.0 (/tmp/fixit) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `self` [INFO] [stdout] --> src/conn/client.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | self.stream_upgrade(Method::POST, endpoint, body) [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________`self` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 265 | | .await [INFO] [stdout] 266 | | .map_err(E::from) [INFO] [stdout] | |_____________________________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/conn/client.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | self.stream_upgrade(Method::POST, endpoint, body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/conn/client.rs:353:19 [INFO] [stdout] | [INFO] [stdout] 353 | endpoint: impl AsRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 350 ~ async fn stream_upgrade>( [INFO] [stdout] 351 | &self, [INFO] [stdout] 352 | method: Method, [INFO] [stdout] 353 ~ endpoint: T, [INFO] [stdout] 354 | body: Payload, [INFO] [stdout] 355 ~ ) -> Result, E> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `self` [INFO] [stdout] --> src/conn/client.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | self.stream_upgrade(Method::POST, endpoint, body) [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________`self` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 265 | | .await [INFO] [stdout] 266 | | .map_err(E::from) [INFO] [stdout] | |_____________________________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/conn/client.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | self.stream_upgrade(Method::POST, endpoint, body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/conn/client.rs:353:19 [INFO] [stdout] | [INFO] [stdout] 353 | endpoint: impl AsRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 350 ~ async fn stream_upgrade>( [INFO] [stdout] 351 | &self, [INFO] [stdout] 352 | method: Method, [INFO] [stdout] 353 ~ endpoint: T, [INFO] [stdout] 354 | body: Payload, [INFO] [stdout] 355 ~ ) -> Result, E> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `E` may not live long enough [INFO] [stdout] --> src/conn/client.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | self.stream_upgrade(Method::POST, endpoint, body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `E` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `E` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 26 | impl + From + 'static> RequestClient { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `E` may not live long enough [INFO] [stdout] --> src/conn/client.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | self.stream_upgrade(Method::POST, endpoint, body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `E` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `E` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 26 | impl + From + 'static> RequestClient { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0310, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `containers-api` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0310, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `containers-api` (lib test) due to 2 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" "8e13ba04efc0d43aea929e188fc778dfd81fe9219a872bdba9b715f7f0e2260a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e13ba04efc0d43aea929e188fc778dfd81fe9219a872bdba9b715f7f0e2260a", kill_on_drop: false }` [INFO] [stdout] 8e13ba04efc0d43aea929e188fc778dfd81fe9219a872bdba9b715f7f0e2260a