[INFO] fetching crate fast-router 0.1.1... [INFO] testing fast-router-0.1.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate fast-router 0.1.1 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate fast-router 0.1.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fast-router 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate fast-router 0.1.1 [INFO] tweaked toml for crates.io crate fast-router 0.1.1 written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate crates.io crate fast-router 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a70efc8d82e4c991faf85059d323060443f8a775eb062652549819f7641c1619 [INFO] running `Command { std: "docker" "start" "-a" "a70efc8d82e4c991faf85059d323060443f8a775eb062652549819f7641c1619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a70efc8d82e4c991faf85059d323060443f8a775eb062652549819f7641c1619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a70efc8d82e4c991faf85059d323060443f8a775eb062652549819f7641c1619", kill_on_drop: false }` [INFO] [stdout] a70efc8d82e4c991faf85059d323060443f8a775eb062652549819f7641c1619 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a533e5030f7c6d40c7a06f903f834e88b1d428795950610374ced087e9c3f02c [INFO] running `Command { std: "docker" "start" "-a" "a533e5030f7c6d40c7a06f903f834e88b1d428795950610374ced087e9c3f02c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling fast-router v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/router.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn static_dir(path: &str, dir: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/router.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn static_dir(path: &str, dir: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/router.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn static_file(uri: &str, filepath: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filepath` [INFO] [stdout] --> src/router.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn static_file(uri: &str, filepath: &str) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/router.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | addr: SocketAddr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/router.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn run_tls(host: &str, pem: &str, key: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pem` [INFO] [stdout] --> src/router.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn run_tls(host: &str, pem: &str, key: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/router.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn run_tls(host: &str, pem: &str, key: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `queries` [INFO] [stdout] --> src/router.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | queries: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `before` [INFO] [stdout] --> src/router.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | before: Vec<&'a Route>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MatchedRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `after` [INFO] [stdout] --> src/router.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | after: Vec<&'a Route>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MatchedRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `params` [INFO] [stdout] --> src/router.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | params: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MatchedRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/router.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 446 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/router.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 446 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_slash` [INFO] [stdout] --> src/router.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | has_slash: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 446 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.36s [INFO] running `Command { std: "docker" "inspect" "a533e5030f7c6d40c7a06f903f834e88b1d428795950610374ced087e9c3f02c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a533e5030f7c6d40c7a06f903f834e88b1d428795950610374ced087e9c3f02c", kill_on_drop: false }` [INFO] [stdout] a533e5030f7c6d40c7a06f903f834e88b1d428795950610374ced087e9c3f02c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fd1b42578ba5600c9f658d959e77d3b5a029707769999d5717b9a6de071b80e [INFO] running `Command { std: "docker" "start" "-a" "1fd1b42578ba5600c9f658d959e77d3b5a029707769999d5717b9a6de071b80e", kill_on_drop: false }` [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/router.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn static_dir(path: &str, dir: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/router.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn static_dir(path: &str, dir: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/router.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn static_file(uri: &str, filepath: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filepath` [INFO] [stdout] --> src/router.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn static_file(uri: &str, filepath: &str) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/router.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | addr: SocketAddr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/router.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn run_tls(host: &str, pem: &str, key: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pem` [INFO] [stdout] --> src/router.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn run_tls(host: &str, pem: &str, key: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/router.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn run_tls(host: &str, pem: &str, key: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `queries` [INFO] [stdout] --> src/router.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | queries: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `before` [INFO] [stdout] --> src/router.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | before: Vec<&'a Route>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MatchedRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `after` [INFO] [stdout] --> src/router.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | after: Vec<&'a Route>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MatchedRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `params` [INFO] [stdout] --> src/router.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | params: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MatchedRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/router.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 446 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/router.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 446 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_slash` [INFO] [stdout] --> src/router.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | has_slash: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 446 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling fast-router v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/router.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn static_dir(path: &str, dir: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/router.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn static_dir(path: &str, dir: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/router.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn static_file(uri: &str, filepath: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filepath` [INFO] [stdout] --> src/router.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn static_file(uri: &str, filepath: &str) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/router.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | addr: SocketAddr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/router.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn run_tls(host: &str, pem: &str, key: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pem` [INFO] [stdout] --> src/router.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn run_tls(host: &str, pem: &str, key: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/router.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn run_tls(host: &str, pem: &str, key: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:671:31 [INFO] [stdout] | [INFO] [stdout] 671 | r.post("/:user/:id", |c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:675:43 [INFO] [stdout] | [INFO] [stdout] 675 | g.get("admin/:name:i32", |mut c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:676:36 [INFO] [stdout] | [INFO] [stdout] 676 | g.post("/admin/u32/", |c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:680:41 [INFO] [stdout] | [INFO] [stdout] 680 | g1.put("admin/login/", |c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:681:46 [INFO] [stdout] | [INFO] [stdout] 681 | g1.delete("/admin/login1/", |c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:687:49 [INFO] [stdout] | [INFO] [stdout] 687 | g.add(Method::GET, "/admin/login", |c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:688:53 [INFO] [stdout] | [INFO] [stdout] 688 | g.add(Method::DELETE, "/admin/login1", |c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:692:58 [INFO] [stdout] | [INFO] [stdout] 692 | g1.add(Method::OPTIONS, "/admin/login", |c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:693:55 [INFO] [stdout] | [INFO] [stdout] 693 | g1.add(Method::ANY, "/admin/login1", |c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:742:51 [INFO] [stdout] | [INFO] [stdout] 742 | g.before(Method::ANY, "admin/:name", |c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:743:50 [INFO] [stdout] | [INFO] [stdout] 743 | g.after(Method::ANY, "admin/:name", |c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:745:39 [INFO] [stdout] | [INFO] [stdout] 745 | g.any("admin/:name:i32", |c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:746:35 [INFO] [stdout] | [INFO] [stdout] 746 | g.any("admin/:name", |c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:747:43 [INFO] [stdout] | [INFO] [stdout] 747 | g.any("admin/:name/:id:u32", |c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:748:39 [INFO] [stdout] | [INFO] [stdout] 748 | g.post("/admin/login1/", |c| {}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/router.rs:751:13 [INFO] [stdout] | [INFO] [stdout] 751 | let route = r.match_route(Method::GET, "/v1/admin/zhang山/23423"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/router.rs:675:39 [INFO] [stdout] | [INFO] [stdout] 675 | g.get("admin/:name:i32", |mut c| {}); [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: field is never read: `queries` [INFO] [stdout] --> src/router.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | queries: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `before` [INFO] [stdout] --> src/router.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | before: Vec<&'a Route>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MatchedRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `after` [INFO] [stdout] --> src/router.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | after: Vec<&'a Route>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MatchedRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `params` [INFO] [stdout] --> src/router.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | params: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MatchedRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/router.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 446 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/router.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 446 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_slash` [INFO] [stdout] --> src/router.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | has_slash: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/router.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 446 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.39s [INFO] running `Command { std: "docker" "inspect" "1fd1b42578ba5600c9f658d959e77d3b5a029707769999d5717b9a6de071b80e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fd1b42578ba5600c9f658d959e77d3b5a029707769999d5717b9a6de071b80e", kill_on_drop: false }` [INFO] [stdout] 1fd1b42578ba5600c9f658d959e77d3b5a029707769999d5717b9a6de071b80e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d3f5ef6bb03688a0edc15db10a05677d96ffbc4a035253dc23d1b90f26b024e3 [INFO] running `Command { std: "docker" "start" "-a" "d3f5ef6bb03688a0edc15db10a05677d96ffbc4a035253dc23d1b90f26b024e3", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/router.rs:96:23 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn static_dir(path: &str, dir: &str) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dir` [INFO] [stderr] --> src/router.rs:96:35 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn static_dir(path: &str, dir: &str) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uri` [INFO] [stderr] --> src/router.rs:99:24 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn static_file(uri: &str, filepath: &str) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filepath` [INFO] [stderr] --> src/router.rs:99:35 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn static_file(uri: &str, filepath: &str) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> src/router.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | addr: SocketAddr, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `host` [INFO] [stderr] --> src/router.rs:177:20 [INFO] [stderr] | [INFO] [stderr] 177 | pub fn run_tls(host: &str, pem: &str, key: &str) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pem` [INFO] [stderr] --> src/router.rs:177:32 [INFO] [stderr] | [INFO] [stderr] 177 | pub fn run_tls(host: &str, pem: &str, key: &str) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pem` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/router.rs:177:43 [INFO] [stderr] | [INFO] [stderr] 177 | pub fn run_tls(host: &str, pem: &str, key: &str) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `queries` [INFO] [stderr] --> src/router.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | queries: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `before` [INFO] [stderr] --> src/router.rs:333:5 [INFO] [stderr] | [INFO] [stderr] 333 | before: Vec<&'a Route>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MatchedRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/router.rs:331:10 [INFO] [stderr] | [INFO] [stderr] 331 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `after` [INFO] [stderr] --> src/router.rs:335:5 [INFO] [stderr] | [INFO] [stderr] 335 | after: Vec<&'a Route>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MatchedRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/router.rs:331:10 [INFO] [stderr] | [INFO] [stderr] 331 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `params` [INFO] [stderr] --> src/router.rs:337:5 [INFO] [stderr] | [INFO] [stderr] 337 | params: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MatchedRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/router.rs:331:10 [INFO] [stderr] | [INFO] [stderr] 331 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/router.rs:452:5 [INFO] [stderr] | [INFO] [stderr] 452 | name: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/router.rs:446:10 [INFO] [stderr] | [INFO] [stderr] 446 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `path` [INFO] [stderr] --> src/router.rs:455:5 [INFO] [stderr] | [INFO] [stderr] 455 | path: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/router.rs:446:10 [INFO] [stderr] | [INFO] [stderr] 446 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `has_slash` [INFO] [stderr] --> src/router.rs:464:5 [INFO] [stderr] | [INFO] [stderr] 464 | has_slash: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/router.rs:446:10 [INFO] [stderr] | [INFO] [stderr] 446 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:671:31 [INFO] [stderr] | [INFO] [stderr] 671 | r.post("/:user/:id", |c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:675:43 [INFO] [stderr] | [INFO] [stderr] 675 | g.get("admin/:name:i32", |mut c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:676:36 [INFO] [stderr] | [INFO] [stderr] 676 | g.post("/admin/u32/", |c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:680:41 [INFO] [stderr] | [INFO] [stderr] 680 | g1.put("admin/login/", |c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:681:46 [INFO] [stderr] | [INFO] [stderr] 681 | g1.delete("/admin/login1/", |c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:687:49 [INFO] [stderr] | [INFO] [stderr] 687 | g.add(Method::GET, "/admin/login", |c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:688:53 [INFO] [stderr] | [INFO] [stderr] 688 | g.add(Method::DELETE, "/admin/login1", |c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:692:58 [INFO] [stderr] | [INFO] [stderr] 692 | g1.add(Method::OPTIONS, "/admin/login", |c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:693:55 [INFO] [stderr] | [INFO] [stderr] 693 | g1.add(Method::ANY, "/admin/login1", |c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:742:51 [INFO] [stderr] | [INFO] [stderr] 742 | g.before(Method::ANY, "admin/:name", |c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:743:50 [INFO] [stderr] | [INFO] [stderr] 743 | g.after(Method::ANY, "admin/:name", |c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:745:39 [INFO] [stderr] | [INFO] [stderr] 745 | g.any("admin/:name:i32", |c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:746:35 [INFO] [stderr] | [INFO] [stderr] 746 | g.any("admin/:name", |c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:747:43 [INFO] [stderr] | [INFO] [stderr] 747 | g.any("admin/:name/:id:u32", |c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:748:39 [INFO] [stderr] | [INFO] [stderr] 748 | g.post("/admin/login1/", |c| {}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `route` [INFO] [stderr] --> src/router.rs:751:13 [INFO] [stderr] | [INFO] [stderr] 751 | let route = r.match_route(Method::GET, "/v1/admin/zhang山/23423"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/router.rs:675:39 [INFO] [stderr] | [INFO] [stderr] 675 | g.get("admin/:name:i32", |mut c| {}); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `fast-router` (lib) generated 15 warnings [INFO] [stderr] warning: `fast-router` (lib test) generated 32 warnings (15 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fast_router-00642ec70fb37a97) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test router::tests::test_filters ... ok [INFO] [stdout] test router::tests::test_concat ... ok [INFO] [stdout] test router::tests::test_path2regex ... ok [INFO] [stdout] test router::tests::test_path_param_to_regex ... ok [INFO] [stdout] test router::tests::test_regex ... ok [INFO] [stdout] test router::tests::test_router ... ok [INFO] [stdout] test router::tests::test_router_match ... ok [INFO] [stderr] Doc-tests fast-router [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [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] running `Command { std: "docker" "inspect" "d3f5ef6bb03688a0edc15db10a05677d96ffbc4a035253dc23d1b90f26b024e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3f5ef6bb03688a0edc15db10a05677d96ffbc4a035253dc23d1b90f26b024e3", kill_on_drop: false }` [INFO] [stdout] d3f5ef6bb03688a0edc15db10a05677d96ffbc4a035253dc23d1b90f26b024e3