[INFO] fetching crate non_blocking_mutex 3.1.3... [INFO] testing non_blocking_mutex-3.1.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate non_blocking_mutex 3.1.3 into /workspace/builds/worker-5-tc1/source [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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate non_blocking_mutex 3.1.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nameof v1.3.0 [INFO] [stderr] Downloaded sharded_queue v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e083674ef0d158d7f83c225282441160609ac927f38ef6b677b011e01a7b110 [INFO] running `Command { std: "docker" "start" "-a" "5e083674ef0d158d7f83c225282441160609ac927f38ef6b677b011e01a7b110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e083674ef0d158d7f83c225282441160609ac927f38ef6b677b011e01a7b110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e083674ef0d158d7f83c225282441160609ac927f38ef6b677b011e01a7b110", kill_on_drop: false }` [INFO] [stdout] 5e083674ef0d158d7f83c225282441160609ac927f38ef6b677b011e01a7b110 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03fbe3e046a66c23dbb6cf76c12a3e6ef2dea07ea61c8cec0cf14ec8752b948f [INFO] running `Command { std: "docker" "start" "-a" "03fbe3e046a66c23dbb6cf76c12a3e6ef2dea07ea61c8cec0cf14ec8752b948f", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling sharded_queue v2.0.1 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "03fbe3e046a66c23dbb6cf76c12a3e6ef2dea07ea61c8cec0cf14ec8752b948f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03fbe3e046a66c23dbb6cf76c12a3e6ef2dea07ea61c8cec0cf14ec8752b948f", kill_on_drop: false }` [INFO] [stdout] 03fbe3e046a66c23dbb6cf76c12a3e6ef2dea07ea61c8cec0cf14ec8752b948f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 989e8a94103e90af3426f771303edb43b057148298193d3874c8356996d9602d [INFO] running `Command { std: "docker" "start" "-a" "989e8a94103e90af3426f771303edb43b057148298193d3874c8356996d9602d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling nameof v1.3.0 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling non_blocking_mutex v3.1.3 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(nonstandard_style)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(nonstandard_style)]`) 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.18s [INFO] running `Command { std: "docker" "inspect" "989e8a94103e90af3426f771303edb43b057148298193d3874c8356996d9602d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "989e8a94103e90af3426f771303edb43b057148298193d3874c8356996d9602d", kill_on_drop: false }` [INFO] [stdout] 989e8a94103e90af3426f771303edb43b057148298193d3874c8356996d9602d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2fe5c853c81c9a59e92c0dd3044d46dff13e9895d873b61b48f37f1198f43804 [INFO] running `Command { std: "docker" "start" "-a" "2fe5c853c81c9a59e92c0dd3044d46dff13e9895d873b61b48f37f1198f43804", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/dynamic_non_blocking_mutex.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | / /// Note that if [`fetch_sub`] != 1 [INFO] [stderr] 29 | | /// => some thread entered first if block in method [INFO] [stderr] 30 | | /// => [ShardedQueue::push_back] is guaranteed to be called [INFO] [stderr] 31 | | /// => [ShardedQueue::pop_front_or_spin_wait_item] will not deadlock while spins until it gets item [INFO] [stderr] 32 | | /// [INFO] [stderr] 33 | | /// Notice that we run action first, and only then decrement count [INFO] [stderr] 34 | | /// with releasing(pushing) memory changes, even if it looks otherwise [INFO] [stderr] | |__________________________________________________________________________________^ [INFO] [stderr] 35 | / while self.task_count.fetch_sub(1, Ordering::Release) != 1 { [INFO] [stderr] 36 | | self.task_queue [INFO] [stderr] 37 | | .pop_front_or_spin_wait_item() [INFO] [stderr] 38 | | .run_with_state(unsafe { MutexGuard::new(&self.unsafe_state) }); [INFO] [stderr] 39 | | } [INFO] [stderr] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::non_blocking_mutex::NonBlockingMutex` [INFO] [stderr] --> src/extensions/run_if_first_or_schedule_to_run_last.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::non_blocking_mutex::NonBlockingMutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/non_blocking_mutex.rs:311:13 [INFO] [stderr] | [INFO] [stderr] 311 | / /// Note that if [`fetch_sub`] != 1 [INFO] [stderr] 312 | | /// => some thread entered first if block in method [INFO] [stderr] 313 | | /// => [ShardedQueue::push_back] is guaranteed to be called [INFO] [stderr] 314 | | /// => [ShardedQueue::pop_front_or_spin_wait_item] will not deadlock while spins until it gets item [INFO] [stderr] 315 | | /// [INFO] [stderr] 316 | | /// Notice that we run action first, and only then decrement count [INFO] [stderr] 317 | | /// with releasing(pushing) memory changes, even if it looks otherwise [INFO] [stderr] | |__________________________________________________________________________________^ [INFO] [stderr] 318 | / while self.task_count.fetch_sub(1, Ordering::Release) != 1 { [INFO] [stderr] 319 | | self.task_queue [INFO] [stderr] 320 | | .pop_front_or_spin_wait_item() [INFO] [stderr] 321 | | .run_with_state(unsafe { MutexGuard::new(&self.unsafe_state) }); [INFO] [stderr] 322 | | } [INFO] [stderr] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: struct `NonBlockingMutexSendSyncImplementationDocTests` is never constructed [INFO] [stderr] --> src/non_blocking_mutex.rs:646:8 [INFO] [stderr] | [INFO] [stderr] 646 | struct NonBlockingMutexSendSyncImplementationDocTests {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `non_blocking_mutex` (lib) generated 4 warnings (run `cargo fix --lib -p non_blocking_mutex` to apply 1 suggestion) [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> tests/dynamic_non_blocking_mutex.rs:355:9 [INFO] [stderr] | [INFO] [stderr] 355 | / /// How many threads can physically access [NonBlockingMutex] [INFO] [stderr] 356 | | /// simultaneously, needed for computing `shard_count` of [ShardedQueue], [INFO] [stderr] 357 | | /// used to store queue of tasks [INFO] [stderr] | |________________________________________^ [INFO] [stderr] 358 | let max_concurrent_thread_count = available_parallelism().unwrap().get(); [INFO] [stderr] | ------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> tests/dynamic_non_blocking_mutex.rs:360:9 [INFO] [stderr] | [INFO] [stderr] 360 | / /// Will work with any [FnOnce] and is easy to use, [INFO] [stderr] 361 | | /// but will [Box] tasks and use dynamic dispatch [INFO] [stderr] 362 | | /// when can't acquire lock on first try [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] 363 | let non_blocking_mutex = DynamicNonBlockingMutex::new(max_concurrent_thread_count, 0); [INFO] [stderr] | -------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: function `can_use_Fn` should have a snake case name [INFO] [stderr] --> tests/dynamic_non_blocking_mutex.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn can_use_Fn() { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `can_use_fn` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `can_use_Fn_recursively` should have a snake case name [INFO] [stderr] --> tests/dynamic_non_blocking_mutex.rs:49:4 [INFO] [stderr] | [INFO] [stderr] 49 | fn can_use_Fn_recursively() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `can_use_fn_recursively` [INFO] [stderr] [INFO] [stderr] warning: function `can_use_FnMut` should have a snake case name [INFO] [stderr] --> tests/dynamic_non_blocking_mutex.rs:113:4 [INFO] [stderr] | [INFO] [stderr] 113 | fn can_use_FnMut() { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `can_use_fn_mut` [INFO] [stderr] [INFO] [stderr] warning: function `can_use_FnMut_recursively` should have a snake case name [INFO] [stderr] --> tests/dynamic_non_blocking_mutex.rs:148:4 [INFO] [stderr] | [INFO] [stderr] 148 | fn can_use_FnMut_recursively() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `can_use_fn_mut_recursively` [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> tests/non_blocking_mutex.rs:739:9 [INFO] [stderr] | [INFO] [stderr] 739 | / /// How many threads can physically access [NonBlockingMutex] [INFO] [stderr] 740 | | /// simultaneously, needed for computing `shard_count` of [ShardedQueue], [INFO] [stderr] 741 | | /// used to store queue of tasks [INFO] [stderr] | |________________________________________^ [INFO] [stderr] 742 | let max_concurrent_thread_count = available_parallelism().unwrap().get(); [INFO] [stderr] | ------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> tests/non_blocking_mutex.rs:744:9 [INFO] [stderr] | [INFO] [stderr] 744 | / /// Will infer exact type and size of struct [Task] and [INFO] [stderr] 745 | | /// make sized [NonBlockingMutex] which takes only [Task] [INFO] [stderr] 746 | | /// without ever requiring [Box]-ing or dynamic dispatch [INFO] [stderr] | |________________________________________________________________^ [INFO] [stderr] 747 | let non_blocking_mutex = NonBlockingMutex::new(max_concurrent_thread_count, 0); [INFO] [stderr] | ------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> tests/non_blocking_mutex.rs:814:25 [INFO] [stderr] | [INFO] [stderr] 814 | /// Where to write snapshot of `State` before applying function to `State` [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 815 | snapshot_before_change_ref, [INFO] [stderr] | -------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> tests/non_blocking_mutex.rs:816:25 [INFO] [stderr] | [INFO] [stderr] 816 | /// Where to write snapshot of `State` after applying function to `State [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 817 | snapshot_after_change_ref, [INFO] [stderr] | ------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> tests/non_blocking_mutex.rs:832:25 [INFO] [stderr] | [INFO] [stderr] 832 | /// Where to write snapshot of `State` before applying function to `State` [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 833 | snapshot_before_change_ref, [INFO] [stderr] | -------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> tests/non_blocking_mutex.rs:834:25 [INFO] [stderr] | [INFO] [stderr] 834 | /// Where to write snapshot of `State` after applying function to `State [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 835 | snapshot_after_change_ref, [INFO] [stderr] | ------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state_2_ref` [INFO] [stderr] --> tests/non_blocking_mutex.rs:329:9 [INFO] [stderr] | [INFO] [stderr] 329 | let state_2_ref = &mut state_2; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_2_ref` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `can_use_Fn` should have a snake case name [INFO] [stderr] --> tests/non_blocking_mutex.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | fn can_use_Fn() { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `can_use_fn` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `can_use_Fn_recursively` should have a snake case name [INFO] [stderr] --> tests/non_blocking_mutex.rs:83:4 [INFO] [stderr] | [INFO] [stderr] 83 | fn can_use_Fn_recursively() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `can_use_fn_recursively` [INFO] [stderr] [INFO] [stderr] warning: function `can_use_FnMut` should have a snake case name [INFO] [stderr] --> tests/non_blocking_mutex.rs:247:4 [INFO] [stderr] | [INFO] [stderr] 247 | fn can_use_FnMut() { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `can_use_fn_mut` [INFO] [stderr] [INFO] [stderr] warning: function `can_use_FnMut_recursively` should have a snake case name [INFO] [stderr] --> tests/non_blocking_mutex.rs:318:4 [INFO] [stderr] | [INFO] [stderr] 318 | fn can_use_FnMut_recursively() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `can_use_fn_mut_recursively` [INFO] [stderr] [INFO] [stderr] warning: `non_blocking_mutex` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: `non_blocking_mutex` (test "dynamic_non_blocking_mutex") generated 6 warnings [INFO] [stderr] warning: `non_blocking_mutex` (test "non_blocking_mutex") generated 11 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/non_blocking_mutex-8577235405213fef) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/dynamic_non_blocking_mutex.rs (/opt/rustwide/target/debug/deps/dynamic_non_blocking_mutex-b56860dfe5c665c8) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test can_use_FnMut_recursively ... ok [INFO] [stdout] test can_use_FnMut ... ok [INFO] [stdout] test dynamic_non_blocking_mutex_task_should_have_size_of_boxed_dyn_fn_once ... ok [INFO] [stdout] test can_use_Fn_recursively ... ok [INFO] [stdout] test can_use_Fn ... ok [INFO] [stdout] test can_capture_variables_in_scoped_threads ... ok [INFO] [stdout] test run_count_is_expected ... ok [INFO] [stdout] test big_state_is_expected ... ok [INFO] [stdout] test small_state_is_expected ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.61s [INFO] [stdout] [INFO] [stderr] Running tests/non_blocking_mutex.rs (/opt/rustwide/target/debug/deps/non_blocking_mutex-f8b5940fdb8ec7ca) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test can_use_FnMut ... ok [INFO] [stdout] test can_use_Fn ... ok [INFO] [stdout] test can_use_FnMut_recursively ... ok [INFO] [stdout] test can_use_Fn_recursively ... ok [INFO] [stdout] test task_without_captured_variables_should_be_zero_sized ... ok [INFO] [stdout] test can_capture_variables_in_scoped_threads ... ok [INFO] [stdout] test big_state_is_expected ... ok [INFO] [stdout] test small_state_is_expected ... ok [INFO] [stdout] test run_count_is_expected ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stderr] Doc-tests non_blocking_mutex [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 406) - compile fail ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 452) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 484) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 500) - compile fail ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 360) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 397) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutex<'captured_variables,State,TNonBlockingMutexTask> (line 36) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 520) - compile fail ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 468) - compile fail ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 538) - compile fail ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 382) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 428) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 349) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 589) - compile fail ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 370) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 581) - compile fail ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 632) - compile fail ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 340) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 597) - compile fail ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 610) - compile fail ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 621) - compile fail ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 558) - compile fail ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 439) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutex<'captured_variables,State,TNonBlockingMutexTask> (line 56) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 415) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutex<'captured_variables,State,TNonBlockingMutexTask> (line 101) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.91s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2fe5c853c81c9a59e92c0dd3044d46dff13e9895d873b61b48f37f1198f43804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fe5c853c81c9a59e92c0dd3044d46dff13e9895d873b61b48f37f1198f43804", kill_on_drop: false }` [INFO] [stdout] 2fe5c853c81c9a59e92c0dd3044d46dff13e9895d873b61b48f37f1198f43804