[INFO] fetching crate non_blocking_mutex 3.1.3... [INFO] checking non_blocking_mutex-3.1.3 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate non_blocking_mutex 3.1.3 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate non_blocking_mutex 3.1.3 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate non_blocking_mutex 3.1.3 [INFO] finished tweaking crates.io crate non_blocking_mutex 3.1.3 [INFO] tweaked toml for crates.io crate non_blocking_mutex 3.1.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nameof v1.2.2 [INFO] [stderr] Downloaded sharded_queue v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca0e7fc136ebe5bbabc193a4053b298c030f020470cfae2b3a656c544119a6ff [INFO] running `Command { std: "docker" "start" "-a" "ca0e7fc136ebe5bbabc193a4053b298c030f020470cfae2b3a656c544119a6ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca0e7fc136ebe5bbabc193a4053b298c030f020470cfae2b3a656c544119a6ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca0e7fc136ebe5bbabc193a4053b298c030f020470cfae2b3a656c544119a6ff", kill_on_drop: false }` [INFO] [stdout] ca0e7fc136ebe5bbabc193a4053b298c030f020470cfae2b3a656c544119a6ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a6d03c43b35e04fb1f7c5c1f0573105d60e892a25a26c08fefee0e4df4439b9 [INFO] running `Command { std: "docker" "start" "-a" "8a6d03c43b35e04fb1f7c5c1f0573105d60e892a25a26c08fefee0e4df4439b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking nameof v1.2.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking sharded_queue v2.0.1 [INFO] [stderr] Checking non_blocking_mutex v3.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/dynamic_non_blocking_mutex.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | / /// Note that if [`fetch_sub`] != 1 [INFO] [stdout] 29 | | /// => some thread entered first if block in method [INFO] [stdout] 30 | | /// => [ShardedQueue::push_back] is guaranteed to be called [INFO] [stdout] 31 | | /// => [ShardedQueue::pop_front_or_spin_wait_item] will not deadlock while spins until it gets item [INFO] [stdout] 32 | | /// [INFO] [stdout] 33 | | /// Notice that we run action first, and only then decrement count [INFO] [stdout] 34 | | /// with releasing(pushing) memory changes, even if it looks otherwise [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] 35 | / while self.task_count.fetch_sub(1, Ordering::Release) != 1 { [INFO] [stdout] 36 | | self.task_queue [INFO] [stdout] 37 | | .pop_front_or_spin_wait_item() [INFO] [stdout] 38 | | .run_with_state(unsafe { MutexGuard::new(&self.unsafe_state) }); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::non_blocking_mutex::NonBlockingMutex` [INFO] [stdout] --> src/extensions/run_if_first_or_schedule_to_run_last.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::non_blocking_mutex::NonBlockingMutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/non_blocking_mutex.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | / /// Note that if [`fetch_sub`] != 1 [INFO] [stdout] 312 | | /// => some thread entered first if block in method [INFO] [stdout] 313 | | /// => [ShardedQueue::push_back] is guaranteed to be called [INFO] [stdout] 314 | | /// => [ShardedQueue::pop_front_or_spin_wait_item] will not deadlock while spins until it gets item [INFO] [stdout] 315 | | /// [INFO] [stdout] 316 | | /// Notice that we run action first, and only then decrement count [INFO] [stdout] 317 | | /// with releasing(pushing) memory changes, even if it looks otherwise [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] 318 | / while self.task_count.fetch_sub(1, Ordering::Release) != 1 { [INFO] [stdout] 319 | | self.task_queue [INFO] [stdout] 320 | | .pop_front_or_spin_wait_item() [INFO] [stdout] 321 | | .run_with_state(unsafe { MutexGuard::new(&self.unsafe_state) }); [INFO] [stdout] 322 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonBlockingMutexSendSyncImplementationDocTests` is never constructed [INFO] [stdout] --> src/non_blocking_mutex.rs:646:8 [INFO] [stdout] | [INFO] [stdout] 646 | struct NonBlockingMutexSendSyncImplementationDocTests {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/dynamic_non_blocking_mutex.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | / /// Note that if [`fetch_sub`] != 1 [INFO] [stdout] 29 | | /// => some thread entered first if block in method [INFO] [stdout] 30 | | /// => [ShardedQueue::push_back] is guaranteed to be called [INFO] [stdout] 31 | | /// => [ShardedQueue::pop_front_or_spin_wait_item] will not deadlock while spins until it gets item [INFO] [stdout] 32 | | /// [INFO] [stdout] 33 | | /// Notice that we run action first, and only then decrement count [INFO] [stdout] 34 | | /// with releasing(pushing) memory changes, even if it looks otherwise [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] 35 | / while self.task_count.fetch_sub(1, Ordering::Release) != 1 { [INFO] [stdout] 36 | | self.task_queue [INFO] [stdout] 37 | | .pop_front_or_spin_wait_item() [INFO] [stdout] 38 | | .run_with_state(unsafe { MutexGuard::new(&self.unsafe_state) }); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::non_blocking_mutex::NonBlockingMutex` [INFO] [stdout] --> src/extensions/run_if_first_or_schedule_to_run_last.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::non_blocking_mutex::NonBlockingMutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/non_blocking_mutex.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | / /// Note that if [`fetch_sub`] != 1 [INFO] [stdout] 312 | | /// => some thread entered first if block in method [INFO] [stdout] 313 | | /// => [ShardedQueue::push_back] is guaranteed to be called [INFO] [stdout] 314 | | /// => [ShardedQueue::pop_front_or_spin_wait_item] will not deadlock while spins until it gets item [INFO] [stdout] 315 | | /// [INFO] [stdout] 316 | | /// Notice that we run action first, and only then decrement count [INFO] [stdout] 317 | | /// with releasing(pushing) memory changes, even if it looks otherwise [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] 318 | / while self.task_count.fetch_sub(1, Ordering::Release) != 1 { [INFO] [stdout] 319 | | self.task_queue [INFO] [stdout] 320 | | .pop_front_or_spin_wait_item() [INFO] [stdout] 321 | | .run_with_state(unsafe { MutexGuard::new(&self.unsafe_state) }); [INFO] [stdout] 322 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/dynamic_non_blocking_mutex.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | / /// How many threads can physically access [NonBlockingMutex] [INFO] [stdout] 356 | | /// simultaneously, needed for computing `shard_count` of [ShardedQueue], [INFO] [stdout] 357 | | /// used to store queue of tasks [INFO] [stdout] | |________________________________________^ [INFO] [stdout] 358 | let max_concurrent_thread_count = available_parallelism().unwrap().get(); [INFO] [stdout] | ------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/dynamic_non_blocking_mutex.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | / /// Will work with any [FnOnce] and is easy to use, [INFO] [stdout] 361 | | /// but will [Box] tasks and use dynamic dispatch [INFO] [stdout] 362 | | /// when can't acquire lock on first try [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] 363 | let non_blocking_mutex = DynamicNonBlockingMutex::new(max_concurrent_thread_count, 0); [INFO] [stdout] | -------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/non_blocking_mutex.rs:739:9 [INFO] [stdout] | [INFO] [stdout] 739 | / /// How many threads can physically access [NonBlockingMutex] [INFO] [stdout] 740 | | /// simultaneously, needed for computing `shard_count` of [ShardedQueue], [INFO] [stdout] 741 | | /// used to store queue of tasks [INFO] [stdout] | |________________________________________^ [INFO] [stdout] 742 | let max_concurrent_thread_count = available_parallelism().unwrap().get(); [INFO] [stdout] | ------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/non_blocking_mutex.rs:744:9 [INFO] [stdout] | [INFO] [stdout] 744 | / /// Will infer exact type and size of struct [Task] and [INFO] [stdout] 745 | | /// make sized [NonBlockingMutex] which takes only [Task] [INFO] [stdout] 746 | | /// without ever requiring [Box]-ing or dynamic dispatch [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] 747 | let non_blocking_mutex = NonBlockingMutex::new(max_concurrent_thread_count, 0); [INFO] [stdout] | ------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/non_blocking_mutex.rs:814:25 [INFO] [stdout] | [INFO] [stdout] 814 | /// Where to write snapshot of `State` before applying function to `State` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 815 | snapshot_before_change_ref, [INFO] [stdout] | -------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/non_blocking_mutex.rs:816:25 [INFO] [stdout] | [INFO] [stdout] 816 | /// Where to write snapshot of `State` after applying function to `State [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 817 | snapshot_after_change_ref, [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/non_blocking_mutex.rs:832:25 [INFO] [stdout] | [INFO] [stdout] 832 | /// Where to write snapshot of `State` before applying function to `State` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 833 | snapshot_before_change_ref, [INFO] [stdout] | -------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/non_blocking_mutex.rs:834:25 [INFO] [stdout] | [INFO] [stdout] 834 | /// Where to write snapshot of `State` after applying function to `State [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 835 | snapshot_after_change_ref, [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonBlockingMutexSendSyncImplementationDocTests` is never constructed [INFO] [stdout] --> src/non_blocking_mutex.rs:646:8 [INFO] [stdout] | [INFO] [stdout] 646 | struct NonBlockingMutexSendSyncImplementationDocTests {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state_2_ref` [INFO] [stdout] --> tests/non_blocking_mutex.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | let state_2_ref = &mut state_2; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_2_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_use_Fn` should have a snake case name [INFO] [stdout] --> tests/dynamic_non_blocking_mutex.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn can_use_Fn() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `can_use_fn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_use_Fn_recursively` should have a snake case name [INFO] [stdout] --> tests/dynamic_non_blocking_mutex.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn can_use_Fn_recursively() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `can_use_fn_recursively` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_use_FnMut` should have a snake case name [INFO] [stdout] --> tests/dynamic_non_blocking_mutex.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn can_use_FnMut() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `can_use_fn_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_use_FnMut_recursively` should have a snake case name [INFO] [stdout] --> tests/dynamic_non_blocking_mutex.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn can_use_FnMut_recursively() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `can_use_fn_mut_recursively` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_use_Fn` should have a snake case name [INFO] [stdout] --> tests/non_blocking_mutex.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn can_use_Fn() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `can_use_fn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_use_Fn_recursively` should have a snake case name [INFO] [stdout] --> tests/non_blocking_mutex.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn can_use_Fn_recursively() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `can_use_fn_recursively` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_use_FnMut` should have a snake case name [INFO] [stdout] --> tests/non_blocking_mutex.rs:247:4 [INFO] [stdout] | [INFO] [stdout] 247 | fn can_use_FnMut() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `can_use_fn_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_use_FnMut_recursively` should have a snake case name [INFO] [stdout] --> tests/non_blocking_mutex.rs:318:4 [INFO] [stdout] | [INFO] [stdout] 318 | fn can_use_FnMut_recursively() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `can_use_fn_mut_recursively` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.74s [INFO] running `Command { std: "docker" "inspect" "8a6d03c43b35e04fb1f7c5c1f0573105d60e892a25a26c08fefee0e4df4439b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a6d03c43b35e04fb1f7c5c1f0573105d60e892a25a26c08fefee0e4df4439b9", kill_on_drop: false }` [INFO] [stdout] 8a6d03c43b35e04fb1f7c5c1f0573105d60e892a25a26c08fefee0e4df4439b9 [INFO] checking non_blocking_mutex-3.1.3 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate non_blocking_mutex 3.1.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate non_blocking_mutex 3.1.3 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate non_blocking_mutex 3.1.3 [INFO] finished tweaking crates.io crate non_blocking_mutex 3.1.3 [INFO] tweaked toml for crates.io crate non_blocking_mutex 3.1.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38d5af36b2bd1eb5812463bba0093ed2ebe82a2b56b33b4e0d7fc980f0027b7f [INFO] running `Command { std: "docker" "start" "-a" "38d5af36b2bd1eb5812463bba0093ed2ebe82a2b56b33b4e0d7fc980f0027b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38d5af36b2bd1eb5812463bba0093ed2ebe82a2b56b33b4e0d7fc980f0027b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d5af36b2bd1eb5812463bba0093ed2ebe82a2b56b33b4e0d7fc980f0027b7f", kill_on_drop: false }` [INFO] [stdout] 38d5af36b2bd1eb5812463bba0093ed2ebe82a2b56b33b4e0d7fc980f0027b7f [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=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 526f960719d9e6e9b3cb2261c62610c6a9b70309f04b453a0e218f0ecfdc34ee [INFO] running `Command { std: "docker" "start" "-a" "526f960719d9e6e9b3cb2261c62610c6a9b70309f04b453a0e218f0ecfdc34ee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking nameof v1.2.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking sharded_queue v2.0.1 [INFO] [stderr] Checking non_blocking_mutex v3.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/dynamic_non_blocking_mutex.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | / /// Note that if [`fetch_sub`] != 1 [INFO] [stdout] 29 | | /// => some thread entered first if block in method [INFO] [stdout] 30 | | /// => [ShardedQueue::push_back] is guaranteed to be called [INFO] [stdout] 31 | | /// => [ShardedQueue::pop_front_or_spin_wait_item] will not deadlock while spins until it gets item [INFO] [stdout] 32 | | /// [INFO] [stdout] 33 | | /// Notice that we run action first, and only then decrement count [INFO] [stdout] 34 | | /// with releasing(pushing) memory changes, even if it looks otherwise [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] 35 | / while self.task_count.fetch_sub(1, Ordering::Release) != 1 { [INFO] [stdout] 36 | | self.task_queue [INFO] [stdout] 37 | | .pop_front_or_spin_wait_item() [INFO] [stdout] 38 | | .run_with_state(unsafe { MutexGuard::new(&self.unsafe_state) }); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::non_blocking_mutex::NonBlockingMutex` [INFO] [stdout] --> src/extensions/run_if_first_or_schedule_to_run_last.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::non_blocking_mutex::NonBlockingMutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/non_blocking_mutex.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | / /// Note that if [`fetch_sub`] != 1 [INFO] [stdout] 312 | | /// => some thread entered first if block in method [INFO] [stdout] 313 | | /// => [ShardedQueue::push_back] is guaranteed to be called [INFO] [stdout] 314 | | /// => [ShardedQueue::pop_front_or_spin_wait_item] will not deadlock while spins until it gets item [INFO] [stdout] 315 | | /// [INFO] [stdout] 316 | | /// Notice that we run action first, and only then decrement count [INFO] [stdout] 317 | | /// with releasing(pushing) memory changes, even if it looks otherwise [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] 318 | / while self.task_count.fetch_sub(1, Ordering::Release) != 1 { [INFO] [stdout] 319 | | self.task_queue [INFO] [stdout] 320 | | .pop_front_or_spin_wait_item() [INFO] [stdout] 321 | | .run_with_state(unsafe { MutexGuard::new(&self.unsafe_state) }); [INFO] [stdout] 322 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stdout] warning: struct `NonBlockingMutexSendSyncImplementationDocTests` is never constructed [INFO] [stdout] --> src/non_blocking_mutex.rs:646:8 [INFO] [stdout] | [INFO] [stdout] 646 | struct NonBlockingMutexSendSyncImplementationDocTests {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dynamic_non_blocking_mutex_task.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 10 | run_with_state: impl FnOnce(MutexGuard) + Send + 'captured_variables, [INFO] [stdout] | --------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | run_with_state_box: Box::new(run_with_state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_blocking_mutex.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn new(max_concurrent_thread_count: usize, state: State) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | task_queue: ShardedQueue::new(max_concurrent_thread_count), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_blocking_mutex.rs:297:27 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn new(max_concurrent_thread_count: usize, state: State) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 297 | unsafe_state: UnsafeCell::new(state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `non_blocking_mutex` (lib) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "526f960719d9e6e9b3cb2261c62610c6a9b70309f04b453a0e218f0ecfdc34ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "526f960719d9e6e9b3cb2261c62610c6a9b70309f04b453a0e218f0ecfdc34ee", kill_on_drop: false }` [INFO] [stdout] 526f960719d9e6e9b3cb2261c62610c6a9b70309f04b453a0e218f0ecfdc34ee