[INFO] cloning repository thoughtworks/candouble [INFO] running `"git" "clone" "--bare" "git://github.com/thoughtworks/candouble.git" "work/cache/sources/gh/thoughtworks/candouble"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/thoughtworks/candouble'... [INFO] running `"git" "clone" "work/cache/sources/gh/thoughtworks/candouble" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/thoughtworks/candouble"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/thoughtworks/candouble'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/thoughtworks/candouble" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/thoughtworks/candouble"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/thoughtworks/candouble'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] bf582f104b4be7a93e65996d100cf26dd4d2b71c [INFO] sha for GitHub repo thoughtworks/candouble: bf582f104b4be7a93e65996d100cf26dd4d2b71c [INFO] validating manifest of thoughtworks/candouble on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of thoughtworks/candouble on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing thoughtworks/candouble [INFO] finished frobbing thoughtworks/candouble [INFO] frobbed toml for thoughtworks/candouble written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/thoughtworks/candouble/Cargo.toml [INFO] started frobbing thoughtworks/candouble [INFO] finished frobbing thoughtworks/candouble [INFO] frobbed toml for thoughtworks/candouble written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/thoughtworks/candouble/Cargo.toml [INFO] crate thoughtworks/candouble already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-demangle v0.1.10 [INFO] [stderr] Downloaded serde_json v1.0.30 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing thoughtworks/candouble against master#c8865d8e195813ade6b84434ac9f8850e7112d1a for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/thoughtworks/candouble:/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=forbid" "-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" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "build" "--frozen"` [INFO] [stdout] 4e9553294028c8b0ea2d4ec3ecaa614275db055f9168c9741d90c05caffb6c4f [INFO] running `"docker" "start" "-a" "4e9553294028c8b0ea2d4ec3ecaa614275db055f9168c9741d90c05caffb6c4f"` [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling rustc-demangle v0.1.10 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling candouble v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Compiling backtrace-sys v0.1.26 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling serde_json v1.0.30 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling http v0.1.14 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling crossbeam-deque v0.6.2 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling backtrace v0.3.11 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling syn v0.15.6 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.9 [INFO] [stderr] Compiling h2 v0.1.14 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling tokio v0.1.13 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling gotham_derive v0.3.0 [INFO] [stderr] Compiling hyper v0.12.18 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Compiling borrow-bag v1.0.0 [INFO] [stderr] Compiling gotham v0.3.0 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/imposter.rs:63:72 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn run_with_adaptor(id: u32, mut list: ImposterList, adaptor: &mut CANAdaptor) { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn CANAdaptor` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/can/dummy.rs:10:32 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new() -> Result, &'static str> { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn CANAdaptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/can/mod.rs:62:39 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn create_adaptor() -> Result, &'static str> { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn CANAdaptor` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 24s [INFO] running `"docker" "inspect" "4e9553294028c8b0ea2d4ec3ecaa614275db055f9168c9741d90c05caffb6c4f"` [INFO] running `"docker" "rm" "-f" "4e9553294028c8b0ea2d4ec3ecaa614275db055f9168c9741d90c05caffb6c4f"` [INFO] [stdout] 4e9553294028c8b0ea2d4ec3ecaa614275db055f9168c9741d90c05caffb6c4f [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/thoughtworks/candouble:/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=forbid" "-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" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] d06881bd94e668e55fbbd4817768bf0ee953fe644a6e8af54c78cfd45bd3cf29 [INFO] running `"docker" "start" "-a" "d06881bd94e668e55fbbd4817768bf0ee953fe644a6e8af54c78cfd45bd3cf29"` [INFO] [stderr] Compiling candouble v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/imposter.rs:63:72 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn run_with_adaptor(id: u32, mut list: ImposterList, adaptor: &mut CANAdaptor) { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn CANAdaptor` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/can/dummy.rs:10:32 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new() -> Result, &'static str> { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn CANAdaptor` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/can/mod.rs:62:39 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn create_adaptor() -> Result, &'static str> { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn CANAdaptor` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.56s [INFO] running `"docker" "inspect" "d06881bd94e668e55fbbd4817768bf0ee953fe644a6e8af54c78cfd45bd3cf29"` [INFO] running `"docker" "rm" "-f" "d06881bd94e668e55fbbd4817768bf0ee953fe644a6e8af54c78cfd45bd3cf29"` [INFO] [stdout] d06881bd94e668e55fbbd4817768bf0ee953fe644a6e8af54c78cfd45bd3cf29 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/thoughtworks/candouble:/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=forbid" "-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" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "test" "--frozen"` [INFO] [stdout] 92bfb0f2930af613435da9492f6f2b95b4a54e81525aafc2f6783526624eb766 [INFO] running `"docker" "start" "-a" "92bfb0f2930af613435da9492f6f2b95b4a54e81525aafc2f6783526624eb766"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running /opt/crater/target/debug/deps/candouble-947346dfc1ed74d0 [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test can::tests::creates_message_with_content ... ok [INFO] [stdout] test imposter::tests::does_not_record_received_messages_by_default ... ok [INFO] [stdout] test controller::tests::upsert_differentiates_imposters_with_different_ids ... ok [INFO] [stdout] test controller::tests::upsert_replaces_existing_imposter_with_same_id ... ok [INFO] [stdout] test imposter::tests::adds_stub_from_json_definition ... ok [INFO] [stdout] test predicate::tests::does_not_match_when_data_matches_but_id_does_not ... ok [INFO] [stdout] test imposter::tests::returns_response_from_first_matching_stub ... ok [INFO] [stdout] test imposter::tests::records_received_messages_when_instructed ... ok [INFO] [stdout] test predicate::tests::does_not_match_when_id_matches_but_data_does_not ... ok [INFO] [stdout] test predicate::tests::does_not_match_if_id_is_not_equal ... ok [INFO] [stdout] test predicate::tests::pattern_does_not_match_value_when_decimal_number_is_not_equal ... ok [INFO] [stdout] test response::tests::creates_response_with_hex_id_and_data_from_template ... ok [INFO] [stdout] test predicate::tests::pattern_matches_value_when_decimal_number_is_equal ... ok [INFO] [stdout] test response::tests::parses_behavior_from_template ... ok [INFO] [stdout] test predicate::tests::pattern_matches_value_when_hexadecimal_number_is_equal ... ok [INFO] [stdout] test predicate::tests::pattern_matches_value_when_pattern_is_asterisk ... ok [INFO] [stdout] test predicate::tests::matches_when_id_and_literal_data_match ... ok [INFO] [stdout] test predicate::tests::matches_when_id_and_data_with_asterisk_match ... ok [INFO] [stdout] test stub::tests::cycles_through_multiple_responses ... ok [INFO] [stdout] test stub::tests::concat_behavior_concatenates_messages ... ok [INFO] [stdout] test predicate::tests::matches_if_id_is_equal ... ok [INFO] [stdout] test stub::tests::repeat_behavior_repeats_a_message ... ok [INFO] [stdout] test stub::tests::repeat_and_concat_behaviors_can_be_combined ... ok [INFO] [stdout] test stub::tests::drop_behavior_drops_a_message ... ok [INFO] [stdout] test stub::tests::wait_behavior_waits_before_responding ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/crater/target/debug/deps/candouble-1d84e68495a54937 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/crater/target/debug/deps/it_imposter-8463da00ffe0bbc3 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test it_stub_matches_when_all_predicates_are_true ... ok [INFO] [stderr] Running /opt/crater/target/debug/deps/it_webapi-ee0729c3eb80bf6c [INFO] [stdout] test it_stub_does_not_match_when_at_least_one_predicate_is_false ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] Webapi: imposters << {"id":1,"stubs":[]} [INFO] [stdout] test it_can_delete_imposter_by_id ... ok [INFO] [stdout] test it_imposter_contains_received_messages ... ok [INFO] [stdout] Webapi: imposters << {"id":1,"stubs":[]} [INFO] [stdout] test it_can_ping_api ... ok [INFO] [stdout] test it_can_post_to_update_imposter ... ok [INFO] [stdout] test it_returns_400_for_unparseable_json ... ok [INFO] [stdout] test it_can_get_imposter_by_id ... ok [INFO] [stdout] test it_can_get_all_imposters ... ok [INFO] [stdout] Webapi: imposters << {"id":1,"stubs":[{"predicates":[{"eq":{"id":"0x01"}}],"responses":[{"data":["0x17"],"id":"0x02"}]}]} [INFO] [stdout] test it_can_post_new_imposter ... ok [INFO] [stdout] test it_returns_404_for_non_existing_imposter ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests candouble [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "92bfb0f2930af613435da9492f6f2b95b4a54e81525aafc2f6783526624eb766"` [INFO] running `"docker" "rm" "-f" "92bfb0f2930af613435da9492f6f2b95b4a54e81525aafc2f6783526624eb766"` [INFO] [stdout] 92bfb0f2930af613435da9492f6f2b95b4a54e81525aafc2f6783526624eb766