[INFO] fetching crate rusty-blitzcrank 0.2.1... [INFO] testing rusty-blitzcrank-0.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate rusty-blitzcrank 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rusty-blitzcrank 0.2.1 [INFO] finished tweaking crates.io crate rusty-blitzcrank 0.2.1 [INFO] tweaked toml for crates.io crate rusty-blitzcrank 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty-blitzcrank 0.2.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 168 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf59c950395f297fce07eb95260c2f82be65005d61b536ef8a0a93f3692fc06b [INFO] running `Command { std: "docker" "start" "-a" "bf59c950395f297fce07eb95260c2f82be65005d61b536ef8a0a93f3692fc06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf59c950395f297fce07eb95260c2f82be65005d61b536ef8a0a93f3692fc06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf59c950395f297fce07eb95260c2f82be65005d61b536ef8a0a93f3692fc06b", kill_on_drop: false }` [INFO] [stdout] bf59c950395f297fce07eb95260c2f82be65005d61b536ef8a0a93f3692fc06b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b39ebba4d456c798f282b6cc372b22a17d2936c4e0693a16f32d31f382d6e3a0 [INFO] running `Command { std: "docker" "start" "-a" "b39ebba4d456c798f282b6cc372b22a17d2936c4e0693a16f32d31f382d6e3a0", kill_on_drop: false }` [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rusty-blitzcrank v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/api_key.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | .filter(|time| (seconds - time.deref().deref()) < self.limit2per as u64) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `u64` does not implement `Deref`, so calling `deref` on `&u64` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/api_key.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | .filter(|time| (seconds - time.deref().deref()) < self.limit2per as u64) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `u64` does not implement `Deref`, so calling `deref` on `&u64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/api_key.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | .filter(|v| v.clone() > &(seconds - self.limit1per as u64)) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `u64` does not implement `Clone`, so calling `clone` on `&u64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.66s [INFO] running `Command { std: "docker" "inspect" "b39ebba4d456c798f282b6cc372b22a17d2936c4e0693a16f32d31f382d6e3a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b39ebba4d456c798f282b6cc372b22a17d2936c4e0693a16f32d31f382d6e3a0", kill_on_drop: false }` [INFO] [stdout] b39ebba4d456c798f282b6cc372b22a17d2936c4e0693a16f32d31f382d6e3a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7985718e8173232f5a91d2effcec4f06e157d049ec5706c986ef7eabdc5ef6d [INFO] running `Command { std: "docker" "start" "-a" "e7985718e8173232f5a91d2effcec4f06e157d049ec5706c986ef7eabdc5ef6d", kill_on_drop: false }` [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/api_key.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | .filter(|time| (seconds - time.deref().deref()) < self.limit2per as u64) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `u64` does not implement `Deref`, so calling `deref` on `&u64` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/api_key.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | .filter(|time| (seconds - time.deref().deref()) < self.limit2per as u64) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `u64` does not implement `Deref`, so calling `deref` on `&u64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rusty-blitzcrank v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/api_key.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | .filter(|v| v.clone() > &(seconds - self.limit1per as u64)) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `u64` does not implement `Clone`, so calling `clone` on `&u64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/api_key.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | .filter(|time| (seconds - time.deref().deref()) < self.limit2per as u64) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `u64` does not implement `Deref`, so calling `deref` on `&u64` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/api_key.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | .filter(|time| (seconds - time.deref().deref()) < self.limit2per as u64) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `u64` does not implement `Deref`, so calling `deref` on `&u64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/api_key.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | .filter(|v| v.clone() > &(seconds - self.limit1per as u64)) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `u64` does not implement `Clone`, so calling `clone` on `&u64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.88s [INFO] running `Command { std: "docker" "inspect" "e7985718e8173232f5a91d2effcec4f06e157d049ec5706c986ef7eabdc5ef6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7985718e8173232f5a91d2effcec4f06e157d049ec5706c986ef7eabdc5ef6d", kill_on_drop: false }` [INFO] [stdout] e7985718e8173232f5a91d2effcec4f06e157d049ec5706c986ef7eabdc5ef6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b5126135b5a1526a635e819eb2705d31b6bb770f7b15fe6822e4c9c76bcd241 [INFO] running `Command { std: "docker" "start" "-a" "7b5126135b5a1526a635e819eb2705d31b6bb770f7b15fe6822e4c9c76bcd241", kill_on_drop: false }` [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/api_key.rs:54:51 [INFO] [stderr] | [INFO] [stderr] 54 | .filter(|time| (seconds - time.deref().deref()) < self.limit2per as u64) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `u64` does not implement `Deref`, so calling `deref` on `&u64` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/api_key.rs:54:43 [INFO] [stderr] | [INFO] [stderr] 54 | .filter(|time| (seconds - time.deref().deref()) < self.limit2per as u64) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `u64` does not implement `Deref`, so calling `deref` on `&u64` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/api_key.rs:106:26 [INFO] [stderr] | [INFO] [stderr] 106 | .filter(|v| v.clone() > &(seconds - self.limit1per as u64)) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `u64` does not implement `Clone`, so calling `clone` on `&u64` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `rusty-blitzcrank` (lib) generated 3 warnings (run `cargo fix --lib -p rusty-blitzcrank` to apply 3 suggestions) [INFO] [stderr] warning: `rusty-blitzcrank` (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/rusty_blitzcrank-ae3153ef9767e039) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test api_key::tests::create_default_api_key ... ok [INFO] [stdout] test api_key::tests::create_key_with_default_rate ... ok [INFO] [stdout] test api_key::tests::create_key_with_custom_rate ... ok [INFO] [stdout] test region::tests::create_invalid_region ... ok [INFO] [stdout] test region::tests::create_valid_region ... ok [INFO] [stdout] test api_key::tests::hit_rate_limit ... 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] Doc-tests rusty_blitzcrank [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" "7b5126135b5a1526a635e819eb2705d31b6bb770f7b15fe6822e4c9c76bcd241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b5126135b5a1526a635e819eb2705d31b6bb770f7b15fe6822e4c9c76bcd241", kill_on_drop: false }` [INFO] [stdout] 7b5126135b5a1526a635e819eb2705d31b6bb770f7b15fe6822e4c9c76bcd241