[INFO] fetching crate cascara 0.1.1... [INFO] checking cascara-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate cascara 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate cascara 0.1.1 [INFO] finished tweaking crates.io crate cascara 0.1.1 [INFO] tweaked toml for crates.io crate cascara 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cascara 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded probabilistic-collections v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] beb1c724a6c7ed2a7f376ed1f7a3cde2ae344eb99c97cb81359da2de139ea783 [INFO] running `Command { std: "docker" "start" "-a" "beb1c724a6c7ed2a7f376ed1f7a3cde2ae344eb99c97cb81359da2de139ea783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "beb1c724a6c7ed2a7f376ed1f7a3cde2ae344eb99c97cb81359da2de139ea783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beb1c724a6c7ed2a7f376ed1f7a3cde2ae344eb99c97cb81359da2de139ea783", kill_on_drop: false }` [INFO] [stdout] beb1c724a6c7ed2a7f376ed1f7a3cde2ae344eb99c97cb81359da2de139ea783 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b99c17ef2bb10afc8e25ea57992a72382796f085c873f67f624ed7e59e963ed [INFO] running `Command { std: "docker" "start" "-a" "9b99c17ef2bb10afc8e25ea57992a72382796f085c873f67f624ed7e59e963ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking probabilistic-collections v0.7.0 [INFO] [stderr] Checking cascara v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `update` and `is_empty` are never used [INFO] [stdout] --> src/ttl.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Expiration { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 49 | fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn is_empty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:671:17 [INFO] [stdout] | [INFO] [stdout] 671 | pub fn iter(&self) -> Iter { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 671 | pub fn iter(&self) -> Iter<'_, K, V, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | fn keys(&self) -> Keys>; [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] 163 | fn keys(&self) -> Keys<'_, u64, Item>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | fn keys(&self) -> Keys> { [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] 292 | fn keys(&self) -> Keys<'_, u64, Item> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> benches/cache.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | let mut cache = Cache::new(100, 200); [INFO] [stdout] | ^^^^^^^^^^ --- unexpected argument #2 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/cache.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 13 - let mut cache = Cache::new(100, 200); [INFO] [stdout] 13 + let mut cache = Cache::new(100); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> benches/cache.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut cache = Cache::new(100, 200); [INFO] [stdout] | ^^^^^^^^^^ --- unexpected argument #2 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/cache.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 22 - let mut cache = Cache::new(100, 200); [INFO] [stdout] 22 + let mut cache = Cache::new(100); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cascara` (bench "cache") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:671:17 [INFO] [stdout] | [INFO] [stdout] 671 | pub fn iter(&self) -> Iter { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 671 | pub fn iter(&self) -> Iter<'_, K, V, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | fn keys(&self) -> Keys>; [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] 163 | fn keys(&self) -> Keys<'_, u64, Item>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | fn keys(&self) -> Keys> { [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] 292 | fn keys(&self) -> Keys<'_, u64, Item> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9b99c17ef2bb10afc8e25ea57992a72382796f085c873f67f624ed7e59e963ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b99c17ef2bb10afc8e25ea57992a72382796f085c873f67f624ed7e59e963ed", kill_on_drop: false }` [INFO] [stdout] 9b99c17ef2bb10afc8e25ea57992a72382796f085c873f67f624ed7e59e963ed