[INFO] updating cached repository uglyog/pact-stub-server [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/uglyog/pact-stub-server [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/uglyog/pact-stub-server" "work/ex/beta-1.38-1/sources/1.37.0/gh/uglyog/pact-stub-server"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/uglyog/pact-stub-server'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/uglyog/pact-stub-server" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/uglyog/pact-stub-server"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/uglyog/pact-stub-server'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 828aaa7840ea693e5bdebd4610a64c44509563a1 [INFO] sha for GitHub repo uglyog/pact-stub-server: 828aaa7840ea693e5bdebd4610a64c44509563a1 [INFO] validating manifest of uglyog/pact-stub-server 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 uglyog/pact-stub-server 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 uglyog/pact-stub-server [INFO] finished frobbing uglyog/pact-stub-server [INFO] frobbed toml for uglyog/pact-stub-server written to work/ex/beta-1.38-1/sources/1.37.0/gh/uglyog/pact-stub-server/Cargo.toml [INFO] started frobbing uglyog/pact-stub-server [INFO] finished frobbing uglyog/pact-stub-server [INFO] frobbed toml for uglyog/pact-stub-server written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/uglyog/pact-stub-server/Cargo.toml [INFO] crate uglyog/pact-stub-server already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/uglyog/pact-stub-server/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [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 uglyog/pact-stub-server against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/uglyog/pact-stub-server:/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] a7d2dc414522a0596bf1584e39c2618b8100237064effc18fe135cdc69622620 [INFO] running `"docker" "start" "-a" "a7d2dc414522a0596bf1584e39c2618b8100237064effc18fe135cdc69622620"` [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling typed-arena v1.5.0 [INFO] [stderr] Compiling maplit v0.1.6 [INFO] [stderr] Compiling difference v1.0.0 [INFO] [stderr] Compiling indextree v1.3.0 [INFO] [stderr] Compiling semver v0.7.0 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling miniz_oxide v0.3.2 [INFO] [stderr] Compiling base64 v0.7.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling sxd-document v0.2.6 [INFO] [stderr] Compiling simplelog v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling rand_regex v0.12.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling parse-zoneinfo v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling flate2 v1.0.11 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling chrono-tz v0.4.1 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.19 [INFO] [stderr] Compiling pact_matching v0.5.3 [INFO] [stderr] Compiling pact-stub-server v0.2.3 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:149:17 [INFO] [stderr] | [INFO] [stderr] 149 | 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:72:35 [INFO] [stderr] | [INFO] [stderr] 72 | headers: Some(hashmap!{ [INFO] [stderr] | ___________________________________^ [INFO] [stderr] 73 | | s!("Access-Control-Allow-Headers") => s!("authorization,Content-Type"), [INFO] [stderr] 74 | | s!("Access-Control-Allow-Methods") => s!("GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH"), [INFO] [stderr] 75 | | s!("Access-Control-Allow-Origin") => s!("*") [INFO] [stderr] 76 | | }), [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:100:41 [INFO] [stderr] | [INFO] [stderr] 100 | 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" "a7d2dc414522a0596bf1584e39c2618b8100237064effc18fe135cdc69622620"` [INFO] running `"docker" "rm" "-f" "a7d2dc414522a0596bf1584e39c2618b8100237064effc18fe135cdc69622620"` [INFO] [stdout] a7d2dc414522a0596bf1584e39c2618b8100237064effc18fe135cdc69622620