[INFO] fetching crate gvmkit-build 0.3.10... [INFO] checking gvmkit-build-0.3.10 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate gvmkit-build 0.3.10 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate gvmkit-build 0.3.10 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 gvmkit-build 0.3.10 [INFO] finished tweaking crates.io crate gvmkit-build 0.3.10 [INFO] tweaked toml for crates.io crate gvmkit-build 0.3.10 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate gvmkit-build 0.3.10 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] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `reqwest` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f5e6ed9bef8157d50fc0dbc9889641e188d9cc14214d281e45d4c7d2aee4c25d [INFO] running `Command { std: "docker" "start" "-a" "f5e6ed9bef8157d50fc0dbc9889641e188d9cc14214d281e45d4c7d2aee4c25d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5e6ed9bef8157d50fc0dbc9889641e188d9cc14214d281e45d4c7d2aee4c25d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5e6ed9bef8157d50fc0dbc9889641e188d9cc14214d281e45d4c7d2aee4c25d", kill_on_drop: false }` [INFO] [stdout] f5e6ed9bef8157d50fc0dbc9889641e188d9cc14214d281e45d4c7d2aee4c25d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] aa0f4f9be2edfcdd16793e46e8fd1da23be9abf80a745e2724e66a74a32d7bb7 [INFO] running `Command { std: "docker" "start" "-a" "aa0f4f9be2edfcdd16793e46e8fd1da23be9abf80a745e2724e66a74a32d7bb7", 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] Fixed Cargo.toml (1 fix) [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling toml_datetime v0.6.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling winnow v0.4.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking concurrent-queue v2.2.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking parking v2.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking async-lock v2.7.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling toml_edit v0.19.8 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking cpufeatures v0.2.8 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking async-task v4.4.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking async-channel v1.8.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling rustls v0.21.2 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rustls-webpki v0.100.1 [INFO] [stderr] Checking blocking v1.3.1 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.24 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.7 [INFO] [stderr] Compiling zvariant_derive v3.14.0 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling serde_repr v0.1.12 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking xdg-home v1.0.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling async-recursion v1.0.4 [INFO] [stderr] Compiling zbus_macros v3.13.1 [INFO] [stderr] Checking async-executor v1.5.1 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling portable-atomic v1.3.3 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ipnet v2.7.2 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling enum-as-inner v0.5.1 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking clap_builder v4.3.4 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking trust-dns-proto v0.22.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rustls-pemfile v1.0.2 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Checking linux-keyutils v0.2.3 [INFO] [stderr] Checking enumflags2 v0.7.7 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking zvariant v3.14.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking rtoolbox v0.0.1 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Checking filetime v0.2.21 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking crc-catalog v2.2.0 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking indicatif v0.17.5 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Checking zbus_names v2.5.1 [INFO] [stderr] Checking trust-dns-resolver v0.22.0 [INFO] [stderr] Checking rpassword v7.2.0 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking zbus v3.13.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking bollard-stubs v1.42.0-rc.7 [INFO] [stderr] Checking clap v4.3.4 [INFO] [stderr] Checking hyperlocal v0.8.0 [INFO] [stderr] Checking hyper-rustls v0.24.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking secret-service v3.0.1 [INFO] [stderr] Checking keyring v2.0.3 [INFO] [stderr] Checking bollard v0.14.0 [INFO] [stderr] Checking gvmkit-build v0.3.10 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/image/builder.rs (1 fix) [INFO] [stderr] Fixed src/wrapper.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Fixed src/login.rs (2 fixes) [INFO] [stdout] warning: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/wrapper.rs:40:6 [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/wrapper.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pb: &indicatif::ProgressBar, [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/wrapper.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | stream_in: impl Stream> + std::marker::Unpin, [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] 36 ~ pub fn stream_with_progress> + std::marker::Unpin>( [INFO] [stdout] 37 ~ stream_in: T, [INFO] [stdout] 38 | pb: &indicatif::ProgressBar, [INFO] [stdout] 39 | pc: ProgressContext, [INFO] [stdout] 40 ~ ) -> impl Stream> + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/wrapper.rs:40:6 [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/wrapper.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pb: &indicatif::ProgressBar, [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/wrapper.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | stream_in: impl Stream> + std::marker::Unpin, [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] 36 ~ pub fn stream_with_progress> + std::marker::Unpin>( [INFO] [stdout] 37 ~ stream_in: T, [INFO] [stdout] 38 | pb: &indicatif::ProgressBar, [INFO] [stdout] 39 | pc: ProgressContext, [INFO] [stdout] 40 ~ ) -> impl Stream> + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.17s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking gvmkit-build v0.3.10 (/tmp/fixit) [INFO] [stdout] error[E0597]: `pb` does not live long enough [INFO] [stdout] --> src/image/builder.rs:380:53 [INFO] [stdout] | [INFO] [stdout] 377 | let pb = create_chunk_pb(image_size as u64, ProgressBarType::CopyingFiles); [INFO] [stdout] | -- binding `pb` declared here [INFO] [stdout] ... [INFO] [stdout] 380 | let input = stream_with_progress(input, &pb, pc.clone()); [INFO] [stdout] | ----------------------------^^^------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `pb` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 399 | } [INFO] [stdout] | - `pb` dropped here while still borrowed [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/image/builder.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | let input = stream_with_progress(input, &pb, pc.clone()); [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/wrapper.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | stream_in: impl Stream> + std::marker::Unpin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> src/wrapper.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 ~ pub fn stream_with_progress> + std::marker::Unpin>( [INFO] [stdout] 37 ~ stream_in: T, [INFO] [stdout] 38 | pb: &indicatif::ProgressBar, [INFO] [stdout] 39 | pc: ProgressContext, [INFO] [stdout] 40 ~ ) -> impl Stream> + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `pb` does not live long enough [INFO] [stdout] --> src/image/builder.rs:380:53 [INFO] [stdout] | [INFO] [stdout] 377 | let pb = create_chunk_pb(image_size as u64, ProgressBarType::CopyingFiles); [INFO] [stdout] | -- binding `pb` declared here [INFO] [stdout] ... [INFO] [stdout] 380 | let input = stream_with_progress(input, &pb, pc.clone()); [INFO] [stdout] | ----------------------------^^^------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `pb` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 399 | } [INFO] [stdout] | - `pb` dropped here while still borrowed [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/image/builder.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | let input = stream_with_progress(input, &pb, pc.clone()); [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/wrapper.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | stream_in: impl Stream> + std::marker::Unpin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> src/wrapper.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 ~ pub fn stream_with_progress> + std::marker::Unpin>( [INFO] [stdout] 37 ~ stream_in: T, [INFO] [stdout] 38 | pb: &indicatif::ProgressBar, [INFO] [stdout] 39 | pc: ProgressContext, [INFO] [stdout] 40 ~ ) -> impl Stream> + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gvmkit-build` (bin "gvmkit-build") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gvmkit-build` (bin "gvmkit-build" test) 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" "aa0f4f9be2edfcdd16793e46e8fd1da23be9abf80a745e2724e66a74a32d7bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa0f4f9be2edfcdd16793e46e8fd1da23be9abf80a745e2724e66a74a32d7bb7", kill_on_drop: false }` [INFO] [stdout] aa0f4f9be2edfcdd16793e46e8fd1da23be9abf80a745e2724e66a74a32d7bb7