[INFO] fetching crate divan 0.1.15... [INFO] checking divan-0.1.15 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate divan 0.1.15 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate divan 0.1.15 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 divan 0.1.15 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate divan 0.1.15 [INFO] tweaked toml for crates.io crate divan 0.1.15 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate divan 0.1.15 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ebe8f2ba8e4b33575595abeba74603c5676f5ac72b295c8def99ca0445c442dc [INFO] running `Command { std: "docker" "start" "-a" "ebe8f2ba8e4b33575595abeba74603c5676f5ac72b295c8def99ca0445c442dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebe8f2ba8e4b33575595abeba74603c5676f5ac72b295c8def99ca0445c442dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebe8f2ba8e4b33575595abeba74603c5676f5ac72b295c8def99ca0445c442dc", kill_on_drop: false }` [INFO] [stdout] ebe8f2ba8e4b33575595abeba74603c5676f5ac72b295c8def99ca0445c442dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9cd8cb2c79f084eb19b57fe73a69edccba66bcef95396042339523b0b0258557 [INFO] running `Command { std: "docker" "start" "-a" "9cd8cb2c79f084eb19b57fe73a69edccba66bcef95396042339523b0b0258557", 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.20 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking regex-lite v0.1.5 [INFO] [stderr] Checking condtype v1.3.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling libmimalloc-sys v0.1.35 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking mimalloc v0.1.39 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Compiling divan-macros v0.1.15 [INFO] [stderr] Checking divan v0.1.15 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/alloc.rs (4 fixes) [INFO] [stderr] Fixed src/entry/meta.rs (1 fix) [INFO] [stderr] Fixed src/entry/generic.rs (2 fixes) [INFO] [stderr] Fixed src/entry/mod.rs (1 fix) [INFO] [stderr] Fixed src/time/timestamp/mod.rs (1 fix) [INFO] [stderr] Fixed src/divan.rs (1 fix) [INFO] [stderr] Fixed src/bench/defer.rs (1 fix) [INFO] [stderr] Fixed src/counter/any_counter.rs (1 fix) [INFO] [stdout] warning: `impl for<'a, 'b, 'c> Fn(usize, Option<&'a Barrier>, &'b mut DeferStore, &'c mut (dyn for<'a> FnMut(&'a I) + 'c)) -> ([timestamp::Timestamp; 2], ThreadAllocInfo)` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/bench/mod.rs:852:10 [INFO] [stdout] | [INFO] [stdout] 852 | ) -> impl Fn( [INFO] [stdout] | __________^ [INFO] [stdout] 853 | | usize, [INFO] [stdout] 854 | | Option<&Barrier>, [INFO] [stdout] 855 | | &mut DeferStore, [INFO] [stdout] 856 | | &mut dyn FnMut(&I), [INFO] [stdout] 857 | | ) -> ([Timestamp; 2], ThreadAllocInfo) { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/bench/mod.rs:538:6 [INFO] [stdout] | [INFO] [stdout] 538 | impl<'a> BenchContext<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 848 | &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/bench/mod.rs:849:20 [INFO] [stdout] | [INFO] [stdout] 849 | gen_input: impl Fn() -> I, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 850 | benched: impl Fn(&UnsafeCell>) -> O, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 851 | drop_input: impl Fn(&UnsafeCell>), [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] 847 ~ fn sample_recorder I, U: Fn(&UnsafeCell>) -> O, V: Fn(&UnsafeCell>)>( [INFO] [stdout] 848 | &self, [INFO] [stdout] 849 ~ gen_input: T, [INFO] [stdout] 850 ~ benched: U, [INFO] [stdout] 851 ~ drop_input: V, [INFO] [stdout] 852 | ) -> impl Fn( [INFO] [stdout] ... [INFO] [stdout] 856 | &mut dyn FnMut(&I), [INFO] [stdout] 857 ~ ) -> ([Timestamp; 2], ThreadAllocInfo) + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/private.rs (2 fixes) [INFO] [stderr] Migrating tests/attr_options.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl for<'a, 'b, 'c> Fn(usize, Option<&'a Barrier>, &'b mut DeferStore, &'c mut (dyn for<'a> FnMut(&'a I) + 'c)) -> ([timestamp::Timestamp; 2], alloc::ThreadAllocInfo)` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/bench/mod.rs:852:10 [INFO] [stdout] | [INFO] [stdout] 852 | ) -> impl Fn( [INFO] [stdout] | __________^ [INFO] [stdout] 853 | | usize, [INFO] [stdout] 854 | | Option<&Barrier>, [INFO] [stdout] 855 | | &mut DeferStore, [INFO] [stdout] 856 | | &mut dyn FnMut(&I), [INFO] [stdout] 857 | | ) -> ([Timestamp; 2], ThreadAllocInfo) { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/bench/mod.rs:538:6 [INFO] [stdout] | [INFO] [stdout] 538 | impl<'a> BenchContext<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 848 | &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/bench/mod.rs:849:20 [INFO] [stdout] | [INFO] [stdout] 849 | gen_input: impl Fn() -> I, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 850 | benched: impl Fn(&UnsafeCell>) -> O, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 851 | drop_input: impl Fn(&UnsafeCell>), [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] 847 ~ fn sample_recorder I, U: Fn(&UnsafeCell>) -> O, V: Fn(&UnsafeCell>)>( [INFO] [stdout] 848 | &self, [INFO] [stdout] 849 ~ gen_input: T, [INFO] [stdout] 850 ~ benched: U, [INFO] [stdout] 851 ~ drop_input: V, [INFO] [stdout] 852 | ) -> impl Fn( [INFO] [stdout] ... [INFO] [stdout] 856 | &mut dyn FnMut(&I), [INFO] [stdout] 857 ~ ) -> ([Timestamp; 2], ThreadAllocInfo) + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/entry_properties.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/entry_properties.rs (1 fix) [INFO] [stderr] Migrating tests/forbid_unsafe.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/weird_usage.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.92s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking divan v0.1.15 (/tmp/fixit) [INFO] [stdout] error[E0502]: cannot borrow `self.samples.time_samples` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/bench/mod.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 609 | let record_sample = self.sample_recorder(gen_input, benched, drop_input); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 653 | self.samples.time_samples.reserve(self.options.sample_count.unwrap_or(1) as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 700 | let ([start, end], alloc_info) = record_sample( [INFO] [stdout] | ------------- immutable borrow later captured here by closure [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/bench/mod.rs:609:29 [INFO] [stdout] | [INFO] [stdout] 609 | let record_sample = self.sample_recorder(gen_input, benched, drop_input); [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/bench/mod.rs:849:20 [INFO] [stdout] | [INFO] [stdout] 849 | gen_input: impl Fn() -> I, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 850 | benched: impl Fn(&UnsafeCell>) -> O, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 851 | drop_input: impl Fn(&UnsafeCell>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 847 ~ fn sample_recorder I, U: Fn(&UnsafeCell>) -> O, V: Fn(&UnsafeCell>)>( [INFO] [stdout] 848 | &self, [INFO] [stdout] 849 ~ gen_input: T, [INFO] [stdout] 850 ~ benched: U, [INFO] [stdout] 851 ~ drop_input: V, [INFO] [stdout] 852 | ) -> impl Fn( [INFO] [stdout] ... [INFO] [stdout] 856 | &mut dyn FnMut(&I), [INFO] [stdout] 857 ~ ) -> ([Timestamp; 2], ThreadAllocInfo) + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `self.samples.sample_size` because it is borrowed [INFO] [stdout] --> src/bench/mod.rs:676:13 [INFO] [stdout] | [INFO] [stdout] 609 | let record_sample = self.sample_recorder(gen_input, benched, drop_input); [INFO] [stdout] | ---- `self.samples.sample_size` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 676 | self.samples.sample_size = sample_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self.samples.sample_size` is assigned to here but it was already borrowed [INFO] [stdout] ... [INFO] [stdout] 700 | let ([start, end], alloc_info) = record_sample( [INFO] [stdout] | ------------- borrow later captured here by closure [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/bench/mod.rs:609:29 [INFO] [stdout] | [INFO] [stdout] 609 | let record_sample = self.sample_recorder(gen_input, benched, drop_input); [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/bench/mod.rs:849:20 [INFO] [stdout] | [INFO] [stdout] 849 | gen_input: impl Fn() -> I, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 850 | benched: impl Fn(&UnsafeCell>) -> O, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 851 | drop_input: impl Fn(&UnsafeCell>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 847 ~ fn sample_recorder I, U: Fn(&UnsafeCell>) -> O, V: Fn(&UnsafeCell>)>( [INFO] [stdout] 848 | &self, [INFO] [stdout] 849 ~ gen_input: T, [INFO] [stdout] 850 ~ benched: U, [INFO] [stdout] 851 ~ drop_input: V, [INFO] [stdout] 852 | ) -> impl Fn( [INFO] [stdout] ... [INFO] [stdout] 856 | &mut dyn FnMut(&I), [INFO] [stdout] 857 ~ ) -> ([Timestamp; 2], ThreadAllocInfo) + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.samples.time_samples` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/bench/mod.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 609 | let record_sample = self.sample_recorder(gen_input, benched, drop_input); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 653 | self.samples.time_samples.reserve(self.options.sample_count.unwrap_or(1) as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 700 | let ([start, end], alloc_info) = record_sample( [INFO] [stdout] | ------------- immutable borrow later captured here by closure [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/bench/mod.rs:609:29 [INFO] [stdout] | [INFO] [stdout] 609 | let record_sample = self.sample_recorder(gen_input, benched, drop_input); [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/bench/mod.rs:849:20 [INFO] [stdout] | [INFO] [stdout] 849 | gen_input: impl Fn() -> I, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 850 | benched: impl Fn(&UnsafeCell>) -> O, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 851 | drop_input: impl Fn(&UnsafeCell>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 847 ~ fn sample_recorder I, U: Fn(&UnsafeCell>) -> O, V: Fn(&UnsafeCell>)>( [INFO] [stdout] 848 | &self, [INFO] [stdout] 849 ~ gen_input: T, [INFO] [stdout] 850 ~ benched: U, [INFO] [stdout] 851 ~ drop_input: V, [INFO] [stdout] 852 | ) -> impl Fn( [INFO] [stdout] ... [INFO] [stdout] 856 | &mut dyn FnMut(&I), [INFO] [stdout] 857 ~ ) -> ([Timestamp; 2], ThreadAllocInfo) + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `self.samples.sample_size` because it is borrowed [INFO] [stdout] --> src/bench/mod.rs:676:13 [INFO] [stdout] | [INFO] [stdout] 609 | let record_sample = self.sample_recorder(gen_input, benched, drop_input); [INFO] [stdout] | ---- `self.samples.sample_size` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 676 | self.samples.sample_size = sample_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self.samples.sample_size` is assigned to here but it was already borrowed [INFO] [stdout] ... [INFO] [stdout] 700 | let ([start, end], alloc_info) = record_sample( [INFO] [stdout] | ------------- borrow later captured here by closure [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/bench/mod.rs:609:29 [INFO] [stdout] | [INFO] [stdout] 609 | let record_sample = self.sample_recorder(gen_input, benched, drop_input); [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/bench/mod.rs:849:20 [INFO] [stdout] | [INFO] [stdout] 849 | gen_input: impl Fn() -> I, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 850 | benched: impl Fn(&UnsafeCell>) -> O, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 851 | drop_input: impl Fn(&UnsafeCell>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 847 ~ fn sample_recorder I, U: Fn(&UnsafeCell>) -> O, V: Fn(&UnsafeCell>)>( [INFO] [stdout] 848 | &self, [INFO] [stdout] 849 ~ gen_input: T, [INFO] [stdout] 850 ~ benched: U, [INFO] [stdout] 851 ~ drop_input: V, [INFO] [stdout] 852 | ) -> impl Fn( [INFO] [stdout] ... [INFO] [stdout] 856 | &mut dyn FnMut(&I), [INFO] [stdout] 857 ~ ) -> ([Timestamp; 2], ThreadAllocInfo) + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0506. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `divan` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0502, E0506. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `divan` (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" "9cd8cb2c79f084eb19b57fe73a69edccba66bcef95396042339523b0b0258557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd8cb2c79f084eb19b57fe73a69edccba66bcef95396042339523b0b0258557", kill_on_drop: false }` [INFO] [stdout] 9cd8cb2c79f084eb19b57fe73a69edccba66bcef95396042339523b0b0258557