[INFO] updating cached repository https://github.com/florentw/erosion [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] 350f1fb30b2bf671277850f9b72330d27248fddd [INFO] testing florentw/erosion against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflorentw%2Ferosion" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/florentw/erosion 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/florentw/erosion [INFO] finished tweaking git repo https://github.com/florentw/erosion [INFO] tweaked toml for git repo https://github.com/florentw/erosion written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/florentw/erosion 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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 200f89f277e25e6c24a5518e00e5d679d46a854dcbdc1912286bffc6e0cb40b6 [INFO] running `"docker" "start" "-a" "200f89f277e25e6c24a5518e00e5d679d46a854dcbdc1912286bffc6e0cb40b6"` [INFO] [stderr] Compiling erosion v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/throughput/mod.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | let mut running = true; [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 0.63s [INFO] running `"docker" "inspect" "200f89f277e25e6c24a5518e00e5d679d46a854dcbdc1912286bffc6e0cb40b6"` [INFO] running `"docker" "rm" "-f" "200f89f277e25e6c24a5518e00e5d679d46a854dcbdc1912286bffc6e0cb40b6"` [INFO] [stdout] 200f89f277e25e6c24a5518e00e5d679d46a854dcbdc1912286bffc6e0cb40b6 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 6c55618577648732312656d37aaa302ab3a30785c8c16a39b89885d728a08406 [INFO] running `"docker" "start" "-a" "6c55618577648732312656d37aaa302ab3a30785c8c16a39b89885d728a08406"` [INFO] [stderr] Compiling erosion v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/throughput/mod.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | let mut running = true; [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] warning: variable does not need to be mutable [INFO] [stderr] --> src/throughput/mod.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | let mut running = true; [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 1.49s [INFO] running `"docker" "inspect" "6c55618577648732312656d37aaa302ab3a30785c8c16a39b89885d728a08406"` [INFO] running `"docker" "rm" "-f" "6c55618577648732312656d37aaa302ab3a30785c8c16a39b89885d728a08406"` [INFO] [stdout] 6c55618577648732312656d37aaa302ab3a30785c8c16a39b89885d728a08406 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] [stdout] 709b01212ff21efd13715d78c671228097181be9d31c3bc98458d3bbb6dcb7bb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "709b01212ff21efd13715d78c671228097181be9d31c3bc98458d3bbb6dcb7bb"` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/throughput/mod.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | let mut running = true; [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] warning: variable does not need to be mutable [INFO] [stderr] --> src/throughput/mod.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | let mut running = true; [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.07s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/erosion-2a7487c5f806af2c [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test throughput::tests::achieved_throughput_returns_rounded_throughput ... ok [INFO] [stdout] test throughput::tests::remaining_sleep_duration_returns_zero_when_start_is_in_the_future ... ok [INFO] [stdout] test throughput::tests::round_function_rounds_to_two_places ... ok [INFO] [stdout] test throughput::tests::achieved_throughput_returns_minus_one_when_elapsed_is_zero ... ok [INFO] [stdout] test throughput::tests::should_add_event_from_remainder_returns_false_when_no_remainder ... ok [INFO] [stdout] test throughput::tests::should_add_event_from_remainder_returns_false_when_index_is_outside_remainder_interval ... ok [INFO] [stdout] test throughput::tests::sleep_if_too_fast_returns_false_if_duration_zero ... ok [INFO] [stdout] test throughput::tests::sleep_if_too_fast_returns_true_if_duration_not_zero ... ok [INFO] [stdout] test throughput::tests::should_add_event_from_remainder_returns_true_when_index_is_in_remainder_interval ... ok [INFO] [stdout] test throughput::tests::to_millis_converts_duration_to_integer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/mono_thread_inttest-bb79488f56e80525 [INFO] [stdout] running 5 tests [INFO] [stdout] test throughput_generator_calls_event_function_five_hundred_times_a_sec ... FAILED [INFO] [stdout] test throughput_generator_calls_event_function_hundred_times_a_sec ... FAILED [INFO] [stdout] test throughput_generator_calls_event_function_three_hundred_times_a_sec ... FAILED [INFO] [stdout] test throughput_generator_calls_event_function_once_a_sec ... FAILED [INFO] [stdout] test throughput_generator_calls_event_function_thousands_times_a_sec ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- throughput_generator_calls_event_function_five_hundred_times_a_sec stdout ---- [INFO] [stdout] events_per_small_period: 500, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 0ns [INFO] [stdout] avg_sleep: 796.772791ms, last_sleep:7.96772791s, to_sleep:796.772791ms [INFO] [stdout] events_per_small_period: 500, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.96772791s [INFO] [stdout] avg_sleep: 880.413835ms, last_sleep:7.96772791s, to_sleep:964.05488ms [INFO] [stdout] events_per_small_period: 500, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.96772791s [INFO] [stdout] avg_sleep: 879.632271ms, last_sleep:7.96772791s, to_sleep:962.491752ms [INFO] [stdout] events_per_small_period: 500, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.96772791s [INFO] [stdout] avg_sleep: 880.418735ms, last_sleep:7.96772791s, to_sleep:964.06468ms [INFO] [stdout] events_per_small_period: 500, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.96772791s [INFO] [stdout] avg_sleep: 878.530102ms, last_sleep:7.96772791s, to_sleep:960.287414ms [INFO] [stdout] events_per_small_period: 500, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.96772791s [INFO] [stdout] avg_sleep: 880.267832ms, last_sleep:7.96772791s, to_sleep:963.762874ms [INFO] [stdout] events_per_small_period: 500, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.96772791s [INFO] [stdout] avg_sleep: 880.400635ms, last_sleep:7.96772791s, to_sleep:964.028479ms [INFO] [stdout] events_per_small_period: 500, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.96772791s [INFO] [stdout] avg_sleep: 880.446385ms, last_sleep:7.96772791s, to_sleep:964.11998ms [INFO] [stdout] events_per_small_period: 500, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.96772791s [INFO] [stdout] avg_sleep: 880.272783ms, last_sleep:7.96772791s, to_sleep:963.772775ms [INFO] [stdout] events_per_small_period: 500, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.96772791s [INFO] [stdout] avg_sleep: 880.410335ms, last_sleep:7.96772791s, to_sleep:964.04788ms [INFO] [stdout] Throughput: 500 event/s - Was too slow: true - Distance to target: 0 events/s - toSleep: 738.97294ms [INFO] [stdout] throughput_results: last sleep: 8.70670085s, distance: 0.0 [INFO] [stdout] thread 'throughput_generator_calls_event_function_five_hundred_times_a_sec' panicked at 'assertion failed: results.last_sleep > Duration::new(9, 500_000_000)', tests/mono_thread_inttest.rs:52:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5649fb594864 - 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: 0x5649fb594864 - 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: 0x5649fb594864 - std::sys_common::backtrace::_print_fmt::h5c7c4751bc296f90 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5649fb594864 - ::fmt::h7729313ad2d729c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5649fb5bd47c - core::fmt::write::hb0049f6c12bdaffc [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x5649fb547a35 - std::io::Write::write_fmt::h5d052af13df32ea6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x5649fb58ee21 - std::io::impls::>::write_fmt::h8fe8a9bdc421b4b6 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x5649fb597135 - std::sys_common::backtrace::_print::ha087cac92e84a414 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5649fb597135 - std::sys_common::backtrace::print::h6b013d3bfe6cbcb8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5649fb597135 - std::panicking::default_hook::{{closure}}::h016d7de02def2736 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5649fb596e1b - std::panicking::default_hook::h9386f7e484840463 [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x5649fb597792 - std::panicking::rust_panic_with_hook::h3846eb1b2e5a9312 [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 12: 0x5649fb5464bd - std::panicking::begin_panic::h0afe656b96bf77c1 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:438 [INFO] [stdout] 13: 0x5649fb5421f8 - mono_thread_inttest::throughput_generator_calls_event_function_five_hundred_times_a_sec::h91fd56308c531225 [INFO] [stdout] at tests/mono_thread_inttest.rs:52 [INFO] [stdout] 14: 0x5649fb54211a - mono_thread_inttest::throughput_generator_calls_event_function_five_hundred_times_a_sec::{{closure}}::he20a83d9a36f804d [INFO] [stdout] at tests/mono_thread_inttest.rs:48 [INFO] [stdout] 15: 0x5649fb5437de - core::ops::function::FnOnce::call_once::hdfd01309c6aded2c [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 16: 0x5649fb55392f - as core::ops::function::FnOnce>::call_once::h1f6ee40732e80908 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 17: 0x5649fb56ef2e - as core::ops::function::FnOnce<()>>::call_once::h85dff111be9c2dc6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 18: 0x5649fb56ef2e - std::panicking::try::do_call::hee6f5a4bef67c840 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 19: 0x5649fb56ef2e - std::panicking::try::h3384d3b948e84dbc [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 20: 0x5649fb56ef2e - std::panic::catch_unwind::h5ae91218e578066d [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 21: 0x5649fb56ef2e - test::run_test_in_process::he37a49587889b910 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 22: 0x5649fb56ef2e - test::run_test::run_test_inner::{{closure}}::h4f0d25136ca480c2 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 23: 0x5649fb546ee6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h969eceda34247af3 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 24: 0x5649fb54c275 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h912007997cb04e92 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:475 [INFO] [stdout] 25: 0x5649fb54c275 - as core::ops::function::FnOnce<()>>::call_once::h8795d8b7bd223988 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 26: 0x5649fb54c275 - std::panicking::try::do_call::hb29b86f86d4d722e [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 27: 0x5649fb54c275 - std::panicking::try::h4bfefb3eddc0d900 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 28: 0x5649fb54c275 - std::panic::catch_unwind::h774c24d4b38d5828 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 29: 0x5649fb54c275 - std::thread::Builder::spawn_unchecked::{{closure}}::ha50a32fa99413dde [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:474 [INFO] [stdout] 30: 0x5649fb54c275 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9dacb8f28d699f86 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 31: 0x5649fb58aeff - as core::ops::function::FnOnce>::call_once::h7deaeeba480c6ce2 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 32: 0x5649fb59df73 - as core::ops::function::FnOnce>::call_once::h968b1dfb87756523 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 33: 0x5649fb59df73 - std::sys::unix::thread::Thread::new::thread_start::h2399addeb6370595 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 34: 0x7f03252046db - start_thread [INFO] [stdout] 35: 0x7f0324d1588f - __clone [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- throughput_generator_calls_event_function_hundred_times_a_sec stdout ---- [INFO] [stdout] events_per_small_period: 100, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 0ns [INFO] [stdout] avg_sleep: 804.034517ms, last_sleep:8.04034517s, to_sleep:804.034517ms [INFO] [stdout] events_per_small_period: 100, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 8.04034517s [INFO] [stdout] avg_sleep: 893.866167ms, last_sleep:8.04034517s, to_sleep:983.697818ms [INFO] [stdout] events_per_small_period: 100, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 8.04034517s [INFO] [stdout] avg_sleep: 893.815717ms, last_sleep:8.04034517s, to_sleep:983.596917ms [INFO] [stdout] events_per_small_period: 100, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 8.04034517s [INFO] [stdout] avg_sleep: 893.783816ms, last_sleep:8.04034517s, to_sleep:983.533116ms [INFO] [stdout] events_per_small_period: 100, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 8.04034517s [INFO] [stdout] avg_sleep: 893.730415ms, last_sleep:8.04034517s, to_sleep:983.426314ms [INFO] [stdout] events_per_small_period: 100, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 8.04034517s [INFO] [stdout] avg_sleep: 893.689314ms, last_sleep:8.04034517s, to_sleep:983.344112ms [INFO] [stdout] events_per_small_period: 100, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 8.04034517s [INFO] [stdout] avg_sleep: 893.658514ms, last_sleep:8.04034517s, to_sleep:983.282512ms [INFO] [stdout] events_per_small_period: 100, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 8.04034517s [INFO] [stdout] avg_sleep: 893.643564ms, last_sleep:8.04034517s, to_sleep:983.252611ms [INFO] [stdout] events_per_small_period: 100, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 8.04034517s [INFO] [stdout] avg_sleep: 892.212889ms, last_sleep:8.04034517s, to_sleep:980.391262ms [INFO] [stdout] events_per_small_period: 100, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 8.04034517s [INFO] [stdout] avg_sleep: 893.696115ms, last_sleep:8.04034517s, to_sleep:983.357713ms [INFO] [stdout] Throughput: 100 event/s - Was too slow: true - Distance to target: 0 events/s - toSleep: 804.899078ms [INFO] [stdout] throughput_results: last sleep: 8.845244248s, distance: 0.0 [INFO] [stdout] thread 'throughput_generator_calls_event_function_hundred_times_a_sec' panicked at 'assertion failed: results.last_sleep > Duration::new(9, 700_000_000)', tests/mono_thread_inttest.rs:36:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5649fb594864 - 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: 0x5649fb594864 - 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: 0x5649fb594864 - std::sys_common::backtrace::_print_fmt::h5c7c4751bc296f90 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5649fb594864 - ::fmt::h7729313ad2d729c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5649fb5bd47c - core::fmt::write::hb0049f6c12bdaffc [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x5649fb547a35 - std::io::Write::write_fmt::h5d052af13df32ea6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x5649fb58ee21 - std::io::impls::>::write_fmt::h8fe8a9bdc421b4b6 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x5649fb597135 - std::sys_common::backtrace::_print::ha087cac92e84a414 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5649fb597135 - std::sys_common::backtrace::print::h6b013d3bfe6cbcb8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5649fb597135 - std::panicking::default_hook::{{closure}}::h016d7de02def2736 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5649fb596e1b - std::panicking::default_hook::h9386f7e484840463 [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x5649fb597792 - std::panicking::rust_panic_with_hook::h3846eb1b2e5a9312 [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 12: 0x5649fb5464bd - std::panicking::begin_panic::h0afe656b96bf77c1 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:438 [INFO] [stdout] 13: 0x5649fb542018 - mono_thread_inttest::throughput_generator_calls_event_function_hundred_times_a_sec::he8f767165873a252 [INFO] [stdout] at tests/mono_thread_inttest.rs:36 [INFO] [stdout] 14: 0x5649fb541f3a - mono_thread_inttest::throughput_generator_calls_event_function_hundred_times_a_sec::{{closure}}::h23129801a00ee26f [INFO] [stdout] at tests/mono_thread_inttest.rs:32 [INFO] [stdout] 15: 0x5649fb5436de - core::ops::function::FnOnce::call_once::h0ef289e73fe02e79 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 16: 0x5649fb55392f - as core::ops::function::FnOnce>::call_once::h1f6ee40732e80908 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 17: 0x5649fb56ef2e - as core::ops::function::FnOnce<()>>::call_once::h85dff111be9c2dc6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 18: 0x5649fb56ef2e - std::panicking::try::do_call::hee6f5a4bef67c840 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 19: 0x5649fb56ef2e - std::panicking::try::h3384d3b948e84dbc [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 20: 0x5649fb56ef2e - std::panic::catch_unwind::h5ae91218e578066d [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 21: 0x5649fb56ef2e - test::run_test_in_process::he37a49587889b910 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 22: 0x5649fb56ef2e - test::run_test::run_test_inner::{{closure}}::h4f0d25136ca480c2 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 23: 0x5649fb546ee6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h969eceda34247af3 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 24: 0x5649fb54c275 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h912007997cb04e92 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:475 [INFO] [stdout] 25: 0x5649fb54c275 - as core::ops::function::FnOnce<()>>::call_once::h8795d8b7bd223988 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 26: 0x5649fb54c275 - std::panicking::try::do_call::hb29b86f86d4d722e [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 27: 0x5649fb54c275 - std::panicking::try::h4bfefb3eddc0d900 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 28: 0x5649fb54c275 - std::panic::catch_unwind::h774c24d4b38d5828 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 29: 0x5649fb54c275 - std::thread::Builder::spawn_unchecked::{{closure}}::ha50a32fa99413dde [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:474 [INFO] [stdout] 30: 0x5649fb54c275 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9dacb8f28d699f86 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 31: 0x5649fb58aeff - as core::ops::function::FnOnce>::call_once::h7deaeeba480c6ce2 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 32: 0x5649fb59df73 - as core::ops::function::FnOnce>::call_once::h968b1dfb87756523 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 33: 0x5649fb59df73 - std::sys::unix::thread::Thread::new::thread_start::h2399addeb6370595 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 34: 0x7f03252046db - start_thread [INFO] [stdout] 35: 0x7f0324d1588f - __clone [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- throughput_generator_calls_event_function_three_hundred_times_a_sec stdout ---- [INFO] [stdout] events_per_small_period: 300, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 0ns [INFO] [stdout] avg_sleep: 797.751909ms, last_sleep:7.97751909s, to_sleep:797.751909ms [INFO] [stdout] events_per_small_period: 300, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.97751909s [INFO] [stdout] avg_sleep: 885.140967ms, last_sleep:7.97751909s, to_sleep:972.530026ms [INFO] [stdout] events_per_small_period: 300, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.97751909s [INFO] [stdout] avg_sleep: 884.446005ms, last_sleep:7.97751909s, to_sleep:971.140102ms [INFO] [stdout] events_per_small_period: 300, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.97751909s [INFO] [stdout] avg_sleep: 884.994264ms, last_sleep:7.97751909s, to_sleep:972.23662ms [INFO] [stdout] events_per_small_period: 300, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.97751909s [INFO] [stdout] avg_sleep: 883.117382ms, last_sleep:7.97751909s, to_sleep:968.482856ms [INFO] [stdout] events_per_small_period: 300, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.97751909s [INFO] [stdout] avg_sleep: 884.913463ms, last_sleep:7.97751909s, to_sleep:972.075018ms [INFO] [stdout] events_per_small_period: 300, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.97751909s [INFO] [stdout] avg_sleep: 884.698059ms, last_sleep:7.97751909s, to_sleep:971.64421ms [INFO] [stdout] events_per_small_period: 300, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.97751909s [INFO] [stdout] avg_sleep: 884.912213ms, last_sleep:7.97751909s, to_sleep:972.072518ms [INFO] [stdout] events_per_small_period: 300, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.97751909s [INFO] [stdout] avg_sleep: 884.926114ms, last_sleep:7.97751909s, to_sleep:972.100319ms [INFO] [stdout] events_per_small_period: 300, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 7.97751909s [INFO] [stdout] avg_sleep: 884.851762ms, last_sleep:7.97751909s, to_sleep:971.951616ms [INFO] [stdout] Throughput: 300 event/s - Was too slow: true - Distance to target: 0 events/s - toSleep: 781.404273ms [INFO] [stdout] throughput_results: last sleep: 8.758923363s, distance: 0.0 [INFO] [stdout] thread 'throughput_generator_calls_event_function_three_hundred_times_a_sec' panicked at 'assertion failed: results.last_sleep > Duration::new(9, 700_000_000)', tests/mono_thread_inttest.rs:44:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5649fb594864 - 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: 0x5649fb594864 - 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: 0x5649fb594864 - std::sys_common::backtrace::_print_fmt::h5c7c4751bc296f90 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5649fb594864 - ::fmt::h7729313ad2d729c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5649fb5bd47c - core::fmt::write::hb0049f6c12bdaffc [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x5649fb547a35 - std::io::Write::write_fmt::h5d052af13df32ea6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x5649fb58ee21 - std::io::impls::>::write_fmt::h8fe8a9bdc421b4b6 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x5649fb597135 - std::sys_common::backtrace::_print::ha087cac92e84a414 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5649fb597135 - std::sys_common::backtrace::print::h6b013d3bfe6cbcb8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5649fb597135 - std::panicking::default_hook::{{closure}}::h016d7de02def2736 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5649fb596e1b - std::panicking::default_hook::h9386f7e484840463 [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x5649fb597792 - std::panicking::rust_panic_with_hook::h3846eb1b2e5a9312 [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 12: 0x5649fb5464bd - std::panicking::begin_panic::h0afe656b96bf77c1 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:438 [INFO] [stdout] 13: 0x5649fb542108 - mono_thread_inttest::throughput_generator_calls_event_function_three_hundred_times_a_sec::hc2060682a8c491aa [INFO] [stdout] at tests/mono_thread_inttest.rs:44 [INFO] [stdout] 14: 0x5649fb54202a - mono_thread_inttest::throughput_generator_calls_event_function_three_hundred_times_a_sec::{{closure}}::h10b50db1e270c6ea [INFO] [stdout] at tests/mono_thread_inttest.rs:40 [INFO] [stdout] 15: 0x5649fb5437ae - core::ops::function::FnOnce::call_once::hc38dde9baa0eef7b [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 16: 0x5649fb55392f - as core::ops::function::FnOnce>::call_once::h1f6ee40732e80908 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 17: 0x5649fb56ef2e - as core::ops::function::FnOnce<()>>::call_once::h85dff111be9c2dc6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 18: 0x5649fb56ef2e - std::panicking::try::do_call::hee6f5a4bef67c840 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 19: 0x5649fb56ef2e - std::panicking::try::h3384d3b948e84dbc [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 20: 0x5649fb56ef2e - std::panic::catch_unwind::h5ae91218e578066d [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 21: 0x5649fb56ef2e - test::run_test_in_process::he37a49587889b910 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 22: 0x5649fb56ef2e - test::run_test::run_test_inner::{{closure}}::h4f0d25136ca480c2 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 23: 0x5649fb546ee6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h969eceda34247af3 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 24: 0x5649fb54c275 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h912007997cb04e92 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:475 [INFO] [stdout] 25: 0x5649fb54c275 - as core::ops::function::FnOnce<()>>::call_once::h8795d8b7bd223988 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 26: 0x5649fb54c275 - std::panicking::try::do_call::hb29b86f86d4d722e [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 27: 0x5649fb54c275 - std::panicking::try::h4bfefb3eddc0d900 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 28: 0x5649fb54c275 - std::panic::catch_unwind::h774c24d4b38d5828 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 29: 0x5649fb54c275 - std::thread::Builder::spawn_unchecked::{{closure}}::ha50a32fa99413dde [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:474 [INFO] [stdout] 30: 0x5649fb54c275 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9dacb8f28d699f86 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 31: 0x5649fb58aeff - as core::ops::function::FnOnce>::call_once::h7deaeeba480c6ce2 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 32: 0x5649fb59df73 - as core::ops::function::FnOnce>::call_once::h968b1dfb87756523 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 33: 0x5649fb59df73 - std::sys::unix::thread::Thread::new::thread_start::h2399addeb6370595 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 34: 0x7f03252046db - start_thread [INFO] [stdout] 35: 0x7f0324d1588f - __clone [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- throughput_generator_calls_event_function_once_a_sec stdout ---- [INFO] [stdout] events_per_small_period: 10, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 0ns [INFO] [stdout] avg_sleep: 99.110649ms, last_sleep:991.10649ms, to_sleep:99.110649ms [INFO] [stdout] events_per_small_period: 10, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 991.10649ms [INFO] [stdout] avg_sleep: 95.062229ms, last_sleep:991.10649ms, to_sleep:91.013809ms [INFO] [stdout] events_per_small_period: 10, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 991.10649ms [INFO] [stdout] avg_sleep: 99.122399ms, last_sleep:991.10649ms, to_sleep:99.134149ms [INFO] [stdout] events_per_small_period: 10, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 991.10649ms [INFO] [stdout] avg_sleep: 89.369781ms, last_sleep:991.10649ms, to_sleep:79.628913ms [INFO] [stdout] events_per_small_period: 10, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 991.10649ms [INFO] [stdout] avg_sleep: 99.102149ms, last_sleep:991.10649ms, to_sleep:99.093649ms [INFO] [stdout] events_per_small_period: 10, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 991.10649ms [INFO] [stdout] avg_sleep: 99.113449ms, last_sleep:991.10649ms, to_sleep:99.11625ms [INFO] [stdout] events_per_small_period: 10, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 991.10649ms [INFO] [stdout] avg_sleep: 99.114399ms, last_sleep:991.10649ms, to_sleep:99.11815ms [INFO] [stdout] events_per_small_period: 10, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 991.10649ms [INFO] [stdout] avg_sleep: 99.111649ms, last_sleep:991.10649ms, to_sleep:99.112649ms [INFO] [stdout] events_per_small_period: 10, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 991.10649ms [INFO] [stdout] avg_sleep: 99.112149ms, last_sleep:991.10649ms, to_sleep:99.113649ms [INFO] [stdout] events_per_small_period: 10, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 991.10649ms [INFO] [stdout] avg_sleep: 99.109299ms, last_sleep:991.10649ms, to_sleep:99.107949ms [INFO] [stdout] Throughput: 9.98 event/s - Was too slow: false - Distance to target: 0.02 events/s - toSleep: 0ns [INFO] [stdout] throughput_results: last sleep: 991.10649ms, distance: 0.02 [INFO] [stdout] thread 'throughput_generator_calls_event_function_once_a_sec' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `0.0`, [INFO] [stdout] right: `0.02`', tests/mono_thread_inttest.rs:27:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5649fb594864 - 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: 0x5649fb594864 - 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: 0x5649fb594864 - std::sys_common::backtrace::_print_fmt::h5c7c4751bc296f90 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5649fb594864 - ::fmt::h7729313ad2d729c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5649fb5bd47c - core::fmt::write::hb0049f6c12bdaffc [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x5649fb547a35 - std::io::Write::write_fmt::h5d052af13df32ea6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x5649fb58ee21 - std::io::impls::>::write_fmt::h8fe8a9bdc421b4b6 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x5649fb597135 - std::sys_common::backtrace::_print::ha087cac92e84a414 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5649fb597135 - std::sys_common::backtrace::print::h6b013d3bfe6cbcb8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5649fb597135 - std::panicking::default_hook::{{closure}}::h016d7de02def2736 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5649fb596e1b - std::panicking::default_hook::h9386f7e484840463 [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x5649fb597792 - std::panicking::rust_panic_with_hook::h3846eb1b2e5a9312 [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 12: 0x5649fb59737b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x5649fb5972eb - std::panicking::begin_panic_fmt::h2fa40d03719daab1 [INFO] [stdout] at src/libstd/panicking.rs:373 [INFO] [stdout] 14: 0x5649fb541ee8 - mono_thread_inttest::throughput_generator_calls_event_function_once_a_sec::h35c8008e4c961f35 [INFO] [stdout] at tests/mono_thread_inttest.rs:27 [INFO] [stdout] 15: 0x5649fb541cea - mono_thread_inttest::throughput_generator_calls_event_function_once_a_sec::{{closure}}::hee65309070a839c7 [INFO] [stdout] at tests/mono_thread_inttest.rs:24 [INFO] [stdout] 16: 0x5649fb54377e - core::ops::function::FnOnce::call_once::h944515e65977adad [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 17: 0x5649fb55392f - as core::ops::function::FnOnce>::call_once::h1f6ee40732e80908 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 18: 0x5649fb56ef2e - as core::ops::function::FnOnce<()>>::call_once::h85dff111be9c2dc6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x5649fb56ef2e - std::panicking::try::do_call::hee6f5a4bef67c840 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 20: 0x5649fb56ef2e - std::panicking::try::h3384d3b948e84dbc [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 21: 0x5649fb56ef2e - std::panic::catch_unwind::h5ae91218e578066d [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x5649fb56ef2e - test::run_test_in_process::he37a49587889b910 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x5649fb56ef2e - test::run_test::run_test_inner::{{closure}}::h4f0d25136ca480c2 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x5649fb546ee6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h969eceda34247af3 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x5649fb54c275 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h912007997cb04e92 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x5649fb54c275 - as core::ops::function::FnOnce<()>>::call_once::h8795d8b7bd223988 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x5649fb54c275 - std::panicking::try::do_call::hb29b86f86d4d722e [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 28: 0x5649fb54c275 - std::panicking::try::h4bfefb3eddc0d900 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 29: 0x5649fb54c275 - std::panic::catch_unwind::h774c24d4b38d5828 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x5649fb54c275 - std::thread::Builder::spawn_unchecked::{{closure}}::ha50a32fa99413dde [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x5649fb54c275 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9dacb8f28d699f86 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 32: 0x5649fb58aeff - as core::ops::function::FnOnce>::call_once::h7deaeeba480c6ce2 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 33: 0x5649fb59df73 - as core::ops::function::FnOnce>::call_once::h968b1dfb87756523 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 34: 0x5649fb59df73 - std::sys::unix::thread::Thread::new::thread_start::h2399addeb6370595 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7f03252046db - start_thread [INFO] [stdout] 36: 0x7f0324d1588f - __clone [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- throughput_generator_calls_event_function_thousands_times_a_sec stdout ---- [INFO] [stdout] events_per_small_period: 1000, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 0ns [INFO] [stdout] avg_sleep: 999.758396ms, last_sleep:9.99758396s, to_sleep:999.758396ms [INFO] [stdout] events_per_small_period: 1000, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 9.99758396s [INFO] [stdout] avg_sleep: 999.759496ms, last_sleep:9.99758396s, to_sleep:999.760596ms [INFO] [stdout] events_per_small_period: 1000, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 9.99758396s [INFO] [stdout] avg_sleep: 999.721195ms, last_sleep:9.99758396s, to_sleep:999.683994ms [INFO] [stdout] events_per_small_period: 1000, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 9.99758396s [INFO] [stdout] avg_sleep: 999.735445ms, last_sleep:9.99758396s, to_sleep:999.712495ms [INFO] [stdout] events_per_small_period: 1000, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 9.99758396s [INFO] [stdout] avg_sleep: 999.747145ms, last_sleep:9.99758396s, to_sleep:999.735895ms [INFO] [stdout] events_per_small_period: 1000, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 9.99758396s [INFO] [stdout] avg_sleep: 999.747296ms, last_sleep:9.99758396s, to_sleep:999.736196ms [INFO] [stdout] events_per_small_period: 1000, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 9.99758396s [INFO] [stdout] avg_sleep: 999.743545ms, last_sleep:9.99758396s, to_sleep:999.728695ms [INFO] [stdout] events_per_small_period: 1000, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 9.99758396s [INFO] [stdout] avg_sleep: 999.730645ms, last_sleep:9.99758396s, to_sleep:999.702895ms [INFO] [stdout] events_per_small_period: 1000, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 9.99758396s [INFO] [stdout] avg_sleep: 999.742395ms, last_sleep:9.99758396s, to_sleep:999.726395ms [INFO] [stdout] events_per_small_period: 1000, events_remainder: 0, additional_event: 0, main_target_interval(s): 10, previous_sleep: 9.99758396s [INFO] [stdout] avg_sleep: 999.742495ms, last_sleep:9.99758396s, to_sleep:999.726595ms [INFO] [stdout] Throughput: 996.21 event/s - Was too slow: false - Distance to target: 3.79 events/s - toSleep: 0ns [INFO] [stdout] throughput_results: last sleep: 9.99758396s, distance: 3.79 [INFO] [stdout] thread 'throughput_generator_calls_event_function_thousands_times_a_sec' panicked at 'assertion failed: results.throughput_distance < 0.7', tests/mono_thread_inttest.rs:59:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5649fb594864 - 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: 0x5649fb594864 - 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: 0x5649fb594864 - std::sys_common::backtrace::_print_fmt::h5c7c4751bc296f90 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5649fb594864 - ::fmt::h7729313ad2d729c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5649fb5bd47c - core::fmt::write::hb0049f6c12bdaffc [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x5649fb547a35 - std::io::Write::write_fmt::h5d052af13df32ea6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x5649fb58ee21 - std::io::impls::>::write_fmt::h8fe8a9bdc421b4b6 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x5649fb597135 - std::sys_common::backtrace::_print::ha087cac92e84a414 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5649fb597135 - std::sys_common::backtrace::print::h6b013d3bfe6cbcb8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5649fb597135 - std::panicking::default_hook::{{closure}}::h016d7de02def2736 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5649fb596e1b - std::panicking::default_hook::h9386f7e484840463 [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x5649fb597792 - std::panicking::rust_panic_with_hook::h3846eb1b2e5a9312 [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 12: 0x5649fb5464bd - std::panicking::begin_panic::h0afe656b96bf77c1 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:438 [INFO] [stdout] 13: 0x5649fb5422a9 - mono_thread_inttest::throughput_generator_calls_event_function_thousands_times_a_sec::h7ce829325c505730 [INFO] [stdout] at tests/mono_thread_inttest.rs:59 [INFO] [stdout] 14: 0x5649fb54220a - mono_thread_inttest::throughput_generator_calls_event_function_thousands_times_a_sec::{{closure}}::h8e8049a6f3364ac6 [INFO] [stdout] at tests/mono_thread_inttest.rs:56 [INFO] [stdout] 15: 0x5649fb54370e - core::ops::function::FnOnce::call_once::h13e784afef6424de [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 16: 0x5649fb55392f - as core::ops::function::FnOnce>::call_once::h1f6ee40732e80908 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 17: 0x5649fb56ef2e - as core::ops::function::FnOnce<()>>::call_once::h85dff111be9c2dc6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 18: 0x5649fb56ef2e - std::panicking::try::do_call::hee6f5a4bef67c840 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 19: 0x5649fb56ef2e - std::panicking::try::h3384d3b948e84dbc [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 20: 0x5649fb56ef2e - std::panic::catch_unwind::h5ae91218e578066d [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 21: 0x5649fb56ef2e - test::run_test_in_process::he37a49587889b910 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 22: 0x5649fb56ef2e - test::run_test::run_test_inner::{{closure}}::h4f0d25136ca480c2 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 23: 0x5649fb546ee6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h969eceda34247af3 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 24: 0x5649fb54c275 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h912007997cb04e92 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:475 [INFO] [stdout] 25: 0x5649fb54c275 - as core::ops::function::FnOnce<()>>::call_once::h8795d8b7bd223988 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 26: 0x5649fb54c275 - std::panicking::try::do_call::hb29b86f86d4d722e [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 27: 0x5649fb54c275 - std::panicking::try::h4bfefb3eddc0d900 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 28: 0x5649fb54c275 - std::panic::catch_unwind::h774c24d4b38d5828 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 29: 0x5649fb54c275 - std::thread::Builder::spawn_unchecked::{{closure}}::ha50a32fa99413dde [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:474 [INFO] [stdout] 30: 0x5649fb54c275 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9dacb8f28d699f86 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 31: 0x5649fb58aeff - as core::ops::function::FnOnce>::call_once::h7deaeeba480c6ce2 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 32: 0x5649fb59df73 - as core::ops::function::FnOnce>::call_once::h968b1dfb87756523 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 33: 0x5649fb59df73 - std::sys::unix::thread::Thread::new::thread_start::h2399addeb6370595 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 34: 0x7f03252046db - start_thread [INFO] [stdout] 35: 0x7f0324d1588f - __clone [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] throughput_generator_calls_event_function_five_hundred_times_a_sec [INFO] [stdout] throughput_generator_calls_event_function_hundred_times_a_sec [INFO] [stdout] throughput_generator_calls_event_function_once_a_sec [INFO] [stdout] throughput_generator_calls_event_function_thousands_times_a_sec [INFO] [stdout] throughput_generator_calls_event_function_three_hundred_times_a_sec [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test mono_thread_inttest' [INFO] running `"docker" "inspect" "709b01212ff21efd13715d78c671228097181be9d31c3bc98458d3bbb6dcb7bb"` [INFO] running `"docker" "rm" "-f" "709b01212ff21efd13715d78c671228097181be9d31c3bc98458d3bbb6dcb7bb"` [INFO] [stdout] 709b01212ff21efd13715d78c671228097181be9d31c3bc98458d3bbb6dcb7bb