[INFO] fetching crate pact_mock_server 2.2.1... [INFO] linting pact_mock_server-2.2.1 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate pact_mock_server 2.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate pact_mock_server 2.2.1 [INFO] finished tweaking crates.io crate pact_mock_server 2.2.1 [INFO] tweaked toml for crates.io crate pact_mock_server 2.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pact_mock_server 2.2.1 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pact_mock_server 2.2.1 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_regex v0.17.0 [INFO] [stderr] Downloaded typed-arena v1.7.0 [INFO] [stderr] Downloaded peresil v0.3.0 [INFO] [stderr] Downloaded rand_core v0.9.4 [INFO] [stderr] Downloaded logos-derive v0.15.1 [INFO] [stderr] Downloaded lenient_semver_version_builder v0.4.2 [INFO] [stderr] Downloaded sxd-document v0.3.2 [INFO] [stderr] Downloaded tree_magic_mini v3.2.2 [INFO] [stderr] Downloaded expectest v0.12.0 [INFO] [stderr] Downloaded tonic-build v0.13.1 [INFO] [stderr] Downloaded cfb v0.7.3 [INFO] [stderr] Downloaded ariadne v0.5.1 [INFO] [stderr] Downloaded pact-plugin-driver v0.7.5 [INFO] [stderr] Downloaded logos-codegen v0.15.1 [INFO] [stderr] Downloaded rcgen v0.14.6 [INFO] [stderr] Downloaded x509-parser v0.18.0 [INFO] [stderr] Downloaded indextree-macros v0.1.3 [INFO] [stderr] Downloaded indextree v4.7.4 [INFO] [stderr] Downloaded sysinfo v0.30.13 [INFO] [stderr] Downloaded kiss_xml v1.0.2 [INFO] [stderr] Downloaded lenient_semver_parser v0.4.2 [INFO] [stderr] Downloaded pact_matching v2.0.2 [INFO] [stderr] Downloaded lenient_semver v0.4.2 [INFO] [stderr] Downloaded pact_models v1.3.7 [INFO] [stderr] Downloaded hashers v1.0.1 [INFO] [stderr] Downloaded logos v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28825f4015c874dd15aef7273cec9da76e254ac10f5f0ca457ff41eb5174d6b0 [INFO] running `Command { std: "docker" "start" "-a" "28825f4015c874dd15aef7273cec9da76e254ac10f5f0ca457ff41eb5174d6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28825f4015c874dd15aef7273cec9da76e254ac10f5f0ca457ff41eb5174d6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28825f4015c874dd15aef7273cec9da76e254ac10f5f0ca457ff41eb5174d6b0", kill_on_drop: false }` [INFO] [stdout] 28825f4015c874dd15aef7273cec9da76e254ac10f5f0ca457ff41eb5174d6b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70b788aa640e25cbe97ae1d676c71c9d0328745835e553eeeb4d5f7be07fff53 [INFO] running `Command { std: "docker" "start" "-a" "70b788aa640e25cbe97ae1d676c71c9d0328745835e553eeeb4d5f7be07fff53", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling zmij v1.0.13 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Checking openssl-probe v0.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling logos-codegen v0.15.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Checking time-core v0.1.6 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking phf_shared v0.12.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking flate2 v1.1.8 [INFO] [stderr] Checking lenient_semver_version_builder v0.4.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking compression-codecs v0.4.36 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking lenient_semver_parser v0.4.2 [INFO] [stderr] Checking phf v0.12.1 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking bumpalo v3.19.1 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking zopfli v0.8.3 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Checking ariadne v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking lenient_semver v0.4.2 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking object v0.37.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking rand_core v0.9.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking gregorian v0.2.4 [INFO] [stderr] Checking kiss_xml v1.0.2 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking deflate64 v0.1.10 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking petgraph v0.8.3 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking infer v0.19.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking jiff v0.2.18 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking md5 v0.8.0 [INFO] [stderr] Checking rand_regex v0.17.0 [INFO] [stderr] Checking expectest v0.12.0 [INFO] [stderr] Checking bzip2 v0.5.2 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Compiling pact_models v1.3.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking rustls-pki-types v1.13.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling logos-derive v0.15.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking webpki-roots v1.0.5 [INFO] [stderr] Checking logos v0.15.1 [INFO] [stderr] Checking tree_magic_mini v3.2.2 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking rcgen v0.14.6 [INFO] [stderr] Compiling test-log-macros v0.2.19 [INFO] [stderr] Checking test-log v0.2.19 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling indextree-macros v0.1.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Checking onig v6.5.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking indextree v4.7.4 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking os_info v3.14.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling tonic-build v0.13.1 [INFO] [stderr] Checking chrono-tz v0.10.4 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Compiling pact-plugin-driver v0.7.5 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking async-compression v0.4.37 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-test v0.4.5 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking tonic v0.13.1 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking reqwest v0.13.1 [INFO] [stderr] Checking pact_matching v2.0.2 [INFO] [stderr] Checking pact_mock_server v2.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `MANAGER`: Crates that require a static manager should setup one themselves [INFO] [stdout] --> src/lib.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | pub static ref MANAGER: Mutex> = Mutex::new(None); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `LOG_ID`: This must be moved to the FFI crate [INFO] [stdout] --> src/hyper_server.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::LOG_ID; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `LOG_ID`: This must be moved to the FFI crate [INFO] [stdout] --> src/hyper_server.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | LOG_ID.scope(server_id, async move { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `LOG_ID`: This must be moved to the FFI crate [INFO] [stdout] --> src/hyper_server.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | join_set.spawn(LOG_ID.scope(server_id.clone(), async move { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `LOG_ID`: This must be moved to the FFI crate [INFO] [stdout] --> src/hyper_server.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 222 | LOG_ID.scope(server_id, async move { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `LOG_ID`: This must be moved to the FFI crate [INFO] [stdout] --> src/hyper_server.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | join_set.spawn(LOG_ID.scope(server_id.clone(), async move { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `MANAGER`: Crates that require a static manager should setup one themselves [INFO] [stdout] --> src/lib.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | pub static ref MANAGER: Mutex> = Mutex::new(None); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `LOG_ID`: This must be moved to the FFI crate [INFO] [stdout] --> src/hyper_server.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::LOG_ID; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `LOG_ID`: This must be moved to the FFI crate [INFO] [stdout] --> src/hyper_server.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | LOG_ID.scope(server_id, async move { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `LOG_ID`: This must be moved to the FFI crate [INFO] [stdout] --> src/hyper_server.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | join_set.spawn(LOG_ID.scope(server_id.clone(), async move { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `LOG_ID`: This must be moved to the FFI crate [INFO] [stdout] --> src/hyper_server.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 222 | LOG_ID.scope(server_id, async move { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `LOG_ID`: This must be moved to the FFI crate [INFO] [stdout] --> src/hyper_server.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | join_set.spawn(LOG_ID.scope(server_id.clone(), async move { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `MANAGER::__private_field`: Crates that require a static manager should setup one themselves [INFO] [stdout] --> src/lib.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / lazy_static::lazy_static! { [INFO] [stdout] 125 | | /// [INFO] [stdout] 126 | | /// A global thread-safe, "init-on-demand" reference to a server manager. [INFO] [stdout] 127 | | /// When the server manager is initialized, it starts a separate thread on which [INFO] [stdout] ... | [INFO] [stdout] 131 | | pub static ref MANAGER: Mutex> = Mutex::new(None); [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_internal` which comes from the expansion of the macro `lazy_static::lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `MANAGER::__private_field`: Crates that require a static manager should setup one themselves [INFO] [stdout] --> src/lib.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / lazy_static::lazy_static! { [INFO] [stdout] 125 | | /// [INFO] [stdout] 126 | | /// A global thread-safe, "init-on-demand" reference to a server manager. [INFO] [stdout] 127 | | /// When the server manager is initialized, it starts a separate thread on which [INFO] [stdout] ... | [INFO] [stdout] 131 | | pub static ref MANAGER: Mutex> = Mutex::new(None); [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_internal` which comes from the expansion of the macro `lazy_static::lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> src/matching.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / pub enum MatchResult { [INFO] [stdout] 25 | | /// Match result where the request was successfully matched. Stores the expected request, [INFO] [stdout] 26 | | /// response returned and the actual request that was received. [INFO] [stdout] 27 | | RequestMatch(HttpRequest, HttpResponse, HttpRequest), [INFO] [stdout] | | ---------------------------------------------------- the largest variant contains at least 1040 bytes [INFO] [stdout] ... | [INFO] [stdout] 30 | | RequestMismatch(HttpRequest, HttpRequest, Vec), [INFO] [stdout] | | -------------------------------------------------------- the second-largest variant contains at least 776 bytes [INFO] [stdout] ... | [INFO] [stdout] 34 | | MissingRequest(HttpRequest) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ the entire enum is at least 1040 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] = note: `#[warn(clippy::large_enum_variant)]` on by default [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 27 - RequestMatch(HttpRequest, HttpResponse, HttpRequest), [INFO] [stdout] 27 + RequestMatch(HttpRequest, HttpResponse, Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you don't need to add `&` to all patterns [INFO] [stdout] --> src/matching.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / match self { [INFO] [stdout] 41 | | &MatchResult::RequestMatch(_, _, _) => "Request-Matched", [INFO] [stdout] 42 | | &MatchResult::RequestMismatch(_, _, _) => "Request-Mismatch", [INFO] [stdout] 43 | | &MatchResult::RequestNotFound(_) => "Unexpected-Request", [INFO] [stdout] 44 | | &MatchResult::MissingRequest(_) => "Missing-Request" [INFO] [stdout] 45 | | }.to_string() [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stdout] = note: `#[warn(clippy::match_ref_pats)]` on by default [INFO] [stdout] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stdout] | [INFO] [stdout] 40 ~ match *self { [INFO] [stdout] 41 ~ MatchResult::RequestMatch(_, _, _) => "Request-Matched", [INFO] [stdout] 42 ~ MatchResult::RequestMismatch(_, _, _) => "Request-Mismatch", [INFO] [stdout] 43 ~ MatchResult::RequestNotFound(_) => "Unexpected-Request", [INFO] [stdout] 44 ~ MatchResult::MissingRequest(_) => "Missing-Request" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/matching.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / match self { [INFO] [stdout] 51 | | &MatchResult::RequestMatch(_, _, _) => true, [INFO] [stdout] 52 | | _ => false [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 50 - match self { [INFO] [stdout] 51 - &MatchResult::RequestMatch(_, _, _) => true, [INFO] [stdout] 52 - _ => false [INFO] [stdout] 53 - } [INFO] [stdout] 50 + matches!(self, &MatchResult::RequestMatch(_, _, _)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/matching.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | fn mismatches_to_json(request: &HttpRequest, mismatches: &Vec) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 108 - fn mismatches_to_json(request: &HttpRequest, mismatches: &Vec) -> serde_json::Value { [INFO] [stdout] 108 + fn mismatches_to_json(request: &HttpRequest, mismatches: &[Mismatch]) -> serde_json::Value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/mock_server.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | / impl Default for MockServerScheme { [INFO] [stdout] 173 | | fn default() -> Self { [INFO] [stdout] 174 | | MockServerScheme::HTTP [INFO] [stdout] 175 | | } [INFO] [stdout] 176 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 165 + #[derive(Default)] [INFO] [stdout] 166 | pub enum MockServerScheme { [INFO] [stdout] 167 | /// HTTP [INFO] [stdout] 168 ~ #[default] [INFO] [stdout] 169 ~ HTTP, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> src/mock_server.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / pub enum MockServerEvent { [INFO] [stdout] 209 | | /// Connection failed with error [INFO] [stdout] 210 | | ConnectionFailed(String), [INFO] [stdout] | | ------------------------ the second-largest variant contains at least 24 bytes [INFO] [stdout] 211 | | /// Request received with path [INFO] [stdout] ... | [INFO] [stdout] 214 | | RequestMatch(MatchResult), [INFO] [stdout] | | ------------------------- the largest variant contains at least 1040 bytes [INFO] [stdout] 215 | | /// Server is shutting down [INFO] [stdout] 216 | | ServerShutdown [INFO] [stdout] 217 | | } [INFO] [stdout] | |_^ the entire enum is at least 1040 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 214 - RequestMatch(MatchResult), [INFO] [stdout] 214 + RequestMatch(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `SocketAddr` which implements the `Copy` trait [INFO] [stdout] --> src/mock_server.rs:251:16 [INFO] [stdout] | [INFO] [stdout] 251 | address: self.address.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.address` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `PactSpecification` which implements the `Copy` trait [INFO] [stdout] --> src/mock_server.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | spec_version: self.spec_version.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.spec_version` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `ServerManager` [INFO] [stdout] --> src/server_manager.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | / pub fn new() -> ServerManager { [INFO] [stdout] 68 | | ServerManager { [INFO] [stdout] 69 | | runtime: tokio::runtime::Builder::new_multi_thread() [INFO] [stdout] 70 | | .enable_all() [INFO] [stdout] ... | [INFO] [stdout] 75 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 64 + impl Default for ServerManager { [INFO] [stdout] 65 + fn default() -> Self { [INFO] [stdout] 66 + Self::new() [INFO] [stdout] 67 + } [INFO] [stdout] 68 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_none()` [INFO] [stdout] --> src/server_manager.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | if let None = interaction.transport() { [INFO] [stdout] | -------^^^^-------------------------- help: try: `if interaction.transport().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> src/server_manager.rs:253:65 [INFO] [stdout] | [INFO] [stdout] 253 | self.start_mock_server_with_addr(id, pact, ([0, 0, 0, 0], port as u16).into(), config) [INFO] [stdout] | ^^^^^^^^^^^ help: try: `port` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> src/server_manager.rs:300:69 [INFO] [stdout] | [INFO] [stdout] 300 | self.start_tls_mock_server_with_addr(id, pact, ([0, 0, 0, 0], port as u16).into(), tls, config) [INFO] [stdout] | ^^^^^^^^^^^ help: try: `port` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_none()` [INFO] [stdout] --> src/server_manager.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | if let None = interaction.transport() { [INFO] [stdout] | -------^^^^-------------------------- help: try: `if interaction.transport().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/server_manager.rs:452:8 [INFO] [stdout] | [INFO] [stdout] 452 | f: &dyn Fn(&ServerManager, &String, Either<&MockServer, &PluginMockServer>) -> R [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/server_manager.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | return results; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 505 - return results; [INFO] [stdout] 505 + results [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/legacy/mod.rs:414:6 [INFO] [stdout] | [INFO] [stdout] 414 | f: &dyn Fn(&ServerManager, &String, Either<&MockServer, &PluginMockServer>) -> R [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `MockServerBuilder` [INFO] [stdout] --> src/builder.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | / pub fn new() -> Self { [INFO] [stdout] 33 | | configure_core_catalogue(); [INFO] [stdout] 34 | | pact_matching::matchingrules::configure_core_catalogue(); [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 30 + impl Default for MockServerBuilder { [INFO] [stdout] 31 + fn default() -> Self { [INFO] [stdout] 32 + Self::new() [INFO] [stdout] 33 + } [INFO] [stdout] 34 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/builder.rs:228:44 [INFO] [stdout] | [INFO] [stdout] 228 | let manager = guard.get_or_insert_with(|| ServerManager::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `ServerManager::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same postfix: `Error` [INFO] [stdout] --> src/hyper_server.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / pub(crate) enum InteractionError { [INFO] [stdout] 50 | | RequestHeaderEncodingError, [INFO] [stdout] 51 | | RequestBodyError, [INFO] [stdout] 52 | | ResponseHeaderEncodingError, [INFO] [stdout] 53 | | ResponseBodyError [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the postfixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> src/hyper_server.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | while let Some(_) = join_set.join_next().await {}; [INFO] [stdout] | ----------^^^^^^^----------------------------- help: try: `while join_set.join_next().await.is_some()` [INFO] [stdout] | [INFO] [stdout] = note: this will change drop order of the result, as well as all temporaries [INFO] [stdout] = note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> src/matching.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / pub enum MatchResult { [INFO] [stdout] 25 | | /// Match result where the request was successfully matched. Stores the expected request, [INFO] [stdout] 26 | | /// response returned and the actual request that was received. [INFO] [stdout] 27 | | RequestMatch(HttpRequest, HttpResponse, HttpRequest), [INFO] [stdout] | | ---------------------------------------------------- the largest variant contains at least 1040 bytes [INFO] [stdout] ... | [INFO] [stdout] 30 | | RequestMismatch(HttpRequest, HttpRequest, Vec), [INFO] [stdout] | | -------------------------------------------------------- the second-largest variant contains at least 776 bytes [INFO] [stdout] ... | [INFO] [stdout] 34 | | MissingRequest(HttpRequest) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ the entire enum is at least 1040 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] = note: `#[warn(clippy::large_enum_variant)]` on by default [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 27 - RequestMatch(HttpRequest, HttpResponse, HttpRequest), [INFO] [stdout] 27 + RequestMatch(HttpRequest, HttpResponse, Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you don't need to add `&` to all patterns [INFO] [stdout] --> src/matching.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / match self { [INFO] [stdout] 41 | | &MatchResult::RequestMatch(_, _, _) => "Request-Matched", [INFO] [stdout] 42 | | &MatchResult::RequestMismatch(_, _, _) => "Request-Mismatch", [INFO] [stdout] 43 | | &MatchResult::RequestNotFound(_) => "Unexpected-Request", [INFO] [stdout] 44 | | &MatchResult::MissingRequest(_) => "Missing-Request" [INFO] [stdout] 45 | | }.to_string() [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stdout] = note: `#[warn(clippy::match_ref_pats)]` on by default [INFO] [stdout] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stdout] | [INFO] [stdout] 40 ~ match *self { [INFO] [stdout] 41 ~ MatchResult::RequestMatch(_, _, _) => "Request-Matched", [INFO] [stdout] 42 ~ MatchResult::RequestMismatch(_, _, _) => "Request-Mismatch", [INFO] [stdout] 43 ~ MatchResult::RequestNotFound(_) => "Unexpected-Request", [INFO] [stdout] 44 ~ MatchResult::MissingRequest(_) => "Missing-Request" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/matching.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / match self { [INFO] [stdout] 51 | | &MatchResult::RequestMatch(_, _, _) => true, [INFO] [stdout] 52 | | _ => false [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 50 - match self { [INFO] [stdout] 51 - &MatchResult::RequestMatch(_, _, _) => true, [INFO] [stdout] 52 - _ => false [INFO] [stdout] 53 - } [INFO] [stdout] 50 + matches!(self, &MatchResult::RequestMatch(_, _, _)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/matching.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | fn mismatches_to_json(request: &HttpRequest, mismatches: &Vec) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 108 - fn mismatches_to_json(request: &HttpRequest, mismatches: &Vec) -> serde_json::Value { [INFO] [stdout] 108 + fn mismatches_to_json(request: &HttpRequest, mismatches: &[Mismatch]) -> serde_json::Value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/mock_server.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | / impl Default for MockServerScheme { [INFO] [stdout] 173 | | fn default() -> Self { [INFO] [stdout] 174 | | MockServerScheme::HTTP [INFO] [stdout] 175 | | } [INFO] [stdout] 176 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 165 + #[derive(Default)] [INFO] [stdout] 166 | pub enum MockServerScheme { [INFO] [stdout] 167 | /// HTTP [INFO] [stdout] 168 ~ #[default] [INFO] [stdout] 169 ~ HTTP, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> src/hyper_server.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | while let Some(_) = join_set.join_next().await {}; [INFO] [stdout] | ----------^^^^^^^----------------------------- help: try: `while join_set.join_next().await.is_some()` [INFO] [stdout] | [INFO] [stdout] = note: this will change drop order of the result, as well as all temporaries [INFO] [stdout] = note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> src/mock_server.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / pub enum MockServerEvent { [INFO] [stdout] 209 | | /// Connection failed with error [INFO] [stdout] 210 | | ConnectionFailed(String), [INFO] [stdout] | | ------------------------ the second-largest variant contains at least 24 bytes [INFO] [stdout] 211 | | /// Request received with path [INFO] [stdout] ... | [INFO] [stdout] 214 | | RequestMatch(MatchResult), [INFO] [stdout] | | ------------------------- the largest variant contains at least 1040 bytes [INFO] [stdout] 215 | | /// Server is shutting down [INFO] [stdout] 216 | | ServerShutdown [INFO] [stdout] 217 | | } [INFO] [stdout] | |_^ the entire enum is at least 1040 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 214 - RequestMatch(MatchResult), [INFO] [stdout] 214 + RequestMatch(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `SocketAddr` which implements the `Copy` trait [INFO] [stdout] --> src/mock_server.rs:251:16 [INFO] [stdout] | [INFO] [stdout] 251 | address: self.address.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.address` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `PactSpecification` which implements the `Copy` trait [INFO] [stdout] --> src/mock_server.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | spec_version: self.spec_version.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.spec_version` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_err()` [INFO] [stdout] --> src/hyper_server.rs:287:10 [INFO] [stdout] | [INFO] [stdout] 287 | if let Err(_) = event_send.send(MockServerEvent::RequestReceived(path)).await { [INFO] [stdout] | -------^^^^^^---------------------------------------------------------------- help: try: `if event_send.send(MockServerEvent::RequestReceived(path)).await.is_err()` [INFO] [stdout] | [INFO] [stdout] = note: this will change drop order of the result, as well as all temporaries [INFO] [stdout] = note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_err()` [INFO] [stdout] --> src/hyper_server.rs:325:10 [INFO] [stdout] | [INFO] [stdout] 325 | if let Err(_) = event_send.send(MockServerEvent::RequestMatch(match_result.clone())).await { [INFO] [stdout] | -------^^^^^^----------------------------------------------------------------------------- help: try: `if event_send.send(MockServerEvent::RequestMatch(match_result.clone())).await.is_err()` [INFO] [stdout] | [INFO] [stdout] = note: this will change drop order of the result, as well as all temporaries [INFO] [stdout] = note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/hyper_server.rs:397:6 [INFO] [stdout] | [INFO] [stdout] 397 | if bytes.len() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!bytes.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hyper_server.rs:519:50 [INFO] [stdout] | [INFO] [stdout] 519 | .body(Full::new(Bytes::from(error_body(&request, &match_result.match_key())))) [INFO] [stdout] | ^^^^^^^^ help: change this to: `request` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/hyper_server.rs:528:3 [INFO] [stdout] | [INFO] [stdout] 528 | / match headers { [INFO] [stdout] 529 | | Some(header_map) => { [INFO] [stdout] 530 | | for (k, v) in header_map { [INFO] [stdout] 531 | | for val in v { [INFO] [stdout] ... | [INFO] [stdout] 547 | | _ => {} [INFO] [stdout] 548 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 528 ~ if let Some(header_map) = headers { [INFO] [stdout] 529 + for (k, v) in header_map { [INFO] [stdout] 530 + for val in v { [INFO] [stdout] 531 + hyper_headers.append( [INFO] [stdout] 532 + HeaderName::from_bytes(k.as_bytes()) [INFO] [stdout] 533 + .map_err(|err| { [INFO] [stdout] 534 + error!("Invalid header name '{}' ({})", k, err); [INFO] [stdout] 535 + InteractionError::ResponseHeaderEncodingError [INFO] [stdout] 536 + })?, [INFO] [stdout] 537 + val.parse::() [INFO] [stdout] 538 + .map_err(|err| { [INFO] [stdout] 539 + error!("Invalid header value '{}': '{}' ({})", k, val, err); [INFO] [stdout] 540 + InteractionError::ResponseHeaderEncodingError [INFO] [stdout] 541 + })? [INFO] [stdout] 542 + ); [INFO] [stdout] 543 + } [INFO] [stdout] 544 + } [INFO] [stdout] 545 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `ServerManager` [INFO] [stdout] --> src/server_manager.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | / pub fn new() -> ServerManager { [INFO] [stdout] 68 | | ServerManager { [INFO] [stdout] 69 | | runtime: tokio::runtime::Builder::new_multi_thread() [INFO] [stdout] 70 | | .enable_all() [INFO] [stdout] ... | [INFO] [stdout] 75 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 64 + impl Default for ServerManager { [INFO] [stdout] 65 + fn default() -> Self { [INFO] [stdout] 66 + Self::new() [INFO] [stdout] 67 + } [INFO] [stdout] 68 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_none()` [INFO] [stdout] --> src/server_manager.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | if let None = interaction.transport() { [INFO] [stdout] | -------^^^^-------------------------- help: try: `if interaction.transport().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> src/server_manager.rs:253:65 [INFO] [stdout] | [INFO] [stdout] 253 | self.start_mock_server_with_addr(id, pact, ([0, 0, 0, 0], port as u16).into(), config) [INFO] [stdout] | ^^^^^^^^^^^ help: try: `port` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> src/server_manager.rs:300:69 [INFO] [stdout] | [INFO] [stdout] 300 | self.start_tls_mock_server_with_addr(id, pact, ([0, 0, 0, 0], port as u16).into(), tls, config) [INFO] [stdout] | ^^^^^^^^^^^ help: try: `port` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_none()` [INFO] [stdout] --> src/server_manager.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | if let None = interaction.transport() { [INFO] [stdout] | -------^^^^-------------------------- help: try: `if interaction.transport().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/server_manager.rs:452:8 [INFO] [stdout] | [INFO] [stdout] 452 | f: &dyn Fn(&ServerManager, &String, Either<&MockServer, &PluginMockServer>) -> R [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/server_manager.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | return results; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 505 - return results; [INFO] [stdout] 505 + results [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/legacy/mod.rs:414:6 [INFO] [stdout] | [INFO] [stdout] 414 | f: &dyn Fn(&ServerManager, &String, Either<&MockServer, &PluginMockServer>) -> R [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `MockServerBuilder` [INFO] [stdout] --> src/builder.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | / pub fn new() -> Self { [INFO] [stdout] 33 | | configure_core_catalogue(); [INFO] [stdout] 34 | | pact_matching::matchingrules::configure_core_catalogue(); [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 30 + impl Default for MockServerBuilder { [INFO] [stdout] 31 + fn default() -> Self { [INFO] [stdout] 32 + Self::new() [INFO] [stdout] 33 + } [INFO] [stdout] 34 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/builder.rs:228:44 [INFO] [stdout] | [INFO] [stdout] 228 | let manager = guard.get_or_insert_with(|| ServerManager::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `ServerManager::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/builder.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | if !std::env::var("NO_IP6").is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::env::var("NO_IP6").is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same postfix: `Error` [INFO] [stdout] --> src/hyper_server.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / pub(crate) enum InteractionError { [INFO] [stdout] 50 | | RequestHeaderEncodingError, [INFO] [stdout] 51 | | RequestBodyError, [INFO] [stdout] 52 | | ResponseHeaderEncodingError, [INFO] [stdout] 53 | | ResponseBodyError [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the postfixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> src/hyper_server.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | while let Some(_) = join_set.join_next().await {}; [INFO] [stdout] | ----------^^^^^^^----------------------------- help: try: `while join_set.join_next().await.is_some()` [INFO] [stdout] | [INFO] [stdout] = note: this will change drop order of the result, as well as all temporaries [INFO] [stdout] = note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> src/hyper_server.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | while let Some(_) = join_set.join_next().await {}; [INFO] [stdout] | ----------^^^^^^^----------------------------- help: try: `while join_set.join_next().await.is_some()` [INFO] [stdout] | [INFO] [stdout] = note: this will change drop order of the result, as well as all temporaries [INFO] [stdout] = note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_err()` [INFO] [stdout] --> src/hyper_server.rs:287:10 [INFO] [stdout] | [INFO] [stdout] 287 | if let Err(_) = event_send.send(MockServerEvent::RequestReceived(path)).await { [INFO] [stdout] | -------^^^^^^---------------------------------------------------------------- help: try: `if event_send.send(MockServerEvent::RequestReceived(path)).await.is_err()` [INFO] [stdout] | [INFO] [stdout] = note: this will change drop order of the result, as well as all temporaries [INFO] [stdout] = note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_err()` [INFO] [stdout] --> src/hyper_server.rs:325:10 [INFO] [stdout] | [INFO] [stdout] 325 | if let Err(_) = event_send.send(MockServerEvent::RequestMatch(match_result.clone())).await { [INFO] [stdout] | -------^^^^^^----------------------------------------------------------------------------- help: try: `if event_send.send(MockServerEvent::RequestMatch(match_result.clone())).await.is_err()` [INFO] [stdout] | [INFO] [stdout] = note: this will change drop order of the result, as well as all temporaries [INFO] [stdout] = note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/hyper_server.rs:397:6 [INFO] [stdout] | [INFO] [stdout] 397 | if bytes.len() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!bytes.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hyper_server.rs:519:50 [INFO] [stdout] | [INFO] [stdout] 519 | .body(Full::new(Bytes::from(error_body(&request, &match_result.match_key())))) [INFO] [stdout] | ^^^^^^^^ help: change this to: `request` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/hyper_server.rs:528:3 [INFO] [stdout] | [INFO] [stdout] 528 | / match headers { [INFO] [stdout] 529 | | Some(header_map) => { [INFO] [stdout] 530 | | for (k, v) in header_map { [INFO] [stdout] 531 | | for val in v { [INFO] [stdout] ... | [INFO] [stdout] 547 | | _ => {} [INFO] [stdout] 548 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 528 ~ if let Some(header_map) = headers { [INFO] [stdout] 529 + for (k, v) in header_map { [INFO] [stdout] 530 + for val in v { [INFO] [stdout] 531 + hyper_headers.append( [INFO] [stdout] 532 + HeaderName::from_bytes(k.as_bytes()) [INFO] [stdout] 533 + .map_err(|err| { [INFO] [stdout] 534 + error!("Invalid header name '{}' ({})", k, err); [INFO] [stdout] 535 + InteractionError::ResponseHeaderEncodingError [INFO] [stdout] 536 + })?, [INFO] [stdout] 537 + val.parse::() [INFO] [stdout] 538 + .map_err(|err| { [INFO] [stdout] 539 + error!("Invalid header value '{}': '{}' ({})", k, val, err); [INFO] [stdout] 540 + InteractionError::ResponseHeaderEncodingError [INFO] [stdout] 541 + })? [INFO] [stdout] 542 + ); [INFO] [stdout] 543 + } [INFO] [stdout] 544 + } [INFO] [stdout] 545 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "70b788aa640e25cbe97ae1d676c71c9d0328745835e553eeeb4d5f7be07fff53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70b788aa640e25cbe97ae1d676c71c9d0328745835e553eeeb4d5f7be07fff53", kill_on_drop: false }` [INFO] [stdout] 70b788aa640e25cbe97ae1d676c71c9d0328745835e553eeeb4d5f7be07fff53