[INFO] cloning repository https://github.com/picnicsplitflow/file_serve_practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/picnicsplitflow/file_serve_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpicnicsplitflow%2Ffile_serve_practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpicnicsplitflow%2Ffile_serve_practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9feb08b2ef1df372c73ea41766d4cb4a1b6513f4 [INFO] testing picnicsplitflow/file_serve_practice against master#595316b4006932405a63862d8fe65f71a6356293 for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpicnicsplitflow%2Ffile_serve_practice" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/picnicsplitflow/file_serve_practice on toolchain 595316b4006932405a63862d8fe65f71a6356293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/picnicsplitflow/file_serve_practice [INFO] finished tweaking git repo https://github.com/picnicsplitflow/file_serve_practice [INFO] tweaked toml for git repo https://github.com/picnicsplitflow/file_serve_practice written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/picnicsplitflow/file_serve_practice 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" "+595316b4006932405a63862d8fe65f71a6356293" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono v0.4.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2ce2a23fa4141ddd5f5f71e455637982d7b82f283e63016300cf7d21db4f7a5 [INFO] running `Command { std: "docker" "start" "-a" "e2ce2a23fa4141ddd5f5f71e455637982d7b82f283e63016300cf7d21db4f7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2ce2a23fa4141ddd5f5f71e455637982d7b82f283e63016300cf7d21db4f7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2ce2a23fa4141ddd5f5f71e455637982d7b82f283e63016300cf7d21db4f7a5", kill_on_drop: false }` [INFO] [stdout] e2ce2a23fa4141ddd5f5f71e455637982d7b82f283e63016300cf7d21db4f7a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f84f5ddc6be40fa9c63b22cfc83b626a4030516c2cda2044b6921b7f4fb78895 [INFO] running `Command { std: "docker" "start" "-a" "f84f5ddc6be40fa9c63b22cfc83b626a4030516c2cda2044b6921b7f4fb78895", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling mio v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling hdrhistogram v7.5.0 [INFO] [stderr] Compiling chrono v0.4.20 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling axum-core v0.2.4 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tower-http v0.3.3 [INFO] [stderr] Compiling axum v0.5.5 [INFO] [stderr] Compiling file_serve_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::SystemTime` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | time::SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:268:16 [INFO] [stdout] | [INFO] [stdout] 268 | if let Err(e) = items_meta { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_file` is never read [INFO] [stdout] --> src/main.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 307 | struct DirEntryMetadata { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 308 | name: OsString, [INFO] [stdout] 309 | is_file: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.56s [INFO] running `Command { std: "docker" "inspect" "f84f5ddc6be40fa9c63b22cfc83b626a4030516c2cda2044b6921b7f4fb78895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84f5ddc6be40fa9c63b22cfc83b626a4030516c2cda2044b6921b7f4fb78895", kill_on_drop: false }` [INFO] [stdout] f84f5ddc6be40fa9c63b22cfc83b626a4030516c2cda2044b6921b7f4fb78895 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b72bf2f29140c0d14de06c1b9510448496cd28a9848d0f48a89b5655540d13b2 [INFO] running `Command { std: "docker" "start" "-a" "b72bf2f29140c0d14de06c1b9510448496cd28a9848d0f48a89b5655540d13b2", kill_on_drop: false }` [INFO] [stderr] Compiling file_serve_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::SystemTime` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | time::SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/main.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:268:16 [INFO] [stdout] | [INFO] [stdout] 268 | if let Err(e) = items_meta { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_file` is never read [INFO] [stdout] --> src/main.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 307 | struct DirEntryMetadata { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 308 | name: OsString, [INFO] [stdout] 309 | is_file: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "b72bf2f29140c0d14de06c1b9510448496cd28a9848d0f48a89b5655540d13b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b72bf2f29140c0d14de06c1b9510448496cd28a9848d0f48a89b5655540d13b2", kill_on_drop: false }` [INFO] [stdout] b72bf2f29140c0d14de06c1b9510448496cd28a9848d0f48a89b5655540d13b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 78ca35760f1f49196c7cda292262e259b0bfbc95a6461ff5708e5c28e5f51312 [INFO] running `Command { std: "docker" "start" "-a" "78ca35760f1f49196c7cda292262e259b0bfbc95a6461ff5708e5c28e5f51312", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `time::SystemTime` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | time::SystemTime, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::*` [INFO] [stderr] --> src/main.rs:349:9 [INFO] [stderr] | [INFO] [stderr] 349 | use crate::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:268:16 [INFO] [stderr] | [INFO] [stderr] 268 | if let Err(e) = items_meta { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `is_file` is never read [INFO] [stderr] --> src/main.rs:309:5 [INFO] [stderr] | [INFO] [stderr] 307 | struct DirEntryMetadata { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 308 | name: OsString, [INFO] [stderr] 309 | is_file: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `file_serve_practice` (bin "file_serve_practice" test) generated 4 warnings (run `cargo fix --bin "file_serve_practice" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/file_serve_practice-b025c16523cb635c) [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" "78ca35760f1f49196c7cda292262e259b0bfbc95a6461ff5708e5c28e5f51312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78ca35760f1f49196c7cda292262e259b0bfbc95a6461ff5708e5c28e5f51312", kill_on_drop: false }` [INFO] [stdout] 78ca35760f1f49196c7cda292262e259b0bfbc95a6461ff5708e5c28e5f51312