[INFO] updating cached repository goyox86/customer_locator [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/goyox86/customer_locator [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/goyox86/customer_locator" "work/ex/beta-1.38-1/sources/1.37.0/gh/goyox86/customer_locator"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/goyox86/customer_locator'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/goyox86/customer_locator" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/goyox86/customer_locator"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/goyox86/customer_locator'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c163e93a885b340146b8506fd33247d1060fe7ef [INFO] sha for GitHub repo goyox86/customer_locator: c163e93a885b340146b8506fd33247d1060fe7ef [INFO] validating manifest of goyox86/customer_locator 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 goyox86/customer_locator 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 goyox86/customer_locator [INFO] finished frobbing goyox86/customer_locator [INFO] frobbed toml for goyox86/customer_locator written to work/ex/beta-1.38-1/sources/1.37.0/gh/goyox86/customer_locator/Cargo.toml [INFO] started frobbing goyox86/customer_locator [INFO] finished frobbing goyox86/customer_locator [INFO] frobbed toml for goyox86/customer_locator written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/goyox86/customer_locator/Cargo.toml [INFO] crate goyox86/customer_locator 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] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing goyox86/customer_locator 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-4/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/goyox86/customer_locator:/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] 3dbfb7177b7f108a45e1931bc34df4720f7010a115799f65de369be129e79f8d [INFO] running `"docker" "start" "-a" "3dbfb7177b7f108a45e1931bc34df4720f7010a115799f65de369be129e79f8d"` [INFO] [stderr] Compiling serde_codegen_internals v0.14.1 [INFO] [stderr] Compiling serde_derive v0.9.11 [INFO] [stderr] Compiling customer_locator v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/customer_json_file.rs:94:32 [INFO] [stderr] | [INFO] [stderr] 94 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/location.rs:171:32 [INFO] [stderr] | [INFO] [stderr] 171 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.03s [INFO] running `"docker" "inspect" "3dbfb7177b7f108a45e1931bc34df4720f7010a115799f65de369be129e79f8d"` [INFO] running `"docker" "rm" "-f" "3dbfb7177b7f108a45e1931bc34df4720f7010a115799f65de369be129e79f8d"` [INFO] [stdout] 3dbfb7177b7f108a45e1931bc34df4720f7010a115799f65de369be129e79f8d [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/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/goyox86/customer_locator:/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" "test" "--frozen" "--no-run"` [INFO] [stdout] b72684c08dc1ae6b1c414e2eab2dc1eab7eca94c7ca15ff96befdf0cb2ffa5e0 [INFO] running `"docker" "start" "-a" "b72684c08dc1ae6b1c414e2eab2dc1eab7eca94c7ca15ff96befdf0cb2ffa5e0"` [INFO] [stderr] Compiling customer_locator v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/customer_locator.rs:168:36 [INFO] [stderr] | [INFO] [stderr] 168 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/customer_json_file.rs:94:32 [INFO] [stderr] | [INFO] [stderr] 94 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/location.rs:171:32 [INFO] [stderr] | [INFO] [stderr] 171 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.10s [INFO] running `"docker" "inspect" "b72684c08dc1ae6b1c414e2eab2dc1eab7eca94c7ca15ff96befdf0cb2ffa5e0"` [INFO] running `"docker" "rm" "-f" "b72684c08dc1ae6b1c414e2eab2dc1eab7eca94c7ca15ff96befdf0cb2ffa5e0"` [INFO] [stdout] b72684c08dc1ae6b1c414e2eab2dc1eab7eca94c7ca15ff96befdf0cb2ffa5e0 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/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/goyox86/customer_locator:/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" "test" "--frozen"` [INFO] [stdout] 41c36d864808fba8a16b99140cb895094d8e21a61c28f0a5ee999eee1bad38ec [INFO] running `"docker" "start" "-a" "41c36d864808fba8a16b99140cb895094d8e21a61c28f0a5ee999eee1bad38ec"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/crater/target/debug/deps/customer_locator-28c56c7d08996ca4 [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test customer::tests::customer_list_from_vec_builds_a_correct_instance ... ok [INFO] [stdout] test customer::tests::customer_list_sort_by_user_id_sorts_the_list_in_place ... ok [INFO] [stdout] test customer::tests::customer_distance_from_calculates_distance_between_diff_points_long ... ok [INFO] [stdout] test customer::tests::customer_distance_from_calculates_distance_same_point ... ok [INFO] [stdout] test customer::tests::customer_location_returns_a_correct_instance_of_location ... ok [INFO] [stdout] test customer::tests::customer_new_builds_a_correct_instance ... ok [INFO] [stdout] test customer_json_file::tests::customer_json_file_returns_io_error_when_io_occurs ... ok [INFO] [stdout] test customer_locator::tests::from_source_builds_a_correct_instance_from_any_type_impl_datasource ... ok [INFO] [stdout] test customer_json_file::tests::customer_json_file_returns_json_error_when_malformed_json_occurs ... ok [INFO] [stdout] test customer_locator::tests::locate_within_locates_the_users_within_the_give_radius ... ok [INFO] [stdout] test customer_json_file::tests::customer_json_file_builds_a_customer_list_from_a_json_file ... ok [INFO] [stdout] test location::tests::dublin_is_returns_an_instance_centered_at_dublin ... ok [INFO] [stdout] test customer_locator::tests::new_builds_a_correct_instance_from_a_customer_list ... ok [INFO] [stdout] test location::tests::distance_from_calculates_distance_between_diff_points_long ... ok [INFO] [stdout] test location::tests::distance_from_calculates_distance_same_point ... ok [INFO] [stdout] test customer_locator::tests::from_source_propagates_the_error_from_the_datasource ... ok [INFO] [stdout] test location::tests::from_str_fails_with_float_point_parse_err_only_lat_and_comma ... ok [INFO] [stdout] test location::tests::from_str_fails_with_float_point_parse_err_when_lat_is_not_a_float ... ok [INFO] [stdout] test location::tests::from_str_fails_with_float_point_parse_err_only_long_and_comma ... ok [INFO] [stdout] test location::tests::from_str_fails_with_float_point_parse_err_when_long_is_not_a_float ... ok [INFO] [stdout] test location::tests::new_builds_correct_instance ... ok [INFO] [stdout] test location::tests::from_str_fails_with_missing_coord_err_invalid_sep ... ok [INFO] [stdout] test units::tests::test_its_formatted_to_3_dec_precision_and_km_unit ... ok [INFO] [stdout] test location::tests::from_str_fails_with_missing_coord_when_only_one_coord ... ok [INFO] [stdout] test location::tests::from_str_returns_an_instance_centered_at_given_coordinates ... ok [INFO] [stdout] test location::tests::is_dublin_is_false_for_something_else_than_dublin ... ok [INFO] [stdout] test location::tests::is_dublin_is_true_for_dublin ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "41c36d864808fba8a16b99140cb895094d8e21a61c28f0a5ee999eee1bad38ec"` [INFO] running `"docker" "rm" "-f" "41c36d864808fba8a16b99140cb895094d8e21a61c28f0a5ee999eee1bad38ec"` [INFO] [stdout] 41c36d864808fba8a16b99140cb895094d8e21a61c28f0a5ee999eee1bad38ec