[INFO] fetching crate non_blocking_mutex 3.1.3... [INFO] testing non_blocking_mutex-3.1.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate non_blocking_mutex 3.1.3 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate non_blocking_mutex 3.1.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 64 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a64002781bb90af0b2cc70a261908e72d3fbef15318ebe3ab0342e704fd19e12 [INFO] running `Command { std: "docker" "start" "-a" "a64002781bb90af0b2cc70a261908e72d3fbef15318ebe3ab0342e704fd19e12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a64002781bb90af0b2cc70a261908e72d3fbef15318ebe3ab0342e704fd19e12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64002781bb90af0b2cc70a261908e72d3fbef15318ebe3ab0342e704fd19e12", kill_on_drop: false }` [INFO] [stdout] a64002781bb90af0b2cc70a261908e72d3fbef15318ebe3ab0342e704fd19e12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e443763434f115ed20e1d4e6a38ffdbf91d2283ec90a0b01e860c69dc839cb9c [INFO] running `Command { std: "docker" "start" "-a" "e443763434f115ed20e1d4e6a38ffdbf91d2283ec90a0b01e860c69dc839cb9c", kill_on_drop: false }` [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.44s [INFO] running `Command { std: "docker" "inspect" "e443763434f115ed20e1d4e6a38ffdbf91d2283ec90a0b01e860c69dc839cb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e443763434f115ed20e1d4e6a38ffdbf91d2283ec90a0b01e860c69dc839cb9c", kill_on_drop: false }` [INFO] [stdout] e443763434f115ed20e1d4e6a38ffdbf91d2283ec90a0b01e860c69dc839cb9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f10a1045d6bf2303e96e0cfbb1b93ed5036c1ddf4467b308d7e27bb20e5f8694 [INFO] running `Command { std: "docker" "start" "-a" "f10a1045d6bf2303e96e0cfbb1b93ed5036c1ddf4467b308d7e27bb20e5f8694", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling nameof v1.3.0 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/dynamic_non_blocking_mutex.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | / /// Note that if [`fetch_sub`] != 1 [INFO] [stdout] 29 | | /// => some thread entered first if block in method [INFO] [stdout] 30 | | /// => [ShardedQueue::push_back] is guaranteed to be called [INFO] [stdout] 31 | | /// => [ShardedQueue::pop_front_or_spin_wait_item] will not deadlock while spins until it gets item [INFO] [stdout] 32 | | /// [INFO] [stdout] 33 | | /// Notice that we run action first, and only then decrement count [INFO] [stdout] 34 | | /// with releasing(pushing) memory changes, even if it looks otherwise [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] 35 | / while self.task_count.fetch_sub(1, Ordering::Release) != 1 { [INFO] [stdout] 36 | | self.task_queue [INFO] [stdout] 37 | | .pop_front_or_spin_wait_item() [INFO] [stdout] 38 | | .run_with_state(unsafe { MutexGuard::new(&self.unsafe_state) }); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::non_blocking_mutex::NonBlockingMutex` [INFO] [stdout] --> src/extensions/run_if_first_or_schedule_to_run_last.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::non_blocking_mutex::NonBlockingMutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/non_blocking_mutex.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | / /// Note that if [`fetch_sub`] != 1 [INFO] [stdout] 312 | | /// => some thread entered first if block in method [INFO] [stdout] 313 | | /// => [ShardedQueue::push_back] is guaranteed to be called [INFO] [stdout] 314 | | /// => [ShardedQueue::pop_front_or_spin_wait_item] will not deadlock while spins until it gets item [INFO] [stdout] 315 | | /// [INFO] [stdout] 316 | | /// Notice that we run action first, and only then decrement count [INFO] [stdout] 317 | | /// with releasing(pushing) memory changes, even if it looks otherwise [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] 318 | / while self.task_count.fetch_sub(1, Ordering::Release) != 1 { [INFO] [stdout] 319 | | self.task_queue [INFO] [stdout] 320 | | .pop_front_or_spin_wait_item() [INFO] [stdout] 321 | | .run_with_state(unsafe { MutexGuard::new(&self.unsafe_state) }); [INFO] [stdout] 322 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonBlockingMutexSendSyncImplementationDocTests` is never constructed [INFO] [stdout] --> src/non_blocking_mutex.rs:646:8 [INFO] [stdout] | [INFO] [stdout] 646 | struct NonBlockingMutexSendSyncImplementationDocTests {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [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/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: 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: 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 23.55s [INFO] running `Command { std: "docker" "inspect" "f10a1045d6bf2303e96e0cfbb1b93ed5036c1ddf4467b308d7e27bb20e5f8694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f10a1045d6bf2303e96e0cfbb1b93ed5036c1ddf4467b308d7e27bb20e5f8694", kill_on_drop: false }` [INFO] [stdout] f10a1045d6bf2303e96e0cfbb1b93ed5036c1ddf4467b308d7e27bb20e5f8694 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 714f1e4c8dcb497ffa3b17fd5b0c47d067ce47fdbccb990333644fccba6ff180 [INFO] running `Command { std: "docker" "start" "-a" "714f1e4c8dcb497ffa3b17fd5b0c47d067ce47fdbccb990333644fccba6ff180", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/dynamic_non_blocking_mutex.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | / /// Note that if [`fetch_sub`] != 1 [INFO] [stderr] 29 | | /// => some thread entered first if block in method [INFO] [stderr] 30 | | /// => [ShardedQueue::push_back] is guaranteed to be called [INFO] [stderr] 31 | | /// => [ShardedQueue::pop_front_or_spin_wait_item] will not deadlock while spins until it gets item [INFO] [stderr] 32 | | /// [INFO] [stderr] 33 | | /// Notice that we run action first, and only then decrement count [INFO] [stderr] 34 | | /// with releasing(pushing) memory changes, even if it looks otherwise [INFO] [stderr] | |__________________________________________________________________________________^ [INFO] [stderr] 35 | / while self.task_count.fetch_sub(1, Ordering::Release) != 1 { [INFO] [stderr] 36 | | self.task_queue [INFO] [stderr] 37 | | .pop_front_or_spin_wait_item() [INFO] [stderr] 38 | | .run_with_state(unsafe { MutexGuard::new(&self.unsafe_state) }); [INFO] [stderr] 39 | | } [INFO] [stderr] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::non_blocking_mutex::NonBlockingMutex` [INFO] [stderr] --> src/extensions/run_if_first_or_schedule_to_run_last.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::non_blocking_mutex::NonBlockingMutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/non_blocking_mutex.rs:311:13 [INFO] [stderr] | [INFO] [stderr] 311 | / /// Note that if [`fetch_sub`] != 1 [INFO] [stderr] 312 | | /// => some thread entered first if block in method [INFO] [stderr] 313 | | /// => [ShardedQueue::push_back] is guaranteed to be called [INFO] [stderr] 314 | | /// => [ShardedQueue::pop_front_or_spin_wait_item] will not deadlock while spins until it gets item [INFO] [stderr] 315 | | /// [INFO] [stderr] 316 | | /// Notice that we run action first, and only then decrement count [INFO] [stderr] 317 | | /// with releasing(pushing) memory changes, even if it looks otherwise [INFO] [stderr] | |__________________________________________________________________________________^ [INFO] [stderr] 318 | / while self.task_count.fetch_sub(1, Ordering::Release) != 1 { [INFO] [stderr] 319 | | self.task_queue [INFO] [stderr] 320 | | .pop_front_or_spin_wait_item() [INFO] [stderr] 321 | | .run_with_state(unsafe { MutexGuard::new(&self.unsafe_state) }); [INFO] [stderr] 322 | | } [INFO] [stderr] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: struct `NonBlockingMutexSendSyncImplementationDocTests` is never constructed [INFO] [stderr] --> src/non_blocking_mutex.rs:646:8 [INFO] [stderr] | [INFO] [stderr] 646 | struct NonBlockingMutexSendSyncImplementationDocTests {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `non_blocking_mutex` (lib) generated 4 warnings (run `cargo fix --lib -p non_blocking_mutex` to apply 1 suggestion) [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> tests/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` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: `non_blocking_mutex` (test "non_blocking_mutex") generated 11 warnings (run `cargo fix --test "non_blocking_mutex" -p non_blocking_mutex` to apply 1 suggestion) [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.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/non_blocking_mutex-9ffdd8b293925644) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/dynamic_non_blocking_mutex.rs (/opt/rustwide/target/debug/deps/dynamic_non_blocking_mutex-0929df2915113451) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test can_use_Fn ... ok [INFO] [stdout] test can_use_FnMut_recursively ... ok [INFO] [stdout] test can_use_FnMut ... ok [INFO] [stdout] test can_capture_variables_in_scoped_threads ... ok [INFO] [stdout] test can_use_Fn_recursively ... ok [INFO] [stdout] test dynamic_non_blocking_mutex_task_should_have_size_of_boxed_dyn_fn_once ... ok [INFO] [stdout] test run_count_is_expected ... ok [INFO] [stdout] test small_state_is_expected ... ok [INFO] [stdout] test big_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.42s [INFO] [stdout] [INFO] [stderr] Running tests/non_blocking_mutex.rs (/opt/rustwide/target/debug/deps/non_blocking_mutex-ef5c3d623b59f81c) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test can_use_FnMut_recursively ... ok [INFO] [stdout] test task_without_captured_variables_should_be_zero_sized ... ok [INFO] [stdout] test can_use_Fn_recursively ... ok [INFO] [stdout] test can_use_FnMut ... ok [INFO] [stdout] test can_use_Fn ... ok [INFO] [stdout] test can_capture_variables_in_scoped_threads ... ok [INFO] [stdout] test big_state_is_expected ... ok [INFO] [stdout] test small_state_is_expected ... ok [INFO] [stdout] test run_count_is_expected ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [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 360) ... 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 397) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 468) - compile fail ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 520) - 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 382) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 428) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 589) - compile fail ... 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::NonBlockingMutex<'captured_variables,State,TNonBlockingMutexTask> (line 36) ... 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::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 581) - 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 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 415) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 340) ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutexSendSyncImplementationDocTests (line 370) ... 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 439) ... 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 632) - compile fail ... ok [INFO] [stdout] test src/non_blocking_mutex.rs - non_blocking_mutex::NonBlockingMutex<'captured_variables,State,TNonBlockingMutexTask> (line 101) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "714f1e4c8dcb497ffa3b17fd5b0c47d067ce47fdbccb990333644fccba6ff180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "714f1e4c8dcb497ffa3b17fd5b0c47d067ce47fdbccb990333644fccba6ff180", kill_on_drop: false }` [INFO] [stdout] 714f1e4c8dcb497ffa3b17fd5b0c47d067ce47fdbccb990333644fccba6ff180