[INFO] fetching crate non_blocking_mutex 3.1.3... [INFO] testing non_blocking_mutex-3.1.3 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate non_blocking_mutex 3.1.3 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate non_blocking_mutex 3.1.3 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 74 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f57a8634611117e6973fa246ca4d2c6fcb11afa015f2cf57e2b310dfa45111e [INFO] running `Command { std: "docker" "start" "-a" "3f57a8634611117e6973fa246ca4d2c6fcb11afa015f2cf57e2b310dfa45111e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f57a8634611117e6973fa246ca4d2c6fcb11afa015f2cf57e2b310dfa45111e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f57a8634611117e6973fa246ca4d2c6fcb11afa015f2cf57e2b310dfa45111e", kill_on_drop: false }` [INFO] [stdout] 3f57a8634611117e6973fa246ca4d2c6fcb11afa015f2cf57e2b310dfa45111e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 078ab1142898aa30ea93f83efda656b30d1c7893c2d9904702f551c5eacc5ea7 [INFO] running `Command { std: "docker" "start" "-a" "078ab1142898aa30ea93f83efda656b30d1c7893c2d9904702f551c5eacc5ea7", 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 0.77s [INFO] running `Command { std: "docker" "inspect" "078ab1142898aa30ea93f83efda656b30d1c7893c2d9904702f551c5eacc5ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "078ab1142898aa30ea93f83efda656b30d1c7893c2d9904702f551c5eacc5ea7", kill_on_drop: false }` [INFO] [stdout] 078ab1142898aa30ea93f83efda656b30d1c7893c2d9904702f551c5eacc5ea7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 205f211b18009bb82430e6edace5ac3c68097b11240d1c621474f40e224c6e02 [INFO] running `Command { std: "docker" "start" "-a" "205f211b18009bb82430e6edace5ac3c68097b11240d1c621474f40e224c6e02", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [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 regex v1.11.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [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] --> 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: 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: 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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.51s [INFO] running `Command { std: "docker" "inspect" "205f211b18009bb82430e6edace5ac3c68097b11240d1c621474f40e224c6e02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "205f211b18009bb82430e6edace5ac3c68097b11240d1c621474f40e224c6e02", kill_on_drop: false }` [INFO] [stdout] 205f211b18009bb82430e6edace5ac3c68097b11240d1c621474f40e224c6e02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46e2cf1a02ca2e778abfe924cf348862d928863e8503a7c5d1a0b76d6dabac60 [INFO] running `Command { std: "docker" "start" "-a" "46e2cf1a02ca2e778abfe924cf348862d928863e8503a7c5d1a0b76d6dabac60", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/dynamic_non_blocking_mutex.rs:28:13 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 0 tests [INFO] [stderr] 28 | / /// Note that if [`fetch_sub`] != 1 [INFO] [stdout] [INFO] [stderr] 29 | | /// => some thread entered first if block in method [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 30 | | /// => [ShardedQueue::push_back] is guaranteed to be called [INFO] [stdout] [INFO] [stderr] 31 | | /// => [ShardedQueue::pop_front_or_spin_wait_item] will not deadlock while spins until it gets item [INFO] [stdout] [INFO] [stderr] 32 | | /// [INFO] [stdout] running 9 tests [INFO] [stderr] 33 | | /// Notice that we run action first, and only then decrement count [INFO] [stdout] test can_use_Fn ... ok [INFO] [stderr] 34 | | /// with releasing(pushing) memory changes, even if it looks otherwise [INFO] [stdout] test can_capture_variables_in_scoped_threads ... ok [INFO] [stderr] | |__________________________________________________________________________________^ [INFO] [stdout] test can_use_FnMut ... ok [INFO] [stderr] 35 | / while self.task_count.fetch_sub(1, Ordering::Release) != 1 { [INFO] [stdout] test can_use_FnMut_recursively ... ok [INFO] [stderr] 36 | | self.task_queue [INFO] [stdout] test can_use_Fn_recursively ... ok [INFO] [stderr] 37 | | .pop_front_or_spin_wait_item() [INFO] [stdout] test dynamic_non_blocking_mutex_task_should_have_size_of_boxed_dyn_fn_once ... ok [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/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: 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: `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.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/non_blocking_mutex-fe9a55a9b2c82b04) [INFO] [stderr] Running tests/dynamic_non_blocking_mutex.rs (/opt/rustwide/target/debug/deps/dynamic_non_blocking_mutex-3a184c8705053a78) [INFO] [stdout] test run_count_is_expected ... ok [INFO] [stdout] test big_state_is_expected ... ok [INFO] [stderr] Running tests/non_blocking_mutex.rs (/opt/rustwide/target/debug/deps/non_blocking_mutex-ab76a5fd4de27799) [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.11s [INFO] [stdout] [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 small_state_is_expected ... ok [INFO] [stdout] test big_state_is_expected ... ok [INFO] [stderr] Doc-tests non_blocking_mutex [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.04s [INFO] [stdout] [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 370) ... 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::NonBlockingMutexSendSyncImplementationDocTests (line 360) ... 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 349) ... 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::NonBlockingMutex<'captured_variables,State,TNonBlockingMutexTask> (line 36) ... 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::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 500) - 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 520) - compile fail ... 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 484) ... 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 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 621) - 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 597) - 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 415) ... 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 632) - compile fail ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.97s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "46e2cf1a02ca2e778abfe924cf348862d928863e8503a7c5d1a0b76d6dabac60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46e2cf1a02ca2e778abfe924cf348862d928863e8503a7c5d1a0b76d6dabac60", kill_on_drop: false }` [INFO] [stdout] 46e2cf1a02ca2e778abfe924cf348862d928863e8503a7c5d1a0b76d6dabac60