[INFO] cloning repository https://github.com/singhmarut/rust-concurrency [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/singhmarut/rust-concurrency" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinghmarut%2Frust-concurrency", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinghmarut%2Frust-concurrency'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cea217d2def64bef1846a737b9aa097217d53cfd [INFO] checking singhmarut/rust-concurrency against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinghmarut%2Frust-concurrency" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/singhmarut/rust-concurrency on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/singhmarut/rust-concurrency [INFO] finished tweaking git repo https://github.com/singhmarut/rust-concurrency [INFO] tweaked toml for git repo https://github.com/singhmarut/rust-concurrency written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/singhmarut/rust-concurrency 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures v0.1.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 776e74714e15c299883e325a2a4c6c7566bed5106e7f5e5ff5172b3f736215c1 [INFO] running `Command { std: "docker" "start" "-a" "776e74714e15c299883e325a2a4c6c7566bed5106e7f5e5ff5172b3f736215c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "776e74714e15c299883e325a2a4c6c7566bed5106e7f5e5ff5172b3f736215c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "776e74714e15c299883e325a2a4c6c7566bed5106e7f5e5ff5172b3f736215c1", kill_on_drop: false }` [INFO] [stdout] 776e74714e15c299883e325a2a4c6c7566bed5106e7f5e5ff5172b3f736215c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1464c8bb5c4feaf81521e53ec93ad4b4d9b7bd96b2481ebc58b56bbdc06daed0 [INFO] running `Command { std: "docker" "start" "-a" "1464c8bb5c4feaf81521e53ec93ad4b4d9b7bd96b2481ebc58b56bbdc06daed0", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Checking futures v0.1.17 [INFO] [stderr] Checking lazycell v0.5.1 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking iovec v0.1.1 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking bytes v0.4.5 [INFO] [stderr] Checking mio v0.6.11 [INFO] [stderr] Checking tokio-io v0.1.4 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking tokio-core v0.1.11 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking hello_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/network.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | let bytes_copied = io::copy(reader, writer); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `&mut _`, found `ReadHalf` [INFO] [stdout] --> src/network.rs:128:41 [INFO] [stdout] | [INFO] [stdout] 128 | let bytes_copied = io::copy(reader, writer); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `tokio_io::io::ReadHalf` [INFO] [stdout] note: expected `&mut _`, found `WriteHalf` [INFO] [stdout] --> src/network.rs:128:49 [INFO] [stdout] | [INFO] [stdout] 128 | let bytes_copied = io::copy(reader, writer); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `tokio_io::io::WriteHalf` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/io/copy.rs:61:8 [INFO] [stdout] help: consider mutably borrowing here [INFO] [stdout] | [INFO] [stdout] 128 | let bytes_copied = io::copy(&mut reader, writer); [INFO] [stdout] | ++++ [INFO] [stdout] help: consider mutably borrowing here [INFO] [stdout] | [INFO] [stdout] 128 | let bytes_copied = io::copy(reader, &mut writer); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/network.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | let bytes_copied = io::copy(reader, writer); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `&mut _`, found `ReadHalf` [INFO] [stdout] --> src/network.rs:128:41 [INFO] [stdout] | [INFO] [stdout] 128 | let bytes_copied = io::copy(reader, writer); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `tokio_io::io::ReadHalf` [INFO] [stdout] note: expected `&mut _`, found `WriteHalf` [INFO] [stdout] --> src/network.rs:128:49 [INFO] [stdout] | [INFO] [stdout] 128 | let bytes_copied = io::copy(reader, writer); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `tokio_io::io::WriteHalf` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/io/copy.rs:61:8 [INFO] [stdout] help: consider mutably borrowing here [INFO] [stdout] | [INFO] [stdout] 128 | let bytes_copied = io::copy(&mut reader, writer); [INFO] [stdout] | ++++ [INFO] [stdout] help: consider mutably borrowing here [INFO] [stdout] | [INFO] [stdout] 128 | let bytes_copied = io::copy(reader, &mut writer); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/network.rs:131:51 [INFO] [stdout] | [INFO] [stdout] 131 | let handle_conn = bytes_copied.map( | (n, _, _)| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `(_, _, _)` [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found tuple `(_, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/network.rs:131:51 [INFO] [stdout] | [INFO] [stdout] 131 | let handle_conn = bytes_copied.map( | (n, _, _)| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `(_, _, _)` [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found tuple `(_, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result<(), ()>: futures::Future` is not satisfied [INFO] [stdout] --> src/network.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | handle.spawn(handle_conn); [INFO] [stdout] | ----- ^^^^^^^^^^^ the trait `futures::Future` is not implemented for `Result<(), ()>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Future`: [INFO] [stdout] &'a mut F [INFO] [stdout] AssertUnwindSafe [INFO] [stdout] BiLockAcquire [INFO] [stdout] Box [INFO] [stdout] Concat2 [INFO] [stdout] Connect [INFO] [stdout] Either [INFO] [stdout] Failed [INFO] [stdout] and 70 others [INFO] [stdout] note: required by a bound in `Handle::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-core-0.1.11/src/reactor/mod.rs:721:18 [INFO] [stdout] | [INFO] [stdout] 720 | pub fn spawn(&self, f: F) [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 721 | where F: Future + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Handle::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result<(), ()>: futures::Future` is not satisfied [INFO] [stdout] --> src/network.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | handle.spawn(handle_conn); [INFO] [stdout] | ----- ^^^^^^^^^^^ the trait `futures::Future` is not implemented for `Result<(), ()>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Future`: [INFO] [stdout] &'a mut F [INFO] [stdout] AssertUnwindSafe [INFO] [stdout] BiLockAcquire [INFO] [stdout] Box [INFO] [stdout] Concat2 [INFO] [stdout] Connect [INFO] [stdout] Either [INFO] [stdout] Failed [INFO] [stdout] and 70 others [INFO] [stdout] note: required by a bound in `Handle::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-core-0.1.11/src/reactor/mod.rs:721:18 [INFO] [stdout] | [INFO] [stdout] 720 | pub fn spawn(&self, f: F) [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 721 | where F: Future + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Handle::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_world` (bin "hello_world") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hello_world` (bin "hello_world" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "1464c8bb5c4feaf81521e53ec93ad4b4d9b7bd96b2481ebc58b56bbdc06daed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1464c8bb5c4feaf81521e53ec93ad4b4d9b7bd96b2481ebc58b56bbdc06daed0", kill_on_drop: false }` [INFO] [stdout] 1464c8bb5c4feaf81521e53ec93ad4b4d9b7bd96b2481ebc58b56bbdc06daed0 [INFO] checking singhmarut/rust-concurrency against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinghmarut%2Frust-concurrency" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/singhmarut/rust-concurrency on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/singhmarut/rust-concurrency [INFO] finished tweaking git repo https://github.com/singhmarut/rust-concurrency [INFO] tweaked toml for git repo https://github.com/singhmarut/rust-concurrency written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/singhmarut/rust-concurrency 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d526aee23ee00f84951ab25413c728b4166bfe8d117d67d911990a4d2482dd4 [INFO] running `Command { std: "docker" "start" "-a" "2d526aee23ee00f84951ab25413c728b4166bfe8d117d67d911990a4d2482dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d526aee23ee00f84951ab25413c728b4166bfe8d117d67d911990a4d2482dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d526aee23ee00f84951ab25413c728b4166bfe8d117d67d911990a4d2482dd4", kill_on_drop: false }` [INFO] [stdout] 2d526aee23ee00f84951ab25413c728b4166bfe8d117d67d911990a4d2482dd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f664545e54e6a88f5fdc5df92624b3f3b8496c73a87dd6bb9beeae9f77f69bf [INFO] running `Command { std: "docker" "start" "-a" "9f664545e54e6a88f5fdc5df92624b3f3b8496c73a87dd6bb9beeae9f77f69bf", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "9f664545e54e6a88f5fdc5df92624b3f3b8496c73a87dd6bb9beeae9f77f69bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f664545e54e6a88f5fdc5df92624b3f3b8496c73a87dd6bb9beeae9f77f69bf", kill_on_drop: false }` [INFO] [stdout] 9f664545e54e6a88f5fdc5df92624b3f3b8496c73a87dd6bb9beeae9f77f69bf