[INFO] fetching crate fast-web 0.1.2... [INFO] testing fast-web-0.1.2 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate fast-web 0.1.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate fast-web 0.1.2 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fast-web 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate fast-web 0.1.2 [INFO] tweaked toml for crates.io crate fast-web 0.1.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate fast-web 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 83c644accb734ca04968365deccdcd62b7f2f54b36d855411059cec692f7ab96 [INFO] running `Command { std: "docker" "start" "-a" "83c644accb734ca04968365deccdcd62b7f2f54b36d855411059cec692f7ab96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83c644accb734ca04968365deccdcd62b7f2f54b36d855411059cec692f7ab96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c644accb734ca04968365deccdcd62b7f2f54b36d855411059cec692f7ab96", kill_on_drop: false }` [INFO] [stdout] 83c644accb734ca04968365deccdcd62b7f2f54b36d855411059cec692f7ab96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24bafa9c81470ddd1ad4d4f49458e74d5f96d72fc5f4a2745b2c5950903785e2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "24bafa9c81470ddd1ad4d4f49458e74d5f96d72fc5f4a2745b2c5950903785e2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling urlencoding v2.1.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling tiny_http v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling multipart v0.18.0 [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-web v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/router.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 274 | 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:274:35 [INFO] [stdout] | [INFO] [stdout] 274 | 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:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | 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:277:35 [INFO] [stdout] | [INFO] [stdout] 277 | 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: `host` [INFO] [stdout] --> src/router.rs:452:20 [INFO] [stdout] | [INFO] [stdout] 452 | 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:452:32 [INFO] [stdout] | [INFO] [stdout] 452 | 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:452:43 [INFO] [stdout] | [INFO] [stdout] 452 | 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 10s [INFO] running `Command { std: "docker" "inspect" "24bafa9c81470ddd1ad4d4f49458e74d5f96d72fc5f4a2745b2c5950903785e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24bafa9c81470ddd1ad4d4f49458e74d5f96d72fc5f4a2745b2c5950903785e2", kill_on_drop: false }` [INFO] [stdout] 24bafa9c81470ddd1ad4d4f49458e74d5f96d72fc5f4a2745b2c5950903785e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 404ef1365474a1a33e634ca09bb0795b5d35eb825ea5dd88194863914e8dd631 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "404ef1365474a1a33e634ca09bb0795b5d35eb825ea5dd88194863914e8dd631", kill_on_drop: false }` [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/router.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 274 | 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:274:35 [INFO] [stdout] | [INFO] [stdout] 274 | 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:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | 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:277:35 [INFO] [stdout] | [INFO] [stdout] 277 | 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: `host` [INFO] [stdout] --> src/router.rs:452:20 [INFO] [stdout] | [INFO] [stdout] 452 | 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:452:32 [INFO] [stdout] | [INFO] [stdout] 452 | 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:452:43 [INFO] [stdout] | [INFO] [stdout] 452 | 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling fast-web v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/router.rs:1047:9 [INFO] [stdout] | [INFO] [stdout] 1047 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> examples/hello.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut user = r.group(":user"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/hello.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut user = r.group(":user"); [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: unused variable: `path` [INFO] [stdout] --> src/router.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 274 | 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:274:35 [INFO] [stdout] | [INFO] [stdout] 274 | 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:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | 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:277:35 [INFO] [stdout] | [INFO] [stdout] 277 | 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: `host` [INFO] [stdout] --> src/router.rs:452:20 [INFO] [stdout] | [INFO] [stdout] 452 | 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:452:32 [INFO] [stdout] | [INFO] [stdout] 452 | 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:452:43 [INFO] [stdout] | [INFO] [stdout] 452 | 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: `t` [INFO] [stdout] --> src/router.rs:1112:21 [INFO] [stdout] | [INFO] [stdout] 1112 | let t = &s; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/router.rs:1111:54 [INFO] [stdout] | [INFO] [stdout] 1111 | g.add(Method::GET, "/admin/login", move |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:1114:53 [INFO] [stdout] | [INFO] [stdout] 1114 | 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:1118:58 [INFO] [stdout] | [INFO] [stdout] 1118 | 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:1119:55 [INFO] [stdout] | [INFO] [stdout] 1119 | 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: `v` [INFO] [stdout] --> src/router.rs:1217:17 [INFO] [stdout] | [INFO] [stdout] 1217 | let v = &s; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.41s [INFO] running `Command { std: "docker" "inspect" "404ef1365474a1a33e634ca09bb0795b5d35eb825ea5dd88194863914e8dd631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "404ef1365474a1a33e634ca09bb0795b5d35eb825ea5dd88194863914e8dd631", kill_on_drop: false }` [INFO] [stdout] 404ef1365474a1a33e634ca09bb0795b5d35eb825ea5dd88194863914e8dd631 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 77a1e9f90c505b4a0fa0393f0f3bcdc569347973d5cec6480072cd0b39563ffc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "77a1e9f90c505b4a0fa0393f0f3bcdc569347973d5cec6480072cd0b39563ffc", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/router.rs:274:23 [INFO] [stderr] | [INFO] [stderr] 274 | 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:274:35 [INFO] [stderr] | [INFO] [stderr] 274 | 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:277:24 [INFO] [stderr] | [INFO] [stderr] 277 | 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:277:35 [INFO] [stderr] | [INFO] [stderr] 277 | 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: `host` [INFO] [stderr] --> src/router.rs:452:20 [INFO] [stderr] | [INFO] [stderr] 452 | 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:452:32 [INFO] [stderr] | [INFO] [stderr] 452 | 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:452:43 [INFO] [stderr] | [INFO] [stderr] 452 | 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: unused import: `std::str::FromStr` [INFO] [stderr] --> src/router.rs:1047:9 [INFO] [stderr] | [INFO] [stderr] 1047 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/router.rs:1112:21 [INFO] [stderr] | [INFO] [stderr] 1112 | let t = &s; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/router.rs:1111:54 [INFO] [stderr] | [INFO] [stderr] 1111 | g.add(Method::GET, "/admin/login", move |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:1114:53 [INFO] [stderr] | [INFO] [stderr] 1114 | 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:1118:58 [INFO] [stderr] | [INFO] [stderr] 1118 | 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:1119:55 [INFO] [stderr] | [INFO] [stderr] 1119 | 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: `v` [INFO] [stderr] --> src/router.rs:1217:17 [INFO] [stderr] | [INFO] [stderr] 1217 | let v = &s; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: `fast-web` (lib) generated 7 warnings [INFO] [stderr] warning: `fast-web` (lib test) generated 14 warnings (7 duplicates) [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> examples/hello.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | let mut user = r.group(":user"); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/hello.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | let mut user = r.group(":user"); [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-web` (example "hello") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fast_web-8598fb6c7cba2d59) [INFO] [stdout] running 9 tests [INFO] [stdout] test router::tests::test_fnonce ... ok [INFO] [stdout] test router::tests::test_concat ... ok [INFO] [stdout] test router::tests::test_router ... ok [INFO] [stdout] test router::tests::test_path_param_to_regex ... ok [INFO] [stdout] test router::tests::test_path2regex ... ok [INFO] [stdout] test router::tests::test_router_match ... ok [INFO] [stdout] test router::tests::test_filters ... ok [INFO] [stdout] test router::tests::test_regex ... ok [INFO] [stderr] Doc-tests fast-web [INFO] [stdout] test router::tests::test_router1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/router.rs - router::Router::run (line 404) ... FAILED [INFO] [stdout] test src/router.rs - router::Context::json (line 236) ... FAILED [INFO] [stdout] test src/router.rs - router::Context::json (line 231) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "77a1e9f90c505b4a0fa0393f0f3bcdc569347973d5cec6480072cd0b39563ffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77a1e9f90c505b4a0fa0393f0f3bcdc569347973d5cec6480072cd0b39563ffc", kill_on_drop: false }` [INFO] [stdout] 77a1e9f90c505b4a0fa0393f0f3bcdc569347973d5cec6480072cd0b39563ffc