[INFO] cloning repository https://github.com/CrayfishGo/ftp-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CrayfishGo/ftp-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrayfishGo%2Fftp-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrayfishGo%2Fftp-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a42d93c772df6dbc8963acd58046db72a69f1239
[INFO] checking CrayfishGo/ftp-rs against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrayfishGo%2Fftp-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CrayfishGo/ftp-rs
[INFO] finished tweaking git repo https://github.com/CrayfishGo/ftp-rs
[INFO] tweaked toml for git repo https://github.com/CrayfishGo/ftp-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CrayfishGo/ftp-rs on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CrayfishGo/ftp-rs 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3ce21f8a43c19f9c68265f83f6e9ef95a44fb2ff730b9fc9cc5da74a91c8ff21
[INFO] running `Command { std: "docker" "start" "-a" "3ce21f8a43c19f9c68265f83f6e9ef95a44fb2ff730b9fc9cc5da74a91c8ff21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ce21f8a43c19f9c68265f83f6e9ef95a44fb2ff730b9fc9cc5da74a91c8ff21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ce21f8a43c19f9c68265f83f6e9ef95a44fb2ff730b9fc9cc5da74a91c8ff21", kill_on_drop: false }`
[INFO] [stdout] 3ce21f8a43c19f9c68265f83f6e9ef95a44fb2ff730b9fc9cc5da74a91c8ff21
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38855d2dddc79457fe7fab521a79116eb9f9c72b5cca8e3135afc83671b6629a
[INFO] running `Command { std: "docker" "start" "-a" "38855d2dddc79457fe7fab521a79116eb9f9c72b5cca8e3135afc83671b6629a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.124
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking mio v0.8.2
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]     Checking tokio v1.17.0
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking tokio-stream v0.1.8
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking ftp-rs v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Borrow`
[INFO] [stdout]  --> src/ftp_client.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::borrow::{Borrow, Cow};
[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: `HashSet`
[INFO] [stdout]  --> src/ftp_client.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/ftp_client.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/ftp_client.rs:33:56
[INFO] [stdout]    |
[INFO] [stdout] 33 |     static ref PROT_COMMAND_VALUE: Vec<&'static str> = {vec!["C","E","S","P"]};
[INFO] [stdout]    |                                                        ^                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 33 -     static ref PROT_COMMAND_VALUE: Vec<&'static str> = {vec!["C","E","S","P"]};
[INFO] [stdout] 33 +     static ref PROT_COMMAND_VALUE: Vec<&'static str> = vec!["C","E","S","P"];
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Display`
[INFO] [stdout]  --> src/cmd/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::slice_unchecked`: use `get_unchecked(begin..end)` instead
[INFO] [stdout]   --> src/lib.rs:86:18
[INFO] [stdout]    |
[INFO] [stdout] 86 |             self.slice_unchecked(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Borrow`
[INFO] [stdout]  --> src/ftp_client.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::borrow::{Borrow, Cow};
[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: `HashSet`
[INFO] [stdout]  --> src/ftp_client.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/ftp_client.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/ftp_client.rs:33:56
[INFO] [stdout]    |
[INFO] [stdout] 33 |     static ref PROT_COMMAND_VALUE: Vec<&'static str> = {vec!["C","E","S","P"]};
[INFO] [stdout]    |                                                        ^                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 33 -     static ref PROT_COMMAND_VALUE: Vec<&'static str> = {vec!["C","E","S","P"]};
[INFO] [stdout] 33 +     static ref PROT_COMMAND_VALUE: Vec<&'static str> = vec!["C","E","S","P"];
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Display`
[INFO] [stdout]  --> src/cmd/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/ftp_client.rs:476:24
[INFO] [stdout]     |
[INFO] [stdout] 476 |             IpAddr::V4(addr) => args.push_str("1"),
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/ftp_client.rs:477:24
[INFO] [stdout]     |
[INFO] [stdout] 477 |             IpAddr::V6(addr) => args.push_str("2"),
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `key` is never read
[INFO] [stdout]    --> src/ftp_client.rs:900:35
[INFO] [stdout]     |
[INFO] [stdout] 900 |                     let mut key = "";
[INFO] [stdout]     |                                   ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `async_ftp`
[INFO] [stdout]  --> tests/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_ftp::{FtpError, FtpClient};
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `async_ftp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `async_ftp`, use `cargo add async_ftp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cmd`
[INFO] [stdout]  --> examples/example.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ftp_rs::{FtpError, FtpClient, cmd};
[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: `std::io::Cursor`
[INFO] [stdout]  --> examples/example.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Cursor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]  --> tests/lib.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let mut ftp_client = FtpClient::connect("192.168.1.60:21").await?;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^
[INFO] [stdout] 9 |         let _ = ftp_client.login("Doe", "mumble").await?;
[INFO] [stdout]   |                 ---------- type must be known at this point
[INFO] [stdout]   |
[INFO] [stdout] help: consider giving `ftp_client` an explicit type
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let mut ftp_client: /* Type */ = FtpClient::connect("192.168.1.60:21").await?;
[INFO] [stdout]   |                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/lib.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |         assert!(ftp_client.pwd().await?.ends_with("/test_dir"));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/lib.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | /         ftp_client
[INFO] [stdout] 22 | |             .simple_retr("test_file.txt")
[INFO] [stdout] 23 | |             .await
[INFO] [stdout]    | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/lib.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |             .map(|bytes| assert_eq!(bytes.into_inner(), file_data.as_bytes()))?;
[INFO] [stdout]    |                   ^^^^^             ----- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 24 |             .map(|bytes: /* Type */| assert_eq!(bytes.into_inner(), file_data.as_bytes()))?;
[INFO] [stdout]    |                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::slice_unchecked`: use `get_unchecked(begin..end)` instead
[INFO] [stdout]   --> src/lib.rs:86:18
[INFO] [stdout]    |
[INFO] [stdout] 86 |             self.slice_unchecked(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ftp-rs` (test "lib") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/ftp_client.rs:476:24
[INFO] [stdout]     |
[INFO] [stdout] 476 |             IpAddr::V4(addr) => args.push_str("1"),
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/ftp_client.rs:477:24
[INFO] [stdout]     |
[INFO] [stdout] 477 |             IpAddr::V6(addr) => args.push_str("2"),
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `key` is never read
[INFO] [stdout]    --> src/ftp_client.rs:900:35
[INFO] [stdout]     |
[INFO] [stdout] 900 |                     let mut key = "";
[INFO] [stdout]     |                                   ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "38855d2dddc79457fe7fab521a79116eb9f9c72b5cca8e3135afc83671b6629a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38855d2dddc79457fe7fab521a79116eb9f9c72b5cca8e3135afc83671b6629a", kill_on_drop: false }`
[INFO] [stdout] 38855d2dddc79457fe7fab521a79116eb9f9c72b5cca8e3135afc83671b6629a
