[INFO] cloning repository https://github.com/Xuanwo/postman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xuanwo/postman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXuanwo%2Fpostman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXuanwo%2Fpostman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80ff3fdbb4e85441b0f02a75dacbf08b61f28453 [INFO] checking Xuanwo/postman against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXuanwo%2Fpostman" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Xuanwo/postman on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Xuanwo/postman [INFO] finished tweaking git repo https://github.com/Xuanwo/postman [INFO] tweaked toml for git repo https://github.com/Xuanwo/postman written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Xuanwo/postman already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v0.3.4 [INFO] [stderr] Downloaded termcolor v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f169790328fd0e022f03e059dd6fd9a2e6a11a100601bccc5babcf91b7dc406d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f169790328fd0e022f03e059dd6fd9a2e6a11a100601bccc5babcf91b7dc406d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f169790328fd0e022f03e059dd6fd9a2e6a11a100601bccc5babcf91b7dc406d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f169790328fd0e022f03e059dd6fd9a2e6a11a100601bccc5babcf91b7dc406d", kill_on_drop: false }` [INFO] [stdout] f169790328fd0e022f03e059dd6fd9a2e6a11a100601bccc5babcf91b7dc406d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 465e5ba843f642b4d119b65b8273e95d43cbdb5dfba0c0823c9746228d2444c6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "465e5ba843f642b4d119b65b8273e95d43cbdb5dfba0c0823c9746228d2444c6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.80: align [INFO] [stderr] tokio v0.3.4: winapi [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking termcolor v1.1.1 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling tokio v0.3.4 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.6 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking sled v0.34.6 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling tokio-macros v0.3.1 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking postman-pop3 v0.2.0 (/tmp/fixit/components/pop3) [INFO] [stderr] Migrating components/pop3/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking postman v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (15 fixes) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 95 | / loop { [INFO] [stdout] 96 | | self.limit_connections.acquire().await.forget(); [INFO] [stdout] 97 | | [INFO] [stdout] 98 | | let socket = self.accept().await?; [INFO] [stdout] ... | [INFO] [stdout] 117 | | }); [INFO] [stdout] 118 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 119 | [INFO] [stdout] 120 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 158 | / loop { [INFO] [stdout] 159 | | let s = read_line(&mut r).await?; [INFO] [stdout] 160 | | if s.is_empty() { [INFO] [stdout] 161 | | continue; [INFO] [stdout] ... | [INFO] [stdout] 293 | | w.write(resp.to_string()?.as_bytes()).await; [INFO] [stdout] 294 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 295 | [INFO] [stdout] 296 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 95 | / loop { [INFO] [stdout] 96 | | self.limit_connections.acquire().await.forget(); [INFO] [stdout] 97 | | [INFO] [stdout] 98 | | let socket = self.accept().await?; [INFO] [stdout] ... | [INFO] [stdout] 117 | | }); [INFO] [stdout] 118 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 119 | [INFO] [stdout] 120 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 158 | / loop { [INFO] [stdout] 159 | | let s = read_line(&mut r).await?; [INFO] [stdout] 160 | | if s.is_empty() { [INFO] [stdout] 161 | | continue; [INFO] [stdout] ... | [INFO] [stdout] 293 | | w.write(resp.to_string()?.as_bytes()).await; [INFO] [stdout] 294 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 295 | [INFO] [stdout] 296 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_shutdown` [INFO] [stdout] --> src/shutdown.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn is_shutdown(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recv` [INFO] [stdout] --> src/shutdown.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) async fn recv(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | w.write(resp.to_string()?.as_bytes()).await; [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_shutdown` [INFO] [stdout] --> src/shutdown.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn is_shutdown(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recv` [INFO] [stdout] --> src/shutdown.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) async fn recv(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | w.write(resp.to_string()?.as_bytes()).await; [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 05s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling tokio v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.6 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking sled v0.34.6 [INFO] [stderr] Checking postman-pop3 v0.2.0 (/tmp/fixit/components/pop3) [INFO] [stderr] Checking postman v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 95 | / loop { [INFO] [stdout] 96 | | self.limit_connections.acquire().await.forget(); [INFO] [stdout] 97 | | [INFO] [stdout] 98 | | let socket = self.accept().await?; [INFO] [stdout] ... | [INFO] [stdout] 117 | | }); [INFO] [stdout] 118 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 119 | [INFO] [stdout] 120 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 158 | / loop { [INFO] [stdout] 159 | | let s = read_line(&mut r).await?; [INFO] [stdout] 160 | | if s.is_empty() { [INFO] [stdout] 161 | | continue; [INFO] [stdout] ... | [INFO] [stdout] 293 | | w.write(resp.to_string()?.as_bytes()).await; [INFO] [stdout] 294 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 295 | [INFO] [stdout] 296 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 95 | / loop { [INFO] [stdout] 96 | | self.limit_connections.acquire().await.forget(); [INFO] [stdout] 97 | | [INFO] [stdout] 98 | | let socket = self.accept().await?; [INFO] [stdout] ... | [INFO] [stdout] 117 | | }); [INFO] [stdout] 118 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 119 | [INFO] [stdout] 120 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 158 | / loop { [INFO] [stdout] 159 | | let s = read_line(&mut r).await?; [INFO] [stdout] 160 | | if s.is_empty() { [INFO] [stdout] 161 | | continue; [INFO] [stdout] ... | [INFO] [stdout] 293 | | w.write(resp.to_string()?.as_bytes()).await; [INFO] [stdout] 294 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 295 | [INFO] [stdout] 296 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_shutdown` [INFO] [stdout] --> src/shutdown.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn is_shutdown(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recv` [INFO] [stdout] --> src/shutdown.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) async fn recv(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | w.write(resp.to_string()?.as_bytes()).await; [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_shutdown` [INFO] [stdout] --> src/shutdown.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn is_shutdown(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recv` [INFO] [stdout] --> src/shutdown.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) async fn recv(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | w.write(resp.to_string()?.as_bytes()).await; [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.45s [INFO] running `Command { std: "docker" "inspect" "465e5ba843f642b4d119b65b8273e95d43cbdb5dfba0c0823c9746228d2444c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "465e5ba843f642b4d119b65b8273e95d43cbdb5dfba0c0823c9746228d2444c6", kill_on_drop: false }` [INFO] [stdout] 465e5ba843f642b4d119b65b8273e95d43cbdb5dfba0c0823c9746228d2444c6