[INFO] cloning repository https://github.com/florentw/erosion
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/florentw/erosion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflorentw%2Ferosion", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflorentw%2Ferosion'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 350f1fb30b2bf671277850f9b72330d27248fddd
[INFO] testing florentw/erosion against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflorentw%2Ferosion" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/florentw/erosion on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/florentw/erosion already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `erosion` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 63cb4b217012aab5d3223c585f02048359d36fc292a95c4d862ced8865fa3d33
[INFO] running `Command { std: "docker" "start" "63cb4b217012aab5d3223c585f02048359d36fc292a95c4d862ced8865fa3d33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63cb4b217012aab5d3223c585f02048359d36fc292a95c4d862ced8865fa3d33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63cb4b217012aab5d3223c585f02048359d36fc292a95c4d862ced8865fa3d33" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63cb4b217012aab5d3223c585f02048359d36fc292a95c4d862ced8865fa3d33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63cb4b217012aab5d3223c585f02048359d36fc292a95c4d862ced8865fa3d33" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `erosion` (manifest) generated 1 warning
[INFO] [stderr]    Compiling erosion v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/throughput/mod.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let mut running = true;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] running `Command { std: "docker" "inspect" "63cb4b217012aab5d3223c585f02048359d36fc292a95c4d862ced8865fa3d33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63cb4b217012aab5d3223c585f02048359d36fc292a95c4d862ced8865fa3d33" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `erosion` (manifest) generated 1 warning
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/throughput/mod.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let mut running = true;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling erosion v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/throughput/mod.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let mut running = true;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] running `Command { std: "docker" "inspect" "63cb4b217012aab5d3223c585f02048359d36fc292a95c4d862ced8865fa3d33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63cb4b217012aab5d3223c585f02048359d36fc292a95c4d862ced8865fa3d33" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `erosion` (manifest) generated 1 warning
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `erosion` (lib) generated 1 warning (run `cargo fix --lib -p erosion` to apply 1 suggestion)
[INFO] [stderr] warning: `erosion` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/erosion-e7899fb2e7a2cbad)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test throughput::tests::remaining_sleep_duration_returns_zero_when_start_is_in_the_future ... ok
[INFO] [stdout] test throughput::tests::achieved_throughput_returns_minus_one_when_elapsed_is_zero ... ok
[INFO] [stdout] test throughput::tests::achieved_throughput_returns_rounded_throughput ... ok
[INFO] [stdout] test throughput::tests::round_function_rounds_to_two_places ... ok
[INFO] [stdout] test throughput::tests::should_add_event_from_remainder_returns_false_when_index_is_outside_remainder_interval ... ok
[INFO] [stderr]      Running tests/mono_thread_inttest.rs (/opt/rustwide/target/debug/deps/mono_thread_inttest-2d8f0500d7522a11)
[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_true_when_index_is_in_remainder_interval ... ok
[INFO] [stdout] test throughput::tests::sleep_if_too_fast_returns_false_if_duration_zero ... ok
[INFO] [stdout] test throughput::tests::to_millis_converts_duration_to_integer ... ok
[INFO] [stdout] test throughput::tests::sleep_if_too_fast_returns_true_if_duration_not_zero ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test throughput_generator_calls_event_function_once_a_sec ... ok
[INFO] [stdout] test throughput_generator_calls_event_function_thousands_times_a_sec ... ok
[INFO] [stdout] test throughput_generator_calls_event_function_three_hundred_times_a_sec ... ok
[INFO] [stdout] test throughput_generator_calls_event_function_hundred_times_a_sec ... ok
[INFO] [stdout] test throughput_generator_calls_event_function_five_hundred_times_a_sec ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests erosion
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "63cb4b217012aab5d3223c585f02048359d36fc292a95c4d862ced8865fa3d33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63cb4b217012aab5d3223c585f02048359d36fc292a95c4d862ced8865fa3d33", kill_on_drop: false }`
[INFO] [stdout] 63cb4b217012aab5d3223c585f02048359d36fc292a95c4d862ced8865fa3d33
