[INFO] cloning repository https://github.com/MoMus2000/http-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MoMus2000/http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoMus2000%2Fhttp-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoMus2000%2Fhttp-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2cba5da6f319207d61bb3452bdf29c86d2677ac [INFO] testing MoMus2000/http-server/d2cba5da6f319207d61bb3452bdf29c86d2677ac against 1.81.0 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoMus2000%2Fhttp-server" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MoMus2000/http-server on toolchain 1.81.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.81.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MoMus2000/http-server [INFO] finished tweaking git repo https://github.com/MoMus2000/http-server [INFO] tweaked toml for git repo https://github.com/MoMus2000/http-server written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MoMus2000/http-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" "+1.81.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 351db4d6ed220e50c68656c55e7c07671669fdc2e1f3be4c66693d576a1e1770 [INFO] running `Command { std: "docker" "start" "-a" "351db4d6ed220e50c68656c55e7c07671669fdc2e1f3be4c66693d576a1e1770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "351db4d6ed220e50c68656c55e7c07671669fdc2e1f3be4c66693d576a1e1770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "351db4d6ed220e50c68656c55e7c07671669fdc2e1f3be4c66693d576a1e1770", kill_on_drop: false }` [INFO] [stdout] 351db4d6ed220e50c68656c55e7c07671669fdc2e1f3be4c66693d576a1e1770 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8da8fcc5114ecdfaa666888603a1475baf2465c2af3a9120fcadf6f681fb363f [INFO] running `Command { std: "docker" "start" "-a" "8da8fcc5114ecdfaa666888603a1475baf2465c2af3a9120fcadf6f681fb363f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.24 [INFO] [stderr] Compiling rust-http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `HTTP_Server` should have an upper camel case name [INFO] [stdout] --> src/server.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait HTTP_Server { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpServer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `http_content` should have an upper camel case name [INFO] [stdout] --> src/http/http_content.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct http_content{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpContent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `running_state` [INFO] [stdout] --> src/http_server.rs:59:74 [INFO] [stdout] | [INFO] [stdout] 59 | fn handle_connection(stream_data: TcpStream, router: Option, running_state: Arc>){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_running_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `http_headers` is never read [INFO] [stdout] --> src/http/http_builder.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut http_headers = String::from(""); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/http/http_headers.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | _ => todo!("Not yet implemented this value") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/http/http_content.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn serve_static_file(w : &mut ResponseWriter, r: HttpRequest, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/http/http_content.rs:21:55 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn serve_static_file(w : &mut ResponseWriter, r: HttpRequest, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Server` is never used [INFO] [stdout] --> src/server.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Server{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `strip_query_params` is never used [INFO] [stdout] --> src/http/router.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Router { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | fn strip_query_params(principal_path: &str) -> (&str, &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `method` is never read [INFO] [stdout] --> src/http/router.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct RouterElement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | pub method: &'static str [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouterElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method`, `headers`, and `query_params` are never read [INFO] [stdout] --> src/http/http_request.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HttpRequest{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub path: String, [INFO] [stdout] 7 | pub headers: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub query_params: Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `headers` is never read [INFO] [stdout] --> src/http/response_writer.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ResponseWriter{ [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub headers : HashMap:: [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.48s [INFO] running `Command { std: "docker" "inspect" "8da8fcc5114ecdfaa666888603a1475baf2465c2af3a9120fcadf6f681fb363f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8da8fcc5114ecdfaa666888603a1475baf2465c2af3a9120fcadf6f681fb363f", kill_on_drop: false }` [INFO] [stdout] 8da8fcc5114ecdfaa666888603a1475baf2465c2af3a9120fcadf6f681fb363f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be1dc7955d94e76320e132964b48b1ebe189a046d4c2240cb3b328bb1b2708ec [INFO] running `Command { std: "docker" "start" "-a" "be1dc7955d94e76320e132964b48b1ebe189a046d4c2240cb3b328bb1b2708ec", kill_on_drop: false }` [INFO] [stderr] Compiling rust-http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `HTTP_Server` should have an upper camel case name [INFO] [stdout] --> src/server.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait HTTP_Server { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpServer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/http/test_http.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Duration` [INFO] [stdout] --> src/http/test_http.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `http_content` should have an upper camel case name [INFO] [stdout] --> src/http/http_content.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct http_content{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpContent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `running_state` [INFO] [stdout] --> src/http_server.rs:59:74 [INFO] [stdout] | [INFO] [stdout] 59 | fn handle_connection(stream_data: TcpStream, router: Option, running_state: Arc>){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_running_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `http_headers` is never read [INFO] [stdout] --> src/http/http_builder.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut http_headers = String::from(""); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/http/test_http.rs:19:67 [INFO] [stdout] | [INFO] [stdout] 19 | fn set_http_status_200(response_writer : &mut ResponseWriter, request : http_request::HttpRequest){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/http/http_headers.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | _ => todo!("Not yet implemented this value") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/http/http_content.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn serve_static_file(w : &mut ResponseWriter, r: HttpRequest, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/http/http_content.rs:21:55 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn serve_static_file(w : &mut ResponseWriter, r: HttpRequest, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Server` is never used [INFO] [stdout] --> src/server.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Server{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `strip_query_params` is never used [INFO] [stdout] --> src/http/router.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Router { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | fn strip_query_params(principal_path: &str) -> (&str, &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `method` is never read [INFO] [stdout] --> src/http/router.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct RouterElement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | pub method: &'static str [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouterElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method`, `headers`, and `query_params` are never read [INFO] [stdout] --> src/http/http_request.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HttpRequest{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub path: String, [INFO] [stdout] 7 | pub headers: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub query_params: Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `headers` is never read [INFO] [stdout] --> src/http/response_writer.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ResponseWriter{ [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub headers : HashMap:: [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.53s [INFO] running `Command { std: "docker" "inspect" "be1dc7955d94e76320e132964b48b1ebe189a046d4c2240cb3b328bb1b2708ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be1dc7955d94e76320e132964b48b1ebe189a046d4c2240cb3b328bb1b2708ec", kill_on_drop: false }` [INFO] [stdout] be1dc7955d94e76320e132964b48b1ebe189a046d4c2240cb3b328bb1b2708ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3f84928a798966a2c3013dfb35e200edbd01bf5a461357cf15b79b54205729c6 [INFO] running `Command { std: "docker" "start" "-a" "3f84928a798966a2c3013dfb35e200edbd01bf5a461357cf15b79b54205729c6", kill_on_drop: false }` [INFO] [stderr] warning: trait `HTTP_Server` should have an upper camel case name [INFO] [stderr] --> src/server.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait HTTP_Server { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpServer` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::time` [INFO] [stderr] --> src/http/test_http.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | use core::time; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::Duration` [INFO] [stderr] --> src/http/test_http.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | use chrono::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `http_content` should have an upper camel case name [INFO] [stderr] --> src/http/http_content.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct http_content{ [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpContent` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `running_state` [INFO] [stderr] --> src/http_server.rs:59:74 [INFO] [stderr] | [INFO] [stderr] 59 | fn handle_connection(stream_data: TcpStream, router: Option, running_state: Arc>){ [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_running_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `http_headers` is never read [INFO] [stderr] --> src/http/http_builder.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | let mut http_headers = String::from(""); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/http/test_http.rs:19:67 [INFO] [stderr] | [INFO] [stderr] 19 | fn set_http_status_200(response_writer : &mut ResponseWriter, request : http_request::HttpRequest){ [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/http/http_headers.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | _ => todo!("Not yet implemented this value") [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w` [INFO] [stderr] --> src/http/http_content.rs:21:30 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn serve_static_file(w : &mut ResponseWriter, r: HttpRequest, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/http/http_content.rs:21:55 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn serve_static_file(w : &mut ResponseWriter, r: HttpRequest, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: trait `Server` is never used [INFO] [stderr] --> src/server.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub trait Server{ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `strip_query_params` is never used [INFO] [stderr] --> src/http/router.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 38 | impl Router { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 45 | fn strip_query_params(principal_path: &str) -> (&str, &str){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `method` is never read [INFO] [stderr] --> src/http/router.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 91 | pub struct RouterElement { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 94 | pub method: &'static str [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RouterElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `method`, `headers`, and `query_params` are never read [INFO] [stderr] --> src/http/http_request.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct HttpRequest{ [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 5 | pub method: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 6 | pub path: String, [INFO] [stderr] 7 | pub headers: Option>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 8 | pub query_params: Option [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HttpRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `headers` is never read [INFO] [stderr] --> src/http/response_writer.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct ResponseWriter{ [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 7 | pub headers : HashMap:: [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-http` (bin "rust-http" test) generated 15 warnings (run `cargo fix --bin "rust-http" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_http-7ac7c1891a0ad710) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test http::test_http::tests::test_static_file_serve ... FAILED [INFO] [stdout] test http::test_http::tests::test_http_status_codes ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- http::test_http::tests::test_static_file_serve stdout ---- [INFO] [stdout] Spawning the webserver [INFO] [stdout] ERROR: binding to localhost:6969 [INFO] [stdout] thread '' panicked at src/http_server.rs:32:13: [INFO] [stdout] Cannot assign requested address (os error 99) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4af492ae5 - std::backtrace_rs::backtrace::libunwind::trace::h649ab3318d3445c5 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x61b4af492ae5 - std::backtrace_rs::backtrace::trace_unsynchronized::hf4bb60c3387150c3 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x61b4af492ae5 - std::sys::backtrace::_print_fmt::hd9186c800e44bd00 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:65:5 [INFO] [stdout] 3: 0x61b4af492ae5 - ::fmt::h1b9dad2a88e955ff [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:40:26 [INFO] [stdout] 4: 0x61b4af4bbe2b - core::fmt::rt::Argument::fmt::h351a7824f737a6a0 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4af4bbe2b - core::fmt::write::h4b5a1270214bc4a7 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/fmt/mod.rs:1182:21 [INFO] [stdout] 6: 0x61b4af48f5cf - std::io::Write::write_fmt::h9d1e399061051a36 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/io/mod.rs:1827:15 [INFO] [stdout] 7: 0x61b4af494301 - std::sys::backtrace::BacktraceLock::print::h68d41b51481bce5c [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:43:9 [INFO] [stdout] 8: 0x61b4af494301 - std::panicking::default_hook::{{closure}}::h96ab15e9936be7ed [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:269:22 [INFO] [stdout] 9: 0x61b4af493ea8 - std::panicking::default_hook::h3cacb9c27561ad33 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:293:9 [INFO] [stdout] 10: 0x61b4af448cba - as core::ops::function::Fn>::call::hd212b1446b2b2077 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2084:9 [INFO] [stdout] 11: 0x61b4af448cba - test::test_main::{{closure}}::hd15ff34f3f68988b [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/test/src/lib.rs:136:21 [INFO] [stdout] 12: 0x61b4af494b9f - as core::ops::function::Fn>::call::hce7569f4ca5d1b64 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2084:9 [INFO] [stdout] 13: 0x61b4af494b9f - std::panicking::rust_panic_with_hook::hfe205f6954b2c97b [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:808:13 [INFO] [stdout] 14: 0x61b4af4947c7 - std::panicking::begin_panic_handler::{{closure}}::h6cb44b3a50f28c44 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x61b4af492fa9 - std::sys::backtrace::__rust_end_short_backtrace::hf1c1f2a92799bb0e [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x61b4af494454 - rust_begin_unwind [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x61b4af014a63 - core::panicking::panic_fmt::h3d8fc78294164da7 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x61b4af01ec2c - core::panicking::panic_display::ha78e560a458678de [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:264:5 [INFO] [stdout] 19: 0x61b4af02bc1a - ::start_server::panic_cold_display::hef259ec9c78e06e3 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panic.rs:101:13 [INFO] [stdout] 20: 0x61b4af0291da - ::start_server::h2f368e492e7bb443 [INFO] [stdout] at /opt/rustwide/workdir/src/http_server.rs:32:13 [INFO] [stdout] 21: 0x61b4af02e043 - rust_http::http::test_http::tests::test_static_file_serve::{{closure}}::{{closure}}::h10b6da977e373433 [INFO] [stdout] at /opt/rustwide/workdir/src/http/test_http.rs:161:17 [INFO] [stdout] 22: 0x61b4af01d120 - std::panicking::try::do_call::h82f41dc5b3c6ae80 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:557:40 [INFO] [stdout] 23: 0x61b4af0224db - __rust_try [INFO] [stdout] 24: 0x61b4af01cfd2 - std::panicking::try::h5303b8e1ff3dfdff [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:521:19 [INFO] [stdout] 25: 0x61b4af01cfd2 - std::panic::catch_unwind::hfd6433e0d3032e57 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panic.rs:350:14 [INFO] [stdout] 26: 0x61b4af02de6b - rust_http::http::test_http::tests::test_static_file_serve::{{closure}}::h3a6e1565a64f16ab [INFO] [stdout] at /opt/rustwide/workdir/src/http/test_http.rs:159:26 [INFO] [stdout] 27: 0x61b4af026a26 - std::sys::backtrace::__rust_begin_short_backtrace::h428ef843688bc765 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 28: 0x61b4af019f20 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h173fbcc3e992f21a [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/thread/mod.rs:538:17 [INFO] [stdout] 29: 0x61b4af022690 - as core::ops::function::FnOnce<()>>::call_once::h6f57d75f09671239 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x61b4af01d0a0 - std::panicking::try::do_call::h6aa291505fe99d3d [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:557:40 [INFO] [stdout] 31: 0x61b4af01c4eb - __rust_try [INFO] [stdout] 32: 0x61b4af01925a - std::panicking::try::h94e3877d0ce224fc [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:521:19 [INFO] [stdout] 33: 0x61b4af01925a - std::panic::catch_unwind::h170a05db8b55bd01 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panic.rs:350:14 [INFO] [stdout] 34: 0x61b4af01925a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6c066a69026863f7 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/thread/mod.rs:537:30 [INFO] [stdout] 35: 0x61b4af01d78e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h56a1d1ea405f9e30 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 36: 0x61b4af4991cb - as core::ops::function::FnOnce>::call_once::ha1963004222e7822 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2070:9 [INFO] [stdout] 37: 0x61b4af4991cb - as core::ops::function::FnOnce>::call_once::h1086ced1f7c494c2 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2070:9 [INFO] [stdout] 38: 0x61b4af4991cb - std::sys::pal::unix::thread::Thread::new::thread_start::ha8af9c992ef0b208 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 39: 0x7b7e5189cac3 - [INFO] [stdout] 40: 0x7b7e5192da04 - clone [INFO] [stdout] 41: 0x0 - [INFO] [stdout] Thread panicked: Any { .. } [INFO] [stdout] thread 'http::test_http::tests::test_static_file_serve' panicked at src/http/test_http.rs:178:52: [INFO] [stdout] called `Option::unwrap()` on a `None` value [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4af492ae5 - std::backtrace_rs::backtrace::libunwind::trace::h649ab3318d3445c5 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x61b4af492ae5 - std::backtrace_rs::backtrace::trace_unsynchronized::hf4bb60c3387150c3 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x61b4af492ae5 - std::sys::backtrace::_print_fmt::hd9186c800e44bd00 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:65:5 [INFO] [stdout] 3: 0x61b4af492ae5 - ::fmt::h1b9dad2a88e955ff [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:40:26 [INFO] [stdout] 4: 0x61b4af4bbe2b - core::fmt::rt::Argument::fmt::h351a7824f737a6a0 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4af4bbe2b - core::fmt::write::h4b5a1270214bc4a7 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/fmt/mod.rs:1182:21 [INFO] [stdout] 6: 0x61b4af48f5cf - std::io::Write::write_fmt::h9d1e399061051a36 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/io/mod.rs:1827:15 [INFO] [stdout] 7: 0x61b4af494301 - std::sys::backtrace::BacktraceLock::print::h68d41b51481bce5c [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:43:9 [INFO] [stdout] 8: 0x61b4af494301 - std::panicking::default_hook::{{closure}}::h96ab15e9936be7ed [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:269:22 [INFO] [stdout] 9: 0x61b4af493ea8 - std::panicking::default_hook::h3cacb9c27561ad33 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:293:9 [INFO] [stdout] 10: 0x61b4af448cba - as core::ops::function::Fn>::call::hd212b1446b2b2077 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2084:9 [INFO] [stdout] 11: 0x61b4af448cba - test::test_main::{{closure}}::hd15ff34f3f68988b [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/test/src/lib.rs:136:21 [INFO] [stdout] 12: 0x61b4af494b9f - as core::ops::function::Fn>::call::hce7569f4ca5d1b64 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2084:9 [INFO] [stdout] 13: 0x61b4af494b9f - std::panicking::rust_panic_with_hook::hfe205f6954b2c97b [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:808:13 [INFO] [stdout] 14: 0x61b4af494793 - std::panicking::begin_panic_handler::{{closure}}::h6cb44b3a50f28c44 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:667:13 [INFO] [stdout] 15: 0x61b4af492fa9 - std::sys::backtrace::__rust_end_short_backtrace::hf1c1f2a92799bb0e [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x61b4af494454 - rust_begin_unwind [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x61b4af014a63 - core::panicking::panic_fmt::h3d8fc78294164da7 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x61b4af014aec - core::panicking::panic::hec978767ec2d35ff [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:148:5 [INFO] [stdout] 19: 0x61b4af0149c9 - core::option::unwrap_failed::hba6b08832f9ce30b [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/option.rs:2020:5 [INFO] [stdout] 20: 0x61b4af02cf5f - core::option::Option::unwrap::h85e6b7a56f0574c5 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/option.rs:970:21 [INFO] [stdout] 21: 0x61b4af02cf5f - rust_http::http::test_http::tests::test_static_file_serve::hb73161018664b919 [INFO] [stdout] at /opt/rustwide/workdir/src/http/test_http.rs:178:17 [INFO] [stdout] 22: 0x61b4af02cc97 - rust_http::http::test_http::tests::test_static_file_serve::{{closure}}::hdeb2101d8f73d76a [INFO] [stdout] at /opt/rustwide/workdir/src/http/test_http.rs:113:32 [INFO] [stdout] 23: 0x61b4af01d936 - core::ops::function::FnOnce::call_once::h76bd29fcb3ab46ed [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61b4af44d2fb - core::ops::function::FnOnce::call_once::h81f56a195fe4862e [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b4af44d2fb - test::__rust_begin_short_backtrace::h919c79c8b896f9e2 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/test/src/lib.rs:624:18 [INFO] [stdout] 26: 0x61b4af44cba5 - test::run_test_in_process::{{closure}}::h7b3d5751c5b4dd75 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/test/src/lib.rs:647:60 [INFO] [stdout] 27: 0x61b4af44cba5 - as core::ops::function::FnOnce<()>>::call_once::hdabd61465e4dbd80 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x61b4af44cba5 - std::panicking::try::do_call::hc813c79fd64b0a90 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:557:40 [INFO] [stdout] 29: 0x61b4af44cba5 - std::panicking::try::h055c5de7e7bfc209 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:521:19 [INFO] [stdout] 30: 0x61b4af44cba5 - std::panic::catch_unwind::h4265d6525195c807 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panic.rs:350:14 [INFO] [stdout] 31: 0x61b4af44cba5 - test::run_test_in_process::he72c277a35f96567 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/test/src/lib.rs:647:27 [INFO] [stdout] 32: 0x61b4af44cba5 - test::run_test::{{closure}}::h974e632522c0fbcf [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/test/src/lib.rs:568:43 [INFO] [stdout] 33: 0x61b4af414b94 - test::run_test::{{closure}}::hdc2c89ce8b601dda [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/test/src/lib.rs:598:41 [INFO] [stdout] 34: 0x61b4af414b94 - std::sys::backtrace::__rust_begin_short_backtrace::h342cb8e53aeb2076 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x61b4af4182c2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h67b1b5c1709ad95b [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/thread/mod.rs:538:17 [INFO] [stdout] 36: 0x61b4af4182c2 - as core::ops::function::FnOnce<()>>::call_once::hd8c7a030ea8b7676 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x61b4af4182c2 - std::panicking::try::do_call::h512c2ab2c15b7d31 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:557:40 [INFO] [stdout] 38: 0x61b4af4182c2 - std::panicking::try::h5c2903f8937bc868 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:521:19 [INFO] [stdout] 39: 0x61b4af4182c2 - std::panic::catch_unwind::h242c80217c2dbece [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panic.rs:350:14 [INFO] [stdout] 40: 0x61b4af4182c2 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6cb4494ebdd8caf7 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/thread/mod.rs:537:30 [INFO] [stdout] 41: 0x61b4af4182c2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h42193b008049ba94 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x61b4af4991cb - as core::ops::function::FnOnce>::call_once::ha1963004222e7822 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2070:9 [INFO] [stdout] 43: 0x61b4af4991cb - as core::ops::function::FnOnce>::call_once::h1086ced1f7c494c2 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2070:9 [INFO] [stdout] 44: 0x61b4af4991cb - std::sys::pal::unix::thread::Thread::new::thread_start::ha8af9c992ef0b208 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7b7e5189cac3 - [INFO] [stdout] 46: 0x7b7e5192da04 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] http::test_http::tests::test_static_file_serve [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin rust-http` [INFO] running `Command { std: "docker" "inspect" "3f84928a798966a2c3013dfb35e200edbd01bf5a461357cf15b79b54205729c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f84928a798966a2c3013dfb35e200edbd01bf5a461357cf15b79b54205729c6", kill_on_drop: false }` [INFO] [stdout] 3f84928a798966a2c3013dfb35e200edbd01bf5a461357cf15b79b54205729c6