[INFO] fetching crate any_vec 0.14.0... [INFO] checking any_vec-0.14.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate any_vec 0.14.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate any_vec 0.14.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 any_vec 0.14.0 [INFO] finished tweaking crates.io crate any_vec 0.14.0 [INFO] tweaked toml for crates.io crate any_vec 0.14.0 written to /workspace/builds/worker-3-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 80 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c6ef964770ebfd0a0ffe03b48b10dfb9ba48a30252d22455dd712a02b89615d [INFO] running `Command { std: "docker" "start" "-a" "1c6ef964770ebfd0a0ffe03b48b10dfb9ba48a30252d22455dd712a02b89615d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c6ef964770ebfd0a0ffe03b48b10dfb9ba48a30252d22455dd712a02b89615d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c6ef964770ebfd0a0ffe03b48b10dfb9ba48a30252d22455dd712a02b89615d", kill_on_drop: false }` [INFO] [stdout] 1c6ef964770ebfd0a0ffe03b48b10dfb9ba48a30252d22455dd712a02b89615d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 1afdca24993bfb86d859a2e2ee409dc0a1a691fba0e56e99eb7a8cb52ff0105c [INFO] running `Command { std: "docker" "start" "-a" "1afdca24993bfb86d859a2e2ee409dc0a1a691fba0e56e99eb7a8cb52ff0105c", 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.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking clap_lex v0.7.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking impls v1.0.3 [INFO] [stderr] Checking any_vec v0.14.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking clap_builder v4.5.21 [INFO] [stderr] Fixed src/any_value/mod.rs (5 fixes) [INFO] [stderr] Fixed src/ops/temp.rs (2 fixes) [INFO] [stderr] Fixed src/any_value/lazy_clone.rs (2 fixes) [INFO] [stderr] Fixed src/any_vec_raw.rs (5 fixes) [INFO] [stderr] Fixed src/any_value/raw.rs (1 fix) [INFO] [stderr] Fixed src/element.rs (3 fixes) [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stderr] Fixed src/any_vec.rs (8 fixes) [INFO] [stderr] Fixed src/any_vec_ptr.rs (12 fixes) [INFO] [stderr] Fixed src/clone_type.rs (1 fix) [INFO] [stderr] Fixed src/any_vec_typed.rs (3 fixes) [INFO] [stdout] warning: `impl ElementIterator + Iterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/any_vec_typed.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | -> impl ElementIterator + 'a [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/any_vec_typed.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn drain(&mut self, range: impl RangeBounds) [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/any_vec_typed.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn drain(&mut self, range: impl RangeBounds) [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] 151 ~ pub fn drain>(&mut self, range: U) [INFO] [stdout] 152 ~ -> impl ElementIterator + 'a + use<'a, T, M, U> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl ElementIterator + Iterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/any_vec_typed.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | -> impl ElementIterator + 'a [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/any_vec_typed.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn splice(&mut self, range: impl RangeBounds, replace_with: I) [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/any_vec_typed.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn splice(&mut self, range: impl RangeBounds, replace_with: I) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 165 ~ pub fn splice>(&mut self, range: U, replace_with: I) [INFO] [stdout] 166 ~ -> impl ElementIterator + 'a + use<'a, I, T, M, U> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking clap v4.5.21 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Migrating tests/any_vec_typed.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/any_vec_traits.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/any_vec.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/any_vec.rs (1 fix) [INFO] [stderr] Migrating benches/iter.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/utils.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/push.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/any_vec_send_sync.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/any_vec_element.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/insert.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/element_clone.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/drain.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/swap_remove.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl ElementIterator + Iterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/any_vec_typed.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | -> impl ElementIterator + 'a [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/any_vec_typed.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn drain(&mut self, range: impl RangeBounds) [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/any_vec_typed.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn drain(&mut self, range: impl RangeBounds) [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] 151 ~ pub fn drain>(&mut self, range: U) [INFO] [stdout] 152 ~ -> impl ElementIterator + 'a + use<'a, T, M, U> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl ElementIterator + Iterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/any_vec_typed.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | -> impl ElementIterator + 'a [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/any_vec_typed.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn splice(&mut self, range: impl RangeBounds, replace_with: I) [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/any_vec_typed.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn splice(&mut self, range: impl RangeBounds, replace_with: I) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 165 ~ pub fn splice>(&mut self, range: U, replace_with: I) [INFO] [stdout] 166 ~ -> impl ElementIterator + 'a + use<'a, I, T, M, U> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/any_vec_fuzzy.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/any_value.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/raw_parts.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/clone.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/remove.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.72s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking any_vec v0.14.0 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> benches/element_clone.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | sum += unsafe{i.lazy_clone().downcast_ref_unchecked::()}; [INFO] [stdout] | --------------^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | temporary value is freed at the end of this statement [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `any_vec` (bench "element_clone") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "1afdca24993bfb86d859a2e2ee409dc0a1a691fba0e56e99eb7a8cb52ff0105c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1afdca24993bfb86d859a2e2ee409dc0a1a691fba0e56e99eb7a8cb52ff0105c", kill_on_drop: false }` [INFO] [stdout] 1afdca24993bfb86d859a2e2ee409dc0a1a691fba0e56e99eb7a8cb52ff0105c