[INFO] cloning repository https://github.com/ShihHsuanChen/rust-webserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShihHsuanChen/rust-webserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShihHsuanChen%2Frust-webserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShihHsuanChen%2Frust-webserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93c1c8b50418d3782573886371abe15b899bc9bc [INFO] checking ShihHsuanChen/rust-webserver/93c1c8b50418d3782573886371abe15b899bc9bc against master#90b65889799733f21ebdf59d96411aa531c5900a for pr-148477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShihHsuanChen%2Frust-webserver" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ShihHsuanChen/rust-webserver [INFO] finished tweaking git repo https://github.com/ShihHsuanChen/rust-webserver [INFO] tweaked toml for git repo https://github.com/ShihHsuanChen/rust-webserver written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ShihHsuanChen/rust-webserver on toolchain 90b65889799733f21ebdf59d96411aa531c5900a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+90b65889799733f21ebdf59d96411aa531c5900a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ShihHsuanChen/rust-webserver 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" "+90b65889799733f21ebdf59d96411aa531c5900a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] [stderr] Downloaded ref-cast v1.0.23 [INFO] [stderr] Downloaded ref-cast-impl v1.0.23 [INFO] [stderr] Downloaded borrow-or-share v0.2.2 [INFO] [stderr] Downloaded uuid-simd v0.8.0 [INFO] [stderr] Downloaded fluent-uri v0.3.2 [INFO] [stderr] Downloaded referencing v0.28.2 [INFO] [stderr] Downloaded jsonschema v0.28.2 [INFO] [stderr] Downloaded fancy-regex v0.14.0 [INFO] [stderr] Downloaded fraction v0.15.3 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+90b65889799733f21ebdf59d96411aa531c5900a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64019a152da6819a75c0106bdbffc49ff76674645d47668ed79d0128a6200017 [INFO] running `Command { std: "docker" "start" "-a" "64019a152da6819a75c0106bdbffc49ff76674645d47668ed79d0128a6200017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64019a152da6819a75c0106bdbffc49ff76674645d47668ed79d0128a6200017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64019a152da6819a75c0106bdbffc49ff76674645d47668ed79d0128a6200017", kill_on_drop: false }` [INFO] [stdout] 64019a152da6819a75c0106bdbffc49ff76674645d47668ed79d0128a6200017 [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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+90b65889799733f21ebdf59d96411aa531c5900a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75b4a5aa66dd14d86ff32230b7a74c684192dee235491aaf7b60fb0efedc6d46 [INFO] running `Command { std: "docker" "start" "-a" "75b4a5aa66dd14d86ff32230b7a74c684192dee235491aaf7b60fb0efedc6d46", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking borrow-or-share v0.2.2 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Checking uuid v1.12.1 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Checking uuid-simd v0.8.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking fraction v0.15.3 [INFO] [stderr] Checking hyper v1.5.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking fancy-regex v0.14.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking fluent-uri v0.3.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking referencing v0.28.2 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Checking jsonschema v0.28.2 [INFO] [stderr] Checking webserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/response/base.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [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: `std::collections::HashMap` [INFO] [stdout] --> src/schema/base.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Location` [INFO] [stdout] --> src/schema/fields.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> src/router.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::response::{MakeResponse, Response}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/response/base.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [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: `std::collections::HashMap` [INFO] [stdout] --> src/schema/base.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Location` [INFO] [stdout] --> src/schema/fields.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> src/router.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::response::{MakeResponse, Response}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/request/parser.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errs` [INFO] [stdout] --> src/schema/base.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | fn _validate_post(&self, errs: &mut ValidationErrors, value: &Self::Type) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_errs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/schema/base.rs:100:59 [INFO] [stdout] | [INFO] [stdout] 100 | fn _validate_post(&self, errs: &mut ValidationErrors, value: &Self::Type) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/schema/fields.rs:264:37 [INFO] [stdout] | [INFO] [stdout] 264 | if !some_if(&self.pattern, |pattern| todo!() ) { // TODO: [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `METHOD` should have a snake case name [INFO] [stdout] --> src/http/methods.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod METHOD { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `method` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `PROTOCOL` should have a snake case name [INFO] [stdout] --> src/http/protocols.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub mod PROTOCOL { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `STATUS` should have a snake case name [INFO] [stdout] --> src/http/status.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub mod STATUS { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_CRLF_str` should have a snake case name [INFO] [stdout] --> src/http/messege.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn is_CRLF_str(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_crlf_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_CRLF_bytes` should have a snake case name [INFO] [stdout] --> src/http/messege.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn is_CRLF_bytes(s: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_crlf_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_readout_body__text` should have a snake case name [INFO] [stdout] --> src/request/parser.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn parse_readout_body__text(buf: &Vec, content_type: &str) -> BodyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_readout_body_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_readout_body__x_www_form_urlencoded` should have a snake case name [INFO] [stdout] --> src/request/parser.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn parse_readout_body__x_www_form_urlencoded(buf: &Vec) -> BodyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_readout_body_x_www_form_urlencoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_readout_body__multipart` should have a snake case name [INFO] [stdout] --> src/request/parser.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn parse_readout_body__multipart(buf: &Vec, boundary: &str) -> BodyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_readout_body_multipart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_readout_body__binary` should have a snake case name [INFO] [stdout] --> src/request/parser.rs:396:8 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn parse_readout_body__binary(buf: &Vec, content_type: &str) -> BodyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_readout_body_binary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/content_type.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | fn content(&self) -> RawDataType; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | fn content(&self) -> RawDataType<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/content_type.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | fn content(&self) -> RawDataType { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn content(&self) -> RawDataType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/content_type.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | fn content(&self) -> RawDataType { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | fn content(&self) -> RawDataType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/content_type.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | fn content(&self) -> RawDataType { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn content(&self) -> RawDataType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/content_type.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | fn content(&self) -> RawDataType { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | fn content(&self) -> RawDataType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | app.handle_connection(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = app.handle_connection(stream); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | _app.handle_connection(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = _app.handle_connection(stream); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/request/parser.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HasDefault` [INFO] [stdout] --> src/main.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | use webserver::schema::{Common, AnyJson, Location, HasDefault, FieldValidate}; [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: `FieldValidate` [INFO] [stdout] --> src/main.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | use webserver::schema::{Common, AnyJson, Location, HasDefault, FieldValidate}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | router.get("/favicon.ico", |(request, path_args)| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_args` [INFO] [stdout] --> src/main.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | router.get("/favicon.ico", |(request, path_args)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HasDefault` [INFO] [stdout] --> src/main.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | use webserver::schema::{Common, AnyJson, Location, HasDefault, FieldValidate}; [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: `FieldValidate` [INFO] [stdout] --> src/main.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | use webserver::schema::{Common, AnyJson, Location, HasDefault, FieldValidate}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | router.get("/favicon.ico", |(request, path_args)| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_args` [INFO] [stdout] --> src/main.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | router.get("/favicon.ico", |(request, path_args)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errs` [INFO] [stdout] --> src/schema/base.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | fn _validate_post(&self, errs: &mut ValidationErrors, value: &Self::Type) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_errs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/schema/base.rs:100:59 [INFO] [stdout] | [INFO] [stdout] 100 | fn _validate_post(&self, errs: &mut ValidationErrors, value: &Self::Type) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/schema/fields.rs:264:37 [INFO] [stdout] | [INFO] [stdout] 264 | if !some_if(&self.pattern, |pattern| todo!() ) { // TODO: [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `METHOD` should have a snake case name [INFO] [stdout] --> src/http/methods.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod METHOD { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `method` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `PROTOCOL` should have a snake case name [INFO] [stdout] --> src/http/protocols.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub mod PROTOCOL { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `STATUS` should have a snake case name [INFO] [stdout] --> src/http/status.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub mod STATUS { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `status` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.19s [INFO] [stdout] warning: function `is_CRLF_str` should have a snake case name [INFO] [stdout] --> src/http/messege.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn is_CRLF_str(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_crlf_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_CRLF_bytes` should have a snake case name [INFO] [stdout] --> src/http/messege.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn is_CRLF_bytes(s: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_crlf_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_readout_body__text` should have a snake case name [INFO] [stdout] --> src/request/parser.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn parse_readout_body__text(buf: &Vec, content_type: &str) -> BodyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_readout_body_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_readout_body__x_www_form_urlencoded` should have a snake case name [INFO] [stdout] --> src/request/parser.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn parse_readout_body__x_www_form_urlencoded(buf: &Vec) -> BodyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_readout_body_x_www_form_urlencoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_readout_body__multipart` should have a snake case name [INFO] [stdout] --> src/request/parser.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn parse_readout_body__multipart(buf: &Vec, boundary: &str) -> BodyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_readout_body_multipart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_readout_body__binary` should have a snake case name [INFO] [stdout] --> src/request/parser.rs:396:8 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn parse_readout_body__binary(buf: &Vec, content_type: &str) -> BodyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_readout_body_binary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/content_type.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | fn content(&self) -> RawDataType; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | fn content(&self) -> RawDataType<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/content_type.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | fn content(&self) -> RawDataType { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn content(&self) -> RawDataType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/content_type.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | fn content(&self) -> RawDataType { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | fn content(&self) -> RawDataType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/content_type.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | fn content(&self) -> RawDataType { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn content(&self) -> RawDataType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/content_type.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | fn content(&self) -> RawDataType { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | fn content(&self) -> RawDataType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | app.handle_connection(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = app.handle_connection(stream); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | _app.handle_connection(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = _app.handle_connection(stream); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "75b4a5aa66dd14d86ff32230b7a74c684192dee235491aaf7b60fb0efedc6d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75b4a5aa66dd14d86ff32230b7a74c684192dee235491aaf7b60fb0efedc6d46", kill_on_drop: false }` [INFO] [stdout] 75b4a5aa66dd14d86ff32230b7a74c684192dee235491aaf7b60fb0efedc6d46