[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#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinghmarut%2Frust-concurrency" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/singhmarut/rust-concurrency on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-0-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iovec v0.1.1 [INFO] [stderr] Downloaded log v0.3.8 [INFO] [stderr] Downloaded byteorder v1.2.1 [INFO] [stderr] Downloaded bytes v0.4.5 [INFO] [stderr] Downloaded smallvec v0.2.1 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.2.0 [INFO] [stderr] Downloaded slab v0.3.0 [INFO] [stderr] Downloaded take v0.1.0 [INFO] [stderr] Downloaded fuchsia-zircon v0.2.1 [INFO] [stderr] Downloaded tokio-io v0.1.4 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded rand v0.3.18 [INFO] [stderr] Downloaded libc v0.2.34 [INFO] [stderr] Downloaded mio v0.6.11 [INFO] [stderr] Downloaded tokio-core v0.1.11 [INFO] [stderr] Downloaded futures v0.1.17 [INFO] [stderr] Downloaded lazycell v0.5.1 [INFO] [stderr] Downloaded net2 v0.2.31 [INFO] [stderr] Downloaded scoped-tls v0.1.0 [INFO] [stderr] Downloaded slab v0.4.0 [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded tokio-proto v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 854112bdee38a010ea5cb81f30deb78363bc10dad48b7d0addd841f22dcf28be [INFO] running `Command { std: "docker" "start" "-a" "854112bdee38a010ea5cb81f30deb78363bc10dad48b7d0addd841f22dcf28be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "854112bdee38a010ea5cb81f30deb78363bc10dad48b7d0addd841f22dcf28be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "854112bdee38a010ea5cb81f30deb78363bc10dad48b7d0addd841f22dcf28be", kill_on_drop: false }` [INFO] [stdout] 854112bdee38a010ea5cb81f30deb78363bc10dad48b7d0addd841f22dcf28be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a4a8c7a08d687826c77d84a1f441274fee4db30fd4ef92e3b82ae1a624fcd0e [INFO] running `Command { std: "docker" "start" "-a" "4a4a8c7a08d687826c77d84a1f441274fee4db30fd4ef92e3b82ae1a624fcd0e", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking futures v0.1.17 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking lazycell v0.5.1 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking take 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/506512391b1a75ae450d36c9420978402a91abcc/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/506512391b1a75ae450d36c9420978402a91abcc/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" "4a4a8c7a08d687826c77d84a1f441274fee4db30fd4ef92e3b82ae1a624fcd0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a4a8c7a08d687826c77d84a1f441274fee4db30fd4ef92e3b82ae1a624fcd0e", kill_on_drop: false }` [INFO] [stdout] 4a4a8c7a08d687826c77d84a1f441274fee4db30fd4ef92e3b82ae1a624fcd0e