[INFO] fetching crate lf-shardedringbuf 4.1.0...
[INFO] testing lf-shardedringbuf-4.1.0 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate lf-shardedringbuf 4.1.0 into /workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate lf-shardedringbuf 4.1.0 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d6623bf076805402529f92af0e8292c93bf6ff423d8a9b5811c8e7d95f2a25af
[INFO] running `Command { std: "docker" "start" "-a" "d6623bf076805402529f92af0e8292c93bf6ff423d8a9b5811c8e7d95f2a25af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6623bf076805402529f92af0e8292c93bf6ff423d8a9b5811c8e7d95f2a25af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6623bf076805402529f92af0e8292c93bf6ff423d8a9b5811c8e7d95f2a25af", kill_on_drop: false }`
[INFO] [stdout] d6623bf076805402529f92af0e8292c93bf6ff423d8a9b5811c8e7d95f2a25af
[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 -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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd68ab94b198638019bd603c6a64b3a5e9c202cc9f063f76f1df37f29b4578dc
[INFO] running `Command { std: "docker" "start" "-a" "fd68ab94b198638019bd603c6a64b3a5e9c202cc9f063f76f1df37f29b4578dc", kill_on_drop: false }`
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling slab v0.4.10
[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 11.72s
[INFO] running `Command { std: "docker" "inspect" "fd68ab94b198638019bd603c6a64b3a5e9c202cc9f063f76f1df37f29b4578dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd68ab94b198638019bd603c6a64b3a5e9c202cc9f063f76f1df37f29b4578dc", kill_on_drop: false }`
[INFO] [stdout] fd68ab94b198638019bd603c6a64b3a5e9c202cc9f063f76f1df37f29b4578dc
[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 -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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9f9714178d3d235504c46ea2ee08a20e2b164a7e5f8f7594dcbe6a16fe9321bf
[INFO] running `Command { std: "docker" "start" "-a" "9f9714178d3d235504c46ea2ee08a20e2b164a7e5f8f7594dcbe6a16fe9321bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling clap_builder v4.5.40
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling anes v0.1.6
[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 tokio v1.45.1
[INFO] [stderr]    Compiling regex v1.11.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 31s
[INFO] running `Command { std: "docker" "inspect" "9f9714178d3d235504c46ea2ee08a20e2b164a7e5f8f7594dcbe6a16fe9321bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f9714178d3d235504c46ea2ee08a20e2b164a7e5f8f7594dcbe6a16fe9321bf", kill_on_drop: false }`
[INFO] [stdout] 9f9714178d3d235504c46ea2ee08a20e2b164a7e5f8f7594dcbe6a16fe9321bf
[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 -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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2b2b95a011953f23ee574a64783270302219975c763129b5673c82ebcb2ccfcb
[INFO] running `Command { std: "docker" "start" "-a" "2b2b95a011953f23ee574a64783270302219975c763129b5673c82ebcb2ccfcb", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[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_random_and_sweep ... ok
[INFO] [stdout] test test_mpmc_tasks ... ok
[INFO] [stdout] test test_cft_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_shiftby_uneven_tasks has been running for over 60 seconds
[INFO] [stdout] test test_shiftby_uneven_tasks ... ok
[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 251.51s
[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_spsc_tasks ... ok
[INFO] [stdout] test test_spmc_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_cft_more_deq_items_than_enq ... ok
[INFO] [stdout] test test_cft_policy ... ok
[INFO] [stdout] test test_cft_more_deq_than_enq ... ok
[INFO] [stdout] test test_cft_more_tasks_less_shards ... 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 29.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::spawn_buffer_task (line 29) ... FAILED
[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::rt_spawn_with_cft (line 424) ... FAILED
[INFO] [stdout] test src/task_local_spawn.rs - task_local_spawn::spawn_with_cft (line 267) ... ok
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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_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::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:     0x62d32e185482 - std::backtrace_rs::backtrace::libunwind::trace::h73a647620bf1c49d
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x62d32e185482 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d513ed96cb3cb1
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x62d32e185482 - std::sys::backtrace::_print_fmt::h61bb95f7476aafa5
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x62d32e185482 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha2e7e3a01df69042
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x62d32e1a31f3 - core::fmt::rt::Argument::fmt::hf14163372f0f9a76
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x62d32e1a31f3 - core::fmt::write::h7cb8f63788cd01d2
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x62d32e182b73 - std::io::default_write_fmt::h92ac9345fd53cc14
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x62d32e182b73 - std::io::Write::write_fmt::h5ebaf381f8338068
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x62d32e1852d2 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x62d32e1864c6 - std::panicking::default_hook::{{closure}}::h29548987efd832cb
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x62d32e1862c9 - std::panicking::default_hook::ha25170a15c643514
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:327:9
[INFO] [stdout]   11:     0x62d32e186dd2 - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:833:13
[INFO] [stdout]   12:     0x62d32e186c6a - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:706:13
[INFO] [stdout]   13:     0x62d32e185979 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   14:     0x62d32e1868fd - __rustc[beb0385846a06d21]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:697:5
[INFO] [stdout]   15:     0x62d32e1a2370 - core::panicking::panic_fmt::ha33fa2ae772efba9
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:75:14
[INFO] [stdout]   16:     0x62d32e12d658 - tokio::task::spawn::spawn_inner::panic_cold_display::hb48a618c9845aec9
[INFO] [stdout]   17:     0x62d32e12d5a2 - tokio::task::spawn::spawn_inner::h24e7110993c4f7d0
[INFO] [stdout]   18:     0x62d32e12d6f8 - tokio::task::spawn::spawn::h11e32989459e1d38
[INFO] [stdout]   19:     0x62d32e1103ad - lf_shardedringbuf::task_local_spawn::spawn_assigner::hcf08db921cabaab7
[INFO] [stdout]   20:     0x62d32e14894b - rust_out::main::_doctest_main_src_task_local_spawn_rs_424_0::hadb521b757a0f814
[INFO] [stdout]   21:     0x62d32e148656 - rust_out::main::h4293891446a396e5
[INFO] [stdout]   22:     0x62d32e11f673 - core::ops::function::FnOnce::call_once::h1b7f0f4a0fa90646
[INFO] [stdout]   23:     0x62d32e11a766 - std::sys::backtrace::__rust_begin_short_backtrace::h93ddb45b5142a0f2
[INFO] [stdout]   24:     0x62d32e11a2e9 - std::rt::lang_start::{{closure}}::hc7952c01b1103b9a
[INFO] [stdout]   25:     0x62d32e17d600 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hc3929e8466919df6
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:284:21
[INFO] [stdout]   26:     0x62d32e17d600 - std::panicking::catch_unwind::do_call::hed30a66745299fca
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40
[INFO] [stdout]   27:     0x62d32e17d600 - std::panicking::catch_unwind::hdfb0bc9563518507
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19
[INFO] [stdout]   28:     0x62d32e17d600 - std::panic::catch_unwind::hd0a1d748acfba573
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x62d32e17d600 - std::rt::lang_start_internal::{{closure}}::h0c1845f1b3064b93
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/rt.rs:175:24
[INFO] [stdout]   30:     0x62d32e17d600 - std::panicking::catch_unwind::do_call::h1114c52e864472d2
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40
[INFO] [stdout]   31:     0x62d32e17d600 - std::panicking::catch_unwind::h91938c6665615bc7
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19
[INFO] [stdout]   32:     0x62d32e17d600 - std::panic::catch_unwind::h0c65d4211626564a
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14
[INFO] [stdout]   33:     0x62d32e17d600 - std::rt::lang_start_internal::hc41e58da8618ff02
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/rt.rs:171:5
[INFO] [stdout]   34:     0x62d32e11a2d1 - std::rt::lang_start::hcc2a7507424cf42d
[INFO] [stdout]   35:     0x62d32e149d05 - main
[INFO] [stdout]   36:     0x7fa77f1db1ca - <unknown>
[INFO] [stdout]   37:     0x7fa77f1db28b - __libc_start_main
[INFO] [stdout]   38:     0x62d32e10d8d5 - _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 2.07s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2b2b95a011953f23ee574a64783270302219975c763129b5673c82ebcb2ccfcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b2b95a011953f23ee574a64783270302219975c763129b5673c82ebcb2ccfcb", kill_on_drop: false }`
[INFO] [stdout] 2b2b95a011953f23ee574a64783270302219975c763129b5673c82ebcb2ccfcb
