[INFO] fetching crate threadpool-crossbeam-channel 1.8.0... [INFO] testing threadpool-crossbeam-channel-1.8.0 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate threadpool-crossbeam-channel 1.8.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate threadpool-crossbeam-channel 1.8.0 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate threadpool-crossbeam-channel 1.8.0 [INFO] finished tweaking crates.io crate threadpool-crossbeam-channel 1.8.0 [INFO] tweaked toml for crates.io crate threadpool-crossbeam-channel 1.8.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd1700d335f09e946465ec348856fa166f05248508e32042e9e4a57c4dbd7c74 [INFO] running `Command { std: "docker" "start" "-a" "bd1700d335f09e946465ec348856fa166f05248508e32042e9e4a57c4dbd7c74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd1700d335f09e946465ec348856fa166f05248508e32042e9e4a57c4dbd7c74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd1700d335f09e946465ec348856fa166f05248508e32042e9e4a57c4dbd7c74", kill_on_drop: false }` [INFO] [stdout] bd1700d335f09e946465ec348856fa166f05248508e32042e9e4a57c4dbd7c74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d05acc06f0463da218861c2d3f027349af79b3cfa94bce308ad97a1611220c22 [INFO] running `Command { std: "docker" "start" "-a" "d05acc06f0463da218861c2d3f027349af79b3cfa94bce308ad97a1611220c22", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling threadpool-crossbeam-channel v1.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | type Thunk<'a> = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:631:42 [INFO] [stdout] | [INFO] [stdout] 631 | self.shared_data.join_generation.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.09s [INFO] running `Command { std: "docker" "inspect" "d05acc06f0463da218861c2d3f027349af79b3cfa94bce308ad97a1611220c22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d05acc06f0463da218861c2d3f027349af79b3cfa94bce308ad97a1611220c22", kill_on_drop: false }` [INFO] [stdout] d05acc06f0463da218861c2d3f027349af79b3cfa94bce308ad97a1611220c22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb2b2d76ba42f2c2c158617cb048466c836e566fb2fd3b42eaba84de6abfd8c9 [INFO] running `Command { std: "docker" "start" "-a" "bb2b2d76ba42f2c2c158617cb048466c836e566fb2fd3b42eaba84de6abfd8c9", kill_on_drop: false }` [INFO] [stderr] Compiling threadpool-crossbeam-channel v1.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | type Thunk<'a> = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:631:42 [INFO] [stdout] | [INFO] [stdout] 631 | self.shared_data.join_generation.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | type Thunk<'a> = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:631:42 [INFO] [stdout] | [INFO] [stdout] 631 | self.shared_data.join_generation.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.26s [INFO] running `Command { std: "docker" "inspect" "bb2b2d76ba42f2c2c158617cb048466c836e566fb2fd3b42eaba84de6abfd8c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb2b2d76ba42f2c2c158617cb048466c836e566fb2fd3b42eaba84de6abfd8c9", kill_on_drop: false }` [INFO] [stdout] bb2b2d76ba42f2c2c158617cb048466c836e566fb2fd3b42eaba84de6abfd8c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] acbc43254f84c47fff97f9216bf240c5156e7a8df896ab76bdf89161958241fc [INFO] running `Command { std: "docker" "start" "-a" "acbc43254f84c47fff97f9216bf240c5156e7a8df896ab76bdf89161958241fc", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:101:22 [INFO] [stdout] running 21 tests [INFO] [stderr] | [INFO] [stdout] test test::test_cloned_eq ... ok [INFO] [stderr] 101 | type Thunk<'a> = Box; [INFO] [stdout] test test::test_send ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'a` [INFO] [stdout] test test::test_send_shared_data ... ok [INFO] [stderr] | [INFO] [stdout] test test::test_sync_shared_data ... ok [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/lib.rs:631:42 [INFO] [stderr] | [INFO] [stderr] 631 | self.shared_data.join_generation.compare_and_swap( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:101:22 [INFO] [stderr] | [INFO] [stderr] 101 | type Thunk<'a> = Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/lib.rs:631:42 [INFO] [stderr] | [INFO] [stderr] 631 | self.shared_data.join_generation.compare_and_swap( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/threadpool_crossbeam_channel-c6e864b137df8c16) [INFO] [stdout] test test::test_empty_pool ... ok [INFO] [stdout] test test::test_works ... ok [INFO] [stdout] test test::test_zero_tasks_panic - should panic ... ok [INFO] [stdout] test test::test_multi_join ... ok [INFO] [stdout] test test::test_name ... ok [INFO] [stdout] test test::test_shrink ... ok [INFO] [stdout] test test::test_should_not_panic_on_drop_if_subtasks_panic_after_drop ... ok [INFO] [stdout] test test::test_recovery_from_subtask_panic ... ok [INFO] [stdout] test test::test_active_count ... ok [INFO] [stdout] test test::test_debug ... ok [INFO] [stdout] test test::test_join_wavesurfer ... ok [INFO] [stdout] test test::test_clone ... ok [INFO] [stdout] test test::test_massive_task_creation ... ok [INFO] [stdout] test test::test_no_fun_or_joy ... ok [INFO] [stdout] test test::test_set_num_threads_decreasing ... ok [INFO] [stdout] test test::test_set_num_threads_increasing ... ok [INFO] [stdout] test test::test_repeate_join ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 24.01s [INFO] [stdout] [INFO] [stderr] Doc-tests threadpool-crossbeam-channel [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/lib.rs - Builder::new (line 173) ... FAILED [INFO] [stdout] test src/lib.rs - Builder::num_threads (line 197) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::clone (line 645) ... FAILED [INFO] [stdout] test src/lib.rs - Builder::build (line 277) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::with_name (line 381) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::execute (line 418) ... FAILED [INFO] [stdout] test src/lib.rs - Builder::thread_stack_size (line 254) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::new (line 363) ... FAILED [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - (line 48) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::eq (line 707) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::join (line 597) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::set_num_threads (line 541) ... FAILED [INFO] [stdout] test src/lib.rs - Builder (line 153) ... FAILED [INFO] [stdout] test src/lib.rs - Builder::thread_name (line 225) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::active_count (line 465) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::panic_count (line 505) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::max_count (line 488) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::queued_count (line 442) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Builder::new (line 173) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `threadpool` [INFO] [stdout] --> src/lib.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = threadpool::Builder::new(); [INFO] [stdout] | ^^^^^^^ not found in `threadpool` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Builder::num_threads (line 197) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `threadpool` [INFO] [stdout] --> src/lib.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 5 | let pool = threadpool::Builder::new() [INFO] [stdout] | ^^^^^^^ not found in `threadpool` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ThreadPool::clone (line 645) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `threadpool` [INFO] [stdout] --> src/lib.rs:646:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `threadpool`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Builder::build (line 277) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `threadpool` [INFO] [stdout] --> src/lib.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 3 | let pool = threadpool::Builder::new() [INFO] [stdout] | ^^^^^^^ not found in `threadpool` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ThreadPool::with_name (line 381) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `threadpool` [INFO] [stdout] --> src/lib.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 4 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `threadpool`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ThreadPool::execute (line 418) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `threadpool` [INFO] [stdout] --> src/lib.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `threadpool`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Builder::thread_stack_size (line 254) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `threadpool` [INFO] [stdout] --> src/lib.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 3 | let pool = threadpool::Builder::new() [INFO] [stdout] | ^^^^^^^ not found in `threadpool` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ThreadPool::new (line 363) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `threadpool` [INFO] [stdout] --> src/lib.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `threadpool`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 22) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `threadpool` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `threadpool`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 48) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `threadpool` [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `threadpool`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ThreadPool::eq (line 707) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `threadpool` [INFO] [stdout] --> src/lib.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `threadpool`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ThreadPool::join (line 597) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `threadpool` [INFO] [stdout] --> src/lib.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `threadpool`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ThreadPool::set_num_threads (line 541) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `threadpool` [INFO] [stdout] --> src/lib.rs:542:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `threadpool`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Builder (line 153) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `threadpool` [INFO] [stdout] --> src/lib.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 3 | let pool = threadpool::Builder::new() [INFO] [stdout] | ^^^^^^^ not found in `threadpool` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Builder::thread_name (line 225) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `threadpool` [INFO] [stdout] --> src/lib.rs:228:24 [INFO] [stdout] | [INFO] [stdout] 5 | let pool = threadpool::Builder::new() [INFO] [stdout] | ^^^^^^^ not found in `threadpool` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ThreadPool::active_count (line 465) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `threadpool` [INFO] [stdout] --> src/lib.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `threadpool`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ThreadPool::panic_count (line 505) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `threadpool` [INFO] [stdout] --> src/lib.rs:506:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `threadpool`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ThreadPool::max_count (line 488) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `threadpool` [INFO] [stdout] --> src/lib.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `threadpool`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ThreadPool::queued_count (line 442) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `threadpool` [INFO] [stdout] --> src/lib.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ maybe a missing crate `threadpool`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 22) [INFO] [stdout] src/lib.rs - (line 48) [INFO] [stdout] src/lib.rs - Builder (line 153) [INFO] [stdout] src/lib.rs - Builder::build (line 277) [INFO] [stdout] src/lib.rs - Builder::new (line 173) [INFO] [stdout] src/lib.rs - Builder::num_threads (line 197) [INFO] [stdout] src/lib.rs - Builder::thread_name (line 225) [INFO] [stdout] src/lib.rs - Builder::thread_stack_size (line 254) [INFO] [stdout] src/lib.rs - ThreadPool::active_count (line 465) [INFO] [stdout] src/lib.rs - ThreadPool::clone (line 645) [INFO] [stdout] src/lib.rs - ThreadPool::eq (line 707) [INFO] [stdout] src/lib.rs - ThreadPool::execute (line 418) [INFO] [stdout] src/lib.rs - ThreadPool::join (line 597) [INFO] [stdout] src/lib.rs - ThreadPool::max_count (line 488) [INFO] [stdout] src/lib.rs - ThreadPool::new (line 363) [INFO] [stdout] src/lib.rs - ThreadPool::panic_count (line 505) [INFO] [stdout] src/lib.rs - ThreadPool::queued_count (line 442) [INFO] [stdout] src/lib.rs - ThreadPool::set_num_threads (line 541) [INFO] [stdout] src/lib.rs - ThreadPool::with_name (line 381) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "acbc43254f84c47fff97f9216bf240c5156e7a8df896ab76bdf89161958241fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acbc43254f84c47fff97f9216bf240c5156e7a8df896ab76bdf89161958241fc", kill_on_drop: false }` [INFO] [stdout] acbc43254f84c47fff97f9216bf240c5156e7a8df896ab76bdf89161958241fc