[INFO] fetching crate openapi-gateway 0.1.4... [INFO] testing openapi-gateway-0.1.4 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate openapi-gateway 0.1.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate openapi-gateway 0.1.4 [INFO] finished tweaking crates.io crate openapi-gateway 0.1.4 [INFO] tweaked toml for crates.io crate openapi-gateway 0.1.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate openapi-gateway 0.1.4 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate openapi-gateway 0.1.4 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3feb844861856a4a30ac5a9b73090abcdd5b0c1b9484fb2d36a3925acb383af2 [INFO] running `Command { std: "docker" "start" "-a" "3feb844861856a4a30ac5a9b73090abcdd5b0c1b9484fb2d36a3925acb383af2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3feb844861856a4a30ac5a9b73090abcdd5b0c1b9484fb2d36a3925acb383af2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3feb844861856a4a30ac5a9b73090abcdd5b0c1b9484fb2d36a3925acb383af2", kill_on_drop: false }` [INFO] [stdout] 3feb844861856a4a30ac5a9b73090abcdd5b0c1b9484fb2d36a3925acb383af2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] beb90ebc532a0f58ee5cf097bf8377ea0fe3956e0d8081bf7f636de314bab61c [INFO] running `Command { std: "docker" "start" "-a" "beb90ebc532a0f58ee5cf097bf8377ea0fe3956e0d8081bf7f636de314bab61c", kill_on_drop: false }` [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 once_cell v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tower-http v0.2.2 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling matchit v0.4.6 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.8 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling axum v0.4.5 [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 `new` is never used [INFO] [stdout] --> src/gateway.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl Route { [INFO] [stdout] | ---------- associated function in this implementation [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "beb90ebc532a0f58ee5cf097bf8377ea0fe3956e0d8081bf7f636de314bab61c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beb90ebc532a0f58ee5cf097bf8377ea0fe3956e0d8081bf7f636de314bab61c", kill_on_drop: false }` [INFO] [stdout] beb90ebc532a0f58ee5cf097bf8377ea0fe3956e0d8081bf7f636de314bab61c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f02638232a6c0bc4d53d2cc0b72262aef2a85fad35301cf34c106098bc960b25 [INFO] running `Command { std: "docker" "start" "-a" "f02638232a6c0bc4d53d2cc0b72262aef2a85fad35301cf34c106098bc960b25", kill_on_drop: false }` [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` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "f02638232a6c0bc4d53d2cc0b72262aef2a85fad35301cf34c106098bc960b25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f02638232a6c0bc4d53d2cc0b72262aef2a85fad35301cf34c106098bc960b25", kill_on_drop: false }` [INFO] [stdout] f02638232a6c0bc4d53d2cc0b72262aef2a85fad35301cf34c106098bc960b25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 55d6e99f51ab485bfffeaf599e5d898e91953e14bdc5d46eeb0a3364a9e93cfa [INFO] running `Command { std: "docker" "start" "-a" "55d6e99f51ab485bfffeaf599e5d898e91953e14bdc5d46eeb0a3364a9e93cfa", 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 (run `cargo fix --bin "openapi-gateway" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/openapi_gateway-8304c530d5b38980) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test gateway::openapi::tests::test_valid_regex ... ok [INFO] [stdout] test gateway::openapi::tests::test_regex_for_validation ... 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] test gateway::openapi::tests::test_regex_for_validation_with_suffix ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "55d6e99f51ab485bfffeaf599e5d898e91953e14bdc5d46eeb0a3364a9e93cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55d6e99f51ab485bfffeaf599e5d898e91953e14bdc5d46eeb0a3364a9e93cfa", kill_on_drop: false }` [INFO] [stdout] 55d6e99f51ab485bfffeaf599e5d898e91953e14bdc5d46eeb0a3364a9e93cfa