[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] testing ShihHsuanChen/rust-webserver against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShihHsuanChen%2Frust-webserver" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ShihHsuanChen/rust-webserver on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded outref v0.5.2 [INFO] [stderr] Downloaded uuid-simd v0.8.0 [INFO] [stderr] Downloaded num v0.4.3 [INFO] [stderr] Downloaded num-complex v0.4.6 [INFO] [stderr] Downloaded clap_derive v4.5.24 [INFO] [stderr] Downloaded borrow-or-share v0.2.2 [INFO] [stderr] Downloaded vsimd v0.8.0 [INFO] [stderr] Downloaded bytecount v0.6.8 [INFO] [stderr] Downloaded fancy-regex v0.14.0 [INFO] [stderr] Downloaded fluent-uri v0.3.2 [INFO] [stderr] Downloaded clap v4.5.26 [INFO] [stderr] Downloaded fraction v0.15.3 [INFO] [stderr] Downloaded jsonschema v0.28.2 [INFO] [stderr] Downloaded serde_json v1.0.137 [INFO] [stderr] Downloaded miniz_oxide v0.8.3 [INFO] [stderr] Downloaded syn v2.0.96 [INFO] [stderr] Downloaded referencing v0.28.2 [INFO] [stderr] Downloaded clap_builder v4.5.26 [INFO] [stderr] Downloaded hyper v1.5.2 [INFO] [stderr] Downloaded httparse v1.9.5 [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] [stderr] Downloaded uuid v1.12.1 [INFO] [stderr] Downloaded ref-cast-impl v1.0.23 [INFO] [stderr] Downloaded ref-cast v1.0.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e33bd93e72f259a751b3c32efa78b91ba44136b81d8b6f01b5b99badbe81cc4a [INFO] running `Command { std: "docker" "start" "-a" "e33bd93e72f259a751b3c32efa78b91ba44136b81d8b6f01b5b99badbe81cc4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e33bd93e72f259a751b3c32efa78b91ba44136b81d8b6f01b5b99badbe81cc4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e33bd93e72f259a751b3c32efa78b91ba44136b81d8b6f01b5b99badbe81cc4a", kill_on_drop: false }` [INFO] [stdout] e33bd93e72f259a751b3c32efa78b91ba44136b81d8b6f01b5b99badbe81cc4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c9faf5459b23d14bcde7a5a8826aa7d01189331d851ce1cd40c750bdf2e5e00 [INFO] running `Command { std: "docker" "start" "-a" "0c9faf5459b23d14bcde7a5a8826aa7d01189331d851ce1cd40c750bdf2e5e00", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [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 ryu v1.0.18 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling borrow-or-share v0.2.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap_builder v4.5.26 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling uuid-simd v0.8.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.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 serde_derive v1.0.217 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling fancy-regex v0.14.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.26 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling fluent-uri v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling referencing v0.28.2 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling jsonschema v0.28.2 [INFO] [stderr] Compiling 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 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 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.40s [INFO] running `Command { std: "docker" "inspect" "0c9faf5459b23d14bcde7a5a8826aa7d01189331d851ce1cd40c750bdf2e5e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c9faf5459b23d14bcde7a5a8826aa7d01189331d851ce1cd40c750bdf2e5e00", kill_on_drop: false }` [INFO] [stdout] 0c9faf5459b23d14bcde7a5a8826aa7d01189331d851ce1cd40c750bdf2e5e00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5ced346b3b07b22c448f4c0119f2f8db4b38adc35af89fff1196d19b1efd487 [INFO] running `Command { std: "docker" "start" "-a" "f5ced346b3b07b22c448f4c0119f2f8db4b38adc35af89fff1196d19b1efd487", kill_on_drop: false }` [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] [stderr] Compiling webserver v0.1.0 (/opt/rustwide/workdir) [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 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: `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: `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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "f5ced346b3b07b22c448f4c0119f2f8db4b38adc35af89fff1196d19b1efd487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5ced346b3b07b22c448f4c0119f2f8db4b38adc35af89fff1196d19b1efd487", kill_on_drop: false }` [INFO] [stdout] f5ced346b3b07b22c448f4c0119f2f8db4b38adc35af89fff1196d19b1efd487 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1de6ed83bc7da09dc47df142094821da319dbdd9f55fe647da8bed43e7eceb7d [INFO] running `Command { std: "docker" "start" "-a" "1de6ed83bc7da09dc47df142094821da319dbdd9f55fe647da8bed43e7eceb7d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/response/base.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/schema/base.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Location` [INFO] [stderr] --> src/schema/fields.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Location, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Response` [INFO] [stderr] --> src/router.rs:10:37 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::response::{MakeResponse, Response}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/request/parser.rs:204:13 [INFO] [stderr] | [INFO] [stderr] 204 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `errs` [INFO] [stderr] --> src/schema/base.rs:100:30 [INFO] [stderr] | [INFO] [stderr] 100 | fn _validate_post(&self, errs: &mut ValidationErrors, value: &Self::Type) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_errs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/schema/base.rs:100:59 [INFO] [stderr] | [INFO] [stderr] 100 | fn _validate_post(&self, errs: &mut ValidationErrors, value: &Self::Type) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pattern` [INFO] [stderr] --> src/schema/fields.rs:264:37 [INFO] [stderr] | [INFO] [stderr] 264 | if !some_if(&self.pattern, |pattern| todo!() ) { // TODO: [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stderr] [INFO] [stderr] warning: module `METHOD` should have a snake case name [INFO] [stderr] --> src/http/methods.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub mod METHOD { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `method` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: module `PROTOCOL` should have a snake case name [INFO] [stderr] --> src/http/protocols.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub mod PROTOCOL { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `protocol` [INFO] [stderr] [INFO] [stderr] warning: module `STATUS` should have a snake case name [INFO] [stderr] --> src/http/status.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub mod STATUS { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `status` [INFO] [stderr] [INFO] [stderr] warning: function `is_CRLF_str` should have a snake case name [INFO] [stderr] --> src/http/messege.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn is_CRLF_str(s: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_crlf_str` [INFO] [stderr] [INFO] [stderr] warning: function `is_CRLF_bytes` should have a snake case name [INFO] [stderr] --> src/http/messege.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn is_CRLF_bytes(s: &[u8]) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_crlf_bytes` [INFO] [stderr] [INFO] [stderr] warning: function `parse_readout_body__text` should have a snake case name [INFO] [stderr] --> src/request/parser.rs:219:8 [INFO] [stderr] | [INFO] [stderr] 219 | pub fn parse_readout_body__text(buf: &Vec, content_type: &str) -> BodyResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_readout_body_text` [INFO] [stderr] [INFO] [stderr] warning: function `parse_readout_body__x_www_form_urlencoded` should have a snake case name [INFO] [stderr] --> src/request/parser.rs:233:8 [INFO] [stderr] | [INFO] [stderr] 233 | pub fn parse_readout_body__x_www_form_urlencoded(buf: &Vec) -> BodyResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_readout_body_x_www_form_urlencoded` [INFO] [stderr] [INFO] [stderr] warning: function `parse_readout_body__multipart` should have a snake case name [INFO] [stderr] --> src/request/parser.rs:258:8 [INFO] [stderr] | [INFO] [stderr] 258 | pub fn parse_readout_body__multipart(buf: &Vec, boundary: &str) -> BodyResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_readout_body_multipart` [INFO] [stderr] [INFO] [stderr] warning: function `parse_readout_body__binary` should have a snake case name [INFO] [stderr] --> src/request/parser.rs:396:8 [INFO] [stderr] | [INFO] [stderr] 396 | pub fn parse_readout_body__binary(buf: &Vec, content_type: &str) -> BodyResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_readout_body_binary` [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/request/content_type.rs:44:16 [INFO] [stderr] | [INFO] [stderr] 44 | fn content(&self) -> RawDataType; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 44 | fn content(&self) -> RawDataType<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/request/content_type.rs:57:16 [INFO] [stderr] | [INFO] [stderr] 57 | fn content(&self) -> RawDataType { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 57 | fn content(&self) -> RawDataType<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/request/content_type.rs:70:16 [INFO] [stderr] | [INFO] [stderr] 70 | fn content(&self) -> RawDataType { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | fn content(&self) -> RawDataType<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/request/content_type.rs:84:16 [INFO] [stderr] | [INFO] [stderr] 84 | fn content(&self) -> RawDataType { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 84 | fn content(&self) -> RawDataType<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/request/content_type.rs:104:16 [INFO] [stderr] | [INFO] [stderr] 104 | fn content(&self) -> RawDataType { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 104 | fn content(&self) -> RawDataType<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/run.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | app.handle_connection(stream); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 30 | let _ = app.handle_connection(stream); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/run.rs:50:13 [INFO] [stderr] | [INFO] [stderr] 50 | _app.handle_connection(stream); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 50 | let _ = _app.handle_connection(stream); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `webserver` (lib) generated 24 warnings (run `cargo fix --lib -p webserver` to apply 9 suggestions) [INFO] [stderr] warning: `webserver` (lib test) generated 24 warnings (24 duplicates) [INFO] [stderr] warning: unused import: `HasDefault` [INFO] [stderr] --> src/main.rs:16:52 [INFO] [stderr] | [INFO] [stderr] 16 | use webserver::schema::{Common, AnyJson, Location, HasDefault, FieldValidate}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `FieldValidate` [INFO] [stderr] --> src/main.rs:16:64 [INFO] [stderr] | [INFO] [stderr] 16 | use webserver::schema::{Common, AnyJson, Location, HasDefault, FieldValidate}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/main.rs:42:34 [INFO] [stderr] | [INFO] [stderr] 42 | router.get("/favicon.ico", |(request, path_args)| { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path_args` [INFO] [stderr] --> src/main.rs:42:43 [INFO] [stderr] | [INFO] [stderr] 42 | router.get("/favicon.ico", |(request, path_args)| { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_args` [INFO] [stderr] [INFO] [stderr] warning: `webserver` (bin "webserver" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/webserver-4af819a7f3f74302) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/webserver-968bd6592c499974) [INFO] [stderr] Doc-tests webserver [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" "1de6ed83bc7da09dc47df142094821da319dbdd9f55fe647da8bed43e7eceb7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1de6ed83bc7da09dc47df142094821da319dbdd9f55fe647da8bed43e7eceb7d", kill_on_drop: false }` [INFO] [stdout] 1de6ed83bc7da09dc47df142094821da319dbdd9f55fe647da8bed43e7eceb7d