[INFO] updating cached repository https://github.com/dnined/p2p [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f10227addae61bdd6d12b24bf00d5e33174a9ff5 [INFO] checking dnined/p2p against master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdnined%2Fp2p" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dnined/p2p on toolchain b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/dnined/p2p [INFO] finished tweaking git repo https://github.com/dnined/p2p [INFO] tweaked toml for git repo https://github.com/dnined/p2p written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/dnined/p2p already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 11e5215cf2d95176aa2fecc3b5e35322dce30cebb9348f520ef29871dbf1765f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "11e5215cf2d95176aa2fecc3b5e35322dce30cebb9348f520ef29871dbf1765f"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.16 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.16 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.16 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.16 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking tokio-threadpool v0.1.14 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.19 [INFO] [stderr] Compiling proc-macro-hack v0.5.7 [INFO] [stderr] Compiling futures-select-macro-preview v0.3.0-alpha.16 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.16 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.16 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.16 [INFO] [stderr] Checking d9d_p2p v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0277]: `Handler` cannot be shared between threads safely [INFO] [stderr] --> src/tcp.rs:35:29 [INFO] [stderr] | [INFO] [stderr] 35 | let spawn = spawner.spawn(async move { [INFO] [stderr] | ^^^^^ `Handler` cannot be shared between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sync` is not implemented for `Handler` [INFO] [stderr] = help: consider adding a `where Handler: std::marker::Sync` bound [INFO] [stderr] = note: required because of the requirements on the impl of `std::marker::Send` for `&Handler` [INFO] [stderr] = note: required because it appears within the type `for<'r, 's, 't0> {&'r Handler, Handler, fn(futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>) -> std::pin::Pin>, bytes::bytes::Bytes>>> {std::boxed::Box::>, bytes::bytes::Bytes>>::pin}, futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>, std::pin::Pin + std::marker::Send + 's)>>, std::pin::Pin>, bytes::bytes::Bytes>>>, fn(futures_util::compat::compat01as03::Compat01As03>>) -> std::pin::Pin>>>> {std::boxed::Box::>>>::pin}, futures_util::compat::compat01as03::Compat01As03>>, std::pin::Pin> + std::marker::Send + 't0)>>, std::pin::Pin>>>>, F, ()}` [INFO] [stderr] = note: required because it appears within the type `[static generator@src/tcp.rs:35:46: 39:10 handler:Handler, sink:futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>, stream:futures_util::compat::compat01as03::Compat01As03>> for<'r, 's, 't0> {&'r Handler, Handler, fn(futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>) -> std::pin::Pin>, bytes::bytes::Bytes>>> {std::boxed::Box::>, bytes::bytes::Bytes>>::pin}, futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>, std::pin::Pin + std::marker::Send + 's)>>, std::pin::Pin>, bytes::bytes::Bytes>>>, fn(futures_util::compat::compat01as03::Compat01As03>>) -> std::pin::Pin>>>> {std::boxed::Box::>>>::pin}, futures_util::compat::compat01as03::Compat01As03>>, std::pin::Pin> + std::marker::Send + 't0)>>, std::pin::Pin>>>>, F, ()}]` [INFO] [stderr] = note: required because it appears within the type `std::future::GenFuture<[static generator@src/tcp.rs:35:46: 39:10 handler:Handler, sink:futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>, stream:futures_util::compat::compat01as03::Compat01As03>> for<'r, 's, 't0> {&'r Handler, Handler, fn(futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>) -> std::pin::Pin>, bytes::bytes::Bytes>>> {std::boxed::Box::>, bytes::bytes::Bytes>>::pin}, futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>, std::pin::Pin + std::marker::Send + 's)>>, std::pin::Pin>, bytes::bytes::Bytes>>>, fn(futures_util::compat::compat01as03::Compat01As03>>) -> std::pin::Pin>>>> {std::boxed::Box::>>>::pin}, futures_util::compat::compat01as03::Compat01As03>>, std::pin::Pin> + std::marker::Send + 't0)>>, std::pin::Pin>>>>, F, ()}]>` [INFO] [stderr] = note: required because it appears within the type `impl core::future::future::Future` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `d9d_p2p`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: `Handler` cannot be shared between threads safely [INFO] [stderr] --> src/tcp.rs:35:29 [INFO] [stderr] | [INFO] [stderr] 35 | let spawn = spawner.spawn(async move { [INFO] [stderr] | ^^^^^ `Handler` cannot be shared between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sync` is not implemented for `Handler` [INFO] [stderr] = help: consider adding a `where Handler: std::marker::Sync` bound [INFO] [stderr] = note: required because of the requirements on the impl of `std::marker::Send` for `&Handler` [INFO] [stderr] = note: required because it appears within the type `for<'r, 's, 't0> {&'r Handler, Handler, fn(futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>) -> std::pin::Pin>, bytes::bytes::Bytes>>> {std::boxed::Box::>, bytes::bytes::Bytes>>::pin}, futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>, std::pin::Pin + std::marker::Send + 's)>>, std::pin::Pin>, bytes::bytes::Bytes>>>, fn(futures_util::compat::compat01as03::Compat01As03>>) -> std::pin::Pin>>>> {std::boxed::Box::>>>::pin}, futures_util::compat::compat01as03::Compat01As03>>, std::pin::Pin> + std::marker::Send + 't0)>>, std::pin::Pin>>>>, F, ()}` [INFO] [stderr] = note: required because it appears within the type `[static generator@src/tcp.rs:35:46: 39:10 handler:Handler, sink:futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>, stream:futures_util::compat::compat01as03::Compat01As03>> for<'r, 's, 't0> {&'r Handler, Handler, fn(futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>) -> std::pin::Pin>, bytes::bytes::Bytes>>> {std::boxed::Box::>, bytes::bytes::Bytes>>::pin}, futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>, std::pin::Pin + std::marker::Send + 's)>>, std::pin::Pin>, bytes::bytes::Bytes>>>, fn(futures_util::compat::compat01as03::Compat01As03>>) -> std::pin::Pin>>>> {std::boxed::Box::>>>::pin}, futures_util::compat::compat01as03::Compat01As03>>, std::pin::Pin> + std::marker::Send + 't0)>>, std::pin::Pin>>>>, F, ()}]` [INFO] [stderr] = note: required because it appears within the type `std::future::GenFuture<[static generator@src/tcp.rs:35:46: 39:10 handler:Handler, sink:futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>, stream:futures_util::compat::compat01as03::Compat01As03>> for<'r, 's, 't0> {&'r Handler, Handler, fn(futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>) -> std::pin::Pin>, bytes::bytes::Bytes>>> {std::boxed::Box::>, bytes::bytes::Bytes>>::pin}, futures_util::compat::compat01as03::Compat01As03Sink>, bytes::bytes::Bytes>, std::pin::Pin + std::marker::Send + 's)>>, std::pin::Pin>, bytes::bytes::Bytes>>>, fn(futures_util::compat::compat01as03::Compat01As03>>) -> std::pin::Pin>>>> {std::boxed::Box::>>>::pin}, futures_util::compat::compat01as03::Compat01As03>>, std::pin::Pin> + std::marker::Send + 't0)>>, std::pin::Pin>>>>, F, ()}]>` [INFO] [stderr] = note: required because it appears within the type `impl core::future::future::Future` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `d9d_p2p`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "11e5215cf2d95176aa2fecc3b5e35322dce30cebb9348f520ef29871dbf1765f"` [INFO] running `"docker" "rm" "-f" "11e5215cf2d95176aa2fecc3b5e35322dce30cebb9348f520ef29871dbf1765f"` [INFO] [stdout] 11e5215cf2d95176aa2fecc3b5e35322dce30cebb9348f520ef29871dbf1765f