[INFO] cloning repository https://github.com/sudeepdino008/rust-webserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sudeepdino008/rust-webserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudeepdino008%2Frust-webserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudeepdino008%2Frust-webserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa6f325fbdd0bc251cc88bd080d0e473c61e7e18 [INFO] checking sudeepdino008/rust-webserver against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudeepdino008%2Frust-webserver" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sudeepdino008/rust-webserver on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sudeepdino008/rust-webserver [INFO] finished tweaking git repo https://github.com/sudeepdino008/rust-webserver [INFO] tweaked toml for git repo https://github.com/sudeepdino008/rust-webserver written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/sudeepdino008/rust-webserver already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2ba58149aedb53c0a3d5acce69176f6cc1fe8a2a4efdb68bd2e3a5f730470a4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c2ba58149aedb53c0a3d5acce69176f6cc1fe8a2a4efdb68bd2e3a5f730470a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2ba58149aedb53c0a3d5acce69176f6cc1fe8a2a4efdb68bd2e3a5f730470a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2ba58149aedb53c0a3d5acce69176f6cc1fe8a2a4efdb68bd2e3a5f730470a4", kill_on_drop: false }` [INFO] [stdout] c2ba58149aedb53c0a3d5acce69176f6cc1fe8a2a4efdb68bd2e3a5f730470a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dafe93013f5c83238b45979ed859c47b5b758285e61e57a723ddd7c8f60ad302 [INFO] running `Command { std: "docker" "start" "-a" "dafe93013f5c83238b45979ed859c47b5b758285e61e57a723ddd7c8f60ad302", kill_on_drop: false }` [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking webserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::VecDeque`, `mem`, `rc::Rc` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | net::{TcpListener, TcpStream}, [INFO] [stdout] 7 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::VecDeque`, `mem`, `rc::Rc` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | net::{TcpListener, TcpStream}, [INFO] [stdout] 7 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Sender` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | reg_for_sigs(Box::new(|| { [INFO] [stdout] | ___________________^________- [INFO] [stdout] | | __________________| [INFO] [stdout] | || [INFO] [stdout] 19 | || pool.shutdown(); [INFO] [stdout] 20 | || })); [INFO] [stdout] | ||_____-^ `Sender` cannot be shared between threads safely [INFO] [stdout] | |______| [INFO] [stdout] | within this `[closure@src/main.rs:18:27: 20:6]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:18:27: 20:6]`, the trait `Sync` is not implemented for `Sender` [INFO] [stdout] note: required because it appears within the type `ThreadPool` [INFO] [stdout] --> src/main.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct ThreadPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required because it appears within the type `&ThreadPool` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:18:27: 20:6]` [INFO] [stdout] = note: required for the cast to the object type `dyn Fn() + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Sender` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | reg_for_sigs(Box::new(|| { [INFO] [stdout] | ___________________^________- [INFO] [stdout] | | __________________| [INFO] [stdout] | || [INFO] [stdout] 19 | || pool.shutdown(); [INFO] [stdout] 20 | || })); [INFO] [stdout] | ||_____-^ `Sender` cannot be shared between threads safely [INFO] [stdout] | |______| [INFO] [stdout] | within this `[closure@src/main.rs:18:27: 20:6]` [INFO] [stdout] | [INFO] [stdout] = help: within `[closure@src/main.rs:18:27: 20:6]`, the trait `Sync` is not implemented for `Sender` [INFO] [stdout] note: required because it appears within the type `ThreadPool` [INFO] [stdout] --> src/main.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct ThreadPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required because it appears within the type `&ThreadPool` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:18:27: 20:6]` [INFO] [stdout] = note: required for the cast to the object type `dyn Fn() + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webserver` due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dafe93013f5c83238b45979ed859c47b5b758285e61e57a723ddd7c8f60ad302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dafe93013f5c83238b45979ed859c47b5b758285e61e57a723ddd7c8f60ad302", kill_on_drop: false }` [INFO] [stdout] dafe93013f5c83238b45979ed859c47b5b758285e61e57a723ddd7c8f60ad302