[INFO] cloning repository https://github.com/zzzdong/apireception [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zzzdong/apireception" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzzdong%2Fapireception", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzzdong%2Fapireception'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f366d962750920bb6f4f70b2de0432889d49145 [INFO] testing zzzdong/apireception against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzzdong%2Fapireception" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zzzdong/apireception on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zzzdong/apireception [INFO] finished tweaking git repo https://github.com/zzzdong/apireception [INFO] tweaked toml for git repo https://github.com/zzzdong/apireception written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/zzzdong/apireception already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arc-swap v1.3.0 [INFO] [stderr] Downloaded hyper-timeout v0.4.1 [INFO] [stderr] Downloaded drain v0.1.0 [INFO] [stderr] Downloaded tokio-io-timeout v1.1.1 [INFO] [stderr] Downloaded tower v0.4.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 129f19cbfe2127caa8529850c60a704798a67297aec4f4260b9e4b3b4a9d1ce8 [INFO] running `Command { std: "docker" "start" "-a" "129f19cbfe2127caa8529850c60a704798a67297aec4f4260b9e4b3b4a9d1ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "129f19cbfe2127caa8529850c60a704798a67297aec4f4260b9e4b3b4a9d1ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "129f19cbfe2127caa8529850c60a704798a67297aec4f4260b9e4b3b4a9d1ce8", kill_on_drop: false }` [INFO] [stdout] 129f19cbfe2127caa8529850c60a704798a67297aec4f4260b9e4b3b4a9d1ce8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1abfce4a6c195e5eb79caa732663c71bf8a2fc6b8342ad5254b0ae08cbd7c4ec [INFO] running `Command { std: "docker" "start" "-a" "1abfce4a6c195e5eb79caa732663c71bf8a2fc6b8342ad5254b0ae08cbd7c4ec", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling arc-swap v1.3.0 [INFO] [stderr] Compiling route-recognizer v0.3.0 (https://github.com/zzzdong/route-recognizer?branch=add-add_or_update_with#993a322b) [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tower v0.4.8 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-io-timeout v1.1.1 [INFO] [stderr] Compiling drain v0.1.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling tracing-subscriber v0.2.19 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling apireception v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::TryFutureExt` [INFO] [stdout] --> src/health.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HyperRequest`, `HyperResponse` [INFO] [stdout] --> src/health.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | http::{HyperRequest, HyperResponse}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/plugins/path_rewrite.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/plugins/traffic_split.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/health.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let client: Client<_, hyper::Body> = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `healthiness` [INFO] [stdout] --> src/health.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | for (endpoint, healthiness) in &upstream.endpoints { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_healthiness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/health.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let uri = Uri::builder() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/health.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let cfg = upstream.health_config.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/health.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | Err(err) => Healthiness::Unresponsive(None), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dumps` [INFO] [stdout] --> src/config.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn dumps(&self, path: impl AsRef) -> Result<(), ConfigError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Slow` [INFO] [stdout] --> src/health.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Slow(Duration), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unresponsive` [INFO] [stdout] --> src/health.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Unresponsive(Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `health_check` [INFO] [stdout] --> src/health.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn health_check() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `health_check_one_upstream` [INFO] [stdout] --> src/health.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn health_check_one_upstream(upstream: &Upstream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `detect_endpoint_health` [INFO] [stdout] --> src/health.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | async fn detect_endpoint_health( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "1abfce4a6c195e5eb79caa732663c71bf8a2fc6b8342ad5254b0ae08cbd7c4ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1abfce4a6c195e5eb79caa732663c71bf8a2fc6b8342ad5254b0ae08cbd7c4ec", kill_on_drop: false }` [INFO] [stdout] 1abfce4a6c195e5eb79caa732663c71bf8a2fc6b8342ad5254b0ae08cbd7c4ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7c9f2526e7d7e22ec3a798cca31f9ae99d3694e5133e92c549978903914571f [INFO] running `Command { std: "docker" "start" "-a" "c7c9f2526e7d7e22ec3a798cca31f9ae99d3694e5133e92c549978903914571f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling apireception v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::TryFutureExt` [INFO] [stdout] --> src/health.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HyperRequest`, `HyperResponse` [INFO] [stdout] --> src/health.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | http::{HyperRequest, HyperResponse}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/plugins/path_rewrite.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/plugins/traffic_split.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/health.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let client: Client<_, hyper::Body> = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `healthiness` [INFO] [stdout] --> src/health.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | for (endpoint, healthiness) in &upstream.endpoints { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_healthiness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/health.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let uri = Uri::builder() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/health.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let cfg = upstream.health_config.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/health.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | Err(err) => Healthiness::Unresponsive(None), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Slow` [INFO] [stdout] --> src/health.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Slow(Duration), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unresponsive` [INFO] [stdout] --> src/health.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Unresponsive(Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `health_check` [INFO] [stdout] --> src/health.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn health_check() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `health_check_one_upstream` [INFO] [stdout] --> src/health.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn health_check_one_upstream(upstream: &Upstream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `detect_endpoint_health` [INFO] [stdout] --> src/health.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | async fn detect_endpoint_health( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.78s [INFO] running `Command { std: "docker" "inspect" "c7c9f2526e7d7e22ec3a798cca31f9ae99d3694e5133e92c549978903914571f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7c9f2526e7d7e22ec3a798cca31f9ae99d3694e5133e92c549978903914571f", kill_on_drop: false }` [INFO] [stdout] c7c9f2526e7d7e22ec3a798cca31f9ae99d3694e5133e92c549978903914571f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] efb0d5371dacc6f8388bd387ff34b5d445c4a01edb050f175f0596cbae4205f5 [INFO] running `Command { std: "docker" "start" "-a" "efb0d5371dacc6f8388bd387ff34b5d445c4a01edb050f175f0596cbae4205f5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `futures::TryFutureExt` [INFO] [stderr] --> src/health.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use futures::TryFutureExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HyperRequest`, `HyperResponse` [INFO] [stderr] --> src/health.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | http::{HyperRequest, HyperResponse}, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> src/plugins/path_rewrite.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> src/plugins/traffic_split.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> src/health.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | let client: Client<_, hyper::Body> = [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `healthiness` [INFO] [stderr] --> src/health.rs:47:20 [INFO] [stderr] | [INFO] [stderr] 47 | for (endpoint, healthiness) in &upstream.endpoints { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_healthiness` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uri` [INFO] [stderr] --> src/health.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | let uri = Uri::builder() [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cfg` [INFO] [stderr] --> src/health.rs:55:13 [INFO] [stderr] | [INFO] [stderr] 55 | let cfg = upstream.health_config.clone(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/health.rs:89:13 [INFO] [stderr] | [INFO] [stderr] 89 | Err(err) => Healthiness::Unresponsive(None), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Slow` [INFO] [stderr] --> src/health.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | Slow(Duration), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unresponsive` [INFO] [stderr] --> src/health.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | Unresponsive(Option), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `health_check` [INFO] [stderr] --> src/health.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | pub async fn health_check() {} [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `health_check_one_upstream` [INFO] [stderr] --> src/health.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | pub async fn health_check_one_upstream(upstream: &Upstream) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `detect_endpoint_health` [INFO] [stderr] --> src/health.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | async fn detect_endpoint_health( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `apireception` (bin "apireception" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/apireception-a48a431b2cc4c93b) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test config::test::plugin_config ... ok [INFO] [stdout] test matcher::test::parse_and ... ok [INFO] [stdout] test matcher::test::parse_chained ... ok [INFO] [stdout] test matcher::test::parse_cookie ... ok [INFO] [stdout] test matcher::test::parse_empty_host ... ok [INFO] [stdout] test matcher::test::parse_escaped_host ... ok [INFO] [stdout] test matcher::test::parse_host ... ok [INFO] [stdout] test matcher::test::parse_or ... ok [INFO] [stdout] test matcher::test::parse_host_regexp ... ok [INFO] [stdout] test matcher::test::test_matcher ... ok [INFO] [stdout] test matcher::test::parse_query ... ok [INFO] [stdout] test matcher::test::parse_path_regexp ... ok [INFO] [stdout] test config::test::example_config ... FAILED [INFO] [stdout] test upstream::test::test_weighted_random ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- config::test::example_config stdout ---- [INFO] [stdout] thread 'config::test::example_config' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" })', src/config.rs:330:34 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557203fc2770 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x557203fc2770 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557203fc2770 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x557203fc2770 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x557203fe62fc - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x557203fbe195 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x557203fc48eb - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x557203fc48eb - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x557203fc48eb - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x557203fc43fc - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x557203fc4fb4 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x557203fc4a97 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x557203fc2c4c - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x557203fc49f9 - rust_begin_unwind [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x557203c3b951 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x557203c3ba43 - core::result::unwrap_failed::he898b02f57993c42 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/result.rs:1599:5 [INFO] [stdout] 16: 0x557203c71c4c - core::result::Result::unwrap::h16e262fda8e7f34b [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/result.rs:1281:23 [INFO] [stdout] 17: 0x557203cac73e - apireception::config::test::example_config::hd09c274004db46ac [INFO] [stdout] at /opt/rustwide/workdir/src/config.rs:330:9 [INFO] [stdout] 18: 0x557203caabba - apireception::config::test::example_config::{{closure}}::he95d24f3fd50d2f1 [INFO] [stdout] at /opt/rustwide/workdir/src/config.rs:234:5 [INFO] [stdout] 19: 0x557203c82a8e - core::ops::function::FnOnce::call_once::h0d41708a2ea4402e [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x557203d26ad3 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x557203d26ad3 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x557203d25548 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x557203d25548 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x557203d25548 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x557203d25548 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x557203d25548 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x557203d25548 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x557203d25548 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x557203cf3ccd - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x557203cf3ccd - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x557203cf83f8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x557203cf83f8 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x557203cf83f8 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x557203cf83f8 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x557203cf83f8 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x557203cf83f8 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x557203cf83f8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x557203fc9b77 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x557203fc9b77 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x557203fc9b77 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 41: 0x7fab16a7e609 - start_thread [INFO] [stdout] 42: 0x7fab16850293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] config::test::example_config [INFO] [stdout] [INFO] [stdout] test result: FAILED. 13 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin apireception' [INFO] running `Command { std: "docker" "inspect" "efb0d5371dacc6f8388bd387ff34b5d445c4a01edb050f175f0596cbae4205f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efb0d5371dacc6f8388bd387ff34b5d445c4a01edb050f175f0596cbae4205f5", kill_on_drop: false }` [INFO] [stdout] efb0d5371dacc6f8388bd387ff34b5d445c4a01edb050f175f0596cbae4205f5