[INFO] cloning repository https://github.com/shirokurostone/rust-http-practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shirokurostone/rust-http-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshirokurostone%2Frust-http-practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshirokurostone%2Frust-http-practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb18ea3b9b672d9a93fa721295d6e121066d9dbe [INFO] testing shirokurostone/rust-http-practice against beta-2024-12-08 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshirokurostone%2Frust-http-practice" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shirokurostone/rust-http-practice on toolchain beta-2024-12-08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shirokurostone/rust-http-practice [INFO] finished tweaking git repo https://github.com/shirokurostone/rust-http-practice [INFO] tweaked toml for git repo https://github.com/shirokurostone/rust-http-practice written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shirokurostone/rust-http-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" "+beta-2024-12-08" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 877edacb113df50ec5d6ca69d9878e3c3f1fd4924bc84e2c3b8d10464325e000 [INFO] running `Command { std: "docker" "start" "-a" "877edacb113df50ec5d6ca69d9878e3c3f1fd4924bc84e2c3b8d10464325e000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "877edacb113df50ec5d6ca69d9878e3c3f1fd4924bc84e2c3b8d10464325e000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "877edacb113df50ec5d6ca69d9878e3c3f1fd4924bc84e2c3b8d10464325e000", kill_on_drop: false }` [INFO] [stdout] 877edacb113df50ec5d6ca69d9878e3c3f1fd4924bc84e2c3b8d10464325e000 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dd25edfff4ffd9635ca03204130fcf94f904af2b4e5547e38e3d939ebf5fb8a [INFO] running `Command { std: "docker" "start" "-a" "2dd25edfff4ffd9635ca03204130fcf94f904af2b4e5547e38e3d939ebf5fb8a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling rust-http-practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `url::ParseError` [INFO] [stdout] --> src/common.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use url::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/common.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl HttpHeaders { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn insert(&mut self, key: String, value: String) -> Option{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.16s [INFO] running `Command { std: "docker" "inspect" "2dd25edfff4ffd9635ca03204130fcf94f904af2b4e5547e38e3d939ebf5fb8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dd25edfff4ffd9635ca03204130fcf94f904af2b4e5547e38e3d939ebf5fb8a", kill_on_drop: false }` [INFO] [stdout] 2dd25edfff4ffd9635ca03204130fcf94f904af2b4e5547e38e3d939ebf5fb8a [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69621b83540672b6627e69877cd7deb0064ea1647b43d069bb8ebc04a4f75fd2 [INFO] running `Command { std: "docker" "start" "-a" "69621b83540672b6627e69877cd7deb0064ea1647b43d069bb8ebc04a4f75fd2", kill_on_drop: false }` [INFO] [stderr] Compiling rust-http-practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `url::ParseError` [INFO] [stdout] --> src/common.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use url::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/common.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl HttpHeaders { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn insert(&mut self, key: String, value: String) -> Option{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "69621b83540672b6627e69877cd7deb0064ea1647b43d069bb8ebc04a4f75fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69621b83540672b6627e69877cd7deb0064ea1647b43d069bb8ebc04a4f75fd2", kill_on_drop: false }` [INFO] [stdout] 69621b83540672b6627e69877cd7deb0064ea1647b43d069bb8ebc04a4f75fd2 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] caabf139f07f3e1b69671f8e5adb36313e49347c3957bda5bcb4832b8f23a703 [INFO] running `Command { std: "docker" "start" "-a" "caabf139f07f3e1b69671f8e5adb36313e49347c3957bda5bcb4832b8f23a703", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `url::ParseError` [INFO] [stderr] --> src/common.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use url::ParseError; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `insert` is never used [INFO] [stderr] --> src/common.rs:176:12 [INFO] [stderr] | [INFO] [stderr] 134 | impl HttpHeaders { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 176 | pub fn insert(&mut self, key: String, value: String) -> Option{ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-http-practice` (bin "rust-http-practice" test) generated 2 warnings (run `cargo fix --bin "rust-http-practice" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_http_practice-571642b29132e7a0) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test common::tests::test_httpheaders_write_to_empty ... ok [INFO] [stdout] test server::tests::test_router_handle_ok ... ok [INFO] [stdout] test server::tests::test_router_handle_notfound ... ok [INFO] [stdout] test common::tests::test_httpheaders_write_to ... ok [INFO] [stdout] test server::tests::test_router_add ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "caabf139f07f3e1b69671f8e5adb36313e49347c3957bda5bcb4832b8f23a703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caabf139f07f3e1b69671f8e5adb36313e49347c3957bda5bcb4832b8f23a703", kill_on_drop: false }` [INFO] [stdout] caabf139f07f3e1b69671f8e5adb36313e49347c3957bda5bcb4832b8f23a703