[INFO] updating cached repository https://github.com/sabahtalateh/hello_async [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] cedd7306a8da53fcd0028f9ab8c98329d5003219 [INFO] testing sabahtalateh/hello_async against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabahtalateh%2Fhello_async" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sabahtalateh/hello_async on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "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 /workspace/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 `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] edb53105390940710cf1480d4d2288e6124bf2a28fa91ef1c7e09c17b81bf1f8 [INFO] running `"docker" "start" "-a" "edb53105390940710cf1480d4d2288e6124bf2a28fa91ef1c7e09c17b81bf1f8"` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling futures v0.1.28 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling getrandom v0.1.8 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling hello_async v0.1.0 (/opt/rustwide/workdir) [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] help: missing parenthesis [INFO] [stderr] | [INFO] [stderr] 33 | Ok((amount, _, _)) => println!("wrote {} bytes", amount), [INFO] [stderr] | ^ ^ [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: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0023`. [INFO] [stderr] error[E0601]: `main` function not found in crate `struct_lines_codec` [INFO] [stderr] --> src/bin/struct_lines_codec.rs:1:2 [INFO] [stderr] | [INFO] [stderr] 1 | [INFO] [stderr] | ^ consider adding a `main` function to `src/bin/struct_lines_codec.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: could not compile `hello_async`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hello_async`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/bin/mutex.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [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 tuple `(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: the return type of a function must have a statically known size [INFO] [stderr] [INFO] [stderr] warning: unused import: `future` [INFO] [stderr] --> src/bin/tokio_ping_pong_2.rs:46:15 [INFO] [stderr] | [INFO] [stderr] 46 | use futures::{future, Future, Sink, Stream}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` 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 `()`, found tuple [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.22/src/executor/mod.rs:131:17 [INFO] [stderr] | [INFO] [stderr] 131 | where F: Future + 'static + Send [INFO] [stderr] | --------- required by this bound in `tokio::executor::spawn` [INFO] [stderr] | [INFO] [stderr] = note: expected unit type `()` [INFO] [stderr] found tuple `(std::time::Duration, tokio_sync::mpsc::bounded::Sender>)` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `yielded` [INFO] [stderr] --> src/bin/tokio_stream_fib.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | let yielded = curr; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yielded` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [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] error: aborting due to 4 previous errors; 2 warnings emitted [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "edb53105390940710cf1480d4d2288e6124bf2a28fa91ef1c7e09c17b81bf1f8"` [INFO] running `"docker" "rm" "-f" "edb53105390940710cf1480d4d2288e6124bf2a28fa91ef1c7e09c17b81bf1f8"` [INFO] [stdout] edb53105390940710cf1480d4d2288e6124bf2a28fa91ef1c7e09c17b81bf1f8