[INFO] fetching crate rusty-blitzcrank 0.2.1... [INFO] testing rusty-blitzcrank-0.2.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate rusty-blitzcrank 0.2.1 into /workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty-blitzcrank 0.2.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c0770b68bffffd952d20708d18015313dd1a4ddf6ec9960502f96603e85a6c2 [INFO] running `Command { std: "docker" "start" "-a" "1c0770b68bffffd952d20708d18015313dd1a4ddf6ec9960502f96603e85a6c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c0770b68bffffd952d20708d18015313dd1a4ddf6ec9960502f96603e85a6c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c0770b68bffffd952d20708d18015313dd1a4ddf6ec9960502f96603e85a6c2", kill_on_drop: false }` [INFO] [stdout] 1c0770b68bffffd952d20708d18015313dd1a4ddf6ec9960502f96603e85a6c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1c4ff1f59e7890c5456299eaa1bdd7d97ec317ae326542d1a3cb3c4f3f3c752 [INFO] running `Command { std: "docker" "start" "-a" "f1c4ff1f59e7890c5456299eaa1bdd7d97ec317ae326542d1a3cb3c4f3f3c752", kill_on_drop: false }` [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling tracing v0.1.41 [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 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 url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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.01s [INFO] running `Command { std: "docker" "inspect" "f1c4ff1f59e7890c5456299eaa1bdd7d97ec317ae326542d1a3cb3c4f3f3c752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1c4ff1f59e7890c5456299eaa1bdd7d97ec317ae326542d1a3cb3c4f3f3c752", kill_on_drop: false }` [INFO] [stdout] f1c4ff1f59e7890c5456299eaa1bdd7d97ec317ae326542d1a3cb3c4f3f3c752 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d47a83e3359a0acf02b2c1850b74583c816820ff2b0e016f6c8fc391f29d7856 [INFO] running `Command { std: "docker" "start" "-a" "d47a83e3359a0acf02b2c1850b74583c816820ff2b0e016f6c8fc391f29d7856", kill_on_drop: false }` [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] [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 9.10s [INFO] running `Command { std: "docker" "inspect" "d47a83e3359a0acf02b2c1850b74583c816820ff2b0e016f6c8fc391f29d7856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47a83e3359a0acf02b2c1850b74583c816820ff2b0e016f6c8fc391f29d7856", kill_on_drop: false }` [INFO] [stdout] d47a83e3359a0acf02b2c1850b74583c816820ff2b0e016f6c8fc391f29d7856 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eed07d7c70b86e08e6d5bcd3d98c272c0bc77bf8a2e07763d3656fdc6eedd0fe [INFO] running `Command { std: "docker" "start" "-a" "eed07d7c70b86e08e6d5bcd3d98c272c0bc77bf8a2e07763d3656fdc6eedd0fe", 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.21s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_blitzcrank-ae3153ef9767e039) [INFO] [stdout] running 6 tests [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::create_default_api_key ... ok [INFO] [stdout] test api_key::tests::hit_rate_limit ... ok [INFO] [stdout] test api_key::tests::create_key_with_default_rate ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [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" "eed07d7c70b86e08e6d5bcd3d98c272c0bc77bf8a2e07763d3656fdc6eedd0fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eed07d7c70b86e08e6d5bcd3d98c272c0bc77bf8a2e07763d3656fdc6eedd0fe", kill_on_drop: false }` [INFO] [stdout] eed07d7c70b86e08e6d5bcd3d98c272c0bc77bf8a2e07763d3656fdc6eedd0fe