[INFO] fetching crate non_blocking_mutex 3.1.3... [INFO] testing non_blocking_mutex-3.1.3 against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] extracting crate non_blocking_mutex 3.1.3 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate non_blocking_mutex 3.1.3 on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sharded_queue v2.0.1 [INFO] [stderr] Downloaded nameof v1.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14d001e27e4cb6d2095a0fed0cf737bdf276e24d0c06bc11b261c3fb298a38c3 [INFO] running `Command { std: "docker" "start" "-a" "14d001e27e4cb6d2095a0fed0cf737bdf276e24d0c06bc11b261c3fb298a38c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14d001e27e4cb6d2095a0fed0cf737bdf276e24d0c06bc11b261c3fb298a38c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14d001e27e4cb6d2095a0fed0cf737bdf276e24d0c06bc11b261c3fb298a38c3", kill_on_drop: false }` [INFO] [stdout] 14d001e27e4cb6d2095a0fed0cf737bdf276e24d0c06bc11b261c3fb298a38c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 956db7b87a7fc5140ba842b082c983c9fbfa1c82c5f1959b9650091e6c9fa7b5 [INFO] running `Command { std: "docker" "start" "-a" "956db7b87a7fc5140ba842b082c983c9fbfa1c82c5f1959b9650091e6c9fa7b5", 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)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "956db7b87a7fc5140ba842b082c983c9fbfa1c82c5f1959b9650091e6c9fa7b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956db7b87a7fc5140ba842b082c983c9fbfa1c82c5f1959b9650091e6c9fa7b5", kill_on_drop: false }` [INFO] [stdout] 956db7b87a7fc5140ba842b082c983c9fbfa1c82c5f1959b9650091e6c9fa7b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 231954f1d53dd53076db97b059e6ecaba58b07b17a61e950c198264e96a88ae4 [INFO] running `Command { std: "docker" "start" "-a" "231954f1d53dd53076db97b059e6ecaba58b07b17a61e950c198264e96a88ae4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling nameof v1.2.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [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] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling ciborium v0.2.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/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: 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: 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: 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/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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 38.04s [INFO] running `Command { std: "docker" "inspect" "231954f1d53dd53076db97b059e6ecaba58b07b17a61e950c198264e96a88ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "231954f1d53dd53076db97b059e6ecaba58b07b17a61e950c198264e96a88ae4", kill_on_drop: false }` [INFO] [stdout] 231954f1d53dd53076db97b059e6ecaba58b07b17a61e950c198264e96a88ae4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a393f641244f87636a0ef9126c7ff6cecfff548b36758803ee00d427a0250ecf [INFO] running `Command { std: "docker" "start" "-a" "a393f641244f87636a0ef9126c7ff6cecfff548b36758803ee00d427a0250ecf", 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)]` 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)]` 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)]` 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/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)]` 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)]` 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)]` 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: 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)]` 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)]` 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: `non_blocking_mutex` (test "non_blocking_mutex") generated 11 warnings [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] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/non_blocking_mutex-54c7b20d7633998f) [INFO] [stdout] [INFO] [stderr] Running tests/dynamic_non_blocking_mutex.rs (/opt/rustwide/target/debug/deps/dynamic_non_blocking_mutex-ea4af31310cb375c) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test can_use_FnMut_recursively ... ok [INFO] [stdout] test can_use_Fn ... 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_capture_variables_in_scoped_threads ... ok [INFO] [stdout] test can_use_FnMut ... ok [INFO] [stdout] test big_state_is_expected ... ok [INFO] [stdout] test run_count_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.12s [INFO] [stdout] [INFO] [stderr] Running tests/non_blocking_mutex.rs (/opt/rustwide/target/debug/deps/non_blocking_mutex-929d502d133d16a2) [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_Fn_recursively ... ok [INFO] [stdout] test can_use_FnMut_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 run_count_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.15s [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 340) ... 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 360) ... 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 406) - compile fail ... 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 349) ... 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 56) ... 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::NonBlockingMutex<'captured_variables,State,TNonBlockingMutexTask> (line 101) ... 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 452) ... 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 538) - 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::NonBlockingMutexSendSyncImplementationDocTests (line 581) - compile fail ... 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::NonBlockingMutexSendSyncImplementationDocTests (line 520) - 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 589) - 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 597) - compile fail ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.31s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a393f641244f87636a0ef9126c7ff6cecfff548b36758803ee00d427a0250ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a393f641244f87636a0ef9126c7ff6cecfff548b36758803ee00d427a0250ecf", kill_on_drop: false }` [INFO] [stdout] a393f641244f87636a0ef9126c7ff6cecfff548b36758803ee00d427a0250ecf