[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] checking connorwalsh/op/6a02283cbd4bf7184422c0925175f912bc57c171 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnorwalsh%2Fop" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/connorwalsh/op on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-uds v0.2.5 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.1 [INFO] [stderr] Downloaded log v0.4.7 [INFO] [stderr] Downloaded rand_core v0.4.0 [INFO] [stderr] Downloaded crossbeam-utils v0.6.5 [INFO] [stderr] Downloaded rosc v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d0983805629fd951f26d14112877e0b94866203790d61b8342e3fdcd6708ef0 [INFO] running `Command { std: "docker" "start" "-a" "1d0983805629fd951f26d14112877e0b94866203790d61b8342e3fdcd6708ef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d0983805629fd951f26d14112877e0b94866203790d61b8342e3fdcd6708ef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d0983805629fd951f26d14112877e0b94866203790d61b8342e3fdcd6708ef0", kill_on_drop: false }` [INFO] [stdout] 1d0983805629fd951f26d14112877e0b94866203790d61b8342e3fdcd6708ef0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae7fb3f98d767e0bcfeec477e3056d58f6b8658215cb80b6bfed8149f796bfc9 [INFO] running `Command { std: "docker" "start" "-a" "ae7fb3f98d767e0bcfeec477e3056d58f6b8658215cb80b6bfed8149f796bfc9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Checking futures v0.1.28 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [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] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rosc v0.1.6 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-sync v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-threadpool v0.1.15 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking 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[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] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::mpsc; [INFO] [stdout] | [INFO] [stdout] 5 + use tokio::sync::mpsc; [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] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 5 + use std::sync::mpsc; [INFO] [stdout] | [INFO] [stdout] 5 + use tokio::sync::mpsc; [INFO] [stdout] | [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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 5 + use std::thread; [INFO] [stdout] | [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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 5 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/main.rs:34:63 [INFO] [stdout] | [INFO] [stdout] 34 | let amt = socket.send_to(&buf[..size], &peer).await?; [INFO] [stdout] | -^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |`Result` is not a future [INFO] [stdout] | help: remove the `.await` [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 for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/main.rs:34:63 [INFO] [stdout] | [INFO] [stdout] 34 | let amt = socket.send_to(&buf[..size], &peer).await?; [INFO] [stdout] | -^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |`Result` is not a future [INFO] [stdout] | help: remove the `.await` [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 for `Result` to implement `std::future::IntoFuture` [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] | ------- ^^^ expected `&SocketAddr`, found `SocketAddr` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-udp-0.1.3/src/socket.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn send_to(&mut self, buf: &[u8], target: &SocketAddr) -> io::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [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] | ------- ^^^ expected `&SocketAddr`, found `SocketAddr` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-udp-0.1.3/src/socket.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn send_to(&mut self, buf: &[u8], target: &SocketAddr) -> io::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [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: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 `&SocketAddr`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::net::SocketAddr` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-udp-0.1.3/src/socket.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn bind(addr: &SocketAddr) -> io::Result { [INFO] [stdout] | ^^^^ [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 `&SocketAddr`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::net::SocketAddr` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-udp-0.1.3/src/socket.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn bind(addr: &SocketAddr) -> io::Result { [INFO] [stdout] | ^^^^ [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] [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` (bin "op") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `op` (bin "op" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "ae7fb3f98d767e0bcfeec477e3056d58f6b8658215cb80b6bfed8149f796bfc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7fb3f98d767e0bcfeec477e3056d58f6b8658215cb80b6bfed8149f796bfc9", kill_on_drop: false }` [INFO] [stdout] ae7fb3f98d767e0bcfeec477e3056d58f6b8658215cb80b6bfed8149f796bfc9