[INFO] fetching crate floodgate 0.5.1... [INFO] testing floodgate-0.5.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-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 b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c937bb9a83bef96a6df4e4136aa05628d854ec5b7848ce1f9439bda5b135f80b [INFO] running `Command { std: "docker" "start" "-a" "c937bb9a83bef96a6df4e4136aa05628d854ec5b7848ce1f9439bda5b135f80b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c937bb9a83bef96a6df4e4136aa05628d854ec5b7848ce1f9439bda5b135f80b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c937bb9a83bef96a6df4e4136aa05628d854ec5b7848ce1f9439bda5b135f80b", kill_on_drop: false }` [INFO] [stdout] c937bb9a83bef96a6df4e4136aa05628d854ec5b7848ce1f9439bda5b135f80b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e60d77c7e70665bd955bd3bbedb04d9268f5c22c74df30add8af855d3889a5a [INFO] running `Command { std: "docker" "start" "-a" "7e60d77c7e70665bd955bd3bbedb04d9268f5c22c74df30add8af855d3889a5a", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.11 [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.93s [INFO] running `Command { std: "docker" "inspect" "7e60d77c7e70665bd955bd3bbedb04d9268f5c22c74df30add8af855d3889a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e60d77c7e70665bd955bd3bbedb04d9268f5c22c74df30add8af855d3889a5a", kill_on_drop: false }` [INFO] [stdout] 7e60d77c7e70665bd955bd3bbedb04d9268f5c22c74df30add8af855d3889a5a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e22e555d1862bf01620acfefb42f16f4c8857f961f31902313e269ef7c217665 [INFO] running `Command { std: "docker" "start" "-a" "e22e555d1862bf01620acfefb42f16f4c8857f961f31902313e269ef7c217665", 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 1.10s [INFO] running `Command { std: "docker" "inspect" "e22e555d1862bf01620acfefb42f16f4c8857f961f31902313e269ef7c217665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e22e555d1862bf01620acfefb42f16f4c8857f961f31902313e269ef7c217665", kill_on_drop: false }` [INFO] [stdout] e22e555d1862bf01620acfefb42f16f4c8857f961f31902313e269ef7c217665 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dcc04fe50adba468b69ec067b37513b14324ecd28d0f4e592abbb6f2470bc6d3 [INFO] running `Command { std: "docker" "start" "-a" "dcc04fe50adba468b69ec067b37513b14324ecd28d0f4e592abbb6f2470bc6d3", 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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/floodgate-8626c84771d59f78) [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 45.35s [INFO] [stdout] [INFO] [stderr] Doc-tests floodgate [INFO] [stdout] [INFO] [stdout] running 7 tests [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::trigger (line 146) ... 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::reset (line 172) ... ok [INFO] [stdout] test src/jumping_window.rs - jumping_window::JumpingWindow::new (line 21) ... 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::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.81s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dcc04fe50adba468b69ec067b37513b14324ecd28d0f4e592abbb6f2470bc6d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc04fe50adba468b69ec067b37513b14324ecd28d0f4e592abbb6f2470bc6d3", kill_on_drop: false }` [INFO] [stdout] dcc04fe50adba468b69ec067b37513b14324ecd28d0f4e592abbb6f2470bc6d3