[INFO] updating cached repository https://github.com/sabahtalateh/hello_async [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/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] cedd7306a8da53fcd0028f9ab8c98329d5003219 [INFO] checking sabahtalateh/hello_async against master#c9edc02e8320a9e5799d185910ece7d491f524e6 for pr-64398 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabahtalateh%2Fhello_async" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sabahtalateh/hello_async on toolchain c9edc02e8320a9e5799d185910ece7d491f524e6-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/sabahtalateh/hello_async [INFO] finished tweaking git repo https://github.com/sabahtalateh/hello_async [INFO] tweaked toml for git repo https://github.com/sabahtalateh/hello_async written to work/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/sabahtalateh/hello_async already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3b5e316be9fadc8c2c8cd63e40a564319f6ff5ad3cc5d95d7728b31ad31ee516 [INFO] running `"docker" "start" "-a" "3b5e316be9fadc8c2c8cd63e40a564319f6ff5ad3cc5d95d7728b31ad31ee516"` [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-threadpool v0.1.15 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking hello_async v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: function is never used: `read_exact` [INFO] [stderr] --> src/bin/tokio_async_read.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | / fn read_exact(reader: R, buffer: T) -> ReadExact [INFO] [stderr] 27 | | where [INFO] [stderr] 28 | | R: AsyncRead, [INFO] [stderr] 29 | | T: AsMut<[u8]>, [INFO] [stderr] ... | [INFO] [stderr] 36 | | })) [INFO] [stderr] 37 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stream` [INFO] [stderr] --> src/bin/tokio_ping_pong.rs:12:37 [INFO] [stderr] | [INFO] [stderr] 12 | use futures::{future, Future, Sink, Stream}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Instant` [INFO] [stderr] --> src/bin/tokio_ping_pong.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0271]: type mismatch resolving `>> as futures::future::Future>::Item == (std::time::Duration, tokio_sync::mpsc::bounded::Sender>)` [INFO] [stderr] --> src/bin/tokio_ping_pong.rs:52:6 [INFO] [stderr] | [INFO] [stderr] 52 | ) -> impl Future), Error = ()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `tokio_sync::mpsc::bounded::Sender`, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected type `tokio_sync::mpsc::bounded::Sender>` [INFO] [stderr] found type `(std::time::Duration, tokio_sync::mpsc::bounded::Sender>)` [INFO] [stderr] = note: the return type of a function must have a statically known size [INFO] [stderr] [INFO] [stderr] error[E0271]: type mismatch resolving `>> as futures::future::Future>::Error == ()` [INFO] [stderr] --> src/bin/tokio_ping_pong.rs:52:6 [INFO] [stderr] | [INFO] [stderr] 52 | ) -> impl Future), Error = ()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `tokio_sync::mpsc::bounded::SendError`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `tokio_sync::mpsc::bounded::SendError` [INFO] [stderr] found type `()` [INFO] [stderr] = note: the return type of a function must have a statically known size [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/bin/tokio_spawn_cout_bytes_read.rs:88:57 [INFO] [stderr] | [INFO] [stderr] 88 | ... tx.send(buf.len()).map_err(|e| io::ErrorKind::Other.into()) [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0271]: type mismatch resolving ` as futures::future::Future>::Item == ()` [INFO] [stderr] --> src/bin/tokio_ping_pong.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | tokio::spawn(lazy(|| rtt(tx))) [INFO] [stderr] | ^^^^^^^^^^^^ expected tuple, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `(std::time::Duration, tokio_sync::mpsc::bounded::Sender>)` [INFO] [stderr] found type `()` [INFO] [stderr] = note: required by `tokio::executor::spawn` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/tokio_ping_pong.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | tokio::spawn(lazy(|| rtt(tx))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try adding a semicolon: `;` [INFO] [stderr] | | [INFO] [stderr] | expected (), found struct `tokio::executor::Spawn` [INFO] [stderr] | [INFO] [stderr] = note: expected type `()` [INFO] [stderr] found type `tokio::executor::Spawn` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0271, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0271`. [INFO] [stderr] error: Could not compile `hello_async`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/bin/tokio_read_timeout.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | ; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolon)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 1 field [INFO] [stderr] --> src/bin/tokio_echo.rs:33:21 [INFO] [stderr] | [INFO] [stderr] 33 | Ok(amount, _, _) => println!("wrote {} bytes", amount), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ expected 1 field, found 3 [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0023`. [INFO] [stderr] error: Could not compile `hello_async`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/bin/tokio_read_timeout.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | ; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolon)]` on by default [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "3b5e316be9fadc8c2c8cd63e40a564319f6ff5ad3cc5d95d7728b31ad31ee516"` [INFO] running `"docker" "rm" "-f" "3b5e316be9fadc8c2c8cd63e40a564319f6ff5ad3cc5d95d7728b31ad31ee516"` [INFO] [stdout] 3b5e316be9fadc8c2c8cd63e40a564319f6ff5ad3cc5d95d7728b31ad31ee516