[INFO] fetching crate warg-loader 0.0.6... [INFO] checking warg-loader-0.0.6 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate warg-loader 0.0.6 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate warg-loader 0.0.6 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 warg-loader 0.0.6 [INFO] finished tweaking crates.io crate warg-loader 0.0.6 [INFO] tweaked toml for crates.io crate warg-loader 0.0.6 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate warg-loader 0.0.6 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] a9df996e6c255b3a04d65472b9ccb98bf35787701a8881153d300c55e786bb31 [INFO] running `Command { std: "docker" "start" "-a" "a9df996e6c255b3a04d65472b9ccb98bf35787701a8881153d300c55e786bb31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9df996e6c255b3a04d65472b9ccb98bf35787701a8881153d300c55e786bb31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9df996e6c255b3a04d65472b9ccb98bf35787701a8881153d300c55e786bb31", kill_on_drop: false }` [INFO] [stdout] a9df996e6c255b3a04d65472b9ccb98bf35787701a8881153d300c55e786bb31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d091c16b6bb0acb0a1ff0f97754ef8df5e408141076252ee39852502f34fca60 [INFO] running `Command { std: "docker" "start" "-a" "d091c16b6bb0acb0a1ff0f97754ef8df5e408141076252ee39852502f34fca60", 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.74 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking wasm-encoder v0.201.0 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking bumpalo v3.14.0 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking wast v201.0.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking tint v1.0.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking winnow v0.5.32 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking http-auth v0.1.8 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking normpath v1.2.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling logos v0.13.0 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Compiling async-recursion v1.1.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.7.0 [INFO] [stderr] Checking prost-types v0.12.3 [INFO] [stderr] Checking clap v4.5.3 [INFO] [stderr] Checking wat v1.201.0 [INFO] [stderr] Compiling pbjson-build v0.6.2 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling prost-reflect v0.12.0 [INFO] [stderr] Compiling protox-parse v0.5.0 [INFO] [stderr] Compiling pbjson-types v0.6.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking sha256 v1.5.0 [INFO] [stderr] Compiling protox v0.5.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking pbjson v0.6.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_with v3.7.0 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking warg-crypto v0.4.1 [INFO] [stderr] Compiling warg-protobuf v0.4.1 [INFO] [stderr] Checking wasmparser v0.121.2 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking h2 v0.4.3 [INFO] [stderr] Checking serde_yaml v0.9.33 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking jwt v0.16.0 [INFO] [stderr] Checking olpc-cjson v0.1.3 [INFO] [stderr] Checking docker_credential v1.2.1 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking ptree v0.4.0 [INFO] [stderr] Checking warg-transparency v0.4.1 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking warg-protocol v0.4.1 [INFO] [stderr] Checking wasm-encoder v0.41.2 [INFO] [stderr] Checking wasmprinter v0.2.80 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking warg-api v0.4.1 [INFO] [stderr] Checking wasm-compose v0.5.5 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking warg-client v0.4.1 [INFO] [stderr] Checking oci-distribution v0.10.0 [INFO] [stderr] Checking warg-loader v0.0.6 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/release.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | ) -> impl Stream> { [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/release.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | &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/release.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | stream: impl TryStream, [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] 37 ~ pub fn validating_stream>( [INFO] [stdout] 38 | &self, [INFO] [stdout] 39 ~ stream: T, [INFO] [stdout] 40 ~ ) -> impl Stream> + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/source/local.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | while let Some(entry) = entries.next_entry().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] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `entry` calls a custom destructor [INFO] [stdout] | `entry` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let Some(version) = path [INFO] [stdout] | _________________________________- [INFO] [stdout] 52 | | .file_stem() [INFO] [stdout] 53 | | .unwrap() [INFO] [stdout] 54 | | .to_str() [INFO] [stdout] 55 | | .and_then(|stem| Version::parse(stem).ok()) [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] 61 | } [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` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/sys/pal/unix/fs.rs:857:1 [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/sys/pal/unix/fs.rs:857:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/sys/pal/unix/fs.rs:857:1 [INFO] [stdout] note: `entry` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] note: `entry` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/sys/pal/unix/fs.rs:857:1 [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/semver-1.0.22/src/identifier.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | impl Drop for Identifier { [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] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/release.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | ) -> impl Stream> { [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/release.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | &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/release.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | stream: impl TryStream, [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] 37 ~ pub fn validating_stream>( [INFO] [stdout] 38 | &self, [INFO] [stdout] 39 ~ stream: T, [INFO] [stdout] 40 ~ ) -> impl Stream> + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.59s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking warg-loader v0.0.6 (/tmp/fixit) [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/source.rs:32:57 [INFO] [stdout] | [INFO] [stdout] 29 | &mut self, [INFO] [stdout] | - lifetime `'life0` defined here [INFO] [stdout] 30 | package: &PackageRef, [INFO] [stdout] 31 | release: &Release, [INFO] [stdout] | - lifetime `'life2` defined here [INFO] [stdout] 32 | ) -> Result>, Error> { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 33 | | let stream = self.stream_content_unvalidated(package, release).await?; [INFO] [stdout] 34 | | Ok(release.content_digest.validating_stream(stream).boxed()) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ method was supposed to return data with lifetime `'life0` but it is returning data with lifetime `'life2` [INFO] [stdout] | [INFO] [stdout] = help: consider adding the following bound: `'life2: 'life0` [INFO] [stdout] help: consider reusing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 32 | ) -> Result>, Error> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/source.rs:32:57 [INFO] [stdout] | [INFO] [stdout] 29 | &mut self, [INFO] [stdout] | - lifetime `'life0` defined here [INFO] [stdout] 30 | package: &PackageRef, [INFO] [stdout] 31 | release: &Release, [INFO] [stdout] | - lifetime `'life2` defined here [INFO] [stdout] 32 | ) -> Result>, Error> { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 33 | | let stream = self.stream_content_unvalidated(package, release).await?; [INFO] [stdout] 34 | | Ok(release.content_digest.validating_stream(stream).boxed()) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ method was supposed to return data with lifetime `'life0` but it is returning data with lifetime `'life2` [INFO] [stdout] | [INFO] [stdout] = help: consider adding the following bound: `'life2: 'life0` [INFO] [stdout] help: consider reusing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 32 | ) -> Result>, Error> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warg-loader` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `warg-loader` (lib) due to 1 previous error [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" "d091c16b6bb0acb0a1ff0f97754ef8df5e408141076252ee39852502f34fca60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d091c16b6bb0acb0a1ff0f97754ef8df5e408141076252ee39852502f34fca60", kill_on_drop: false }` [INFO] [stdout] d091c16b6bb0acb0a1ff0f97754ef8df5e408141076252ee39852502f34fca60