[INFO] cloning repository https://github.com/borasemiz/hyper-ws-minimum-reprod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/borasemiz/hyper-ws-minimum-reprod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fborasemiz%2Fhyper-ws-minimum-reprod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fborasemiz%2Fhyper-ws-minimum-reprod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c17bb256bd66874949c2d66af4103c9ab8407e31 [INFO] checking borasemiz/hyper-ws-minimum-reprod against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fborasemiz%2Fhyper-ws-minimum-reprod" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/borasemiz/hyper-ws-minimum-reprod on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/borasemiz/hyper-ws-minimum-reprod [INFO] finished tweaking git repo https://github.com/borasemiz/hyper-ws-minimum-reprod [INFO] tweaked toml for git repo https://github.com/borasemiz/hyper-ws-minimum-reprod written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/borasemiz/hyper-ws-minimum-reprod already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e79847287ae745522c82c4c5c4ec2ba63aa155cb2f1414a182b8940e28020b22 [INFO] running `Command { std: "docker" "start" "-a" "e79847287ae745522c82c4c5c4ec2ba63aa155cb2f1414a182b8940e28020b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e79847287ae745522c82c4c5c4ec2ba63aa155cb2f1414a182b8940e28020b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e79847287ae745522c82c4c5c4ec2ba63aa155cb2f1414a182b8940e28020b22", kill_on_drop: false }` [INFO] [stdout] e79847287ae745522c82c4c5c4ec2ba63aa155cb2f1414a182b8940e28020b22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eac554a3439f0dccf393b77ec4b44c6eae8f3b9714f18aa272d90fb61333e416 [INFO] running `Command { std: "docker" "start" "-a" "eac554a3439f0dccf393b77ec4b44c6eae8f3b9714f18aa272d90fb61333e416", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.50 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking socket2 v0.3.17 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking async-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `(dyn upgrade::Io + Send + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | let server = Server::bind(&addr).serve(handler_inst); [INFO] [stdout] | ^^^^^ `(dyn upgrade::Io + Send + 'static)` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `(dyn upgrade::Io + Send + 'static)` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `Unique<(dyn upgrade::Io + Send + 'static)>` [INFO] [stdout] = note: required because it appears within the type `Box<(dyn upgrade::Io + Send + 'static)>` [INFO] [stdout] = note: required because it appears within the type `hyper::common::io::rewind::Rewind>` [INFO] [stdout] = note: required because it appears within the type `Upgraded` [INFO] [stdout] = note: required because it appears within the type `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Arc>` [INFO] [stdout] note: required because it appears within the type `Handler` [INFO] [stdout] --> src/handler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Handler { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required because it appears within the type `hyper::proto::h2::server::Server, Handler, Body, hyper::common::exec::Exec>` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::ProtoServer` [INFO] [stdout] = note: required because it appears within the type `Option>` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::Connection` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::upgrades::UpgradeableConnection` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::spawn_all::State> + Send + 'static)>>, Handler, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::spawn_all::NewSvcTask> + Send + 'static)>>, Handler, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::common::exec::NewSvcExec> + Send + 'static)>>, Handler, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` for `hyper::common::exec::Exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `hyper::common::exec::Exec: hyper::common::exec::NewSvcExec> + Send + 'static)>>, Handler, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` is not satisfied [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | server.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `hyper::common::exec::NewSvcExec> + Send + 'static)>>, Handler, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` is not implemented for `hyper::common::exec::Exec` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `std::future::Future` for `Server` [INFO] [stdout] = note: required by `poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-rs` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `(dyn upgrade::Io + Send + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | let server = Server::bind(&addr).serve(handler_inst); [INFO] [stdout] | ^^^^^ `(dyn upgrade::Io + Send + 'static)` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `(dyn upgrade::Io + Send + 'static)` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `Unique<(dyn upgrade::Io + Send + 'static)>` [INFO] [stdout] = note: required because it appears within the type `Box<(dyn upgrade::Io + Send + 'static)>` [INFO] [stdout] = note: required because it appears within the type `hyper::common::io::rewind::Rewind>` [INFO] [stdout] = note: required because it appears within the type `Upgraded` [INFO] [stdout] = note: required because it appears within the type `Option` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Arc>` [INFO] [stdout] note: required because it appears within the type `Handler` [INFO] [stdout] --> src/handler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Handler { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required because it appears within the type `hyper::proto::h2::server::Server, Handler, Body, hyper::common::exec::Exec>` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::ProtoServer` [INFO] [stdout] = note: required because it appears within the type `Option>` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::Connection` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::upgrades::UpgradeableConnection` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::spawn_all::State> + Send + 'static)>>, Handler, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::spawn_all::NewSvcTask> + Send + 'static)>>, Handler, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::common::exec::NewSvcExec> + Send + 'static)>>, Handler, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` for `hyper::common::exec::Exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `hyper::common::exec::Exec: hyper::common::exec::NewSvcExec> + Send + 'static)>>, Handler, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` is not satisfied [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | server.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `hyper::common::exec::NewSvcExec> + Send + 'static)>>, Handler, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` is not implemented for `hyper::common::exec::Exec` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `std::future::Future` for `Server` [INFO] [stdout] = note: required by `poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [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" "eac554a3439f0dccf393b77ec4b44c6eae8f3b9714f18aa272d90fb61333e416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac554a3439f0dccf393b77ec4b44c6eae8f3b9714f18aa272d90fb61333e416", kill_on_drop: false }` [INFO] [stdout] eac554a3439f0dccf393b77ec4b44c6eae8f3b9714f18aa272d90fb61333e416