[INFO] cloning repository https://github.com/jolisper/trust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jolisper/trust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjolisper%2Ftrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjolisper%2Ftrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 743944686beae048d5f192165f3b5c5cfde1aa51 [INFO] testing jolisper/trust against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjolisper%2Ftrust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jolisper/trust [INFO] finished tweaking git repo https://github.com/jolisper/trust [INFO] tweaked toml for git repo https://github.com/jolisper/trust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jolisper/trust on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jolisper/trust 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0bbd7b8330e4e77b11b3655e88d3da96d262bf466fbef550c6735e3c4fcf154 [INFO] running `Command { std: "docker" "start" "-a" "f0bbd7b8330e4e77b11b3655e88d3da96d262bf466fbef550c6735e3c4fcf154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0bbd7b8330e4e77b11b3655e88d3da96d262bf466fbef550c6735e3c4fcf154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0bbd7b8330e4e77b11b3655e88d3da96d262bf466fbef550c6735e3c4fcf154", kill_on_drop: false }` [INFO] [stdout] f0bbd7b8330e4e77b11b3655e88d3da96d262bf466fbef550c6735e3c4fcf154 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cac731b8b68a17b64dd453cf4dad874b3e768e5bdf205da3d315551cb02ea5c [INFO] running `Command { std: "docker" "start" "-a" "1cac731b8b68a17b64dd453cf4dad874b3e768e5bdf205da3d315551cb02ea5c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling endianness v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling etherparse v0.8.3 [INFO] [stderr] Compiling tun-tap v0.1.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling trust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/main.rs:44:53 [INFO] [stdout] | [INFO] [stdout] 44 | ... if let Some(conn) = tcp::Connection::accept( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | ... &mut iface, [INFO] [stdout] | ---------- argument #1 of type `&mut Connection` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tcp.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn accept<'a>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 99 | &mut self, [INFO] [stdout] | --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(conn) = tcp::Connection::accept( [INFO] [stdout] 46 ~ /* &mut Connection */, [INFO] [stdout] 47 ~ &mut iface, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `State::TimeWait` not covered [INFO] [stdout] --> src/tcp.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | match *self { [INFO] [stdout] | ^^^^^ pattern `State::TimeWait` not covered [INFO] [stdout] | [INFO] [stdout] note: `State` defined here [INFO] [stdout] --> src/tcp.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | TimeWait, [INFO] [stdout] | -------- not covered [INFO] [stdout] = note: the matched value is of type `State` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 20 ~ State::Estab | State::FinWait1 | State::FinWait2 | State::CloseWait | State::Closing => true, [INFO] [stdout] 21 ~ State::TimeWait => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `State::FinWait1`, `State::FinWait2`, `State::CloseWait` and 2 more not covered [INFO] [stdout] --> src/tcp.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | match *self { [INFO] [stdout] | ^^^^^ patterns `State::FinWait1`, `State::FinWait2`, `State::CloseWait` and 2 more not covered [INFO] [stdout] | [INFO] [stdout] note: `State` defined here [INFO] [stdout] --> src/tcp.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | FinWait1, [INFO] [stdout] | -------- not covered [INFO] [stdout] 10 | FinWait2, [INFO] [stdout] | -------- not covered [INFO] [stdout] 11 | CloseWait, [INFO] [stdout] | --------- not covered [INFO] [stdout] 12 | Closing, [INFO] [stdout] | ------- not covered [INFO] [stdout] 13 | TimeWait, [INFO] [stdout] | -------- not covered [INFO] [stdout] = note: the matched value is of type `State` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms [INFO] [stdout] | [INFO] [stdout] 29 ~ State::Estab => write!(f, "Estab"), [INFO] [stdout] 30 ~ _ => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/tcp.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | let mut buf = [0u8; 1500]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tcp.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | data: &'a [u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut buf = [0u8; 1500]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `State::SynRcvd`, `State::Estab`, `State::CloseWait` and 1 more not covered [INFO] [stdout] --> src/tcp.rs:349:15 [INFO] [stdout] | [INFO] [stdout] 349 | match self.state { [INFO] [stdout] | ^^^^^^^^^^ patterns `State::SynRcvd`, `State::Estab`, `State::CloseWait` and 1 more not covered [INFO] [stdout] | [INFO] [stdout] note: `State` defined here [INFO] [stdout] --> src/tcp.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | SynRcvd, [INFO] [stdout] | ------- not covered [INFO] [stdout] 8 | Estab, [INFO] [stdout] | ----- not covered [INFO] [stdout] ... [INFO] [stdout] 11 | CloseWait, [INFO] [stdout] | --------- not covered [INFO] [stdout] 12 | Closing, [INFO] [stdout] 13 | TimeWait, [INFO] [stdout] | -------- not covered [INFO] [stdout] = note: the matched value is of type `State` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms [INFO] [stdout] | [INFO] [stdout] 369 ~ }, [INFO] [stdout] 370 + _ => todo!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0061. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trust` (bin "trust") due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1cac731b8b68a17b64dd453cf4dad874b3e768e5bdf205da3d315551cb02ea5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cac731b8b68a17b64dd453cf4dad874b3e768e5bdf205da3d315551cb02ea5c", kill_on_drop: false }` [INFO] [stdout] 1cac731b8b68a17b64dd453cf4dad874b3e768e5bdf205da3d315551cb02ea5c