[INFO] cloning repository https://github.com/sam-lizy/mps_tiny_http [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sam-lizy/mps_tiny_http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-lizy%2Fmps_tiny_http", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-lizy%2Fmps_tiny_http'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a17390e5319375acaae8c1da0c46eeb826af0b0 [INFO] building sam-lizy/mps_tiny_http against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-lizy%2Fmps_tiny_http" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sam-lizy/mps_tiny_http on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sam-lizy/mps_tiny_http [INFO] finished tweaking git repo https://github.com/sam-lizy/mps_tiny_http [INFO] tweaked toml for git repo https://github.com/sam-lizy/mps_tiny_http written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sam-lizy/mps_tiny_http 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afe78c0d597850318991aa4c43b605c5097a989e69617ee880aaa9c4ebde2ed9 [INFO] running `Command { std: "docker" "start" "-a" "afe78c0d597850318991aa4c43b605c5097a989e69617ee880aaa9c4ebde2ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afe78c0d597850318991aa4c43b605c5097a989e69617ee880aaa9c4ebde2ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afe78c0d597850318991aa4c43b605c5097a989e69617ee880aaa9c4ebde2ed9", kill_on_drop: false }` [INFO] [stdout] afe78c0d597850318991aa4c43b605c5097a989e69617ee880aaa9c4ebde2ed9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35024a6001e77e5ca11acfffc18a743e1f580fb52cf8a2a35e2e1c93aaa31290 [INFO] running `Command { std: "docker" "start" "-a" "35024a6001e77e5ca11acfffc18a743e1f580fb52cf8a2a35e2e1c93aaa31290", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling mps_simple_http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/lib.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn route(mut self,method:&str,task:Box)->Self{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/lib.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn route(mut self,method:&str,task:Box)->Self{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn route(mut self,method:&str,task:Box)->Self{ [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: method `set_contentType` is never used [INFO] [stdout] --> src/response.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Response{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn set_contentType(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `body` are never read [INFO] [stdout] --> src/request.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | method: Method, [INFO] [stdout] 6 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_contentType` should have a snake case name [INFO] [stdout] --> src/response.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_contentType(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_content_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "35024a6001e77e5ca11acfffc18a743e1f580fb52cf8a2a35e2e1c93aaa31290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35024a6001e77e5ca11acfffc18a743e1f580fb52cf8a2a35e2e1c93aaa31290", kill_on_drop: false }` [INFO] [stdout] 35024a6001e77e5ca11acfffc18a743e1f580fb52cf8a2a35e2e1c93aaa31290 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cb52e4efe3b7f6b6c56faff15afbbd2a9b114ead3eda182f4817a197608ff18 [INFO] running `Command { std: "docker" "start" "-a" "3cb52e4efe3b7f6b6c56faff15afbbd2a9b114ead3eda182f4817a197608ff18", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/lib.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn route(mut self,method:&str,task:Box)->Self{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/lib.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn route(mut self,method:&str,task:Box)->Self{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn route(mut self,method:&str,task:Box)->Self{ [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: method `set_contentType` is never used [INFO] [stdout] --> src/response.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Response{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn set_contentType(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `body` are never read [INFO] [stdout] --> src/request.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | method: Method, [INFO] [stdout] 6 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_contentType` should have a snake case name [INFO] [stdout] --> src/response.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_contentType(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_content_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mps_simple_http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/lib.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn route(mut self,method:&str,task:Box)->Self{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/lib.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn route(mut self,method:&str,task:Box)->Self{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn route(mut self,method:&str,task:Box)->Self{ [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: method `set_contentType` is never used [INFO] [stdout] --> src/response.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Response{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn set_contentType(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `body` are never read [INFO] [stdout] --> src/request.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | method: Method, [INFO] [stdout] 6 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_contentType` should have a snake case name [INFO] [stdout] --> src/response.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_contentType(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_content_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "3cb52e4efe3b7f6b6c56faff15afbbd2a9b114ead3eda182f4817a197608ff18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb52e4efe3b7f6b6c56faff15afbbd2a9b114ead3eda182f4817a197608ff18", kill_on_drop: false }` [INFO] [stdout] 3cb52e4efe3b7f6b6c56faff15afbbd2a9b114ead3eda182f4817a197608ff18