[INFO] cloning repository https://github.com/BedrockStreaming/dynamock-http-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BedrockStreaming/dynamock-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBedrockStreaming%2Fdynamock-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBedrockStreaming%2Fdynamock-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a9e3a1532cce93464f484360e17bb2b4763c438 [INFO] testing BedrockStreaming/dynamock-http-server against beta-2026-04-21 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBedrockStreaming%2Fdynamock-http-server" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/BedrockStreaming/dynamock-http-server [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/BedrockStreaming/dynamock-http-server [INFO] tweaked toml for git repo https://github.com/BedrockStreaming/dynamock-http-server written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BedrockStreaming/dynamock-http-server on toolchain beta-2026-04-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BedrockStreaming/dynamock-http-server 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f840cd770950655d1916dab24730239fe2207b32f6ac9e0c7e6be287588b140 [INFO] running `Command { std: "docker" "start" "-a" "1f840cd770950655d1916dab24730239fe2207b32f6ac9e0c7e6be287588b140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f840cd770950655d1916dab24730239fe2207b32f6ac9e0c7e6be287588b140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f840cd770950655d1916dab24730239fe2207b32f6ac9e0c7e6be287588b140", kill_on_drop: false }` [INFO] [stdout] 1f840cd770950655d1916dab24730239fe2207b32f6ac9e0c7e6be287588b140 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4edd1374c1b168bc415b030fd507b710e8652234c4ee499132ede272a60a9058 [INFO] running `Command { std: "docker" "start" "-a" "4edd1374c1b168bc415b030fd507b710e8652234c4ee499132ede272a60a9058", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde-jsonlines v0.7.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling rusty-dynamock-http-server v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.61s [INFO] running `Command { std: "docker" "inspect" "4edd1374c1b168bc415b030fd507b710e8652234c4ee499132ede272a60a9058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4edd1374c1b168bc415b030fd507b710e8652234c4ee499132ede272a60a9058", kill_on_drop: false }` [INFO] [stdout] 4edd1374c1b168bc415b030fd507b710e8652234c4ee499132ede272a60a9058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 682338996dc850691769d190c0d8fc0b1c1bc90984d92ebc28f7cf0108b9c380 [INFO] running `Command { std: "docker" "start" "-a" "682338996dc850691769d190c0d8fc0b1c1bc90984d92ebc28f7cf0108b9c380", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sealed v0.5.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling bytecount v0.6.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling typed-builder-macro v0.15.2 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling synthez-core v0.3.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling bstr v1.7.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling terminal_size v0.4.1 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling synthez-codegen v0.3.1 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling escargot v0.5.8 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling synthez v0.3.1 [INFO] [stderr] Compiling typed-builder v0.15.2 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling gherkin v0.14.0 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling inventory v0.3.12 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling json_value_merge v2.0.0 [INFO] [stderr] Compiling peg v0.6.3 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling globset v0.4.13 [INFO] [stderr] Compiling cucumber-expressions v0.3.0 [INFO] [stderr] Compiling ignore v0.4.20 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.0.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling lazy-regex v3.0.2 [INFO] [stderr] Compiling cucumber-codegen v0.20.1 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling cucumber v0.20.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling rusty-dynamock-http-server v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 49.07s [INFO] running `Command { std: "docker" "inspect" "682338996dc850691769d190c0d8fc0b1c1bc90984d92ebc28f7cf0108b9c380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "682338996dc850691769d190c0d8fc0b1c1bc90984d92ebc28f7cf0108b9c380", kill_on_drop: false }` [INFO] [stdout] 682338996dc850691769d190c0d8fc0b1c1bc90984d92ebc28f7cf0108b9c380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7f71d4106284df52bc6264829fafde509a95b290b8dc4ef13055bbdf96b80e33 [INFO] running `Command { std: "docker" "start" "-a" "7f71d4106284df52bc6264829fafde509a95b290b8dc4ef13055bbdf96b80e33", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/main-ebdea24b19479a12) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test domain::request::tests::it_fails_to_includes_hashmap ... ok [INFO] [stdout] test domain::request::tests::it_fails_to_match_a_request_with_headers ... ok [INFO] [stdout] test domain::request::tests::it_fails_to_includes_hashmap_no_outer ... ok [INFO] [stdout] test domain::request::tests::it_fails_to_match_a_request_with_query ... ok [INFO] [stdout] test domain::request::tests::it_fails_to_match_a_simple_request_on_method ... ok [INFO] [stdout] test domain::request::tests::it_fails_to_match_a_simple_request_on_path ... ok [INFO] [stdout] test domain::request::tests::it_includes_hashmap ... ok [INFO] [stdout] test domain::request::tests::it_includes_hashmap_no_inner ... ok [INFO] [stdout] test domain::request::tests::it_matches_a_request_with_query ... ok [INFO] [stdout] test domain::request::tests::it_matches_a_request_with_headers ... ok [INFO] [stdout] test domain::request::tests::it_matches_a_simple_request_with_a_json_body ... ok [INFO] [stdout] test domain::request::tests::it_matches_a_simple_request ... ok [INFO] [stdout] test domain::request::tests::it_matches_a_simple_request_with_an_extra_json_body ... ok [INFO] [stdout] test domain::request::tests::it_matches_a_simple_request_with_extra_headers ... ok [INFO] [stdout] test domain::request::tests::it_matches_a_simple_request_with_extra_query ... ok [INFO] [stdout] test domain::request::tests::it_includes_hashmap_empty_inner ... ok [INFO] [stdout] test domain::request::tests::it_fails_to_match_a_simple_request_with_a_json_body ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cucumber.rs (/opt/rustwide/target/debug/deps/cucumber-9b9a1b45827e5452) [INFO] [stdout] Feature: We can add a mock and query it [INFO] [stdout] Scenario Outline: with a simple mock, and query it [INFO] [stdout] 2026-04-22T17:15:14.061479Z  INFO main: [admin] Preloaded 0 mocks [INFO] [stdout] 2026-04-22T17:15:14.062951Z  INFO main: [admin] Listening on 0.0.0.0:3000 [INFO] [stdout] 2026-04-22T17:15:14.063074Z  INFO main: [mock] Listening on 0.0.0.0:3001 [INFO] [stdout] ✔ Given a mock with: [INFO] [stdout] | /request/method | GET | [INFO] [stdout] | /request/path | /request | [INFO] [stdout] | /response/body | !json {"some": "content"} | [INFO] [stdout] 2026-04-22T17:15:14.106763Z  INFO main::application::action::mock: Called GET /request, responding HTTP 200 OK [INFO] [stdout] ✔ When getting mocks list [INFO] [stdout] ✔ When calling GET "/request" [INFO] [stdout] ✔ Then response item "/some" should be "content" [INFO] [stdout] Scenario Outline: with a simple mock, and query it [INFO] [stdout] 2026-04-22T17:15:14.322289Z  INFO main: [admin] Preloaded 0 mocks [INFO] [stdout] 2026-04-22T17:15:14.322680Z  INFO main: [admin] Listening on 0.0.0.0:3000 [INFO] [stdout] 2026-04-22T17:15:14.322786Z  INFO main: [mock] Listening on 0.0.0.0:3001 [INFO] [stdout] ✔ Given a mock with: [INFO] [stdout] | /request/method | POST | [INFO] [stdout] | /request/path | /request | [INFO] [stdout] | /response/body | !json {"some": "content"} | [INFO] [stdout] ✔ When getting mocks list [INFO] [stdout] 2026-04-22T17:15:14.416825Z  INFO main::application::action::mock: Called POST /request, responding HTTP 200 OK [INFO] [stdout] ✔ When calling POST "/request" [INFO] [stdout] ✔ Then response item "/some" should be "content" [INFO] [stdout] Scenario Outline: with a simple mock, and query it [INFO] [stdout] 2026-04-22T17:15:14.627874Z  INFO main: [admin] Preloaded 0 mocks [INFO] [stdout] 2026-04-22T17:15:14.628245Z  INFO main: [admin] Listening on 0.0.0.0:3000 [INFO] [stdout] 2026-04-22T17:15:14.628378Z  INFO main: [mock] Listening on 0.0.0.0:3001 [INFO] [stdout] ✔ Given a mock with: [INFO] [stdout] | /request/method | PUT | [INFO] [stdout] | /request/path | /request | [INFO] [stdout] | /response/body | !json {"some": "content"} | [INFO] [stdout] ✔ When getting mocks list [INFO] [stdout] 2026-04-22T17:15:14.744849Z  INFO main::application::action::mock: Called PUT /request, responding HTTP 200 OK [INFO] [stdout] ✔ When calling PUT "/request" [INFO] [stdout] ✔ Then response item "/some" should be "content" [INFO] [stdout] Scenario Outline: with a simple mock, and query it [INFO] [stdout] 2026-04-22T17:15:15.208669Z  INFO main: [admin] Preloaded 0 mocks [INFO] [stdout] 2026-04-22T17:15:15.208993Z  INFO main: [admin] Listening on 0.0.0.0:3000 [INFO] [stdout] 2026-04-22T17:15:15.209134Z  INFO main: [mock] Listening on 0.0.0.0:3001 [INFO] [stdout] ✔ Given a mock with: [INFO] [stdout] | /request/method | DELETE | [INFO] [stdout] | /request/path | /request | [INFO] [stdout] | /response/body | !json {"some": "content"} | [INFO] [stdout] ✔ When getting mocks list [INFO] [stdout] 2026-04-22T17:15:15.324425Z  INFO main::application::action::mock: Called DELETE /request, responding HTTP 200 OK [INFO] [stdout] ✔ When calling DELETE "/request" [INFO] [stdout] ✔ Then response item "/some" should be "content" [INFO] [stdout] Scenario Outline: with a simple mock, and query it [INFO] [stdout] 2026-04-22T17:15:15.749287Z  INFO main: [admin] Preloaded 0 mocks [INFO] [stdout] 2026-04-22T17:15:15.749664Z  INFO main: [admin] Listening on 0.0.0.0:3000 [INFO] [stdout] 2026-04-22T17:15:15.749776Z  INFO main: [mock] Listening on 0.0.0.0:3001 [INFO] [stdout] ✔ Given a mock with: [INFO] [stdout] | /request/method | OPTIONS | [INFO] [stdout] | /request/path | /request | [INFO] [stdout] | /response/body | !json {"some": "content"} | [INFO] [stdout] ✔ When getting mocks list [INFO] [stdout] 2026-04-22T17:15:15.921001Z  INFO main::application::action::mock: Called OPTIONS /request, responding HTTP 200 OK [INFO] [stdout] ✔ When calling OPTIONS "/request" [INFO] [stdout] ✔ Then response item "/some" should be "content" [INFO] [stdout] Scenario Outline: with a simple mock, and query it [INFO] [stdout] 2026-04-22T17:15:16.199426Z  INFO main: [admin] Preloaded 0 mocks [INFO] [stdout] 2026-04-22T17:15:16.199763Z  INFO main: [admin] Listening on 0.0.0.0:3000 [INFO] [stdout] 2026-04-22T17:15:16.199864Z  INFO main: [mock] Listening on 0.0.0.0:3001 [INFO] [stdout] ✔ Given a mock with: [INFO] [stdout] | /request/method | PATCH | [INFO] [stdout] | /request/path | /request | [INFO] [stdout] | /response/body | !json {"some": "content"} | [INFO] [stdout] ✔ When getting mocks list [INFO] [stdout] 2026-04-22T17:15:16.395953Z  INFO main::application::action::mock: Called PATCH /request, responding HTTP 200 OK [INFO] [stdout] ✔ When calling PATCH "/request" [INFO] [stdout] ✔ Then response item "/some" should be "content" [INFO] [stdout] Scenario: try more complex assertions on body [INFO] [stdout] ✘ Scenario's Before hook failed tests/features/dynamock/add_mock.feature:21:3 [INFO] [stdout] Captured output: [INFO] [stdout] Cannot connect to test HTTP server: "error sending request for url (http://localhost:3000/mocks/list)" [INFO] [stdout] DynamockWorld { [INFO] [stdout] client: Client { [INFO] [stdout] base_admin_uri: "http://localhost:3000", [INFO] [stdout] base_mock_uri: "http://localhost:3001", [INFO] [stdout] http_client: Client { [INFO] [stdout] accepts: Accepts, [INFO] [stdout] proxies: [ [INFO] [stdout] Proxy( [INFO] [stdout] System( [INFO] [stdout] {}, [INFO] [stdout] ), [INFO] [stdout] None, [INFO] [stdout] ), [INFO] [stdout] ], [INFO] [stdout] referer: true, [INFO] [stdout] default_headers: { [INFO] [stdout] "accept": "*/*", [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] }, [INFO] [stdout] dynamock_process: Some( [INFO] [stdout] Child { [INFO] [stdout] child: Child( [INFO] [stdout] ChildDropGuard { [INFO] [stdout] inner: Child { [INFO] [stdout] pid: 167, [INFO] [stdout] }, [INFO] [stdout] kill_on_drop: true, [INFO] [stdout] }, [INFO] [stdout] ), [INFO] [stdout] stdin: None, [INFO] [stdout] stdout: None, [INFO] [stdout] stderr: None, [INFO] [stdout] }, [INFO] [stdout] ), [INFO] [stdout] last_response: None, [INFO] [stdout] } [INFO] [stdout] Scenario: Finite mock calling [INFO] [stdout] 2026-04-22T17:15:16.961356Z  INFO main: [admin] Preloaded 0 mocks [INFO] [stdout] 2026-04-22T17:15:16.961989Z  INFO main: [admin] Listening on 0.0.0.0:3000 [INFO] [stdout] 2026-04-22T17:15:16.962166Z  INFO main: [mock] Listening on 0.0.0.0:3001 [INFO] [stdout] ✔ Given a mock with: [INFO] [stdout] | /request/method | GET | [INFO] [stdout] | /request/path | /request | [INFO] [stdout] | /response/body | !json {"some": "content"} | [INFO] [stdout] | /usage_count | !int 1 | [INFO] [stdout] ✔ When getting mocks list [INFO] [stdout] 2026-04-22T17:15:17.150265Z  INFO main::application::action::mock: Called GET /request, responding HTTP 200 OK [INFO] [stdout] ✔ Then calling GET "/request" should be ok [INFO] [stdout] 2026-04-22T17:15:17.152830Z  WARN main::application::action::mock: Request 'All responses are exhausted' not found [INFO] [stdout] ✔ Then calling GET "/request" should fail [INFO] [stdout] Scenario: Multiple mock calling on the same request [INFO] [stdout] 2026-04-22T17:15:17.382541Z  INFO main: [admin] Preloaded 0 mocks [INFO] [stdout] 2026-04-22T17:15:17.382810Z  INFO main: [admin] Listening on 0.0.0.0:3000 [INFO] [stdout] 2026-04-22T17:15:17.382902Z  INFO main: [mock] Listening on 0.0.0.0:3001 [INFO] [stdout] ✔ Given a mock with: [INFO] [stdout] | /request/method | GET | [INFO] [stdout] | /request/path | /request | [INFO] [stdout] | /response/body | !json {"some": "content"} | [INFO] [stdout] | /usage_count | !int 1 | [INFO] [stdout] ✔ Given a mock with: [INFO] [stdout] | /request/method | GET | [INFO] [stdout] | /request/path | /request | [INFO] [stdout] | /response/body | !json {"some": "content2"} | [INFO] [stdout] | /usage_count | !int 1 | [INFO] [stdout] ✔ When getting mocks list [INFO] [stdout] 2026-04-22T17:15:17.488753Z  INFO main::application::action::mock: Called GET /request, responding HTTP 200 OK [INFO] [stdout] 2026-04-22T17:15:17.489631Z  INFO main::application::action::mock: Called GET /request, responding HTTP 200 OK [INFO] [stdout] ✔ When calling GET "/request" [INFO] [stdout] ✔ Then response item "/some" should be "content" [INFO] [stdout] ✔ When calling GET "/request" [INFO] [stdout] ✔ Then response item "/some" should be "content2" [INFO] [stdout] 2026-04-22T17:15:17.491966Z  WARN main::application::action::mock: Request 'All responses are exhausted' not found [INFO] [stdout] ✔ Then calling GET "/request" should fail [INFO] [stdout] Feature: Dynamock admin can list configured mocks [INFO] [stdout] Scenario: with a simple mock [INFO] [stdout] 2026-04-22T17:15:17.727343Z  INFO main: [admin] Preloaded 0 mocks [INFO] [stdout] 2026-04-22T17:15:17.727696Z  INFO main: [admin] Listening on 0.0.0.0:3000 [INFO] [stdout] 2026-04-22T17:15:17.727809Z  INFO main: [mock] Listening on 0.0.0.0:3001 [INFO] [stdout] ✔ Given default mock [INFO] [stdout] ✔ Then mock list has 1 item [INFO] [stdout] Scenario: mock list contains request data [INFO] [stdout] 2026-04-22T17:15:18.043342Z  INFO main: [admin] Preloaded 0 mocks [INFO] [stdout] 2026-04-22T17:15:18.043690Z  INFO main: [admin] Listening on 0.0.0.0:3000 [INFO] [stdout] 2026-04-22T17:15:18.043777Z  INFO main: [mock] Listening on 0.0.0.0:3001 [INFO] [stdout] ✔ Given default mock [INFO] [stdout] ✔ When getting mocks list [INFO] [stdout] ✔ Then response item "/0/request/method" should be "GET" [INFO] [stdout] Feature: Mocks can be reset [INFO] [stdout] Scenario: resetting mocks does reset the list [INFO] [stdout] 2026-04-22T17:15:18.371937Z  INFO main: [admin] Preloaded 0 mocks [INFO] [stdout] 2026-04-22T17:15:18.372252Z  INFO main: [admin] Listening on 0.0.0.0:3000 [INFO] [stdout] 2026-04-22T17:15:18.372375Z  INFO main: [mock] Listening on 0.0.0.0:3001 [INFO] [stdout] ✔ Given default mock [INFO] [stdout] ✔ When resetting mocks [INFO] [stdout] ✔ Then mock list has 0 item [INFO] [stdout] [Summary] [INFO] [stdout] 3 features [INFO] [stdout] 12 scenarios (11 passed, 1 failed) [INFO] [stdout] 44 steps (44 passed) [INFO] [stdout] 1 hook error [INFO] [stderr] Error: "Test suite has 1 failed scenario" [INFO] [stderr] error: test failed, to rerun pass `--test cucumber` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/cucumber-9b9a1b45827e5452` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "7f71d4106284df52bc6264829fafde509a95b290b8dc4ef13055bbdf96b80e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f71d4106284df52bc6264829fafde509a95b290b8dc4ef13055bbdf96b80e33", kill_on_drop: false }` [INFO] [stdout] 7f71d4106284df52bc6264829fafde509a95b290b8dc4ef13055bbdf96b80e33