[INFO] cloning repository https://github.com/connorwalsh/op [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/connorwalsh/op" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnorwalsh%2Fop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnorwalsh%2Fop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a02283cbd4bf7184422c0925175f912bc57c171 [INFO] testing connorwalsh/op against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnorwalsh%2Fop" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/connorwalsh/op 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/connorwalsh/op [INFO] finished tweaking git repo https://github.com/connorwalsh/op [INFO] tweaked toml for git repo https://github.com/connorwalsh/op written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/connorwalsh/op 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rosc v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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] aa367727b2a156a1417f73f77594eb1668122129730dc2dabaf37def37c89e93 [INFO] running `Command { std: "docker" "start" "-a" "aa367727b2a156a1417f73f77594eb1668122129730dc2dabaf37def37c89e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa367727b2a156a1417f73f77594eb1668122129730dc2dabaf37def37c89e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa367727b2a156a1417f73f77594eb1668122129730dc2dabaf37def37c89e93", kill_on_drop: false }` [INFO] [stdout] aa367727b2a156a1417f73f77594eb1668122129730dc2dabaf37def37c89e93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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] 1321585c7b9268c9a7c2b0dab2036afced78b9763b32869d98e9772325ff1f9c [INFO] running `Command { std: "docker" "start" "-a" "1321585c7b9268c9a7c2b0dab2036afced78b9763b32869d98e9772325ff1f9c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 rand_core v0.4.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling futures v0.1.28 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling lock_api v0.1.5 [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 crossbeam-queue v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling rosc v0.1.6 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [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 crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling mio-uds v0.6.7 [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-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling op v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0252]: the name `io` is defined multiple times [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::io; [INFO] [stdout] | --------- previous import of the module `io` here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::io; [INFO] [stdout] | ^^^^^^^ `io` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `io` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 9 | use std::io as other_io; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/main.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/main.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | thread::spawn(move || { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::prelude::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::net::UdpSocket::send_to`: use poll_send_to instead [INFO] [stdout] --> src/main.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | let amt = socket.send_to(&buf[..size], &peer).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/main.rs:34:62 [INFO] [stdout] | [INFO] [stdout] 34 | let amt = socket.send_to(&buf[..size], &peer).await?; [INFO] [stdout] | ^^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required because of the requirements on the impl of `std::future::IntoFuture` for `Result` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 34 - let amt = socket.send_to(&buf[..size], &peer).await?; [INFO] [stdout] 34 + let amt = socket.send_to(&buf[..size], &peer)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::net::UdpSocket::recv_from`: use poll_recv_from instead [INFO] [stdout] --> src/main.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | match socket.recv_from(&mut buf) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::net::UdpSocket::send_to`: use poll_send_to instead [INFO] [stdout] --> src/main.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | match socket.send_to(&ack_msg, src) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | match socket.send_to(&ack_msg, src) { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&std::net::SocketAddr`, found enum `std::net::SocketAddr` [INFO] [stdout] | help: consider borrowing here: `&src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | let socket = UdpSocket::bind("0.0.0.0:3333").expect("failed to bind to host socket!"); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected enum `std::net::SocketAddr`, found `str` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::net::SocketAddr` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::net::UdpSocket::recv_from`: use poll_recv_from instead [INFO] [stdout] --> src/main.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | match socket.recv_from(&mut buf) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0252, E0277, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0252`. [INFO] [stdout] [INFO] [stderr] error: could not compile `op` due to 7 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1321585c7b9268c9a7c2b0dab2036afced78b9763b32869d98e9772325ff1f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1321585c7b9268c9a7c2b0dab2036afced78b9763b32869d98e9772325ff1f9c", kill_on_drop: false }` [INFO] [stdout] 1321585c7b9268c9a7c2b0dab2036afced78b9763b32869d98e9772325ff1f9c