[INFO] cloning repository https://github.com/JhonaCodes/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/JhonaCodes/rate-limiter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJhonaCodes%2Frate-limiter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJhonaCodes%2Frate-limiter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 92112c87d09ada03e0e900f389fab909e1d0b458
[INFO] testing JhonaCodes/rate-limiter against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJhonaCodes%2Frate-limiter" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JhonaCodes/rate-limiter
[INFO] finished tweaking git repo https://github.com/JhonaCodes/rate-limiter
[INFO] tweaked toml for git repo https://github.com/JhonaCodes/rate-limiter written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JhonaCodes/rate-limiter on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JhonaCodes/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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded actix-governor v0.6.0
[INFO] [stderr]   Downloaded deranged v0.5.6
[INFO] [stderr]   Downloaded regex-lite v0.1.9
[INFO] [stderr]   Downloaded governor v0.8.1
[INFO] [stderr]   Downloaded syn v2.0.116
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 50d8586a2ddea8e5a767fcbe7cd79d0d8a14440a573e7c37aa7c37571e2d4c3e
[INFO] running `Command { std: "docker" "start" "-a" "50d8586a2ddea8e5a767fcbe7cd79d0d8a14440a573e7c37aa7c37571e2d4c3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50d8586a2ddea8e5a767fcbe7cd79d0d8a14440a573e7c37aa7c37571e2d4c3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50d8586a2ddea8e5a767fcbe7cd79d0d8a14440a573e7c37aa7c37571e2d4c3e", kill_on_drop: false }`
[INFO] [stdout] 50d8586a2ddea8e5a767fcbe7cd79d0d8a14440a573e7c37aa7c37571e2d4c3e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b378b51521f6ce8f89334a07fc9adf98d747aafce019ab28c022d1d0740178d0
[INFO] running `Command { std: "docker" "start" "-a" "b378b51521f6ce8f89334a07fc9adf98d747aafce019ab28c022d1d0740178d0", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.23
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling regex-lite v0.1.9
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling deranged v0.5.6
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling raw-cpuid v11.6.0
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling syn v2.0.116
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling spinning_top v0.3.0
[INFO] [stderr]    Compiling no-std-compat v0.4.1
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling nonzero_ext v0.3.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling web-time v1.1.0
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling dashmap v6.1.0
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling quanta v0.12.6
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling actix-rt v2.11.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling derive_more v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling governor v0.8.1
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling governor v0.6.3
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling actix-http v3.11.2
[INFO] [stderr]    Compiling actix-web v4.12.1
[INFO] [stderr]    Compiling actix-governor v0.6.0
[INFO] [stderr]    Compiling rate_limiter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s
[INFO] running `Command { std: "docker" "inspect" "b378b51521f6ce8f89334a07fc9adf98d747aafce019ab28c022d1d0740178d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b378b51521f6ce8f89334a07fc9adf98d747aafce019ab28c022d1d0740178d0", kill_on_drop: false }`
[INFO] [stdout] b378b51521f6ce8f89334a07fc9adf98d747aafce019ab28c022d1d0740178d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bfb67158f6bfaa606c21f403fed13ab7c195320849e17a04ac576ab5ad23555f
[INFO] running `Command { std: "docker" "start" "-a" "bfb67158f6bfaa606c21f403fed13ab7c195320849e17a04ac576ab5ad23555f", kill_on_drop: false }`
[INFO] [stderr]    Compiling rate_limiter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.18s
[INFO] running `Command { std: "docker" "inspect" "bfb67158f6bfaa606c21f403fed13ab7c195320849e17a04ac576ab5ad23555f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfb67158f6bfaa606c21f403fed13ab7c195320849e17a04ac576ab5ad23555f", kill_on_drop: false }`
[INFO] [stdout] bfb67158f6bfaa606c21f403fed13ab7c195320849e17a04ac576ab5ad23555f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 74d1b76dd041d35cfe07ac1a79bd53e9ef3659d2a0ae9be8dbe561985726433a
[INFO] running `Command { std: "docker" "start" "-a" "74d1b76dd041d35cfe07ac1a79bd53e9ef3659d2a0ae9be8dbe561985726433a", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rate_limiter-8c4653d8ac334731)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test engine::tests::lockout_is_capped ... ok
[INFO] [stdout] test global::tests::peer_ip_strategy_uses_peer_addr_only ... ok
[INFO] [stdout] test identity::tests::bearer_token_identity_suffix_is_user_fingerprint ... ok
[INFO] [stdout] test identity::tests::device_id_creates_distinct_bucket_for_anonymous_requests ... ok
[INFO] [stdout] test identity::tests::identity_uses_peer_ip_as_fallback ... ok
[INFO] [stdout] test identity::tests::device_id_is_ignored_when_bearer_token_present ... ok
[INFO] [stdout] test engine::tests::method_scope_mutating_only ... ok
[INFO] [stdout] test global::tests::real_ip_strategy_reads_x_forwarded_for_first_ip ... ok
[INFO] [stdout] test identity::tests::api_key_has_priority_over_bearer_token ... ok
[INFO] [stdout] test identity::tests::identity_uses_real_ip_and_anon_suffix ... ok
[INFO] [stdout] test global::tests::real_ip_strategy_falls_back_to_peer_addr ... ok
[INFO] [stderr]    Doc-tests rate_limiter
[INFO] [stdout] test global::tests::global_limiter_blocks_across_different_endpoints_for_same_identity ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.10s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/middleware.rs - middleware::RateLimiter::middleware (line 65) ... ignored
[INFO] [stdout] test src/middleware.rs - middleware::RateLimiter::new (line 33) ... ignored
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.62s; merged doctests compilation took 0.61s
[INFO] running `Command { std: "docker" "inspect" "74d1b76dd041d35cfe07ac1a79bd53e9ef3659d2a0ae9be8dbe561985726433a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74d1b76dd041d35cfe07ac1a79bd53e9ef3659d2a0ae9be8dbe561985726433a", kill_on_drop: false }`
[INFO] [stdout] 74d1b76dd041d35cfe07ac1a79bd53e9ef3659d2a0ae9be8dbe561985726433a
