[INFO] fetching crate pact_mock_server 0.7.18... [INFO] testing pact_mock_server-0.7.18 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate pact_mock_server 0.7.18 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate pact_mock_server 0.7.18 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pact_mock_server 0.7.18 [INFO] finished tweaking crates.io crate pact_mock_server 0.7.18 [INFO] tweaked toml for crates.io crate pact_mock_server 0.7.18 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3030463c80f1369f38ad0d49478e9b580f0cdbc0f540c39bcaacce3b1bf2ba93 [INFO] running `Command { std: "docker" "start" "-a" "3030463c80f1369f38ad0d49478e9b580f0cdbc0f540c39bcaacce3b1bf2ba93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3030463c80f1369f38ad0d49478e9b580f0cdbc0f540c39bcaacce3b1bf2ba93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3030463c80f1369f38ad0d49478e9b580f0cdbc0f540c39bcaacce3b1bf2ba93", kill_on_drop: false }` [INFO] [stdout] 3030463c80f1369f38ad0d49478e9b580f0cdbc0f540c39bcaacce3b1bf2ba93 [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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4c4aa9a9fdf2548e6f80f338a5e279edb0511ebb697b428c6f16ca57e09cda1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a4c4aa9a9fdf2548e6f80f338a5e279edb0511ebb697b428c6f16ca57e09cda1", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling indextree v4.3.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling sxd-document v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling pact_models v0.0.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling onig_sys v69.7.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling rand_regex v0.15.1 [INFO] [stderr] Compiling tree_magic_mini v2.0.0 [INFO] [stderr] Compiling multipart v0.17.1 [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 webpki-roots v0.21.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling onig v6.2.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling hyper v0.14.10 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling pact_matching v0.9.4 [INFO] [stderr] Compiling pact_mock_server v0.7.18 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `pact_matching::models::parse_query_string` [INFO] [stdout] --> src/hyper_server.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use pact_matching::models::parse_query_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `parse_query_string` in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Request` is private [INFO] [stdout] --> src/matching.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | use pact_matching::models::{Interaction, Request, Response}; [INFO] [stdout] | ^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Request` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_matching-0.9.4/src/models/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use pact_models::request::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/matching.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | use pact_matching::models::{Interaction, Request, Response}; [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_matching-0.9.4/src/models/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use pact_models::response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Request` is private [INFO] [stdout] --> src/mock_server.rs:17:68 [INFO] [stdout] | [INFO] [stdout] 17 | use pact_matching::models::{Pact, RequestResponsePact, write_pact, Request}; [INFO] [stdout] | ^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Request` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_matching-0.9.4/src/models/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use pact_models::request::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `HttpPart` is private [INFO] [stdout] --> src/hyper_server.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | use pact_matching::models::{HttpPart, Pact, Request, RequestResponsePact}; [INFO] [stdout] | ^^^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `HttpPart` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_matching-0.9.4/src/models/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use pact_models::http_parts::HttpPart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Request` is private [INFO] [stdout] --> src/hyper_server.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | use pact_matching::models::{HttpPart, Pact, Request, RequestResponsePact}; [INFO] [stdout] | ^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Request` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_matching-0.9.4/src/models/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use pact_models::request::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `generators` is private [INFO] [stdout] --> src/hyper_server.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | use pact_matching::models::generators::GeneratorTestMode; [INFO] [stdout] | ^^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `generators` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_matching-0.9.4/src/models/mod.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) mod generators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/hyper_server.rs:249:6 [INFO] [stdout] | [INFO] [stdout] 247 | let pact_request = hyper_request_to_pact_request(req).await?; [INFO] [stdout] | ------------ consider giving `pact_request` a type [INFO] [stdout] 248 | info!("Received request {}", pact_request); [INFO] [stdout] 249 | if pact_request.has_text_body() { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_text_body` found for struct `pact_models::response::Response` in the current scope [INFO] [stdout] --> src/hyper_server.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | if response.has_text_body() { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `pact_models::response::Response` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_models-0.0.5/src/http_parts.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | fn has_text_body(&self) -> bool { [INFO] [stdout] | ------------- the method is available for `pact_models::response::Response` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use pact_models::http_parts::HttpPart;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pact_mock_server` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a4c4aa9a9fdf2548e6f80f338a5e279edb0511ebb697b428c6f16ca57e09cda1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4c4aa9a9fdf2548e6f80f338a5e279edb0511ebb697b428c6f16ca57e09cda1", kill_on_drop: false }` [INFO] [stdout] a4c4aa9a9fdf2548e6f80f338a5e279edb0511ebb697b428c6f16ca57e09cda1