[INFO] cloning repository https://github.com/denys-bushuliak/rate-limiter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/denys-bushuliak/rate-limiter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenys-bushuliak%2Frate-limiter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenys-bushuliak%2Frate-limiter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ed73a4dadc9bf1e77c686b720bc42b37ffd2548b
[INFO] testing denys-bushuliak/rate-limiter against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenys-bushuliak%2Frate-limiter" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/denys-bushuliak/rate-limiter
[INFO] finished tweaking git repo https://github.com/denys-bushuliak/rate-limiter
[INFO] tweaked toml for git repo https://github.com/denys-bushuliak/rate-limiter written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/denys-bushuliak/rate-limiter on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/denys-bushuliak/rate-limiter 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.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded shell-escape v0.1.5
[INFO] [stderr]   Downloaded lcov2cobertura v1.0.9
[INFO] [stderr]   Downloaded lexopt v0.3.2
[INFO] [stderr]   Downloaded os_pipe v1.2.3
[INFO] [stderr]   Downloaded shared_thread v0.2.0
[INFO] [stderr]   Downloaded shared_child v1.1.1
[INFO] [stderr]   Downloaded opener v0.8.4
[INFO] [stderr]   Downloaded ruzstd v0.8.3
[INFO] [stderr]   Downloaded duct v1.1.1
[INFO] [stderr]   Downloaded cargo-llvm-cov v0.8.7
[INFO] [stderr]   Downloaded cargo-config2 v0.1.44
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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] 03cd6afae581e35028fd023b4c091a480eb2feb457f43e5b074ee1a47f7604e4
[INFO] running `Command { std: "docker" "start" "03cd6afae581e35028fd023b4c091a480eb2feb457f43e5b074ee1a47f7604e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "03cd6afae581e35028fd023b4c091a480eb2feb457f43e5b074ee1a47f7604e4", 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" "03cd6afae581e35028fd023b4c091a480eb2feb457f43e5b074ee1a47f7604e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "03cd6afae581e35028fd023b4c091a480eb2feb457f43e5b074ee1a47f7604e4", 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" "03cd6afae581e35028fd023b4c091a480eb2feb457f43e5b074ee1a47f7604e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling rate-limiter v0.1.0 (/opt/rustwide/workdir/crates/rate-limiter)
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling http-server v0.1.0 (/opt/rustwide/workdir/crates/http-server)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.73s
[INFO] running `Command { std: "docker" "inspect" "03cd6afae581e35028fd023b4c091a480eb2feb457f43e5b074ee1a47f7604e4", 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" "03cd6afae581e35028fd023b4c091a480eb2feb457f43e5b074ee1a47f7604e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling winnow v1.0.3
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling fs-err v3.3.0
[INFO] [stderr]    Compiling camino v1.2.2
[INFO] [stderr]    Compiling filetime v0.2.29
[INFO] [stderr]    Compiling shared_child v1.1.1
[INFO] [stderr]    Compiling toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]    Compiling serde_spanned v1.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling os_pipe v1.2.3
[INFO] [stderr]    Compiling quick-xml v0.39.4
[INFO] [stderr]    Compiling shared_thread v0.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling rustc-demangle v0.1.27
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling lexopt v0.3.2
[INFO] [stderr]    Compiling duct v1.1.1
[INFO] [stderr]    Compiling shell-escape v0.1.5
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling ruzstd v0.8.3
[INFO] [stderr]    Compiling http-server v0.1.0 (/opt/rustwide/workdir/crates/http-server)
[INFO] [stderr]    Compiling toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling toml v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling xattr v1.6.1
[INFO] [stderr]    Compiling tar v0.4.46
[INFO] [stderr]    Compiling cargo-config2 v0.1.44
[INFO] [stderr]    Compiling bstr v1.12.1
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling lcov2cobertura v1.0.9
[INFO] [stderr]    Compiling opener v0.8.4
[INFO] [stderr]    Compiling cargo-llvm-cov v0.8.7
[INFO] [stderr]    Compiling rate-limiter v0.1.0 (/opt/rustwide/workdir/crates/rate-limiter)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 21.92s
[INFO] running `Command { std: "docker" "inspect" "03cd6afae581e35028fd023b4c091a480eb2feb457f43e5b074ee1a47f7604e4", 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" "03cd6afae581e35028fd023b4c091a480eb2feb457f43e5b074ee1a47f7604e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/http_server-26f160c303668c7e)
[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] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rate_limiter-71f5ac0b2f209268)
[INFO] [stdout] 
[INFO] [stdout] running 18 tests
[INFO] [stdout] test fixed_window::tests::allows_requests_under_limit ... ok
[INFO] [stdout] test fixed_window::tests::blocks_requests_over_limit ... ok
[INFO] [stdout] test leaky_bucket::tests::blocks_when_bucket_is_full ... ok
[INFO] [stdout] test sliding_window::tests::test_window_allow ... ok
[INFO] [stdout] test sliding_window::tests::test_window_requests_deny ... ok
[INFO] [stdout] test sliding_window::tests::test_window_requests_allow ... ok
[INFO] [stdout] test fixed_window::tests::handles_zero_capacity ... ok
[INFO] [stdout] test leaky_bucket::tests::allows_requests_under_capacity ... ok
[INFO] [stdout] test token_bucket::tests::test_initial_capacity ... ok
[INFO] [stdout] test token_bucket::tests::test_empty_capacity ... ok
[INFO] [stdout] test fixed_window::tests::test_concurrent_lock_free_access ... ok
[INFO] [stdout] test token_bucket::tests::test_concurrent_lock_free_access ... ok
[INFO] [stdout] test leaky_bucket::tests::test_concurrent_lock_free_access ... ok
[INFO] [stdout] test fixed_window::tests::resets_counter_after_window_expires ... ok
[INFO] [stdout] test token_bucket::tests::test_capacity_is_never_exceeded ... ok
[INFO] [stdout] test leaky_bucket::tests::leaks_over_time_allowing_new_requests ... ok
[INFO] [stdout] test token_bucket::tests::test_token_refill_over_time ... ok
[INFO] [stdout] test sliding_window::tests::test_window_deny ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.06s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rate_limiter
[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" "03cd6afae581e35028fd023b4c091a480eb2feb457f43e5b074ee1a47f7604e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03cd6afae581e35028fd023b4c091a480eb2feb457f43e5b074ee1a47f7604e4", kill_on_drop: false }`
[INFO] [stdout] 03cd6afae581e35028fd023b4c091a480eb2feb457f43e5b074ee1a47f7604e4
