[INFO] cloning repository https://github.com/wesley-lewis/tcp-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wesley-lewis/tcp-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesley-lewis%2Ftcp-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesley-lewis%2Ftcp-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d231e095c8b4c5ca2c4af3031702e569e03874d5 [INFO] checking wesley-lewis/tcp-rust against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesley-lewis%2Ftcp-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wesley-lewis/tcp-rust [INFO] finished tweaking git repo https://github.com/wesley-lewis/tcp-rust [INFO] tweaked toml for git repo https://github.com/wesley-lewis/tcp-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wesley-lewis/tcp-rust on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wesley-lewis/tcp-rust 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02e6835f0f09d21d4f1a08be328254050d5cb06407fcda7ec2050561547d56d4 [INFO] running `Command { std: "docker" "start" "-a" "02e6835f0f09d21d4f1a08be328254050d5cb06407fcda7ec2050561547d56d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02e6835f0f09d21d4f1a08be328254050d5cb06407fcda7ec2050561547d56d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02e6835f0f09d21d4f1a08be328254050d5cb06407fcda7ec2050561547d56d4", kill_on_drop: false }` [INFO] [stdout] 02e6835f0f09d21d4f1a08be328254050d5cb06407fcda7ec2050561547d56d4 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dffe6fe4653877a4a7ce174de94cb008cad6ba1db2ddf912187316cb325d269d [INFO] running `Command { std: "docker" "start" "-a" "dffe6fe4653877a4a7ce174de94cb008cad6ba1db2ddf912187316cb325d269d", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling tun-tap v0.1.4 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking etherparse v0.8.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking nix v0.13.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking trust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/tcp.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{io, time, time::Instant}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/tcp.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{io, time, time::Instant}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `closed`, `closed_at`, `incoming` and 2 other fields in initializer of `Connection` [INFO] [stdout] --> src/tcp.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | let mut c = Connection { [INFO] [stdout] | ^^^^^^^^^^ missing `closed`, `closed_at`, `incoming` and 2 other fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `closed`, `closed_at`, `incoming` and 2 other fields in initializer of `Connection` [INFO] [stdout] --> src/tcp.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | let mut c = Connection { [INFO] [stdout] | ^^^^^^^^^^ missing `closed`, `closed_at`, `incoming` and 2 other fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for unit type `()` in the current scope [INFO] [stdout] --> src/lib.rs:108:38 [INFO] [stdout] | [INFO] [stdout] 108 | ... if a.contains(tcp::Available::READ) { [INFO] [stdout] | ^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for unit type `()` in the current scope [INFO] [stdout] --> src/lib.rs:108:38 [INFO] [stdout] | [INFO] [stdout] 108 | ... if a.contains(tcp::Available::READ) { [INFO] [stdout] | ^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for unit type `()` in the current scope [INFO] [stdout] --> src/lib.rs:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | ... if a.contains(tcp::Available::WRITE) { [INFO] [stdout] | ^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for unit type `()` in the current scope [INFO] [stdout] --> src/lib.rs:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | ... if a.contains(tcp::Available::WRITE) { [INFO] [stdout] | ^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iph` [INFO] [stdout] --> src/tcp.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | iph: etherparse::Ipv4HeaderSlice<'a>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_iph` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nic` [INFO] [stdout] --> src/tcp.rs:352:31 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn on_tick(&mut self, nic: &mut tun_tap::Iface) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nunset_data` [INFO] [stdout] --> src/tcp.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | let nunset_data = self.unacked.len() as u32 - nunacked_data; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nunset_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `waited_for` [INFO] [stdout] --> src/tcp.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | let waited_for = self [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_waited_for` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iph` [INFO] [stdout] --> src/tcp.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | iph: etherparse::Ipv4HeaderSlice<'a>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_iph` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nic` [INFO] [stdout] --> src/tcp.rs:352:31 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn on_tick(&mut self, nic: &mut tun_tap::Iface) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nunset_data` [INFO] [stdout] --> src/tcp.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | let nunset_data = self.unacked.len() as u32 - nunacked_data; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nunset_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `waited_for` [INFO] [stdout] --> src/tcp.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | let waited_for = self [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_waited_for` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trust` (lib test) due to 3 previous errors; 6 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0063, E0599. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trust` (lib) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dffe6fe4653877a4a7ce174de94cb008cad6ba1db2ddf912187316cb325d269d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dffe6fe4653877a4a7ce174de94cb008cad6ba1db2ddf912187316cb325d269d", kill_on_drop: false }` [INFO] [stdout] dffe6fe4653877a4a7ce174de94cb008cad6ba1db2ddf912187316cb325d269d