[INFO] cloning repository https://github.com/JefferyHus/kantan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JefferyHus/kantan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJefferyHus%2Fkantan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJefferyHus%2Fkantan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 465e93dfe347a3d73399568a50d4096ca028b5d7 [INFO] testing JefferyHus/kantan against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJefferyHus%2Fkantan" "/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/JefferyHus/kantan on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JefferyHus/kantan [INFO] finished tweaking git repo https://github.com/JefferyHus/kantan [INFO] tweaked toml for git repo https://github.com/JefferyHus/kantan written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JefferyHus/kantan 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing JefferyHus/kantan against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJefferyHus%2Fkantan" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JefferyHus/kantan on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JefferyHus/kantan [INFO] finished tweaking git repo https://github.com/JefferyHus/kantan [INFO] tweaked toml for git repo https://github.com/JefferyHus/kantan written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JefferyHus/kantan 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing JefferyHus/kantan against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJefferyHus%2Fkantan" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JefferyHus/kantan on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JefferyHus/kantan [INFO] finished tweaking git repo https://github.com/JefferyHus/kantan [INFO] tweaked toml for git repo https://github.com/JefferyHus/kantan written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JefferyHus/kantan 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6429030069ad4aa71154b4d2d1d9538f727230f9bce0128ec5ea70071fd7b205 [INFO] running `Command { std: "docker" "start" "-a" "6429030069ad4aa71154b4d2d1d9538f727230f9bce0128ec5ea70071fd7b205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6429030069ad4aa71154b4d2d1d9538f727230f9bce0128ec5ea70071fd7b205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6429030069ad4aa71154b4d2d1d9538f727230f9bce0128ec5ea70071fd7b205", kill_on_drop: false }` [INFO] [stdout] 6429030069ad4aa71154b4d2d1d9538f727230f9bce0128ec5ea70071fd7b205 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 336a88a59ee0eadccc810e3fab11d5ec21dcd65b2505bc1034484971beaa3b18 [INFO] running `Command { std: "docker" "start" "-a" "336a88a59ee0eadccc810e3fab11d5ec21dcd65b2505bc1034484971beaa3b18", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling Kantan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `use_middleware` is never used [INFO] [stdout] --> src/app.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn use_middleware(&mut self, middleware: fn(Request, Response) -> (Request, Response)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `params`, `param`, `query`, `query_param`, `body`, and `json` are never used [INFO] [stdout] --> src/request.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn params(&self) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn param(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn query(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn query_param(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn body(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn json(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `text` and `redirect` are never used [INFO] [stdout] --> src/response.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl Response { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn text(&self, status: u32, body: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn redirect(&self, status: u32, location: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `put`, `delete`, `patch`, `head`, and `options` are never used [INFO] [stdout] --> src/router.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Router { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn put(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn delete(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn patch(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn head(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn options(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Kantan` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `kantan` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.79s [INFO] running `Command { std: "docker" "inspect" "336a88a59ee0eadccc810e3fab11d5ec21dcd65b2505bc1034484971beaa3b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "336a88a59ee0eadccc810e3fab11d5ec21dcd65b2505bc1034484971beaa3b18", kill_on_drop: false }` [INFO] [stdout] 336a88a59ee0eadccc810e3fab11d5ec21dcd65b2505bc1034484971beaa3b18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c306deceef3e7bd40d64cee84e8291c737d4b7bab834e027bc77f63c2ff4f37 [INFO] running `Command { std: "docker" "start" "-a" "1c306deceef3e7bd40d64cee84e8291c737d4b7bab834e027bc77f63c2ff4f37", kill_on_drop: false }` [INFO] [stderr] Compiling Kantan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `use_middleware` is never used [INFO] [stdout] --> src/app.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn use_middleware(&mut self, middleware: fn(Request, Response) -> (Request, Response)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `params`, `param`, `query`, `query_param`, `body`, and `json` are never used [INFO] [stdout] --> src/request.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn params(&self) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn param(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn query(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn query_param(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn body(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn json(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `text` and `redirect` are never used [INFO] [stdout] --> src/response.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl Response { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn text(&self, status: u32, body: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn redirect(&self, status: u32, location: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `put`, `delete`, `patch`, `head`, and `options` are never used [INFO] [stdout] --> src/router.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Router { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn put(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn delete(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn patch(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn head(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn options(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Kantan` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `kantan` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `use_middleware` is never used [INFO] [stdout] --> src/app.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn use_middleware(&mut self, middleware: fn(Request, Response) -> (Request, Response)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `params`, `param`, `query`, `query_param`, `body`, and `json` are never used [INFO] [stdout] --> src/request.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn params(&self) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn param(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn query(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn query_param(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn body(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn json(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `text` and `redirect` are never used [INFO] [stdout] --> src/response.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl Response { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn text(&self, status: u32, body: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn redirect(&self, status: u32, location: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `put`, `delete`, `patch`, `head`, and `options` are never used [INFO] [stdout] --> src/router.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Router { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn put(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn delete(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn patch(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn head(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn options(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Kantan` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `kantan` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "1c306deceef3e7bd40d64cee84e8291c737d4b7bab834e027bc77f63c2ff4f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c306deceef3e7bd40d64cee84e8291c737d4b7bab834e027bc77f63c2ff4f37", kill_on_drop: false }` [INFO] [stdout] 1c306deceef3e7bd40d64cee84e8291c737d4b7bab834e027bc77f63c2ff4f37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8f0f76d6f6cd985391724c5405ba7ec5ade25fbf143df7ec89f4f1869bc19377 [INFO] running `Command { std: "docker" "start" "-a" "8f0f76d6f6cd985391724c5405ba7ec5ade25fbf143df7ec89f4f1869bc19377", kill_on_drop: false }` [INFO] [stderr] warning: method `use_middleware` is never used [INFO] [stderr] --> src/app.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl App { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn use_middleware(&mut self, middleware: fn(Request, Response) -> (Request, Response)) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `params`, `param`, `query`, `query_param`, `body`, and `json` are never used [INFO] [stderr] --> src/request.rs:119:10 [INFO] [stderr] | [INFO] [stderr] 15 | impl Request { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 119 | pub fn params(&self) -> Vec<(String, String)> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | pub fn param(&self, name: &str) -> Option { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | pub fn query(&self) -> Option { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 137 | pub fn query_param(&self, name: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 158 | pub fn body(&self) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 162 | pub fn json(&self) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `text` and `redirect` are never used [INFO] [stderr] --> src/response.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 11 | impl Response { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn text(&self, status: u32, body: String) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | pub fn redirect(&self, status: u32, location: String) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `put`, `delete`, `patch`, `head`, and `options` are never used [INFO] [stderr] --> src/router.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl Router { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn put(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | pub fn delete(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 67 | pub fn patch(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn head(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn options(&mut self, path: String, handler: fn(Request, Response) -> Response) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `Kantan` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = help: convert the identifier to snake case: `kantan` [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `Kantan` (bin "Kantan" test) generated 5 warnings [INFO] [stderr] warning: `Kantan` (bin "Kantan") generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kantan-c1a0b93ac36642fe) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Kantan-45470e392ffddb21) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-6a91011f2f0a823f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests kantan [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" "8f0f76d6f6cd985391724c5405ba7ec5ade25fbf143df7ec89f4f1869bc19377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f0f76d6f6cd985391724c5405ba7ec5ade25fbf143df7ec89f4f1869bc19377", kill_on_drop: false }` [INFO] [stdout] 8f0f76d6f6cd985391724c5405ba7ec5ade25fbf143df7ec89f4f1869bc19377