[INFO] crate pact-stub-server 0.3.0 is already in cache [INFO] extracting crate pact-stub-server 0.3.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/pact-stub-server/0.3.0 [INFO] extracting crate pact-stub-server 0.3.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/pact-stub-server/0.3.0 [INFO] validating manifest of pact-stub-server-0.3.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of pact-stub-server-0.3.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing pact-stub-server-0.3.0 [INFO] finished frobbing pact-stub-server-0.3.0 [INFO] frobbed toml for pact-stub-server-0.3.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/pact-stub-server/0.3.0/Cargo.toml [INFO] started frobbing pact-stub-server-0.3.0 [INFO] finished frobbing pact-stub-server-0.3.0 [INFO] frobbed toml for pact-stub-server-0.3.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/pact-stub-server/0.3.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing pact-stub-server-0.3.0 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/pact-stub-server/0.3.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 1434859b9a71572e58860be516c252ab883c4e63948019c590ad35c130df70a4 [INFO] running `"docker" "start" "-a" "1434859b9a71572e58860be516c252ab883c4e63948019c590ad35c130df70a4"` [INFO] [stderr] Compiling simplelog v0.4.4 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling reqwest v0.9.20 [INFO] [stderr] Compiling pact_matching v0.5.3 [INFO] [stderr] Compiling pact-stub-server v0.3.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:163:17 [INFO] [stderr] | [INFO] [stderr] 163 | future: Box, Error=HyperError> + Send> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=HyperError> + Send` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/pact_support.rs:30:18 [INFO] [stderr] | [INFO] [stderr] 30 | headers: extract_headers(&req.headers), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option>>` [INFO] [stderr] found type `std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `http::HeaderValue: http::HttpTryFrom>` is not satisfied [INFO] [stderr] --> src/pact_support.rs:48:25 [INFO] [stderr] | [INFO] [stderr] 48 | res.header(k.as_str(), v); [INFO] [stderr] | ^^^^^^ the trait `http::HttpTryFrom>` is not implemented for `http::HeaderValue` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] and 12 others [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/server.rs:74:35 [INFO] [stderr] | [INFO] [stderr] 74 | headers: Some(hashmap!{ [INFO] [stderr] | ___________________________________^ [INFO] [stderr] 75 | | s!("Access-Control-Allow-Headers") => s!("authorization,Content-Type"), [INFO] [stderr] 76 | | s!("Access-Control-Allow-Methods") => s!("GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH"), [INFO] [stderr] 77 | | s!("Access-Control-Allow-Origin") => s!("*") [INFO] [stderr] 78 | | }), [INFO] [stderr] | |___________________^ expected struct `std::vec::Vec`, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::collections::HashMap<_, std::vec::Vec>` [INFO] [stderr] found type `std::collections::HashMap<_, std::string::String>` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/server.rs:102:41 [INFO] [stderr] | [INFO] [stderr] 102 | response.headers = Some(hashmap!{ s!("Access-Control-Allow-Origin") => s!("*") }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::collections::HashMap<_, std::vec::Vec>` [INFO] [stderr] found type `std::collections::HashMap<_, std::string::String>` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `pact-stub-server`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1434859b9a71572e58860be516c252ab883c4e63948019c590ad35c130df70a4"` [INFO] running `"docker" "rm" "-f" "1434859b9a71572e58860be516c252ab883c4e63948019c590ad35c130df70a4"` [INFO] [stdout] 1434859b9a71572e58860be516c252ab883c4e63948019c590ad35c130df70a4