[INFO] cloning repository https://github.com/reb0und/threadpool
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/reb0und/threadpool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freb0und%2Fthreadpool", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freb0und%2Fthreadpool'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e878bd7f9a4772fb2d426936f77330bf019d0afd
[INFO] checking reb0und/threadpool against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freb0und%2Fthreadpool" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/reb0und/threadpool
[INFO] finished tweaking git repo https://github.com/reb0und/threadpool
[INFO] tweaked toml for git repo https://github.com/reb0und/threadpool written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/reb0und/threadpool on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/reb0und/threadpool 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b36b2307d9bc0a6e75bebe8846f6939edf76ddfcf87cee2e3b6758cfe7b6552d
[INFO] running `Command { std: "docker" "start" "-a" "b36b2307d9bc0a6e75bebe8846f6939edf76ddfcf87cee2e3b6758cfe7b6552d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b36b2307d9bc0a6e75bebe8846f6939edf76ddfcf87cee2e3b6758cfe7b6552d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b36b2307d9bc0a6e75bebe8846f6939edf76ddfcf87cee2e3b6758cfe7b6552d", kill_on_drop: false }`
[INFO] [stdout] b36b2307d9bc0a6e75bebe8846f6939edf76ddfcf87cee2e3b6758cfe7b6552d
[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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1c496e0f27c051a4bf774616a63abdaa4265d0b39a45757ee1e043016f61de9e
[INFO] running `Command { std: "docker" "start" "-a" "1c496e0f27c051a4bf774616a63abdaa4265d0b39a45757ee1e043016f61de9e", kill_on_drop: false }`
[INFO] [stderr]     Checking threadpool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Receiver` and `channel`
[INFO] [stdout]  --> src/lib.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::mpsc::{channel, Sender, Receiver};
[INFO] [stdout]   |                       ^^^^^^^          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `ThreadPool` is never constructed
[INFO] [stdout]  --> src/lib.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ThreadPool<T>
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Worker` is never constructed
[INFO] [stdout]   --> src/lib.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Worker<T> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `workers` and `sender` are never read
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct ThreadPool<T>
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     workers: Vec<Worker<T>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     // have way to send functiosn to the threads via channel
[INFO] [stdout] 14 |     sender: Option<Sender<Task<T>>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `thread` are never read
[INFO] [stdout]   --> src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Worker<T> {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 27 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 28 |     // thread, join handle
[INFO] [stdout] 29 |     thread: thread::JoinHandle<T>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `threadpool` (lib test) due to 2 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused imports: `Receiver` and `channel`
[INFO] [stdout]  --> src/lib.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::mpsc::{channel, Sender, Receiver};
[INFO] [stdout]   |                       ^^^^^^^          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `ThreadPool` is never constructed
[INFO] [stdout]  --> src/lib.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ThreadPool<T>
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Worker` is never constructed
[INFO] [stdout]   --> src/lib.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Worker<T> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `workers` and `sender` are never read
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct ThreadPool<T>
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     workers: Vec<Worker<T>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     // have way to send functiosn to the threads via channel
[INFO] [stdout] 14 |     sender: Option<Sender<Task<T>>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `thread` are never read
[INFO] [stdout]   --> src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Worker<T> {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 27 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 28 |     // thread, join handle
[INFO] [stdout] 29 |     thread: thread::JoinHandle<T>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `threadpool` (lib) due to 2 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1c496e0f27c051a4bf774616a63abdaa4265d0b39a45757ee1e043016f61de9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c496e0f27c051a4bf774616a63abdaa4265d0b39a45757ee1e043016f61de9e", kill_on_drop: false }`
[INFO] [stdout] 1c496e0f27c051a4bf774616a63abdaa4265d0b39a45757ee1e043016f61de9e
