[INFO] fetching crate rate-guard-core 0.7.2... [INFO] testing rate-guard-core-0.7.2 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-3 [INFO] extracting crate rate-guard-core 0.7.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rate-guard-core 0.7.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rate-guard-core 0.7.2 [INFO] tweaked toml for crates.io crate rate-guard-core 0.7.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rate-guard-core 0.7.2 on toolchain 1.101.0-beta.1 [INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"` [INFO] crate crates.io crate rate-guard-core 0.7.2 already has a lockfile, it will not be regenerated [INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"` [INFO] [stdout] bb7effd83c3efca82cdc3925a8032c9cc5146fac780c49140faba36990acafe9 [INFO] running `"docker" "start" "bb7effd83c3efca82cdc3925a8032c9cc5146fac780c49140faba36990acafe9"` [INFO] running `"docker" "inspect" "bb7effd83c3efca82cdc3925a8032c9cc5146fac780c49140faba36990acafe9"` [INFO] running `"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" "bb7effd83c3efca82cdc3925a8032c9cc5146fac780c49140faba36990acafe9" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"` [INFO] running `"docker" "inspect" "bb7effd83c3efca82cdc3925a8032c9cc5146fac780c49140faba36990acafe9"` [INFO] running `"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" "bb7effd83c3efca82cdc3925a8032c9cc5146fac780c49140faba36990acafe9" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"` [INFO] [stderr] Compiling rate-guard-core v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.50s [INFO] running `"docker" "inspect" "bb7effd83c3efca82cdc3925a8032c9cc5146fac780c49140faba36990acafe9"` [INFO] running `"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" "bb7effd83c3efca82cdc3925a8032c9cc5146fac780c49140faba36990acafe9" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"` [INFO] [stderr] Compiling rate-guard-core v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 7.39s [INFO] running `"docker" "inspect" "bb7effd83c3efca82cdc3925a8032c9cc5146fac780c49140faba36990acafe9"` [INFO] running `"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" "bb7effd83c3efca82cdc3925a8032c9cc5146fac780c49140faba36990acafe9" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/build/rate-guard-core/41fffda83fc51ade/out/rate_guard_core-41fffda83fc51ade) [INFO] [stdout] [INFO] [stderr] Running tests/approximate_sliding_window_core.rs (/opt/rustwide/target/release/build/rate-guard-core/3bad7d57d97df8aa/out/approximate_sliding_window_core-3bad7d57d97df8aa) [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] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test test_large_time_gap ... ok [INFO] [stdout] test test_macro_safety ... ok [INFO] [stdout] test test_window_expiration ... ok [INFO] [stdout] test test_window_switching ... ok [INFO] [stdout] test test_basic_acquire ... ok [INFO] [stdout] test test_approximation_accuracy ... ok [INFO] [stdout] test test_acquire_zero_tokens ... ok [INFO] [stdout] test test_same_window_operations ... ok [INFO] [stdout] test test_expired_tick ... ok [INFO] [stdout] test test_saturating_operations ... ok [INFO] [stdout] test test_new_with_zero_window_ticks - should panic ... ok [INFO] [stdout] test test_new_with_zero_capacity - should panic ... ok [INFO] [stdout] test test_new_approximate_sliding_window ... ok [INFO] [stdout] test test_sliding_window_overlap ... ok [INFO] [stdout] test test_window_boundary_precise ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running tests/approximate_sliding_window_core2.rs (/opt/rustwide/target/release/build/rate-guard-core/472102a666dd1d9e/out/approximate_sliding_window_core2-472102a666dd1d9e) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test test_large_window_size ... ok [INFO] [stdout] test test_no_overlap_scenario ... ok [INFO] [stdout] test test_full_overlap_scenario ... ok [INFO] [stdout] test test_edge_case_overlap_calculation ... ok [INFO] [stdout] test test_weighted_contribution_calculation ... ok [INFO] [stdout] test test_partial_overlap_precision ... ok [INFO] [stdout] test test_window_switching_consistency ... ok [INFO] [stdout] test test_single_tick_window ... ok [INFO] [stdout] test test_same_tick_multiple_calls ... ok [INFO] [stdout] test test_window_starts_alignment ... ok [INFO] [stdout] test test_contention_failure ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/approximate_sliding_window_core3.rs (/opt/rustwide/target/release/build/rate-guard-core/af63508b26cd47c3/out/approximate_sliding_window_core3-af63508b26cd47c3) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test test_trait_capacity_remaining_or_0_error_handling ... ok [INFO] [stdout] test test_trait_edge_cases ... ok [INFO] [stdout] test test_trait_capacity_remaining_or_0_basic ... ok [INFO] [stdout] test test_trait_consistency ... ok [INFO] [stdout] test test_trait_object_contexts ... ok [INFO] [stdout] test test_trait_polymorphism ... ok [INFO] [stdout] test test_trait_sliding_window_behavior ... ok [INFO] [stdout] test test_trait_try_acquire_at_basic ... ok [INFO] [stdout] test test_trait_zero_tokens ... ok [INFO] [stdout] test test_trait_window_transitions ... ok [INFO] [stdout] test test_trait_full_capacity ... ok [INFO] [stdout] test test_trait_generic_usage ... ok [INFO] [stdout] test test_trait_expired_tick ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/approximate_sliding_window_core4.rs (/opt/rustwide/target/release/build/rate-guard-core/ab808002454f182f/out/approximate_sliding_window_core4-ab808002454f182f) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test expired_tick_should_fail ... ok [INFO] [stdout] test succeed_after_window_expiration ... ok [INFO] [stdout] test zero_token_should_succeed ... ok [INFO] [stdout] test overlap_contribution_allows_partial_usage ... ok [INFO] [stdout] test fill_window_then_fail ... ok [INFO] [stdout] test request_exceeds_capacity_should_fail ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/fixed_window_counter_core.rs (/opt/rustwide/target/release/build/rate-guard-core/476d5e65fadd0ca9/out/fixed_window_counter_core-476d5e65fadd0ca9) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test test_basic_acquire_single_window ... ok [INFO] [stdout] test test_capacity_edge_cases ... ok [INFO] [stdout] test test_capacity_remaining_expired_tick ... ok [INFO] [stdout] test test_current_capacity_no_window_update ... ok [INFO] [stdout] test test_large_window_size ... ok [INFO] [stdout] test test_new_fixed_window_counter ... ok [INFO] [stdout] test test_skip_multiple_windows ... ok [INFO] [stdout] test test_skip_windows ... ok [INFO] [stdout] test test_window_start_alignment ... ok [INFO] [stdout] test test_capacity_remaining_or_0 ... ok [INFO] [stdout] test test_acquire_zero_tokens ... ok [INFO] [stdout] test test_window_boundary_precise ... ok [INFO] [stdout] test test_consecutive_windows ... ok [INFO] [stdout] test test_window_transition ... ok [INFO] [stderr] Running tests/fixed_window_counter_core2.rs (/opt/rustwide/target/release/build/rate-guard-core/8fc7fe7ed07d7a3c/out/fixed_window_counter_core2-8fc7fe7ed07d7a3c) [INFO] [stdout] test test_window_calculation ... ok [INFO] [stdout] test test_expired_tick ... ok [INFO] [stdout] test test_current_vs_remaining_consistency ... ok [INFO] [stdout] test test_saturating_operations ... ok [INFO] [stdout] test test_window_boundaries ... ok [INFO] [stdout] test test_single_tick_window ... ok [INFO] [stdout] test test_zero_capacity_remaining_or_0 ... ok [INFO] [stdout] test test_window_transition_behavior ... ok [INFO] [stdout] test test_new_with_zero_capacity - should panic ... ok [INFO] [stdout] test test_new_with_zero_window_ticks - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_same_tick_multiple_calls ... ok [INFO] [stdout] test test_single_tick_window ... ok [INFO] [stdout] test test_window_reset_verification ... ok [INFO] [stdout] test test_window_boundary_precise ... ok [INFO] [stdout] test test_zero_usage_window_transitions ... ok [INFO] [stdout] test test_exact_window_transitions ... ok [INFO] [stdout] test test_very_large_window ... ok [INFO] [stdout] test test_start_tick_alignment ... ok [INFO] [stdout] test test_window_calculation_edge_cases ... ok [INFO] [stderr] Running tests/fixed_window_counter_core3.rs (/opt/rustwide/target/release/build/rate-guard-core/883c1028ebfe9b0a/out/fixed_window_counter_core3-883c1028ebfe9b0a) [INFO] [stdout] test test_contention_failure ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test test_rate_limiter_core_as_trait_object ... ok [INFO] [stdout] test test_rate_limiter_core_window_alignment ... ok [INFO] [stdout] test test_rate_limiter_core_window_basics ... ok [INFO] [stdout] test test_rate_limiter_core_trait_bounds ... ok [INFO] [stdout] test test_rate_limiter_core_time_consistency ... ok [INFO] [stdout] test test_rate_limiter_core_burst_at_boundaries ... ok [INFO] [stdout] test test_rate_limiter_core_interface_consistency ... ok [INFO] [stdout] test test_rate_limiter_core_window_boundaries ... ok [INFO] [stdout] test test_rate_limiter_core_window_size_variations ... ok [INFO] [stdout] test test_rate_limiter_core_zero_operations ... ok [INFO] [stdout] test test_rate_limiter_core_window_reset ... ok [INFO] [stdout] test test_rate_limiter_core_polymorphic_usage ... ok [INFO] [stdout] test test_rate_limiter_core_skip_windows ... ok [INFO] [stdout] test test_rate_limiter_core_concurrent_window_access ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/fixed_window_counter_core4.rs (/opt/rustwide/target/release/build/rate-guard-core/82b1f559aca4261f/out/fixed_window_counter_core4-82b1f559aca4261f) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test fill_window_then_fail ... ok [INFO] [stdout] test expired_tick_should_fail ... ok [INFO] [stdout] test partial_window_usage_still_allows ... ok [INFO] [stdout] test request_exceeds_capacity_should_fail ... ok [INFO] [stderr] Running tests/sliding_window_counter_core.rs (/opt/rustwide/target/release/build/rate-guard-core/c8ed6bf8dbc42e7c/out/sliding_window_counter_core-c8ed6bf8dbc42e7c) [INFO] [stdout] test succeed_in_new_window ... ok [INFO] [stdout] test zero_token_should_always_succeed ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test test_acquire_zero_tokens ... ok [INFO] [stdout] test test_basic_sliding_window ... ok [INFO] [stdout] test test_bucket_lazy_reset ... ok [INFO] [stdout] test test_bucket_rotation ... ok [INFO] [stdout] test test_capacity_remaining_or_0 ... ok [INFO] [stdout] test test_expired_tick ... ok [INFO] [stdout] test test_large_time_gap ... ok [INFO] [stdout] test test_multiple_bucket_cycles ... ok [INFO] [stdout] test test_single_bucket_configuration ... ok [INFO] [stdout] test test_sliding_window_boundaries ... ok [INFO] [stdout] test test_sliding_window_expiry ... ok [INFO] [stdout] test test_window_boundary_conditions ... ok [INFO] [stdout] test test_window_edge_cases ... ok [INFO] [stdout] test test_window_size_calculation ... ok [INFO] [stdout] test test_saturating_operations ... ok [INFO] [stdout] test test_bucket_lazy_reset2 ... ok [INFO] [stdout] test test_new_with_zero_bucket_ticks - should panic ... ok [INFO] [stdout] test test_current_capacity_no_bucket_update ... ok [INFO] [stdout] test test_capacity_remaining_or_0_expired_tick ... ok [INFO] [stdout] test test_current_vs_remaining_consistency ... ok [INFO] [stdout] test test_current_capacity_at ... ok [INFO] [stdout] test test_new_with_zero_capacity - should panic ... ok [INFO] [stdout] test test_sliding_window_expiry2 ... ok [INFO] [stdout] test test_multiple_bucket_cycles2 ... ok [INFO] [stdout] test test_single_bucket ... ok [INFO] [stdout] test test_new_with_zero_bucket_count - should panic ... ok [INFO] [stdout] test test_new_sliding_window_counter ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/sliding_window_counter_core2.rs (/opt/rustwide/target/release/build/rate-guard-core/cbbaf6e669c93576/out/sliding_window_counter_core2-cbbaf6e669c93576) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test test_bucket_expiry_boundary_conditions ... ok [INFO] [stdout] test test_bucket_start_tick_precision ... ok [INFO] [stdout] test test_sliding_window_range_calculation ... ok [INFO] [stdout] test test_bucket_index_calculation ... ok [INFO] [stdout] test test_complex_bucket_expiry_scenarios ... ok [INFO] [stdout] test test_high_frequency_buckets ... ok [INFO] [stdout] test test_same_tick_multiple_calls ... ok [INFO] [stdout] test test_single_bucket_configuration ... ok [INFO] [stdout] test test_contention_failure ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_contention_failure stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_contention_failure' (766) panicked at tests/sliding_window_counter_core2.rs:38:5: [INFO] [stdout] Should observe some contention failures [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x568666ca9f51 - <::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt [INFO] [stdout] 1: 0x568666cbe2aa - core[5c14b8d5a259cc4e]::fmt::write [INFO] [stdout] 2: 0x568666cae39c - as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x568666c86a76 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x568666ca23e9 - std[218a0f7bb9a8af32]::panicking::default_hook [INFO] [stdout] 5: 0x568666c3f3b0 - test[2df5162924bba3e2]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x568666ca25a2 - std[218a0f7bb9a8af32]::panicking::panic_with_hook [INFO] [stdout] 7: 0x568666c86b54 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x568666c7f489 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x568666c8772d - __rustc[abc93889656912e2]::rust_begin_unwind [INFO] [stdout] 10: 0x568666cbefbc - core[5c14b8d5a259cc4e]::panicking::panic_fmt [INFO] [stdout] 11: 0x568666c255c6 - >::call_once [INFO] [stderr] error: test failed, to rerun pass `--test sliding_window_counter_core2` [INFO] [stdout] 12: 0x568666c3221b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>> [INFO] [stdout] 13: 0x568666c3f9d5 - test[2df5162924bba3e2]::run_test::{closure#0} [INFO] [stdout] 14: 0x568666c38e24 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 15: 0x568666c42962 - ::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 16: 0x568666ca97ef - ::new::thread_start [INFO] [stdout] 17: 0x78045886cdfa - [INFO] [stdout] 18: 0x7804589003d4 - clone [INFO] [stdout] 19: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_contention_failure [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `"docker" "inspect" "bb7effd83c3efca82cdc3925a8032c9cc5146fac780c49140faba36990acafe9"` [INFO] running `"docker" "rm" "-f" "bb7effd83c3efca82cdc3925a8032c9cc5146fac780c49140faba36990acafe9"` [INFO] [stdout] bb7effd83c3efca82cdc3925a8032c9cc5146fac780c49140faba36990acafe9