[INFO] fetching crate threadpool-crossbeam-channel 1.8.0... [INFO] testing threadpool-crossbeam-channel-1.8.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate threadpool-crossbeam-channel 1.8.0 into /workspace/builds/worker-5-tc1/source [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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate threadpool-crossbeam-channel 1.8.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding crossbeam-channel v0.4.4 (available: v0.5.15) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-channel v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72726d62ad2ca7d125e669f2f5c7e1067c084f280d9db14928d81a0f1f48e6c7 [INFO] running `Command { std: "docker" "start" "-a" "72726d62ad2ca7d125e669f2f5c7e1067c084f280d9db14928d81a0f1f48e6c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72726d62ad2ca7d125e669f2f5c7e1067c084f280d9db14928d81a0f1f48e6c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72726d62ad2ca7d125e669f2f5c7e1067c084f280d9db14928d81a0f1f48e6c7", kill_on_drop: false }` [INFO] [stdout] 72726d62ad2ca7d125e669f2f5c7e1067c084f280d9db14928d81a0f1f48e6c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86ae110570945a1492790afed7f3936f0bb6ed6ed07585ac44be51b8110e5384 [INFO] running `Command { std: "docker" "start" "-a" "86ae110570945a1492790afed7f3936f0bb6ed6ed07585ac44be51b8110e5384", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling num_cpus v1.17.0 [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 | type Thunk<'a> = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.45s [INFO] running `Command { std: "docker" "inspect" "86ae110570945a1492790afed7f3936f0bb6ed6ed07585ac44be51b8110e5384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86ae110570945a1492790afed7f3936f0bb6ed6ed07585ac44be51b8110e5384", kill_on_drop: false }` [INFO] [stdout] 86ae110570945a1492790afed7f3936f0bb6ed6ed07585ac44be51b8110e5384 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75ffbefeae32ebbe7610367d254784a021907d004a349580dac15fbec620a46b [INFO] running `Command { std: "docker" "start" "-a" "75ffbefeae32ebbe7610367d254784a021907d004a349580dac15fbec620a46b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 | type Thunk<'a> = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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: 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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 | type Thunk<'a> = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.83s [INFO] running `Command { std: "docker" "inspect" "75ffbefeae32ebbe7610367d254784a021907d004a349580dac15fbec620a46b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75ffbefeae32ebbe7610367d254784a021907d004a349580dac15fbec620a46b", kill_on_drop: false }` [INFO] [stdout] 75ffbefeae32ebbe7610367d254784a021907d004a349580dac15fbec620a46b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a25f0c4995b2007827cd2125d8ccd4dfd8de36e36a75d2758d3ef83990767e93 [INFO] running `Command { std: "docker" "start" "-a" "a25f0c4995b2007827cd2125d8ccd4dfd8de36e36a75d2758d3ef83990767e93", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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 [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 101 | type Thunk<'a> = Box; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `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: `threadpool-crossbeam-channel` (lib) generated 2 warnings (run `cargo fix --lib -p threadpool-crossbeam-channel` to apply 1 suggestion) [INFO] [stderr] warning: `threadpool-crossbeam-channel` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/threadpool_crossbeam_channel-9811c2f1c9e8d1c9) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test test::test_cloned_eq ... ok [INFO] [stdout] test test::test_multi_join ... ok [INFO] [stdout] test test::test_empty_pool ... ok [INFO] [stdout] test test::test_name ... ok [INFO] [stdout] test test::test_recovery_from_subtask_panic ... ok [INFO] [stdout] test test::test_send ... ok [INFO] [stdout] test test::test_send_shared_data ... ok [INFO] [stdout] test test::test_active_count ... ok [INFO] [stdout] test test::test_debug ... ok [INFO] [stdout] test test::test_should_not_panic_on_drop_if_subtasks_panic_after_drop ... ok [INFO] [stdout] test test::test_shrink ... ok [INFO] [stdout] test test::test_sync_shared_data ... ok [INFO] [stdout] test test::test_works ... ok [INFO] [stdout] test test::test_zero_tasks_panic - should panic ... ok [INFO] [stdout] test test::test_join_wavesurfer ... ok [INFO] [stdout] test test::test_massive_task_creation ... ok [INFO] [stdout] test test::test_clone ... 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_repeate_join ... ok [INFO] [stdout] test test::test_set_num_threads_increasing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 25.03s [INFO] [stdout] [INFO] [stderr] Doc-tests threadpool_crossbeam_channel [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/lib.rs - Builder::num_threads (line 197) ... FAILED [INFO] [stdout] test src/lib.rs - Builder (line 153) ... FAILED [INFO] [stdout] test src/lib.rs - Builder::thread_stack_size (line 254) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::clone (line 645) ... FAILED [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - Builder::new (line 173) ... FAILED [INFO] [stdout] test src/lib.rs - Builder::thread_name (line 225) ... FAILED [INFO] [stdout] test src/lib.rs - (line 48) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::join (line 597) ... FAILED [INFO] [stdout] test src/lib.rs - Builder::build (line 277) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::max_count (line 488) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::execute (line 418) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::active_count (line 465) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::eq (line 707) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::set_num_threads (line 541) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::with_name (line 381) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::new (line 363) ... FAILED [INFO] [stdout] test src/lib.rs - ThreadPool::panic_count (line 505) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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::num_threads (line 197) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] --> src/lib.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 5 | let pool = threadpool::Builder::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let pool = threadpool::Builder::new() [INFO] [stdout] 5 + let pool = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 (line 153) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] --> src/lib.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 3 | let pool = threadpool::Builder::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let pool = threadpool::Builder::new() [INFO] [stdout] 3 + let pool = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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_stack_size (line 254) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] --> src/lib.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 3 | let pool = threadpool::Builder::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let pool = threadpool::Builder::new() [INFO] [stdout] 3 + let pool = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate threadpool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate threadpool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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::new (line 173) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] --> src/lib.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = threadpool::Builder::new(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let builder = threadpool::Builder::new(); [INFO] [stdout] 3 + let builder = Builder::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 unresolved module or unlinked crate `threadpool` [INFO] [stdout] --> src/lib.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 5 | let pool = threadpool::Builder::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let pool = threadpool::Builder::new() [INFO] [stdout] 5 + let pool = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 - (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] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate threadpool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate threadpool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 unresolved module or unlinked crate `threadpool` [INFO] [stdout] --> src/lib.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 3 | let pool = threadpool::Builder::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let pool = threadpool::Builder::new() [INFO] [stdout] 3 + let pool = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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::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] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate threadpool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate threadpool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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::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] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate threadpool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate threadpool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate threadpool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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::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] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate threadpool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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::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] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate threadpool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate threadpool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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] | ^^^^^^^^^^ use of unresolved module or unlinked crate `threadpool` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `threadpool`, use `cargo add threadpool` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate threadpool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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.64s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a25f0c4995b2007827cd2125d8ccd4dfd8de36e36a75d2758d3ef83990767e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a25f0c4995b2007827cd2125d8ccd4dfd8de36e36a75d2758d3ef83990767e93", kill_on_drop: false }` [INFO] [stdout] a25f0c4995b2007827cd2125d8ccd4dfd8de36e36a75d2758d3ef83990767e93