[INFO] cloning repository https://github.com/alexxuyang/tokio-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexxuyang/tokio-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexxuyang%2Ftokio-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexxuyang%2Ftokio-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38774c6c9eea4dbdc17b6877adb17fa7278e3405 [INFO] testing alexxuyang/tokio-examples against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexxuyang%2Ftokio-examples" "/workspace/builds/worker-40/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-40/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexxuyang/tokio-examples on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alexxuyang/tokio-examples [INFO] finished tweaking git repo https://github.com/alexxuyang/tokio-examples [INFO] tweaked toml for git repo https://github.com/alexxuyang/tokio-examples written to /workspace/builds/worker-40/source/Cargo.toml [INFO] crate git repo https://github.com/alexxuyang/tokio-examples already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v0.1.19 [INFO] [stderr] Downloaded futures v0.1.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c52c6d897ef934828a0b1912d6e16107b5b52bc40ba14e03c4b2125122ebbf1 [INFO] running `Command { std: "docker" "start" "-a" "0c52c6d897ef934828a0b1912d6e16107b5b52bc40ba14e03c4b2125122ebbf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c52c6d897ef934828a0b1912d6e16107b5b52bc40ba14e03c4b2125122ebbf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c52c6d897ef934828a0b1912d6e16107b5b52bc40ba14e03c4b2125122ebbf1", kill_on_drop: false }` [INFO] [stdout] 0c52c6d897ef934828a0b1912d6e16107b5b52bc40ba14e03c4b2125122ebbf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94a118b163aa450f3d59b6a4926155df5e03486af9f04c88bc994f4ca74587d5 [INFO] running `Command { std: "docker" "start" "-a" "94a118b163aa450f3d59b6a4926155df5e03486af9f04c88bc994f4ca74587d5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling futures v0.1.26 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling tokio-trace-core v0.1.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_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [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-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio v0.1.19 [INFO] [stderr] Compiling tokio-examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.25s [INFO] running `Command { std: "docker" "inspect" "94a118b163aa450f3d59b6a4926155df5e03486af9f04c88bc994f4ca74587d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94a118b163aa450f3d59b6a4926155df5e03486af9f04c88bc994f4ca74587d5", kill_on_drop: false }` [INFO] [stdout] 94a118b163aa450f3d59b6a4926155df5e03486af9f04c88bc994f4ca74587d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36794a589e0947a8bbed74002d32f29084140686ead398a99fd836d694b5bba5 [INFO] running `Command { std: "docker" "start" "-a" "36794a589e0947a8bbed74002d32f29084140686ead398a99fd836d694b5bba5", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/andthen1.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | fn simple_func() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - fn simple_func() -> Result> { [INFO] [stdout] 7 + fn simple_func() -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/peeraddr.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> examples/peeraddr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> examples/select.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> examples/tryready1.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> examples/tryready1.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | Ok(Async::Ready((String::from("hello world!")))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - Ok(Async::Ready((String::from("hello world!")))) [INFO] [stdout] 16 + Ok(Async::Ready(String::from("hello world!"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future` [INFO] [stdout] --> examples/writebuf.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{Future, future}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/writebuf.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | socket.write_buf(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> examples/andthen2.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/lazy2.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::timer::Delay` [INFO] [stdout] --> examples/lazy2.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::timer::Delay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> examples/lazy2.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> examples/lazy2.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::prelude` [INFO] [stdout] --> examples/andthen2.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Stream` [INFO] [stdout] --> examples/lazy2.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> examples/map.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> examples/delay.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> examples/map.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> examples/map.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | Ok(Async::Ready((String::from("hello world!")))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - Ok(Async::Ready((String::from("hello world!")))) [INFO] [stdout] 16 + Ok(Async::Ready(String::from("hello world!"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> examples/stream2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> examples/stream2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::prelude` [INFO] [stdout] --> examples/delay.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> examples/tryready2.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> examples/tryready2.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(Async::Ready((String::from("hello world!")))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - Ok(Async::Ready((String::from("hello world!")))) [INFO] [stdout] 17 + Ok(Async::Ready(String::from("hello world!"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> examples/stream.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> examples/timeout.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> examples/andthen3.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/then.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | fn simple_func() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn simple_func() -> Result> { [INFO] [stdout] 9 + fn simple_func() -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/fold.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut dst = vec![]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::prelude` [INFO] [stdout] --> examples/andthen3.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> examples/andthen3.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | .and_then(|(socket, buf)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-examples`; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name andthen3 --edition=2018 examples/andthen3.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=d0ac1755b5f5e508 -C extra-filename=-d0ac1755b5f5e508 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-0fe51472196e60d7.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-6abe18bd14d8a27f.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-9f2475e29de9d67c.rlib --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.tryready2.2b923598-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a.4un9uvnlsxtp9tlc.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libtokio-9f2475e29de9d67c.rlib" "/opt/rustwide/target/debug/deps/libtokio_trace_core-6eb2584e02fcc32e.rlib" "/opt/rustwide/target/debug/deps/libtokio_uds-dbeda4311731bdfe.rlib" "/opt/rustwide/target/debug/deps/libmio_uds-304538e8188df87b.rlib" "/opt/rustwide/target/debug/deps/libtokio_udp-383d570c9d3ffb80.rlib" "/opt/rustwide/target/debug/deps/libtokio_timer-005ee7ff79c557a5.rlib" "/opt/rustwide/target/debug/deps/libtokio_tcp-1acf0183ca2044b5.rlib" "/opt/rustwide/target/debug/deps/libtokio_reactor-7b7f10d461c6242a.rlib" "/opt/rustwide/target/debug/deps/libtokio_sync-4dc7a0748f821b3e.rlib" "/opt/rustwide/target/debug/deps/libfnv-75a549072e1c1e97.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-d1ef6ecbfdb9bcba.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-5e0c2268e5f50a58.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-27feae3e258d31a1.rlib" "/opt/rustwide/target/debug/deps/liblock_api-c7e220839ce6544b.rlib" "/opt/rustwide/target/debug/deps/libowning_ref-1214d213485c2326.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-751ec9cd00fbe7b3.rlib" "/opt/rustwide/target/debug/deps/libtokio_fs-dab957178eaeb975.rlib" "/opt/rustwide/target/debug/deps/libtokio_threadpool-d28fc11d3118c355.rlib" "/opt/rustwide/target/debug/deps/librand-82eb410d084bd797.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-e0a7c00eca87c4d5.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-93143ee01aa1a6a0.rlib" "/opt/rustwide/target/debug/deps/librand_hc-8211b28a7d1aaf85.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-794b5aab03909e7f.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-64577fdc7b603528.rlib" "/opt/rustwide/target/debug/deps/librand_core-c6ef584581674eea.rlib" "/opt/rustwide/target/debug/deps/librand_os-ee12e36b838e8b9e.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-e6e8adf5d549813c.rlib" "/opt/rustwide/target/debug/deps/librand_core-691700391421dfa9.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-96d63b7861459781.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-4a932cd80e41e04c.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-741a6c60615b1b3b.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-701b7c561205ac6c.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-97e0a08cef1ea439.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-d769eb5ff9868689.rlib" "/opt/rustwide/target/debug/deps/libtokio_current_thread-e3312d4cc8150743.rlib" "/opt/rustwide/target/debug/deps/libtokio_executor-7825ad0f0954a080.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-7be4e1336f11766f.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-8c70cbefadcc00fb.rlib" "/opt/rustwide/target/debug/deps/libtokio_codec-838f2582fcf5943b.rlib" "/opt/rustwide/target/debug/deps/libtokio_io-6aa3f9239eba2f14.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-4fd03bcec223b72c.rlib" "/opt/rustwide/target/debug/deps/libmio-057195fa4a94dc44.rlib" "/opt/rustwide/target/debug/deps/liblog-6c5e681acf16c035.rlib" "/opt/rustwide/target/debug/deps/libslab-47832e98c319689d.rlib" "/opt/rustwide/target/debug/deps/libnet2-db9c19b707b1e13b.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-140921462b195c44.rlib" "/opt/rustwide/target/debug/deps/liblazycell-bf4afccc2b1cfa72.rlib" "/opt/rustwide/target/debug/deps/libbytes-0fe51472196e60d7.rlib" "/opt/rustwide/target/debug/deps/libiovec-f6e91b3b42edf8ca.rlib" "/opt/rustwide/target/debug/deps/liblibc-e7fd48f913bc68ca.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-ac0fca417c216564.rlib" "/opt/rustwide/target/debug/deps/libfutures-6abe18bd14d8a27f.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/tryready2-30d74aa7801f820a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "36794a589e0947a8bbed74002d32f29084140686ead398a99fd836d694b5bba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36794a589e0947a8bbed74002d32f29084140686ead398a99fd836d694b5bba5", kill_on_drop: false }` [INFO] [stdout] 36794a589e0947a8bbed74002d32f29084140686ead398a99fd836d694b5bba5