[INFO] cloning repository https://github.com/Tonyce/hyper-tide-web [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tonyce/hyper-tide-web" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonyce%2Fhyper-tide-web", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonyce%2Fhyper-tide-web'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 708bc47ec9d1c114ad4946165b76969a731bab7e [INFO] checking Tonyce/hyper-tide-web/708bc47ec9d1c114ad4946165b76969a731bab7e against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonyce%2Fhyper-tide-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/Tonyce/hyper-tide-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/Tonyce/hyper-tide-web [INFO] finished tweaking git repo https://github.com/Tonyce/hyper-tide-web [INFO] tweaked toml for git repo https://github.com/Tonyce/hyper-tide-web written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Tonyce/hyper-tide-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] Downloading crates ... [INFO] [stderr] Downloaded route-recognizer v0.3.0 [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] e106c2d6ef0f7495bdb70743ca860fb58e794c254b8e3c83f31c56faa53c8781 [INFO] running `Command { std: "docker" "start" "-a" "e106c2d6ef0f7495bdb70743ca860fb58e794c254b8e3c83f31c56faa53c8781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e106c2d6ef0f7495bdb70743ca860fb58e794c254b8e3c83f31c56faa53c8781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e106c2d6ef0f7495bdb70743ca860fb58e794c254b8e3c83f31c56faa53c8781", kill_on_drop: false }` [INFO] [stdout] e106c2d6ef0f7495bdb70743ca860fb58e794c254b8e3c83f31c56faa53c8781 [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] a42303351db2dc98c7ea0e8ac8d7c4506898d2956629165509a22633e561736b [INFO] running `Command { std: "docker" "start" "-a" "a42303351db2dc98c7ea0e8ac8d7c4506898d2956629165509a22633e561736b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking route-recognizer v0.3.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking hyper-tide v0.1.0 (/opt/rustwide/workdir/hyper-tide) [INFO] [stderr] Checking hyper-tide-server v0.1.0 (/opt/rustwide/workdir/hyper-tide-server) [INFO] [stdout] warning: unused imports: `Next`, `Params`, `Request`, and `http` [INFO] [stdout] --> hyper-tide-server/src/route/api.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper_tide::{http, Body, Next, Params, Request, Response, Server}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Next` [INFO] [stdout] --> hyper-tide-server/src/route/index.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use hyper_tide::{http, Body, Next, Params, Request, Response, Server}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Next`, `Params`, `Request`, and `http` [INFO] [stdout] --> hyper-tide-server/src/route/api.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper_tide::{http, Body, Next, Params, Request, Response, Server}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Next` [INFO] [stdout] --> hyper-tide-server/src/route/index.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use hyper_tide::{http, Body, Next, Params, Request, Response, Server}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> hyper-tide-server/src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let result = request.extensions_mut().insert("hello middleware2"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_middleware_2` is never used [INFO] [stdout] --> hyper-tide-server/src/main.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn test_middleware_2<'a, State: Clone + Send + Sync + 'static>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> hyper-tide/examples/server.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let result = request.extensions_mut().insert("hello middleware2"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> hyper-tide-server/src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let result = request.extensions_mut().insert("hello middleware2"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_middleware_2` is never used [INFO] [stdout] --> hyper-tide-server/src/main.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn test_middleware_2<'a, State: Clone + Send + Sync + 'static>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.14s [INFO] running `Command { std: "docker" "inspect" "a42303351db2dc98c7ea0e8ac8d7c4506898d2956629165509a22633e561736b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a42303351db2dc98c7ea0e8ac8d7c4506898d2956629165509a22633e561736b", kill_on_drop: false }` [INFO] [stdout] a42303351db2dc98c7ea0e8ac8d7c4506898d2956629165509a22633e561736b