[INFO] fetching crate rusty-blitzcrank 0.2.1... [INFO] testing rusty-blitzcrank-0.2.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rusty-blitzcrank 0.2.1 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty-blitzcrank 0.2.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 169 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-executor v0.1.10 [INFO] [stderr] Downloaded tokio-timer v0.2.13 [INFO] [stderr] Downloaded crossbeam-utils v0.7.2 [INFO] [stderr] Downloaded futures v0.1.31 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 404e08d8920d7f979d7111626e672f886ab4505e2aa201807b3e01af68abbcf1 [INFO] running `Command { std: "docker" "start" "-a" "404e08d8920d7f979d7111626e672f886ab4505e2aa201807b3e01af68abbcf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "404e08d8920d7f979d7111626e672f886ab4505e2aa201807b3e01af68abbcf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "404e08d8920d7f979d7111626e672f886ab4505e2aa201807b3e01af68abbcf1", kill_on_drop: false }` [INFO] [stdout] 404e08d8920d7f979d7111626e672f886ab4505e2aa201807b3e01af68abbcf1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0094188c427051a5d4e10793a7ae06b59ea7475cb127f94c284d55f310227dd8 [INFO] running `Command { std: "docker" "start" "-a" "0094188c427051a5d4e10793a7ae06b59ea7475cb127f94c284d55f310227dd8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [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 35.53s [INFO] running `Command { std: "docker" "inspect" "0094188c427051a5d4e10793a7ae06b59ea7475cb127f94c284d55f310227dd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0094188c427051a5d4e10793a7ae06b59ea7475cb127f94c284d55f310227dd8", kill_on_drop: false }` [INFO] [stdout] 0094188c427051a5d4e10793a7ae06b59ea7475cb127f94c284d55f310227dd8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3f5a1e3e628d45fece4c808bcb5103a74768435b2d6db9c5566529e4cf22fc7 [INFO] running `Command { std: "docker" "start" "-a" "e3f5a1e3e628d45fece4c808bcb5103a74768435b2d6db9c5566529e4cf22fc7", 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 9.04s [INFO] running `Command { std: "docker" "inspect" "e3f5a1e3e628d45fece4c808bcb5103a74768435b2d6db9c5566529e4cf22fc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f5a1e3e628d45fece4c808bcb5103a74768435b2d6db9c5566529e4cf22fc7", kill_on_drop: false }` [INFO] [stdout] e3f5a1e3e628d45fece4c808bcb5103a74768435b2d6db9c5566529e4cf22fc7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3b4b5f252a01a607d75633664989d2618374d2e445f8f941e5fcfb05b225cf3e [INFO] running `Command { std: "docker" "start" "-a" "3b4b5f252a01a607d75633664989d2618374d2e445f8f941e5fcfb05b225cf3e", 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.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_blitzcrank-792f76829356c574) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test api_key::tests::create_key_with_custom_rate ... ok [INFO] [stdout] test api_key::tests::create_key_with_default_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] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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" "3b4b5f252a01a607d75633664989d2618374d2e445f8f941e5fcfb05b225cf3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b4b5f252a01a607d75633664989d2618374d2e445f8f941e5fcfb05b225cf3e", kill_on_drop: false }` [INFO] [stdout] 3b4b5f252a01a607d75633664989d2618374d2e445f8f941e5fcfb05b225cf3e