[INFO] cloning repository https://github.com/LinuxHub-Group/file_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LinuxHub-Group/file_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinuxHub-Group%2Ffile_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinuxHub-Group%2Ffile_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4582ac4a008684d3216a1b0fae93fdef34fff8b9 [INFO] testing LinuxHub-Group/file_server against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinuxHub-Group%2Ffile_server" "/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/LinuxHub-Group/file_server [INFO] finished tweaking git repo https://github.com/LinuxHub-Group/file_server [INFO] tweaked toml for git repo https://github.com/LinuxHub-Group/file_server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LinuxHub-Group/file_server on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LinuxHub-Group/file_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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winnow v0.6.7 [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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ac4e1055e83e60d7d65a621e57c65dfd47c6e5772dff8bfe911ed6ef6232dbf [INFO] running `Command { std: "docker" "start" "-a" "2ac4e1055e83e60d7d65a621e57c65dfd47c6e5772dff8bfe911ed6ef6232dbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ac4e1055e83e60d7d65a621e57c65dfd47c6e5772dff8bfe911ed6ef6232dbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ac4e1055e83e60d7d65a621e57c65dfd47c6e5772dff8bfe911ed6ef6232dbf", kill_on_drop: false }` [INFO] [stdout] 2ac4e1055e83e60d7d65a621e57c65dfd47c6e5772dff8bfe911ed6ef6232dbf [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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2c2c6764b18ac0fc78281b132dcd6de93f1bf20459464bbce2732aa59d6a72e [INFO] running `Command { std: "docker" "start" "-a" "f2c2c6764b18ac0fc78281b132dcd6de93f1bf20459464bbce2732aa59d6a72e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling winnow v0.6.7 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.12 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling file_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/web_page.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(host: T, port: T, path: T) -> Config { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> src/config.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn parse_args() -> Config { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_content_type` is never used [INFO] [stdout] --> src/handler.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn add_content_type(req: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "f2c2c6764b18ac0fc78281b132dcd6de93f1bf20459464bbce2732aa59d6a72e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2c2c6764b18ac0fc78281b132dcd6de93f1bf20459464bbce2732aa59d6a72e", kill_on_drop: false }` [INFO] [stdout] f2c2c6764b18ac0fc78281b132dcd6de93f1bf20459464bbce2732aa59d6a72e [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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3253dfdd62516e5df5368b84562de0fd477c45f6bec123e1be95a571c5c7a328 [INFO] running `Command { std: "docker" "start" "-a" "3253dfdd62516e5df5368b84562de0fd477c45f6bec123e1be95a571c5c7a328", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/web_page.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling file_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/web_page.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(host: T, port: T, path: T) -> Config { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> src/config.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn parse_args() -> Config { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_content_type` is never used [INFO] [stdout] --> src/handler.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn add_content_type(req: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "3253dfdd62516e5df5368b84562de0fd477c45f6bec123e1be95a571c5c7a328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3253dfdd62516e5df5368b84562de0fd477c45f6bec123e1be95a571c5c7a328", kill_on_drop: false }` [INFO] [stdout] 3253dfdd62516e5df5368b84562de0fd477c45f6bec123e1be95a571c5c7a328 [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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8150dcd79e9c243f770d91ff9e9c0456afd2dacab84dc576d097c12944a1bf19 [INFO] running `Command { std: "docker" "start" "-a" "8150dcd79e9c243f770d91ff9e9c0456afd2dacab84dc576d097c12944a1bf19", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::path::PathBuf` [INFO] [stderr] --> src/web_page.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::PathBuf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `file_server` (lib) generated 1 warning (run `cargo fix --lib -p file_server` to apply 1 suggestion) [INFO] [stderr] warning: `file_server` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/config.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl Config { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 13 | pub fn new(host: T, port: T, path: T) -> Config { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `parse_args` is never used [INFO] [stderr] --> src/config.rs:24:14 [INFO] [stderr] | [INFO] [stderr] 24 | pub async fn parse_args() -> Config { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `add_content_type` is never used [INFO] [stderr] --> src/handler.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | pub async fn add_content_type(req: Request, next: Next) -> Response { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `file_server` (bin "file_server" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/file_server-59fa49bfd279ac4e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/file_server-d15b0f1191e048ac) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests file_server [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8150dcd79e9c243f770d91ff9e9c0456afd2dacab84dc576d097c12944a1bf19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8150dcd79e9c243f770d91ff9e9c0456afd2dacab84dc576d097c12944a1bf19", kill_on_drop: false }` [INFO] [stdout] 8150dcd79e9c243f770d91ff9e9c0456afd2dacab84dc576d097c12944a1bf19