[INFO] cloning repository https://github.com/datnguyenhcmut/FTP_server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/datnguyenhcmut/FTP_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatnguyenhcmut%2FFTP_server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatnguyenhcmut%2FFTP_server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 392798085e774db2a50b07cefccd886ca3e0670e
[INFO] checking datnguyenhcmut/FTP_server/392798085e774db2a50b07cefccd886ca3e0670e against master#40557f6225e337d68c8d4f086557ce54135f5dd9 for pr-158447
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatnguyenhcmut%2FFTP_server" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  92% (851/925)
Updating files:  93% (861/925)
Updating files:  94% (870/925)
Updating files:  95% (879/925)
Updating files:  96% (888/925)
Updating files:  97% (898/925)
Updating files:  98% (907/925)
Updating files:  99% (916/925)
Updating files: 100% (925/925)
Updating files: 100% (925/925), done.
[INFO] started tweaking git repo https://github.com/datnguyenhcmut/FTP_server
[INFO] finished tweaking git repo https://github.com/datnguyenhcmut/FTP_server
[INFO] tweaked toml for git repo https://github.com/datnguyenhcmut/FTP_server written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/datnguyenhcmut/FTP_server on toolchain 40557f6225e337d68c8d4f086557ce54135f5dd9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/datnguyenhcmut/FTP_server 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" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded regex-syntax v0.8.7
[INFO] [stderr]   Downloaded regex-automata v0.4.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8638ae736d3f07e7fb88a5317ec22e4597d48cfaba06345dc0b4f38377f9abd1
[INFO] running `Command { std: "docker" "start" "8638ae736d3f07e7fb88a5317ec22e4597d48cfaba06345dc0b4f38377f9abd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8638ae736d3f07e7fb88a5317ec22e4597d48cfaba06345dc0b4f38377f9abd1" "/opt/rustwide/cargo-home/bin/cargo" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8638ae736d3f07e7fb88a5317ec22e4597d48cfaba06345dc0b4f38377f9abd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8638ae736d3f07e7fb88a5317ec22e4597d48cfaba06345dc0b4f38377f9abd1" "/opt/rustwide/cargo-home/bin/cargo" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking regex-syntax v0.8.7
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking flate2 v1.1.4
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking regex-automata v0.4.12
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking ftp_server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `http::StatusCode`
[INFO] [stdout]  --> src/main.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::{extract::State, http::StatusCode, response::Json, routing::get, Router};
[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: `http::StatusCode`
[INFO] [stdout]  --> src/main.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::{extract::State, http::StatusCode, response::Json, routing::get, Router};
[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: `Deserialize`
[INFO] [stdout]  --> src/main.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr` and `collections::HashMap`
[INFO] [stdout]   --> src/main.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  8 |     collections::HashMap,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     net::{IpAddr, Ipv4Addr, SocketAddr},
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncBufReadExt`, `BufReader`, and `sync::RwLock`
[INFO] [stdout]   --> src/main.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |     io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader},
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^                               ^^^^^^^^^
[INFO] [stdout] 22 |     net::{TcpListener, TcpStream},
[INFO] [stdout] 23 |     sync::RwLock,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]   --> src/main.rs:26:28
[INFO] [stdout]    |
[INFO] [stdout] 26 | use tracing::{error, info, warn};
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/main.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr` and `collections::HashMap`
[INFO] [stdout]   --> src/main.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  8 |     collections::HashMap,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     net::{IpAddr, Ipv4Addr, SocketAddr},
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncBufReadExt`, `BufReader`, and `sync::RwLock`
[INFO] [stdout]   --> src/main.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |     io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader},
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^                               ^^^^^^^^^
[INFO] [stdout] 22 |     net::{TcpListener, TcpStream},
[INFO] [stdout] 23 |     sync::RwLock,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]   --> src/main.rs:26:28
[INFO] [stdout]    |
[INFO] [stdout] 26 | use tracing::{error, info, warn};
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]   --> src/main.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |     io::{Read, Write},
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_stream`
[INFO] [stdout]    --> src/main.rs:395:20
[INFO] [stdout]     |
[INFO] [stdout] 395 |         if let Ok((data_stream, data_addr)) = data_listener.accept().await {
[INFO] [stdout]     |                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_stream`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]   --> src/main.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |     io::{Read, Write},
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client_addr` is never read
[INFO] [stdout]    --> src/main.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 128 | struct FtpSession {
[INFO] [stdout]     |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 132 |     client_addr: String,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_stream`
[INFO] [stdout]    --> src/main.rs:395:20
[INFO] [stdout]     |
[INFO] [stdout] 395 |         if let Ok((data_stream, data_addr)) = data_listener.accept().await {
[INFO] [stdout]     |                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_stream`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client_addr` is never read
[INFO] [stdout]    --> src/main.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 128 | struct FtpSession {
[INFO] [stdout]     |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 132 |     client_addr: String,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.01s
[INFO] running `Command { std: "docker" "inspect" "8638ae736d3f07e7fb88a5317ec22e4597d48cfaba06345dc0b4f38377f9abd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8638ae736d3f07e7fb88a5317ec22e4597d48cfaba06345dc0b4f38377f9abd1", kill_on_drop: false }`
[INFO] [stdout] 8638ae736d3f07e7fb88a5317ec22e4597d48cfaba06345dc0b4f38377f9abd1
