[INFO] cloning repository https://github.com/raidakhoyyara/advprog-modul6
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raidakhoyyara/advprog-modul6" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraidakhoyyara%2Fadvprog-modul6", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraidakhoyyara%2Fadvprog-modul6'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c3e25f5a5e2a8bcecf101c27e2148f1d30a28faf
[INFO] checking raidakhoyyara/advprog-modul6 against try#6713fa75964eb229409a9c6f6f5c418423e313ff for pr-133502-22
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraidakhoyyara%2Fadvprog-modul6" "/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/raidakhoyyara/advprog-modul6
[INFO] finished tweaking git repo https://github.com/raidakhoyyara/advprog-modul6
[INFO] tweaked toml for git repo https://github.com/raidakhoyyara/advprog-modul6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/raidakhoyyara/advprog-modul6 on toolchain 6713fa75964eb229409a9c6f6f5c418423e313ff
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/raidakhoyyara/advprog-modul6 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" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0f98cd0ad1a5b38b9dd67708775740a1c55b259644fbda49a9666d8cbf6515c4
[INFO] running `Command { std: "docker" "start" "-a" "0f98cd0ad1a5b38b9dd67708775740a1c55b259644fbda49a9666d8cbf6515c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f98cd0ad1a5b38b9dd67708775740a1c55b259644fbda49a9666d8cbf6515c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f98cd0ad1a5b38b9dd67708775740a1c55b259644fbda49a9666d8cbf6515c4", kill_on_drop: false }`
[INFO] [stdout] 0f98cd0ad1a5b38b9dd67708775740a1c55b259644fbda49a9666d8cbf6515c4
[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" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c2928d92806ca9a0bc79d0f4415fbe981e29193db192fdbf7c24a38b84e4e9ab
[INFO] running `Command { std: "docker" "start" "-a" "c2928d92806ca9a0bc79d0f4415fbe981e29193db192fdbf7c24a38b84e4e9ab", kill_on_drop: false }`
[INFO] [stderr]     Checking hello v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ThreadPool {
[INFO] [stdout]    |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:11:41
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn build(size: usize) -> Result<ThreadPool, PoolCreationError> {
[INFO] [stdout]    |                                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<ThreadPool> ThreadPool {
[INFO] [stdout]    |     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `mpsc` in this scope
[INFO] [stdout]   --> src/lib.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let (sender, receiver) = mpsc::channel();
[INFO] [stdout]    |                                  ^^^^ use of unresolved module or unlinked crate `mpsc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mpsc`, use `cargo add mpsc` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::mpsc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/lib.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let receiver = Arc::new(Mutex::new(receiver));
[INFO] [stdout]    |                        ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope
[INFO] [stdout]   --> src/lib.rs:17:33
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let receiver = Arc::new(Mutex::new(receiver));
[INFO] [stdout]    |                                 ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Mutex;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::nonpoison::Mutex;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/lib.rs:21:42
[INFO] [stdout]    |
[INFO] [stdout] 21 |             workers.push(Worker::new(id, Arc::clone(&receiver)));
[INFO] [stdout]    |                                          ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |         Ok(ThreadPool {
[INFO] [stdout]    |            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TcpListener` in this scope
[INFO] [stdout]   --> src/lib.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let listener = TcpListener::bind("127.0.0.1:7878").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^ use of undeclared type `TcpListener`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Worker` in this scope
[INFO] [stdout]   --> src/lib.rs:21:26
[INFO] [stdout]    |
[INFO] [stdout] 21 |             workers.push(Worker::new(id, Arc::clone(&receiver)));
[INFO] [stdout]    |                          ^^^^^^ use of undeclared type `Worker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ThreadPool {
[INFO] [stdout]    |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:11:41
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn build(size: usize) -> Result<ThreadPool, PoolCreationError> {
[INFO] [stdout]    |                                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<ThreadPool> ThreadPool {
[INFO] [stdout]    |     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `mpsc` in this scope
[INFO] [stdout]   --> src/lib.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let (sender, receiver) = mpsc::channel();
[INFO] [stdout]    |                                  ^^^^ use of unresolved module or unlinked crate `mpsc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mpsc`, use `cargo add mpsc` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::mpsc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/lib.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let receiver = Arc::new(Mutex::new(receiver));
[INFO] [stdout]    |                        ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope
[INFO] [stdout]   --> src/lib.rs:17:33
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let receiver = Arc::new(Mutex::new(receiver));
[INFO] [stdout]    |                                 ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Mutex;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::nonpoison::Mutex;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/lib.rs:21:42
[INFO] [stdout]    |
[INFO] [stdout] 21 |             workers.push(Worker::new(id, Arc::clone(&receiver)));
[INFO] [stdout]    |                                          ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |         Ok(ThreadPool {
[INFO] [stdout]    |            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TcpListener` in this scope
[INFO] [stdout]   --> src/lib.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let listener = TcpListener::bind("127.0.0.1:7878").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^ use of undeclared type `TcpListener`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let pool = ThreadPool::build(4).unwrap_or_else(|err| {
[INFO] [stdout]    |                ^^^^^^^^^^ use of undeclared type `ThreadPool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handle_connection` in this scope
[INFO] [stdout]   --> src/lib.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             handle_connection(stream);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello` (lib) due to 11 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: cannot find type `Worker` in this scope
[INFO] [stdout]   --> src/lib.rs:21:26
[INFO] [stdout]    |
[INFO] [stdout] 21 |             workers.push(Worker::new(id, Arc::clone(&receiver)));
[INFO] [stdout]    |                          ^^^^^^ use of undeclared type `Worker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ThreadPool` in this scope
[INFO] [stdout]   --> src/lib.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let pool = ThreadPool::build(4).unwrap_or_else(|err| {
[INFO] [stdout]    |                ^^^^^^^^^^ use of undeclared type `ThreadPool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handle_connection` in this scope
[INFO] [stdout]   --> src/lib.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             handle_connection(stream);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello` (lib test) due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "c2928d92806ca9a0bc79d0f4415fbe981e29193db192fdbf7c24a38b84e4e9ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2928d92806ca9a0bc79d0f4415fbe981e29193db192fdbf7c24a38b84e4e9ab", kill_on_drop: false }`
[INFO] [stdout] c2928d92806ca9a0bc79d0f4415fbe981e29193db192fdbf7c24a38b84e4e9ab
