[INFO] fetching crate warg-loader 0.0.6... [INFO] checking warg-loader-0.0.6 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate warg-loader 0.0.6 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate warg-loader 0.0.6 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 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-7-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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfad3dc4d1309862316f7396155c2c61c924072aaa3bd7fb9fd50d599b9bfe72 [INFO] running `Command { std: "docker" "start" "-a" "dfad3dc4d1309862316f7396155c2c61c924072aaa3bd7fb9fd50d599b9bfe72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfad3dc4d1309862316f7396155c2c61c924072aaa3bd7fb9fd50d599b9bfe72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfad3dc4d1309862316f7396155c2c61c924072aaa3bd7fb9fd50d599b9bfe72", kill_on_drop: false }` [INFO] [stdout] dfad3dc4d1309862316f7396155c2c61c924072aaa3bd7fb9fd50d599b9bfe72 [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=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] 8a86e7f3a6abe9d221c3dc6736ee91f9a545550fe5835bb726a10be967bfd46e [INFO] running `Command { std: "docker" "start" "-a" "8a86e7f3a6abe9d221c3dc6736ee91f9a545550fe5835bb726a10be967bfd46e", 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 serde v1.0.197 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling bytes v1.5.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 base64ct v1.6.0 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking cpufeatures v0.2.11 [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 syn v2.0.46 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking sec1 v0.7.3 [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] Compiling im-rc v15.1.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking bumpalo v3.14.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking wast v201.0.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking tint v1.0.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking winnow v0.5.32 [INFO] [stderr] Checking p256 v0.13.2 [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] Checking http-auth v0.1.8 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking normpath v1.2.0 [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 logos-codegen v0.13.0 [INFO] [stderr] Compiling darling_core v0.20.8 [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 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 clap_derive v4.5.3 [INFO] [stderr] Compiling async-recursion v1.1.0 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Compiling logos v0.13.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Checking wat v1.201.0 [INFO] [stderr] Checking clap v4.5.3 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Compiling serde_with_macros v3.7.0 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling pbjson-build v0.6.2 [INFO] [stderr] Compiling protox-parse v0.5.0 [INFO] [stderr] Compiling prost-reflect v0.12.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] Checking chrono v0.4.31 [INFO] [stderr] Checking pbjson v0.6.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_with v3.7.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking warg-crypto v0.4.1 [INFO] [stderr] Compiling protox v0.5.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 olpc-cjson v0.1.3 [INFO] [stderr] Checking jwt v0.16.0 [INFO] [stderr] Checking docker_credential v1.2.1 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Compiling warg-protobuf v0.4.1 [INFO] [stderr] Checking ptree v0.4.0 [INFO] [stderr] Checking toml v0.8.8 [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 oci-distribution v0.10.0 [INFO] [stderr] Checking warg-client v0.4.1 [INFO] [stderr] Checking warg-loader v0.0.6 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source/local.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 80 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 83 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source/oci.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 213 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 216 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source/warg.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 90 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 93 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 23 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 26 | ) -> Result>, Error>; [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 29 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 32 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [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: `--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] --> src/source/local.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | while let Some(entry) = entries.next_entry().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/source/local.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source/local.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 80 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 83 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source/oci.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 213 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 216 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source/warg.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 90 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 93 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 23 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 26 | ) -> Result>, Error>; [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 29 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 32 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [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: `--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] --> src/source/local.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | while let Some(entry) = entries.next_entry().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/source/local.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | while let Some(chunk) = content_stream.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/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | while let Some(chunk) = content_stream.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/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.06s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking warg-loader v0.0.6 (/tmp/fixit) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source/local.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 80 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 83 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source/oci.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 213 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 216 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source/warg.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 90 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 93 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 23 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 26 | ) -> Result>, Error>; [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 29 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 32 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source/local.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 80 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 83 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source/oci.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 213 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 216 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source/warg.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 90 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 93 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 23 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 26 | ) -> Result>, Error>; [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/source.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 29 | &mut self, [INFO] [stdout] | - lifetime `'life0` declared here [INFO] [stdout] ... [INFO] [stdout] 32 | ) -> Result>, Error> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'life0` [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] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [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 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warg-loader` (lib) due to 2 previous errors; 5 warnings emitted [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" "8a86e7f3a6abe9d221c3dc6736ee91f9a545550fe5835bb726a10be967bfd46e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a86e7f3a6abe9d221c3dc6736ee91f9a545550fe5835bb726a10be967bfd46e", kill_on_drop: false }` [INFO] [stdout] 8a86e7f3a6abe9d221c3dc6736ee91f9a545550fe5835bb726a10be967bfd46e