[INFO] fetching crate lf-shardedringbuf 4.1.0...
[INFO] testing lf-shardedringbuf-4.1.0 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate lf-shardedringbuf 4.1.0 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate lf-shardedringbuf 4.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate lf-shardedringbuf 4.1.0
[INFO] tweaked toml for crates.io crate lf-shardedringbuf 4.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate lf-shardedringbuf 4.1.0 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate lf-shardedringbuf 4.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 450f9ff6632cb227a16f12515c84cacf32d37d239fb8ea2d1c7dbb90f7f64511
[INFO] running `Command { std: "docker" "start" "-a" "450f9ff6632cb227a16f12515c84cacf32d37d239fb8ea2d1c7dbb90f7f64511", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "450f9ff6632cb227a16f12515c84cacf32d37d239fb8ea2d1c7dbb90f7f64511", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "450f9ff6632cb227a16f12515c84cacf32d37d239fb8ea2d1c7dbb90f7f64511", kill_on_drop: false }`
[INFO] [stdout] 450f9ff6632cb227a16f12515c84cacf32d37d239fb8ea2d1c7dbb90f7f64511
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1b3fc926e60b0319c9c53ad83731f8a9b831bdd1c2b31cba54e1fe45951f36e5
[INFO] running `Command { std: "docker" "start" "-a" "1b3fc926e60b0319c9c53ad83731f8a9b831bdd1c2b31cba54e1fe45951f36e5", kill_on_drop: false }`
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling lf-shardedringbuf v4.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.49s
[INFO] running `Command { std: "docker" "inspect" "1b3fc926e60b0319c9c53ad83731f8a9b831bdd1c2b31cba54e1fe45951f36e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b3fc926e60b0319c9c53ad83731f8a9b831bdd1c2b31cba54e1fe45951f36e5", kill_on_drop: false }`
[INFO] [stdout] 1b3fc926e60b0319c9c53ad83731f8a9b831bdd1c2b31cba54e1fe45951f36e5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a5611b69e95c36eccf12ce63ec98a51c096fc345b3740ffc963a61b683d9e402
[INFO] running `Command { std: "docker" "start" "-a" "a5611b69e95c36eccf12ce63ec98a51c096fc345b3740ffc963a61b683d9e402", kill_on_drop: false }`
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling clap_builder v4.5.40
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling kanal v0.1.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling clap v4.5.40
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling lf-shardedringbuf v4.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.6.0
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 22s
[INFO] running `Command { std: "docker" "inspect" "a5611b69e95c36eccf12ce63ec98a51c096fc345b3740ffc963a61b683d9e402", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5611b69e95c36eccf12ce63ec98a51c096fc345b3740ffc963a61b683d9e402", kill_on_drop: false }`
[INFO] [stdout] a5611b69e95c36eccf12ce63ec98a51c096fc345b3740ffc963a61b683d9e402
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 88a595a21a84ab083470c88cadc3237dfe5983d867056cbb90a93cd075c40918
[INFO] running `Command { std: "docker" "start" "-a" "88a595a21a84ab083470c88cadc3237dfe5983d867056cbb90a93cd075c40918", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lf_shardedringbuf-d50296b18539495d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/async_multi_threaded.rs (/opt/rustwide/target/debug/deps/async_multi_threaded-aa531939ea1c7ef7)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test test_full_clear_empty ... ok
[INFO] [stdout] test test_spmc_tasks ... ok
[INFO] [stdout] test test_spsc_tasks ... ok
[INFO] [stdout] test test_mpsc_tasks ... ok
[INFO] [stdout] test test_mpmc_tasks ... ok
[INFO] [stdout] test test_random_and_sweep ... ok
[INFO] [stdout] test test_cft_uneven_tasks ... ok
[INFO] [stdout] test test_shiftby_uneven_tasks ... ok
[INFO] [stdout] test test_cft_more_deq_items_than_enq has been running for over 60 seconds
[INFO] [stdout] test test_cft_more_deq_than_enq has been running for over 60 seconds
[INFO] [stdout] test test_cft_more_tasks_less_shards has been running for over 60 seconds
[INFO] [stdout] test test_cft_policy has been running for over 60 seconds
[INFO] [stdout] test test_cft_policy ... ok
[INFO] [stdout] test test_cft_more_deq_items_than_enq ... ok
[INFO] [stdout] test test_cft_more_deq_than_enq ... ok
[INFO] [stdout] test test_cft_more_tasks_less_shards ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 222.89s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/async_single_threaded.rs (/opt/rustwide/target/debug/deps/async_single_threaded-fc25b4f7bf139166)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test test_full_clear_empty ... ok
[INFO] [stdout] test test_spmc_tasks ... ok
[INFO] [stdout] test test_spsc_tasks ... ok
[INFO] [stdout] test test_mpmc_tasks ... ok
[INFO] [stdout] test test_mpsc_tasks ... ok
[INFO] [stdout] test test_random_and_sweep ... ok
[INFO] [stdout] test test_cft_uneven_tasks ... ok
[INFO] [stdout] test test_cft_more_deq_items_than_enq ... ok
[INFO] [stdout] test test_cft_policy ... ok
[INFO] [stdout] test test_cft_more_tasks_less_shards ... ok
[INFO] [stdout] test test_cft_more_deq_than_enq ... ok
[INFO] [stdout] test test_shiftby_uneven_tasks ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 31.35s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests lf_shardedringbuf
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/task_local_spawn.rs - task_local_spawn::rt_spawn_buffer_task (line 135) ... FAILED
[INFO] [stdout] test src/task_local_spawn.rs - task_local_spawn::spawn_buffer_task (line 29) ... FAILED
[INFO] [stdout] test src/task_local_spawn.rs - task_local_spawn::spawn_with_cft (line 267) ... ok
[INFO] [stdout] test src/task_local_spawn.rs - task_local_spawn::rt_spawn_with_cft (line 424) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/task_local_spawn.rs - task_local_spawn::rt_spawn_buffer_task (line 135) stdout ----
[INFO] [stdout] error: expected `::`, found `:`
[INFO] [stdout]  --> src/task_local_spawn.rs:139:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | use shard_policies:ShardPolicy;
[INFO] [stdout]   |                   ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import paths are delimited using `::`
[INFO] [stdout] help: use double colon
[INFO] [stdout]   |
[INFO] [stdout] 7 | use shard_policies::ShardPolicy;
[INFO] [stdout]   |                    +
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `task_node`
[INFO] [stdout]  --> src/task_local_spawn.rs:138:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use task_node::TaskRole;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `task_node`
[INFO] [stdout]   |
[INFO] [stdout] help: to make use of source file src/task_node.rs, use `mod task_node` in this file to declare the module
[INFO] [stdout]   |
[INFO] [stdout] 2 + mod task_node;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `shard_policies`
[INFO] [stdout]  --> src/task_local_spawn.rs:139:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use shard_policies:ShardPolicy;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `shard_policies`
[INFO] [stdout]   |
[INFO] [stdout] help: to make use of source file src/shard_policies.rs, use `mod shard_policies` in this file to declare the module
[INFO] [stdout]   |
[INFO] [stdout] 2 + mod shard_policies;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `task_local_spawn`
[INFO] [stdout]  --> src/task_local_spawn.rs:140:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use task_local_spawn;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ no external crate `task_local_spawn`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:154:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | let rb: Arc<LFShardedRingBuf<usize>> = Arc::new(LFShardedRingBuf::new(CAPACITY, SHARDS));
[INFO] [stdout]    |         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/task_local_spawn.rs:154:40
[INFO] [stdout]    |
[INFO] [stdout] 22 | let rb: Arc<LFShardedRingBuf<usize>> = Arc::new(LFShardedRingBuf::new(CAPACITY, SHARDS));
[INFO] [stdout]    |                                        ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_TASKS` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:156:42
[INFO] [stdout]    |
[INFO] [stdout] 24 | let mut deq_threads = Vec::with_capacity(MAX_TASKS);
[INFO] [stdout]    |                                          ^^^^^^^^^ help: a local variable with a similar name exists: `MAX_TASK`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_TASKS` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:157:42
[INFO] [stdout]    |
[INFO] [stdout] 25 | let mut enq_threads = Vec::with_capacity(MAX_TASKS);
[INFO] [stdout]    |                                          ^^^^^^^^^ help: a local variable with a similar name exists: `MAX_TASK`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_TASKS` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:160:13
[INFO] [stdout]    |
[INFO] [stdout] 28 | for _ in 0..MAX_TASKS {
[INFO] [stdout]    |             ^^^^^^^^^ help: a local variable with a similar name exists: `MAX_TASK`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/task_local_spawn.rs:161:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let rb = Arc::clone(&rb);
[INFO] [stdout]    |              ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `rt_spawn_buffer_task` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:162:48
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let handler: tokio::task::JoinHandle<()> = rt_spawn_buffer_task(
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lf_shardedringbuf::rt_spawn_buffer_task;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_TASKS` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:166:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |             shift: MAX_TASKS,
[INFO] [stdout]    |                    ^^^^^^^^^ help: a local variable with a similar name exists: `MAX_TASK`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_TASKS` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:178:13
[INFO] [stdout]    |
[INFO] [stdout] 46 | for _ in 0..MAX_TASKS {
[INFO] [stdout]    |             ^^^^^^^^^ help: a local variable with a similar name exists: `MAX_TASK`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/task_local_spawn.rs:179:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let rb = Arc::clone(&rb);
[INFO] [stdout]    |              ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `rt_spawn_buffer_task` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:180:51
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let handler: tokio::task::JoinHandle<usize> = rt_spawn_buffer_task(
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lf_shardedringbuf::rt_spawn_buffer_task;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_TASKS` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:184:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |             shift: MAX_TASKS,
[INFO] [stdout]    |                    ^^^^^^^^^ help: a local variable with a similar name exists: `MAX_TASK`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/task_local_spawn.rs:203:9
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_task_local_spawn_rs_135_0() {
[INFO] [stdout]    |                                      ------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 71 |     enq.await.unwrap();
[INFO] [stdout]    |         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/task_local_spawn.rs:207:9
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_task_local_spawn_rs_135_0() {
[INFO] [stdout]    |                                      ------------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 75 |     deq.await.unwrap();
[INFO] [stdout]    |         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/task_local_spawn.rs - task_local_spawn::spawn_buffer_task (line 29) stdout ----
[INFO] [stdout] error: expected `::`, found `:`
[INFO] [stdout]  --> src/task_local_spawn.rs:33:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | use shard_policies:ShardPolicy;
[INFO] [stdout]   |                   ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import paths are delimited using `::`
[INFO] [stdout] help: use double colon
[INFO] [stdout]   |
[INFO] [stdout] 7 | use shard_policies::ShardPolicy;
[INFO] [stdout]   |                    +
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `task_node`
[INFO] [stdout]  --> src/task_local_spawn.rs:32:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use task_node::TaskRole;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `task_node`
[INFO] [stdout]   |
[INFO] [stdout] help: to make use of source file src/task_node.rs, use `mod task_node` in this file to declare the module
[INFO] [stdout]   |
[INFO] [stdout] 2 + mod task_node;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `shard_policies`
[INFO] [stdout]  --> src/task_local_spawn.rs:33:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use shard_policies:ShardPolicy;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `shard_policies`
[INFO] [stdout]   |
[INFO] [stdout] help: to make use of source file src/shard_policies.rs, use `mod shard_policies` in this file to declare the module
[INFO] [stdout]   |
[INFO] [stdout] 2 + mod shard_policies;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `task_local_spawn`
[INFO] [stdout]  --> src/task_local_spawn.rs:34:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use task_local_spawn;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ no external crate `task_local_spawn`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | let rb: Arc<LFShardedRingBuf<usize>> = Arc::new(LFShardedRingBuf::new(CAPACITY, SHARDS));
[INFO] [stdout]    |         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/task_local_spawn.rs:41:40
[INFO] [stdout]    |
[INFO] [stdout] 15 | let rb: Arc<LFShardedRingBuf<usize>> = Arc::new(LFShardedRingBuf::new(CAPACITY, SHARDS));
[INFO] [stdout]    |                                        ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_TASKS` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:43:42
[INFO] [stdout]    |
[INFO] [stdout] 17 | let mut deq_threads = Vec::with_capacity(MAX_TASKS);
[INFO] [stdout]    |                                          ^^^^^^^^^ help: a local variable with a similar name exists: `MAX_TASK`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_TASKS` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:44:42
[INFO] [stdout]    |
[INFO] [stdout] 18 | let mut enq_threads = Vec::with_capacity(MAX_TASKS);
[INFO] [stdout]    |                                          ^^^^^^^^^ help: a local variable with a similar name exists: `MAX_TASK`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_TASKS` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 21 | for _ in 0..MAX_TASKS {
[INFO] [stdout]    |             ^^^^^^^^^ help: a local variable with a similar name exists: `MAX_TASK`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/task_local_spawn.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let rb = Arc::clone(&rb);
[INFO] [stdout]    |              ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `spawn_buffer_task` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:49:48
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let handler: tokio::task::JoinHandle<()> = spawn_buffer_task(
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lf_shardedringbuf::spawn_buffer_task;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_TASKS` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:52:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |             shift: MAX_TASKS,
[INFO] [stdout]    |                    ^^^^^^^^^ help: a local variable with a similar name exists: `MAX_TASK`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_TASKS` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 38 | for _ in 0..MAX_TASKS {
[INFO] [stdout]    |             ^^^^^^^^^ help: a local variable with a similar name exists: `MAX_TASK`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/task_local_spawn.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let rb = Arc::clone(&rb);
[INFO] [stdout]    |              ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `spawn_buffer_task` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:66:51
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let handler: tokio::task::JoinHandle<usize> = spawn_buffer_task(
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use lf_shardedringbuf::spawn_buffer_task;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_TASKS` in this scope
[INFO] [stdout]   --> src/task_local_spawn.rs:69:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |             shift: MAX_TASKS,
[INFO] [stdout]    |                    ^^^^^^^^^ help: a local variable with a similar name exists: `MAX_TASK`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/task_local_spawn.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_task_local_spawn_rs_29_0() {
[INFO] [stdout]    |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 62 |     enq.await.unwrap();
[INFO] [stdout]    |         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/task_local_spawn.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_task_local_spawn_rs_29_0() {
[INFO] [stdout]    |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 66 |     deq.await.unwrap();
[INFO] [stdout]    |         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/task_local_spawn.rs - task_local_spawn::rt_spawn_with_cft (line 424) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' panicked at /opt/rustwide/workdir/src/task_local_spawn.rs:603:5:
[INFO] [stdout] there is no reactor running, must be called from the context of a Tokio 1.x runtime
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5dfbf3dee9d2 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5dfbf3dee9d2 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5dfbf3dee9d2 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5dfbf3dee9d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha499add612cccf8e
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5dfbf3e0c723 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5dfbf3e0c723 - core::fmt::write::hb10c956f5235c8a4
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x5dfbf3dec0b3 - std::io::default_write_fmt::h1470b6bb31d733fd
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5dfbf3dec0b3 - std::io::Write::write_fmt::hd8146ab3991543d1
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5dfbf3dee822 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5dfbf3defa16 - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5dfbf3def819 - std::panicking::default_hook::h7c46b44874fe5c9a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:327:9
[INFO] [stdout]   11:     0x5dfbf3df0322 - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:833:13
[INFO] [stdout]   12:     0x5dfbf3df01ba - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:706:13
[INFO] [stdout]   13:     0x5dfbf3deeec9 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   14:     0x5dfbf3defe4d - __rustc[18fb429eef004894]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5
[INFO] [stdout]   15:     0x5dfbf3e0b8a0 - core::panicking::panic_fmt::hd890aeb12c3a3fc3
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14
[INFO] [stdout]   16:     0x5dfbf3d96748 - tokio::task::spawn::spawn_inner::panic_cold_display::hb3253cac0930abb1
[INFO] [stdout]   17:     0x5dfbf3d96692 - tokio::task::spawn::spawn_inner::h2ca5eb4260e30f7c
[INFO] [stdout]   18:     0x5dfbf3d967e8 - tokio::task::spawn::spawn::hf691359c627bc09d
[INFO] [stdout]   19:     0x5dfbf3d793dd - lf_shardedringbuf::task_local_spawn::spawn_assigner::h85ac0fcf4993d59e
[INFO] [stdout]   20:     0x5dfbf3db1e4b - rust_out::main::_doctest_main_src_task_local_spawn_rs_424_0::hc75a8b3f4409a009
[INFO] [stdout]   21:     0x5dfbf3db1b56 - rust_out::main::h707a703e23e8b691
[INFO] [stdout]   22:     0x5dfbf3d88a33 - core::ops::function::FnOnce::call_once::hacedfcda517d60ac
[INFO] [stdout]   23:     0x5dfbf3d83816 - std::sys::backtrace::__rust_begin_short_backtrace::h4237a9aceaf0c727
[INFO] [stdout]   24:     0x5dfbf3d83359 - std::rt::lang_start::{{closure}}::hd68394c0f7c71761
[INFO] [stdout]   25:     0x5dfbf3de6b40 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h106557a9d245eb10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:284:21
[INFO] [stdout]   26:     0x5dfbf3de6b40 - std::panicking::catch_unwind::do_call::h18100d9574045a86
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   27:     0x5dfbf3de6b40 - std::panicking::catch_unwind::hf9f86a2471d520c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   28:     0x5dfbf3de6b40 - std::panic::catch_unwind::h410688ae8e8348a9
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x5dfbf3de6b40 - std::rt::lang_start_internal::{{closure}}::h42fee7344f1a80c6
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/rt.rs:175:24
[INFO] [stdout]   30:     0x5dfbf3de6b40 - std::panicking::catch_unwind::do_call::h62b4ab9c433ebcfb
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   31:     0x5dfbf3de6b40 - std::panicking::catch_unwind::h61ceb8228d4a4310
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   32:     0x5dfbf3de6b40 - std::panic::catch_unwind::hf4a60a68b20bb306
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   33:     0x5dfbf3de6b40 - std::rt::lang_start_internal::h3478bd2aa4cc9cb2
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/rt.rs:171:5
[INFO] [stdout]   34:     0x5dfbf3d83341 - std::rt::lang_start::h323b15ce03982075
[INFO] [stdout]   35:     0x5dfbf3db3225 - main
[INFO] [stdout]   36:     0x74c6c12d91ca - <unknown>
[INFO] [stdout]   37:     0x74c6c12d928b - __libc_start_main
[INFO] [stdout]   38:     0x5dfbf3d768d5 - _start
[INFO] [stdout]   39:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/task_local_spawn.rs - task_local_spawn::rt_spawn_buffer_task (line 135)
[INFO] [stdout]     src/task_local_spawn.rs - task_local_spawn::rt_spawn_with_cft (line 424)
[INFO] [stdout]     src/task_local_spawn.rs - task_local_spawn::spawn_buffer_task (line 29)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.94s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "88a595a21a84ab083470c88cadc3237dfe5983d867056cbb90a93cd075c40918", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88a595a21a84ab083470c88cadc3237dfe5983d867056cbb90a93cd075c40918", kill_on_drop: false }`
[INFO] [stdout] 88a595a21a84ab083470c88cadc3237dfe5983d867056cbb90a93cd075c40918
