[INFO] cloning repository https://github.com/AdvoXS/rust_simple_web [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdvoXS/rust_simple_web" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdvoXS%2Frust_simple_web", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdvoXS%2Frust_simple_web'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 602a125debc38d06ec148d787746487f4be596ea [INFO] checking AdvoXS/rust_simple_web/602a125debc38d06ec148d787746487f4be596ea against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdvoXS%2Frust_simple_web" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AdvoXS/rust_simple_web on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AdvoXS/rust_simple_web [INFO] finished tweaking git repo https://github.com/AdvoXS/rust_simple_web [INFO] tweaked toml for git repo https://github.com/AdvoXS/rust_simple_web written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AdvoXS/rust_simple_web 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60a81bb8c832ff9b5157ac4841cdfb689c3a81a9492f22b6a7a43e5016aa52cf [INFO] running `Command { std: "docker" "start" "-a" "60a81bb8c832ff9b5157ac4841cdfb689c3a81a9492f22b6a7a43e5016aa52cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60a81bb8c832ff9b5157ac4841cdfb689c3a81a9492f22b6a7a43e5016aa52cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60a81bb8c832ff9b5157ac4841cdfb689c3a81a9492f22b6a7a43e5016aa52cf", kill_on_drop: false }` [INFO] [stdout] 60a81bb8c832ff9b5157ac4841cdfb689c3a81a9492f22b6a7a43e5016aa52cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 968c1c6ec60894a596f51ac3f3927a32a3c95a59257da773fdd5499d0649b836 [INFO] running `Command { std: "docker" "start" "-a" "968c1c6ec60894a596f51ac3f3927a32a3c95a59257da773fdd5499d0649b836", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking web_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufReader` and `fs` [INFO] [stdout] --> src/home_controller.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fs, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | io::{prelude::*, BufReader}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::controller` [INFO] [stdout] --> src/home_controller.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Match` [INFO] [stdout] --> src/request_simple_parser.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use regex::{Captures, Match, Regex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::controller` [INFO] [stdout] --> src/request_handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `fs` [INFO] [stdout] --> src/controller_404.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fs, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | io::{prelude::*, BufReader}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::controller` [INFO] [stdout] --> src/controller_404.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Regex` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use regex::{Error, Regex}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `fs` [INFO] [stdout] --> src/home_controller.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fs, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | io::{prelude::*, BufReader}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::controller` [INFO] [stdout] --> src/home_controller.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Match` [INFO] [stdout] --> src/request_simple_parser.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use regex::{Captures, Match, Regex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::controller` [INFO] [stdout] --> src/request_handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `fs` [INFO] [stdout] --> src/controller_404.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fs, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | io::{prelude::*, BufReader}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::controller` [INFO] [stdout] --> src/controller_404.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Regex` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use regex::{Error, Regex}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/request.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | Place(String, Box), [INFO] [stdout] | ----- ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Location` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 9 | Place((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/request.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | Place(String, Box), [INFO] [stdout] | ----- ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Location` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 9 | Place((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location` and `params` are never read [INFO] [stdout] --> src/request.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub location: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | pub params: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_response` is never used [INFO] [stdout] --> src/controller.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Controller { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 4 | fn handle(&self) -> Option; [INFO] [stdout] 5 | fn send_response(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location` and `params` are never read [INFO] [stdout] --> src/request.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub location: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | pub params: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_response` is never used [INFO] [stdout] --> src/controller.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Controller { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 4 | fn handle(&self) -> Option; [INFO] [stdout] 5 | fn send_response(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.50s [INFO] running `Command { std: "docker" "inspect" "968c1c6ec60894a596f51ac3f3927a32a3c95a59257da773fdd5499d0649b836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "968c1c6ec60894a596f51ac3f3927a32a3c95a59257da773fdd5499d0649b836", kill_on_drop: false }` [INFO] [stdout] 968c1c6ec60894a596f51ac3f3927a32a3c95a59257da773fdd5499d0649b836