[INFO] fetching crate floodgate 0.5.1... [INFO] testing floodgate-0.5.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate floodgate 0.5.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate floodgate 0.5.1 [INFO] finished tweaking crates.io crate floodgate 0.5.1 [INFO] tweaked toml for crates.io crate floodgate 0.5.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate floodgate 0.5.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72ec9ce6b418cf7cf851d6d9096e1b7e700f0b053e8d8d304cce5a609818f2e1 [INFO] running `Command { std: "docker" "start" "-a" "72ec9ce6b418cf7cf851d6d9096e1b7e700f0b053e8d8d304cce5a609818f2e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72ec9ce6b418cf7cf851d6d9096e1b7e700f0b053e8d8d304cce5a609818f2e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72ec9ce6b418cf7cf851d6d9096e1b7e700f0b053e8d8d304cce5a609818f2e1", kill_on_drop: false }` [INFO] [stdout] 72ec9ce6b418cf7cf851d6d9096e1b7e700f0b053e8d8d304cce5a609818f2e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef9954a69c432d7bcd6cd3e27276cb2dd34fce0e23a116113397e0ff0a88bb27 [INFO] running `Command { std: "docker" "start" "-a" "ef9954a69c432d7bcd6cd3e27276cb2dd34fce0e23a116113397e0ff0a88bb27", kill_on_drop: false }` [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling floodgate v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dynamic_mapping.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_bucket(&self, key: &K, capacity: u64, period: Duration) -> RefMut { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | fn get_bucket(&self, key: &K, capacity: u64, period: Duration) -> RefMut<'_, K, JumpingWindow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fixed_mapping.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_bucket(&self, key: &K) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn get_bucket(&self, key: &K) -> RefMut<'_, K, JumpingWindow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 38 | ) -> RefMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | ) -> RefMut<'_, K, JumpingWindow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "ef9954a69c432d7bcd6cd3e27276cb2dd34fce0e23a116113397e0ff0a88bb27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef9954a69c432d7bcd6cd3e27276cb2dd34fce0e23a116113397e0ff0a88bb27", kill_on_drop: false }` [INFO] [stdout] ef9954a69c432d7bcd6cd3e27276cb2dd34fce0e23a116113397e0ff0a88bb27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4df5848e6c9d0373fc3904f2a4b25a3110f66c389cc579cf1636f9e98e1667ea [INFO] running `Command { std: "docker" "start" "-a" "4df5848e6c9d0373fc3904f2a4b25a3110f66c389cc579cf1636f9e98e1667ea", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dynamic_mapping.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_bucket(&self, key: &K, capacity: u64, period: Duration) -> RefMut { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | fn get_bucket(&self, key: &K, capacity: u64, period: Duration) -> RefMut<'_, K, JumpingWindow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fixed_mapping.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_bucket(&self, key: &K) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn get_bucket(&self, key: &K) -> RefMut<'_, K, JumpingWindow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 38 | ) -> RefMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | ) -> RefMut<'_, K, JumpingWindow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling floodgate v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dynamic_mapping.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_bucket(&self, key: &K, capacity: u64, period: Duration) -> RefMut { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | fn get_bucket(&self, key: &K, capacity: u64, period: Duration) -> RefMut<'_, K, JumpingWindow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fixed_mapping.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_bucket(&self, key: &K) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn get_bucket(&self, key: &K) -> RefMut<'_, K, JumpingWindow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 38 | ) -> RefMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | ) -> RefMut<'_, K, JumpingWindow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "4df5848e6c9d0373fc3904f2a4b25a3110f66c389cc579cf1636f9e98e1667ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4df5848e6c9d0373fc3904f2a4b25a3110f66c389cc579cf1636f9e98e1667ea", kill_on_drop: false }` [INFO] [stdout] 4df5848e6c9d0373fc3904f2a4b25a3110f66c389cc579cf1636f9e98e1667ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 26ea73ea49b0df51932dcc8c499d82c1f5c36ba6d06e495eec8c7bd41983dedb [INFO] running `Command { std: "docker" "start" "-a" "26ea73ea49b0df51932dcc8c499d82c1f5c36ba6d06e495eec8c7bd41983dedb", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/dynamic_mapping.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | fn get_bucket(&self, key: &K, capacity: u64, period: Duration) -> RefMut { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | fn get_bucket(&self, key: &K, capacity: u64, period: Duration) -> RefMut<'_, K, JumpingWindow> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fixed_mapping.rs:35:19 [INFO] [stderr] | [INFO] [stderr] 35 | fn get_bucket(&self, key: &K) -> RefMut { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 35 | fn get_bucket(&self, key: &K) -> RefMut<'_, K, JumpingWindow> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mapping.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 38 | ) -> RefMut { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 38 | ) -> RefMut<'_, K, JumpingWindow> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `floodgate` (lib) generated 3 warnings (run `cargo fix --lib -p floodgate` to apply 3 suggestions) [INFO] [stderr] warning: `floodgate` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/floodgate-1f277d5c9281077d) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::benchmark ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 52.12s [INFO] [stdout] [INFO] [stderr] Doc-tests floodgate [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/jumping_window.rs - jumping_window::JumpingWindow::new (line 21) ... ok [INFO] [stdout] test src/jumping_window.rs - jumping_window::JumpingWindow::reset (line 172) ... ok [INFO] [stdout] test src/jumping_window.rs - jumping_window::JumpingWindow::trigger (line 146) ... ok [INFO] [stdout] test src/jumping_window.rs - jumping_window::JumpingWindow::retry_after (line 102) ... ok [INFO] [stdout] test src/jumping_window.rs - jumping_window::JumpingWindow::next_reset (line 76) ... ok [INFO] [stdout] test src/jumping_window.rs - jumping_window::JumpingWindow::can_trigger (line 126) ... ok [INFO] [stdout] test src/jumping_window.rs - jumping_window::JumpingWindow::tokens (line 50) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.91s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "26ea73ea49b0df51932dcc8c499d82c1f5c36ba6d06e495eec8c7bd41983dedb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26ea73ea49b0df51932dcc8c499d82c1f5c36ba6d06e495eec8c7bd41983dedb", kill_on_drop: false }` [INFO] [stdout] 26ea73ea49b0df51932dcc8c499d82c1f5c36ba6d06e495eec8c7bd41983dedb