[INFO] updating cached repository https://github.com/trafficland/counter [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3f30d2583eba4922a72b3ec885c831a2cf558067 [INFO] testing trafficland/counter against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrafficland%2Fcounter" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 76% (26/34) Checking out files: 79% (27/34) Checking out files: 82% (28/34) Checking out files: 85% (29/34) Checking out files: 88% (30/34) Checking out files: 91% (31/34) Checking out files: 94% (32/34) Checking out files: 97% (33/34) Checking out files: 100% (34/34) Checking out files: 100% (34/34), done. [INFO] validating manifest of git repo https://github.com/trafficland/counter on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/trafficland/counter [INFO] finished tweaking git repo https://github.com/trafficland/counter [INFO] tweaked toml for git repo https://github.com/trafficland/counter written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/trafficland/counter already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b09a4b2bed08551dd13353399a2ee710a0ebc39eebecd424030dd2d5b6ee59ed [INFO] running `"docker" "start" "-a" "b09a4b2bed08551dd13353399a2ee710a0ebc39eebecd424030dd2d5b6ee59ed"` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-integer v0.1.34 [INFO] [stderr] Compiling time v0.1.37 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling num_cpus v1.4.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling clap v2.23.3 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling elp v2.0.0 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling counter v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/record_handling.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/record_handling.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/aggregation_control.rs:24:39 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn run_aggregation(&mut self, mut filenames: &mut Vec) -> FileAggregation { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:96:52 [INFO] [stderr] | [INFO] [stderr] 96 | fn run(&mut self, num_file_aggregators: usize, mut filenames: &mut Vec) -> counter::FileAggregation { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `"docker" "inspect" "b09a4b2bed08551dd13353399a2ee710a0ebc39eebecd424030dd2d5b6ee59ed"` [INFO] running `"docker" "rm" "-f" "b09a4b2bed08551dd13353399a2ee710a0ebc39eebecd424030dd2d5b6ee59ed"` [INFO] [stdout] b09a4b2bed08551dd13353399a2ee710a0ebc39eebecd424030dd2d5b6ee59ed [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a37a80bc9ca093e7bf99c04e85df5f7fa78fe45e55e8c870edd05925ccc9a146 [INFO] running `"docker" "start" "-a" "a37a80bc9ca093e7bf99c04e85df5f7fa78fe45e55e8c870edd05925ccc9a146"` [INFO] [stderr] Compiling names v0.11.0 [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/record_handling.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/record_handling.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/aggregation_control.rs:24:39 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn run_aggregation(&mut self, mut filenames: &mut Vec) -> FileAggregation { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Compiling counter v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/file_handling.rs:332:40 [INFO] [stderr] | [INFO] [stderr] 332 | static TEST_DIR_SYNC: sync::Once = sync::ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/record_handling.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/record_handling.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:96:52 [INFO] [stderr] | [INFO] [stderr] 96 | fn run(&mut self, num_file_aggregators: usize, mut filenames: &mut Vec) -> counter::FileAggregation { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/file_handling.rs:355:23 [INFO] [stderr] | [INFO] [stderr] 355 | .map(|mut g| g.next().unwrap()) [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/aggregation_control.rs:24:39 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn run_aggregation(&mut self, mut filenames: &mut Vec) -> FileAggregation { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.43s [INFO] running `"docker" "inspect" "a37a80bc9ca093e7bf99c04e85df5f7fa78fe45e55e8c870edd05925ccc9a146"` [INFO] running `"docker" "rm" "-f" "a37a80bc9ca093e7bf99c04e85df5f7fa78fe45e55e8c870edd05925ccc9a146"` [INFO] [stdout] a37a80bc9ca093e7bf99c04e85df5f7fa78fe45e55e8c870edd05925ccc9a146 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 34d26b7a6b6d43b3fb959de4bf35bc9b515fb5f67cf597376fd92d713edbc528 [INFO] running `"docker" "start" "-a" "34d26b7a6b6d43b3fb959de4bf35bc9b515fb5f67cf597376fd92d713edbc528"` [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/file_handling.rs:332:40 [INFO] [stderr] | [INFO] [stderr] 332 | static TEST_DIR_SYNC: sync::Once = sync::ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/record_handling.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/record_handling.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/file_handling.rs:355:23 [INFO] [stderr] | [INFO] [stderr] 355 | .map(|mut g| g.next().unwrap()) [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/aggregation_control.rs:24:39 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn run_aggregation(&mut self, mut filenames: &mut Vec) -> FileAggregation { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/record_handling.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/record_handling.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/aggregation_control.rs:24:39 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn run_aggregation(&mut self, mut filenames: &mut Vec) -> FileAggregation { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:96:52 [INFO] [stderr] | [INFO] [stderr] 96 | fn run(&mut self, num_file_aggregators: usize, mut filenames: &mut Vec) -> counter::FileAggregation { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/counter-679625c032f700ad [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test aggregation_control::aggregation_controller_unit_tests::run_aggregation_sends_a_filename_to_the_correct_file_handler_when_there_is_a_filename ... ok [INFO] [stdout] test aggregation_control::aggregation_controller_unit_tests::run_aggregation_sends_done_msg_to_the_correct_file_handler_after_filenames_are_gone ... ok [INFO] [stdout] test aggregation_control::aggregation_controller_unit_tests::run_aggregation_returns_when_all_of_the_file_handlers_have_sent_their_aggs ... ok [INFO] [stdout] test aggregation_control::aggregation_controller_unit_tests::run_aggregation_sends_done_msg_to_the_correct_file_handler_when_there_are_no_filenames ... ok [INFO] [stdout] test file_handling::file_aggregator_process_file_tests::process_file_should_return_an_error_when_the_file_cannot_be_opened ... ok [INFO] [stdout] test file_handling::file_aggregator_run_tests::sends_a_next_message_after_starting_up ... ok [INFO] [stdout] test file_handling::file_aggregator_run_tests::sends_the_final_agg_after_receiving_the_done_message ... ok [INFO] [stdout] test record_handling::aggregate_record_tests::inserting_two_records_with_different_values_creates_two_entries_each_recorded_once ... ok [INFO] [stdout] test record_handling::aggregate_record_tests::inserting_two_records_with_the_same_values_increases_the_total_correctly ... ok [INFO] [stdout] test record_handling::merge_aggregates_tests::merge_aggregates_insert_the_src_aggs_into_dst_aggs_when_dst_aggs_is_empty ... ok [INFO] [stdout] test record_handling::parse_system_name_tests::parse_system_name_regex_returns_a_none_when_the_system_name_is_not_present ... ok [INFO] [stdout] test record_handling::handle_parsing_result_tests::handle_parsing_result_should_update_the_dst_agg_when_passed_good_records ... ok [INFO] [stderr] "" [INFO] [stdout] test record_handling::handle_parsing_result_tests::handle_parsing_result_should_not_alter_the_dst_agg_when_passed_bad_records ... ok [INFO] [stdout] test record_handling::merge_aggregates_tests::merge_aggregates_updates_the_dst_aggs_according_to_the_src_aggs ... ok [INFO] [stdout] test record_handling::parse_system_name_tests::parse_system_name_regex_returns_the_system_name_when_it_exists ... ok [INFO] [stdout] test file_handling::file_aggregator_process_file_tests::process_file_should_return_a_result_with_the_correct_number_of_processed_records ... ok [INFO] [stdout] test file_handling::file_aggregator_read_records::read_records ... ok [INFO] [stdout] test file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory ... FAILED [INFO] [stdout] test file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory stdout ---- [INFO] [stdout] thread 'file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory' panicked at 'called `Result::unwrap()` on an `Err` value: Error { depth: 0, inner: Io { path: Some("./int_tests/hurt-plastic"), err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }', src/file_handling.rs:310:25 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5647640b6764 - backtrace::backtrace::libunwind::trace::h61666fa4b9834a45 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5647640b6764 - backtrace::backtrace::trace_unsynchronized::h01d3725fb5da8653 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5647640b6764 - std::sys_common::backtrace::_print_fmt::h5c7c4751bc296f90 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5647640b6764 - ::fmt::h7729313ad2d729c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5647640e18ac - core::fmt::write::hb0049f6c12bdaffc [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x564763ee09f5 - std::io::Write::write_fmt::h5d052af13df32ea6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x5647640afc31 - std::io::impls::>::write_fmt::h8fe8a9bdc421b4b6 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x5647640b9595 - std::sys_common::backtrace::_print::ha087cac92e84a414 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5647640b9595 - std::sys_common::backtrace::print::h6b013d3bfe6cbcb8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5647640b9595 - std::panicking::default_hook::{{closure}}::h016d7de02def2736 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5647640b927b - std::panicking::default_hook::h9386f7e484840463 [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x5647640b9bf2 - std::panicking::rust_panic_with_hook::h3846eb1b2e5a9312 [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 12: 0x5647640b97db - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x5647640e02d1 - core::panicking::panic_fmt::hc5953a7331f9805c [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x5647640e00f3 - core::option::expect_none_failed::hf2c575a7b931ce1f [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x564763ed2353 - core::result::Result::unwrap::h671e82d33d215013 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x564763ebc63b - counter::file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory::{{closure}}::h43229dd373333020 [INFO] [stdout] at src/file_handling.rs:310 [INFO] [stdout] 17: 0x564763eba77c - counter::file_handling::file_list_tests::run_int_test_in_test_dir::{{closure}}::hbd028db89a9d0824 [INFO] [stdout] at src/file_handling.rs:322 [INFO] [stdout] 18: 0x564763edcd3c - std::panicking::try::do_call::h5717cdf582e1f1f5 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 19: 0x564763edf84d - __rust_try [INFO] [stdout] 20: 0x564763edcbf7 - std::panicking::try::hadc6e0e8355d945e [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 21: 0x564763ecab9e - std::panic::catch_unwind::h87f2aa2238e343db [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x564763eba5de - counter::file_handling::file_list_tests::run_int_test_in_test_dir::hc6afaef9ead240f7 [INFO] [stdout] at src/file_handling.rs:322 [INFO] [stdout] 23: 0x564763ebc5c6 - counter::file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory::hb04af97d67de031b [INFO] [stdout] at src/file_handling.rs:309 [INFO] [stdout] 24: 0x564763ebc5aa - counter::file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory::{{closure}}::hf5c74f4079ab5f51 [INFO] [stdout] at src/file_handling.rs:308 [INFO] [stdout] 25: 0x564763eaa5ee - core::ops::function::FnOnce::call_once::h984cb336e3c831e4 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 26: 0x564763eec8ef - as core::ops::function::FnOnce>::call_once::h1f6ee40732e80908 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 27: 0x564763f07eee - as core::ops::function::FnOnce<()>>::call_once::h85dff111be9c2dc6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 28: 0x564763f07eee - std::panicking::try::do_call::hee6f5a4bef67c840 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 29: 0x564763f07eee - std::panicking::try::h3384d3b948e84dbc [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 30: 0x564763f07eee - std::panic::catch_unwind::h5ae91218e578066d [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 31: 0x564763f07eee - test::run_test_in_process::he37a49587889b910 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 32: 0x564763f07eee - test::run_test::run_test_inner::{{closure}}::h4f0d25136ca480c2 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 33: 0x564763edfea6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h969eceda34247af3 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 34: 0x564763ee5235 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h912007997cb04e92 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:475 [INFO] [stdout] 35: 0x564763ee5235 - as core::ops::function::FnOnce<()>>::call_once::h8795d8b7bd223988 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 36: 0x564763ee5235 - std::panicking::try::do_call::hb29b86f86d4d722e [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 37: 0x564763ee5235 - std::panicking::try::h4bfefb3eddc0d900 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 38: 0x564763ee5235 - std::panic::catch_unwind::h774c24d4b38d5828 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 39: 0x564763ee5235 - std::thread::Builder::spawn_unchecked::{{closure}}::ha50a32fa99413dde [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:474 [INFO] [stdout] 40: 0x564763ee5235 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9dacb8f28d699f86 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 41: 0x5647640ab49f - as core::ops::function::FnOnce>::call_once::h7deaeeba480c6ce2 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 42: 0x5647640c0e93 - as core::ops::function::FnOnce>::call_once::h968b1dfb87756523 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 43: 0x5647640c0e93 - std::sys::unix::thread::Thread::new::thread_start::h2399addeb6370595 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 44: 0x7f0b9940f6db - start_thread [INFO] [stdout] 45: 0x7f0b98f2088f - __clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files stdout ---- [INFO] [stdout] thread 'file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/file_handling.rs:291:25 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5647640b6764 - backtrace::backtrace::libunwind::trace::h61666fa4b9834a45 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5647640b6764 - backtrace::backtrace::trace_unsynchronized::h01d3725fb5da8653 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5647640b6764 - std::sys_common::backtrace::_print_fmt::h5c7c4751bc296f90 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5647640b6764 - ::fmt::h7729313ad2d729c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5647640e18ac - core::fmt::write::hb0049f6c12bdaffc [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x564763ee09f5 - std::io::Write::write_fmt::h5d052af13df32ea6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x5647640afc31 - std::io::impls::>::write_fmt::h8fe8a9bdc421b4b6 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x5647640b9595 - std::sys_common::backtrace::_print::ha087cac92e84a414 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5647640b9595 - std::sys_common::backtrace::print::h6b013d3bfe6cbcb8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5647640b9595 - std::panicking::default_hook::{{closure}}::h016d7de02def2736 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5647640b927b - std::panicking::default_hook::h9386f7e484840463 [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x5647640b9bf2 - std::panicking::rust_panic_with_hook::h3846eb1b2e5a9312 [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 12: 0x5647640b97db - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x5647640e02d1 - core::panicking::panic_fmt::hc5953a7331f9805c [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x5647640e00f3 - core::option::expect_none_failed::hf2c575a7b931ce1f [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x564763ed24eb - core::result::Result::unwrap::ha3df445273e913d0 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x564763ebbfdc - counter::file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files::{{closure}}::h25426e9f90c24003 [INFO] [stdout] at src/file_handling.rs:291 [INFO] [stdout] 17: 0x564763eba7fc - counter::file_handling::file_list_tests::run_int_test_in_test_dir::{{closure}}::hfc5face16d1e1b11 [INFO] [stdout] at src/file_handling.rs:322 [INFO] [stdout] 18: 0x564763edcd7c - std::panicking::try::do_call::h833168b1e9009a8f [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 19: 0x564763edf84d - __rust_try [INFO] [stdout] 20: 0x564763edcca7 - std::panicking::try::hd663059b0e7bd076 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 21: 0x564763ecabce - std::panic::catch_unwind::he794e7c21e54a4d8 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x564763eba43e - counter::file_handling::file_list_tests::run_int_test_in_test_dir::h5d89495411a2da26 [INFO] [stdout] at src/file_handling.rs:322 [INFO] [stdout] 23: 0x564763ebb896 - counter::file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files::h4bab05b5ebb85819 [INFO] [stdout] at src/file_handling.rs:276 [INFO] [stdout] 24: 0x564763ebb87a - counter::file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files::{{closure}}::h703ccca30576820c [INFO] [stdout] at src/file_handling.rs:275 [INFO] [stdout] 25: 0x564763eaa53e - core::ops::function::FnOnce::call_once::h6aa3e9774334d5dd [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 26: 0x564763eec8ef - as core::ops::function::FnOnce>::call_once::h1f6ee40732e80908 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 27: 0x564763f07eee - as core::ops::function::FnOnce<()>>::call_once::h85dff111be9c2dc6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 28: 0x564763f07eee - std::panicking::try::do_call::hee6f5a4bef67c840 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 29: 0x564763f07eee - std::panicking::try::h3384d3b948e84dbc [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 30: 0x564763f07eee - std::panic::catch_unwind::h5ae91218e578066d [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 31: 0x564763f07eee - test::run_test_in_process::he37a49587889b910 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 32: 0x564763f07eee - test::run_test::run_test_inner::{{closure}}::h4f0d25136ca480c2 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 33: 0x564763edfea6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h969eceda34247af3 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 34: 0x564763ee5235 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h912007997cb04e92 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:475 [INFO] [stdout] 35: 0x564763ee5235 - as core::ops::function::FnOnce<()>>::call_once::h8795d8b7bd223988 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 36: 0x564763ee5235 - std::panicking::try::do_call::hb29b86f86d4d722e [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 37: 0x564763ee5235 - std::panicking::try::h4bfefb3eddc0d900 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 38: 0x564763ee5235 - std::panic::catch_unwind::h774c24d4b38d5828 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 39: 0x564763ee5235 - std::thread::Builder::spawn_unchecked::{{closure}}::ha50a32fa99413dde [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:474 [INFO] [stdout] 40: 0x564763ee5235 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9dacb8f28d699f86 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 41: 0x5647640ab49f - as core::ops::function::FnOnce>::call_once::h7deaeeba480c6ce2 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 42: 0x5647640c0e93 - as core::ops::function::FnOnce>::call_once::h968b1dfb87756523 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 43: 0x5647640c0e93 - std::sys::unix::thread::Thread::new::thread_start::h2399addeb6370595 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 44: 0x7f0b9940f6db - start_thread [INFO] [stdout] 45: 0x7f0b98f2088f - __clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory [INFO] [stdout] file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files [INFO] [stdout] [INFO] [stdout] test result: FAILED. 17 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `"docker" "inspect" "34d26b7a6b6d43b3fb959de4bf35bc9b515fb5f67cf597376fd92d713edbc528"` [INFO] running `"docker" "rm" "-f" "34d26b7a6b6d43b3fb959de4bf35bc9b515fb5f67cf597376fd92d713edbc528"` [INFO] [stdout] 34d26b7a6b6d43b3fb959de4bf35bc9b515fb5f67cf597376fd92d713edbc528