[INFO] cloning repository https://github.com/adhesivee/openapi-gateway [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adhesivee/openapi-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadhesivee%2Fopenapi-gateway", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadhesivee%2Fopenapi-gateway'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ac9453e965105479f2a2d2e3a518c49a173ada6 [INFO] testing adhesivee/openapi-gateway against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadhesivee%2Fopenapi-gateway" "/workspace/builds/worker-97/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-97/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adhesivee/openapi-gateway on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adhesivee/openapi-gateway [INFO] finished tweaking git repo https://github.com/adhesivee/openapi-gateway [INFO] tweaked toml for git repo https://github.com/adhesivee/openapi-gateway written to /workspace/builds/worker-97/source/Cargo.toml [INFO] crate git repo https://github.com/adhesivee/openapi-gateway already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8330344032d5fba2fa9e27b94fa2e6cee92dcb8184dcfc69df41a15b23c1a5c0 [INFO] running `Command { std: "docker" "start" "-a" "8330344032d5fba2fa9e27b94fa2e6cee92dcb8184dcfc69df41a15b23c1a5c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8330344032d5fba2fa9e27b94fa2e6cee92dcb8184dcfc69df41a15b23c1a5c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8330344032d5fba2fa9e27b94fa2e6cee92dcb8184dcfc69df41a15b23c1a5c0", kill_on_drop: false }` [INFO] [stdout] 8330344032d5fba2fa9e27b94fa2e6cee92dcb8184dcfc69df41a15b23c1a5c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d61d5977a5b7a306b9ba2100c6c9e41edbe514825a4c9450a01fdd95cea89a1 [INFO] running `Command { std: "docker" "start" "-a" "5d61d5977a5b7a306b9ba2100c6c9e41edbe514825a4c9450a01fdd95cea89a1", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling rustls-native-certs v0.6.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tower-http v0.2.2 [INFO] [stderr] Compiling cron-parser v0.7.9 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling axum-core v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling tower v0.4.11 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling tracing-subscriber v0.3.8 [INFO] [stderr] Compiling axum v0.4.5 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling openapi-gateway v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Uri` [INFO] [stdout] --> src/main.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use axum::http::{HeaderValue, Uri}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | let mut entries = entries.read().await; [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: associated function is never used: `new` [INFO] [stdout] --> src/gateway.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn new(uri_regex: Regex, method: String) -> Route { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "5d61d5977a5b7a306b9ba2100c6c9e41edbe514825a4c9450a01fdd95cea89a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d61d5977a5b7a306b9ba2100c6c9e41edbe514825a4c9450a01fdd95cea89a1", kill_on_drop: false }` [INFO] [stdout] 5d61d5977a5b7a306b9ba2100c6c9e41edbe514825a4c9450a01fdd95cea89a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fd63703f09697d0f02a60f3e5c20c5138b7cb26d22823b21f55a79e2c248c59 [INFO] running `Command { std: "docker" "start" "-a" "2fd63703f09697d0f02a60f3e5c20c5138b7cb26d22823b21f55a79e2c248c59", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling openapi-gateway v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Uri` [INFO] [stdout] --> src/main.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use axum::http::{HeaderValue, Uri}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | let mut entries = entries.read().await; [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.12s [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/openapi_gateway-12b726e764f33ff7) [INFO] running `Command { std: "docker" "inspect" "2fd63703f09697d0f02a60f3e5c20c5138b7cb26d22823b21f55a79e2c248c59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd63703f09697d0f02a60f3e5c20c5138b7cb26d22823b21f55a79e2c248c59", kill_on_drop: false }` [INFO] [stdout] 2fd63703f09697d0f02a60f3e5c20c5138b7cb26d22823b21f55a79e2c248c59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1c9c8cdae80307b1aeb0475bc89338f34cf82db3287755de2be4ecaaf104625b [INFO] running `Command { std: "docker" "start" "-a" "1c9c8cdae80307b1aeb0475bc89338f34cf82db3287755de2be4ecaaf104625b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Uri` [INFO] [stderr] --> src/main.rs:14:31 [INFO] [stderr] | [INFO] [stderr] 14 | use axum::http::{HeaderValue, Uri}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:63:25 [INFO] [stderr] | [INFO] [stderr] 63 | let mut entries = entries.read().await; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `openapi-gateway` (bin "openapi-gateway" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/openapi_gateway-12b726e764f33ff7) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test gateway::openapi::tests::test_regex_for_validation ... ok [INFO] [stdout] test gateway::openapi::tests::test_regex_for_validation_with_suffix ... ok [INFO] [stdout] test gateway::openapi::tests::test_valid_regex ... ok [INFO] [stdout] test gateway::tests::test_match_route_and_method ... ok [INFO] [stdout] test gateway::tests::test_no_match_on_method ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1c9c8cdae80307b1aeb0475bc89338f34cf82db3287755de2be4ecaaf104625b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c9c8cdae80307b1aeb0475bc89338f34cf82db3287755de2be4ecaaf104625b", kill_on_drop: false }` [INFO] [stdout] 1c9c8cdae80307b1aeb0475bc89338f34cf82db3287755de2be4ecaaf104625b