[INFO] cloning repository https://github.com/adace123/rust_http_handler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adace123/rust_http_handler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadace123%2Frust_http_handler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadace123%2Frust_http_handler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce87fde31f2ac031936dfdb12e581301782694b2 [INFO] checking adace123/rust_http_handler against try#07fecb9cf34c4979a772ba38c99d6d9144768413 for pr-87710 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadace123%2Frust_http_handler" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adace123/rust_http_handler on toolchain 07fecb9cf34c4979a772ba38c99d6d9144768413 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adace123/rust_http_handler [INFO] finished tweaking git repo https://github.com/adace123/rust_http_handler [INFO] tweaked toml for git repo https://github.com/adace123/rust_http_handler written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/adace123/rust_http_handler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38ed9a05cfe6db7c6149673b80955c510a5c4d9b734476f721b6ad7493a9e708 [INFO] running `Command { std: "docker" "start" "-a" "38ed9a05cfe6db7c6149673b80955c510a5c4d9b734476f721b6ad7493a9e708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38ed9a05cfe6db7c6149673b80955c510a5c4d9b734476f721b6ad7493a9e708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38ed9a05cfe6db7c6149673b80955c510a5c4d9b734476f721b6ad7493a9e708", kill_on_drop: false }` [INFO] [stdout] 38ed9a05cfe6db7c6149673b80955c510a5c4d9b734476f721b6ad7493a9e708 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5511d1f8e60676ae8e23f77bcc9f73f61c799554c88425f3e147631dc51c8f8f [INFO] running `Command { std: "docker" "start" "-a" "5511d1f8e60676ae8e23f77bcc9f73f61c799554c88425f3e147631dc51c8f8f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling regex v1.1.7 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking regex-syntax v0.6.7 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Checking http_handler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http_request/mod.rs:33:68 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_request(raw_request: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http_request/mod.rs:56:67 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(stream: &mut TcpStream) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http_request/mod.rs:33:68 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_request(raw_request: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http_request/mod.rs:56:67 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(stream: &mut TcpStream) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | panic!(format!("Could not start server: {:?}", err)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 24 - panic!(format!("Could not start server: {:?}", err)) [INFO] [stdout] 24 + panic!("Could not start server: {:?}", err) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | panic!(format!("Could not start server: {:?}", err)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 24 - panic!(format!("Could not start server: {:?}", err)) [INFO] [stdout] 24 + panic!("Could not start server: {:?}", err) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.20s [INFO] running `Command { std: "docker" "inspect" "5511d1f8e60676ae8e23f77bcc9f73f61c799554c88425f3e147631dc51c8f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5511d1f8e60676ae8e23f77bcc9f73f61c799554c88425f3e147631dc51c8f8f", kill_on_drop: false }` [INFO] [stdout] 5511d1f8e60676ae8e23f77bcc9f73f61c799554c88425f3e147631dc51c8f8f