[INFO] cloning repository https://github.com/Yassine2052/wrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yassine2052/wrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYassine2052%2Fwrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYassine2052%2Fwrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e2004816115ae85e535bd065f0d844f3a8204ae [INFO] checking Yassine2052/wrust/8e2004816115ae85e535bd065f0d844f3a8204ae against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYassine2052%2Fwrust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yassine2052/wrust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Yassine2052/wrust [INFO] finished tweaking git repo https://github.com/Yassine2052/wrust [INFO] tweaked toml for git repo https://github.com/Yassine2052/wrust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Yassine2052/wrust 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e4f1c8f1a28cc50d6ed10c1c6c6cfc42271f8c9791b623ad31d0427a93633f5 [INFO] running `Command { std: "docker" "start" "-a" "3e4f1c8f1a28cc50d6ed10c1c6c6cfc42271f8c9791b623ad31d0427a93633f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e4f1c8f1a28cc50d6ed10c1c6c6cfc42271f8c9791b623ad31d0427a93633f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e4f1c8f1a28cc50d6ed10c1c6c6cfc42271f8c9791b623ad31d0427a93633f5", kill_on_drop: false }` [INFO] [stdout] 3e4f1c8f1a28cc50d6ed10c1c6c6cfc42271f8c9791b623ad31d0427a93633f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 082ebc9afde73dccc98ff6318015a7328f9cc088b0289bb0c8ab2d58e2763afe [INFO] running `Command { std: "docker" "start" "-a" "082ebc9afde73dccc98ff6318015a7328f9cc088b0289bb0c8ab2d58e2763afe", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> shared/src/constants.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> shared/src/constants.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> shared/src/constants.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> shared/src/response.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut file_name = String::from(file_name); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `is_ipv6` are never read [INFO] [stdout] --> shared/src/request.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct IpAddress { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 44 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | is_ipv6: bool [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpAddress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> shared/src/form_data.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | field_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | original_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | mime_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | destination: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | encoding: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | size: usize [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `files` are never read [INFO] [stdout] --> shared/src/form_data.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FormData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | data: Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | files: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking inject_struct v0.1.0 (/opt/rustwide/workdir/inject_struct) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> shared/src/response.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut file_name = String::from(file_name); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> shared/src/response.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut file_name = String::from(file_name); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `is_ipv6` are never read [INFO] [stdout] --> shared/src/request.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct IpAddress { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 44 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | is_ipv6: bool [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpAddress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> shared/src/form_data.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | field_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | original_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | mime_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | destination: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | encoding: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | size: usize [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `files` are never read [INFO] [stdout] --> shared/src/form_data.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FormData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | data: Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | files: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `is_ipv6` are never read [INFO] [stdout] --> shared/src/request.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct IpAddress { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 44 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | is_ipv6: bool [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpAddress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> shared/src/form_data.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | field_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | original_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | mime_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | destination: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | encoding: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | size: usize [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `files` are never read [INFO] [stdout] --> shared/src/form_data.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FormData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | data: Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | files: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> shared/src/constants.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> shared/src/response.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut file_name = String::from(file_name); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `is_ipv6` are never read [INFO] [stdout] --> shared/src/request.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct IpAddress { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 44 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | is_ipv6: bool [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpAddress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> shared/src/form_data.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | field_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | original_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | mime_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | destination: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | encoding: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | size: usize [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `files` are never read [INFO] [stdout] --> shared/src/form_data.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FormData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | data: Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | files: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `shared::query::QueryParamValueType::Str` [INFO] [stdout] --> src/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use shared::query::QueryParamValueType::Str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::route::Route` [INFO] [stdout] --> src/test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use shared::route::Route; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Debug` [INFO] [stdout] --> src/router.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/router.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use shared::request::{HttpMethod, Request}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::response::Response` [INFO] [stdout] --> src/router.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use shared::response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Route` [INFO] [stdout] --> src/route_builder.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use shared::route::{Handler, Route, RouteMethod}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Debug` [INFO] [stdout] --> src/router.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/router.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use shared::request::{HttpMethod, Request}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared::response::Response` [INFO] [stdout] --> src/router.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use shared::response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Route` [INFO] [stdout] --> src/route_builder.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use shared::route::{Handler, Route, RouteMethod}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RouteBuilder` is never constructed [INFO] [stdout] --> src/route_builder.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/route_builder.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl RouteBuilder { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(router: &'static mut Router, method: RouteMethod, mut path: String, handler: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `route_query_parser_should_match_result` is never used [INFO] [stdout] --> src/test.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn route_query_parser_should_match_result(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RouteBuilder` is never constructed [INFO] [stdout] --> src/route_builder.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/route_builder.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl RouteBuilder { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(router: &'static mut Router, method: RouteMethod, mut path: String, handler: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.45s [INFO] running `Command { std: "docker" "inspect" "082ebc9afde73dccc98ff6318015a7328f9cc088b0289bb0c8ab2d58e2763afe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "082ebc9afde73dccc98ff6318015a7328f9cc088b0289bb0c8ab2d58e2763afe", kill_on_drop: false }` [INFO] [stdout] 082ebc9afde73dccc98ff6318015a7328f9cc088b0289bb0c8ab2d58e2763afe