[INFO] fetching crate openapi-mocker 0.1.3... [INFO] testing openapi-mocker-0.1.3 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate openapi-mocker 0.1.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate openapi-mocker 0.1.3 [INFO] finished tweaking crates.io crate openapi-mocker 0.1.3 [INFO] tweaked toml for crates.io crate openapi-mocker 0.1.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate openapi-mocker 0.1.3 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate openapi-mocker 0.1.3 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_cmd v2.0.14 [INFO] [stderr] Downloaded predicates v3.1.0 [INFO] [stderr] Downloaded actix-router v0.5.2 [INFO] [stderr] Downloaded serde_derive v1.0.198 [INFO] [stderr] Downloaded actix-web v4.5.1 [INFO] [stderr] Downloaded flate2 v1.0.29 [INFO] [stderr] Downloaded actix-http v3.6.0 [INFO] [stderr] Downloaded serde v1.0.198 [INFO] [stderr] Downloaded serde_json v1.0.116 [INFO] [stderr] Downloaded oas3 v0.4.0 [INFO] [stderr] Downloaded brotli-decompressor v2.5.1 [INFO] [stderr] Downloaded brotli v3.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cac54fa85db909b82f624610897d47a24ac1f3791bb235b255ad79d9d93b9fc [INFO] running `Command { std: "docker" "start" "-a" "7cac54fa85db909b82f624610897d47a24ac1f3791bb235b255ad79d9d93b9fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cac54fa85db909b82f624610897d47a24ac1f3791bb235b255ad79d9d93b9fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cac54fa85db909b82f624610897d47a24ac1f3791bb235b255ad79d9d93b9fc", kill_on_drop: false }` [INFO] [stdout] 7cac54fa85db909b82f624610897d47a24ac1f3791bb235b255ad79d9d93b9fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d9621b59452f9ca7663ebaaf7521485ca73a1017ff58ba31e23a847baecf4f2 [INFO] running `Command { std: "docker" "start" "-a" "0d9621b59452f9ca7663ebaaf7521485ca73a1017ff58ba31e23a847baecf4f2", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling flate2 v1.0.29 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling oas3 v0.4.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling actix-http v3.6.0 [INFO] [stderr] Compiling actix-web v4.5.1 [INFO] [stderr] Compiling openapi-mocker v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 19s [INFO] running `Command { std: "docker" "inspect" "0d9621b59452f9ca7663ebaaf7521485ca73a1017ff58ba31e23a847baecf4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d9621b59452f9ca7663ebaaf7521485ca73a1017ff58ba31e23a847baecf4f2", kill_on_drop: false }` [INFO] [stdout] 0d9621b59452f9ca7663ebaaf7521485ca73a1017ff58ba31e23a847baecf4f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b2560863f75995e07dfdc6418217b2fb2a94eedfc0d619d3dd19bc019f107c6 [INFO] running `Command { std: "docker" "start" "-a" "5b2560863f75995e07dfdc6418217b2fb2a94eedfc0d619d3dd19bc019f107c6", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling oas3 v0.4.0 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling actix-web v4.5.1 [INFO] [stderr] Compiling openapi-mocker v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 39.40s [INFO] running `Command { std: "docker" "inspect" "5b2560863f75995e07dfdc6418217b2fb2a94eedfc0d619d3dd19bc019f107c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b2560863f75995e07dfdc6418217b2fb2a94eedfc0d619d3dd19bc019f107c6", kill_on_drop: false }` [INFO] [stdout] 5b2560863f75995e07dfdc6418217b2fb2a94eedfc0d619d3dd19bc019f107c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e7050a4a982fa8244450b44ce09771d2af05dbfa18d3a467af69490c44062ec1 [INFO] running `Command { std: "docker" "start" "-a" "e7050a4a982fa8244450b44ce09771d2af05dbfa18d3a467af69490c44062ec1", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openapi_mocker-f43542680bb0c6bd) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test openapi::spec::tests::test_load_path_not_found ... ok [INFO] [stdout] test openapi::spec::tests::test_load_path ... ok [INFO] [stdout] test openapi::spec::tests::test_load_method ... ok [INFO] [stdout] test openapi::spec::tests::test_load_path_with_dynamic_params ... ok [INFO] [stdout] test openapi::spec::tests::test_load_examples ... ok [INFO] [stdout] test openapi::spec::tests::test_load_path_with_params ... ok [INFO] [stdout] test openapi::spec::tests::test_load_method_not_found ... ok [INFO] [stdout] test openapi::spec::tests::test_load_spec ... ok [INFO] [stdout] test openapi::spec::tests::test_spec_prefer_path_over_query_params ... ok [INFO] [stdout] test openapi::spec::tests::test_spec_match_query_params ... ok [INFO] [stdout] test openapi::spec::tests::test_spec_match_query_params_with_multiple_params ... ok [INFO] [stdout] test openapi::spec::tests::test_match_401_response ... ok [INFO] [stdout] test openapi::spec::tests::test_spec_with_params_custom_example ... ok [INFO] [stdout] test openapi::spec::tests::test_spec ... ok [INFO] [stdout] test openapi::spec::tests::test_spec_match_headers ... ok [INFO] [stdout] test openapi::spec::tests::test_spec_match_headers_with_multiple_headers ... ok [INFO] [stdout] test openapi::spec::tests::test_spec_with_path_params ... ok [INFO] [stdout] test server::tests::test_request_query ... ok [INFO] [stdout] test server::tests::test_request_not_found ... ok [INFO] [stdout] test server::tests::test_request_default ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/openapi_mocker-e351fb8773cfca3b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests openapi_mocker [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/openapi/spec.rs - openapi::spec::Spec::from_path (line 21) ... ok [INFO] [stdout] test src/openapi/spec.rs - openapi::spec::Spec::get_example (line 38) ... ok [INFO] [stdout] test src/openapi/spec.rs - openapi::spec::Spec::get_example (line 48) ... ok [INFO] [stdout] test src/openapi/spec.rs - openapi::spec::Spec::get_example (line 58) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.61s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e7050a4a982fa8244450b44ce09771d2af05dbfa18d3a467af69490c44062ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7050a4a982fa8244450b44ce09771d2af05dbfa18d3a467af69490c44062ec1", kill_on_drop: false }` [INFO] [stdout] e7050a4a982fa8244450b44ce09771d2af05dbfa18d3a467af69490c44062ec1