[INFO] fetching crate tokio-async-io 0.1.0... [INFO] building tokio-async-io-0.1.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate tokio-async-io 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate tokio-async-io 0.1.0 [INFO] finished tweaking crates.io crate tokio-async-io 0.1.0 [INFO] tweaked toml for crates.io crate tokio-async-io 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-async-io 0.1.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tokio-async-io 0.1.0 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5165b2af150d4fc4cca2c667a0e9016d7b962eb0f06207b50c2999798e72c762 [INFO] running `Command { std: "docker" "start" "-a" "5165b2af150d4fc4cca2c667a0e9016d7b962eb0f06207b50c2999798e72c762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5165b2af150d4fc4cca2c667a0e9016d7b962eb0f06207b50c2999798e72c762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5165b2af150d4fc4cca2c667a0e9016d7b962eb0f06207b50c2999798e72c762", kill_on_drop: false }` [INFO] [stdout] 5165b2af150d4fc4cca2c667a0e9016d7b962eb0f06207b50c2999798e72c762 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88ae2e3748917d0de85617b5e9d49db58572d609e171c150ede90f3925058e58 [INFO] running `Command { std: "docker" "start" "-a" "88ae2e3748917d0de85617b5e9d49db58572d609e171c150ede90f3925058e58", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.15 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-async-io v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.41s [INFO] running `Command { std: "docker" "inspect" "88ae2e3748917d0de85617b5e9d49db58572d609e171c150ede90f3925058e58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88ae2e3748917d0de85617b5e9d49db58572d609e171c150ede90f3925058e58", kill_on_drop: false }` [INFO] [stdout] 88ae2e3748917d0de85617b5e9d49db58572d609e171c150ede90f3925058e58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d076e38e56123edaf12083343562163793e35d632cc1490e69c86edfdd301f6 [INFO] running `Command { std: "docker" "start" "-a" "0d076e38e56123edaf12083343562163793e35d632cc1490e69c86edfdd301f6", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-async-io v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `zmq` [INFO] [stdout] --> examples/zmq.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use zmq::{Context, PollEvents, Socket, SocketType, DONTWAIT, POLLIN, POLLOUT}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zmq` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file examples/zmq.rs, use `mod zmq` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod zmq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/zmq.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | sock.read_with(|inner| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | // check the actual events [INFO] [stdout] 16 | if inner.get_events()?.contains(events) { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 14 | sock.read_with(|inner: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/zmq.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | let msg = with_read(&server, |sock| sock.recv_msg(DONTWAIT)).await?; [INFO] [stdout] | ^^^^ -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 56 | let msg = with_read(&server, |sock: /* Type */| sock.recv_msg(DONTWAIT)).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/zmq.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | with_write(&client, |sock| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | sock.send(format!("hello world {}", i).as_bytes(), DONTWAIT) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 43 | with_write(&client, |sock: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/zmq.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | with_write(&server, |sock| sock.send(msg.deref(), DONTWAIT)).await?; [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 57 | with_write(&server, |sock: /* Type */| sock.send(msg.deref(), DONTWAIT)).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/zmq.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let msg = with_read(&server, |sock| sock.recv_msg(DONTWAIT)).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | with_write(&server, |sock| sock.send(msg.deref(), DONTWAIT)).await?; [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `msg` an explicit type [INFO] [stdout] | [INFO] [stdout] 56 | let msg: /* Type */ = with_read(&server, |sock| sock.recv_msg(DONTWAIT)).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/zmq.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | let msg = with_read(&client, |sock| sock.recv_msg(DONTWAIT)).await?; [INFO] [stdout] | ^^^^ -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 47 | let msg = with_read(&client, |sock: /* Type */| sock.recv_msg(DONTWAIT)).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/zmq.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let msg = with_read(&client, |sock| sock.recv_msg(DONTWAIT)).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | println!("{}", msg.as_str().unwrap()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `msg` an explicit type [INFO] [stdout] | [INFO] [stdout] 47 | let msg: /* Type */ = with_read(&client, |sock| sock.recv_msg(DONTWAIT)).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zmq` [INFO] [stdout] --> examples/zmq.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | mut f: impl FnMut(&Socket) -> zmq::Result, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zmq` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file examples/zmq.rs, use `mod zmq` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod zmq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zmq` [INFO] [stdout] --> examples/zmq.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | f: impl FnMut(&Socket) -> zmq::Result, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zmq` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file examples/zmq.rs, use `mod zmq` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod zmq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zmq` [INFO] [stdout] --> examples/zmq.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | f: impl FnMut(&Socket) -> zmq::Result, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zmq` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file examples/zmq.rs, use `mod zmq` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod zmq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-async-io` (example "zmq") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "0d076e38e56123edaf12083343562163793e35d632cc1490e69c86edfdd301f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d076e38e56123edaf12083343562163793e35d632cc1490e69c86edfdd301f6", kill_on_drop: false }` [INFO] [stdout] 0d076e38e56123edaf12083343562163793e35d632cc1490e69c86edfdd301f6