[INFO] fetching crate rusty-blitzcrank 0.2.1... [INFO] testing rusty-blitzcrank-0.2.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rusty-blitzcrank 0.2.1 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty-blitzcrank 0.2.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 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" "+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] 1a71128541647bfce03c025a49f6c7ed4cd147068a7b99b2b3aa84f05dafeae5 [INFO] running `Command { std: "docker" "start" "-a" "1a71128541647bfce03c025a49f6c7ed4cd147068a7b99b2b3aa84f05dafeae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a71128541647bfce03c025a49f6c7ed4cd147068a7b99b2b3aa84f05dafeae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a71128541647bfce03c025a49f6c7ed4cd147068a7b99b2b3aa84f05dafeae5", kill_on_drop: false }` [INFO] [stdout] 1a71128541647bfce03c025a49f6c7ed4cd147068a7b99b2b3aa84f05dafeae5 [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] 32b3de29b29ee40f70d42395d05412b8eab58203bf963c535ef18e935ccc461f [INFO] running `Command { std: "docker" "start" "-a" "32b3de29b29ee40f70d42395d05412b8eab58203bf963c535ef18e935ccc461f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.31 [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 serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.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 58.32s [INFO] running `Command { std: "docker" "inspect" "32b3de29b29ee40f70d42395d05412b8eab58203bf963c535ef18e935ccc461f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b3de29b29ee40f70d42395d05412b8eab58203bf963c535ef18e935ccc461f", kill_on_drop: false }` [INFO] [stdout] 32b3de29b29ee40f70d42395d05412b8eab58203bf963c535ef18e935ccc461f [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] 86b7d7cff1fb76bd2640f8609b47a4b049973f5c63b9184915178242b50fca52 [INFO] running `Command { std: "docker" "start" "-a" "86b7d7cff1fb76bd2640f8609b47a4b049973f5c63b9184915178242b50fca52", 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 6.30s [INFO] running `Command { std: "docker" "inspect" "86b7d7cff1fb76bd2640f8609b47a4b049973f5c63b9184915178242b50fca52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86b7d7cff1fb76bd2640f8609b47a4b049973f5c63b9184915178242b50fca52", kill_on_drop: false }` [INFO] [stdout] 86b7d7cff1fb76bd2640f8609b47a4b049973f5c63b9184915178242b50fca52 [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] 4cc2b10b03ff957b62068c83ba0ea6705e60beb4f9e15aa01cbde5e1e5083665 [INFO] running `Command { std: "docker" "start" "-a" "4cc2b10b03ff957b62068c83ba0ea6705e60beb4f9e15aa01cbde5e1e5083665", 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] [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_default_api_key ... ok [INFO] [stdout] test api_key::tests::create_key_with_default_rate ... ok [INFO] [stdout] test api_key::tests::hit_rate_limit ... 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_key_with_custom_rate ... 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" "4cc2b10b03ff957b62068c83ba0ea6705e60beb4f9e15aa01cbde5e1e5083665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cc2b10b03ff957b62068c83ba0ea6705e60beb4f9e15aa01cbde5e1e5083665", kill_on_drop: false }` [INFO] [stdout] 4cc2b10b03ff957b62068c83ba0ea6705e60beb4f9e15aa01cbde5e1e5083665