[INFO] fetching crate mergable 0.51.0... [INFO] checking mergable-0.51.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate mergable 0.51.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate mergable 0.51.0 [INFO] finished tweaking crates.io crate mergable 0.51.0 [INFO] tweaked toml for crates.io crate mergable 0.51.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mergable 0.51.0 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mergable 0.51.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dcce5ffe1950c6ae5bdb2eb15b1e24431d397e2b7241cb6e79a2f640c1b4253 [INFO] running `Command { std: "docker" "start" "-a" "9dcce5ffe1950c6ae5bdb2eb15b1e24431d397e2b7241cb6e79a2f640c1b4253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dcce5ffe1950c6ae5bdb2eb15b1e24431d397e2b7241cb6e79a2f640c1b4253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dcce5ffe1950c6ae5bdb2eb15b1e24431d397e2b7241cb6e79a2f640c1b4253", kill_on_drop: false }` [INFO] [stdout] 9dcce5ffe1950c6ae5bdb2eb15b1e24431d397e2b7241cb6e79a2f640c1b4253 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 268ac2ef9943451f5403ee4295af2813f13fd6283d780ee91b88872881de4af4 [INFO] running `Command { std: "docker" "start" "-a" "268ac2ef9943451f5403ee4295af2813f13fd6283d780ee91b88872881de4af4", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking rusty-fork v0.3.1 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking proptest v1.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling proptest-derive v0.7.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking mergable v0.51.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/context.rs:132:36 [INFO] [stdout] | [INFO] [stdout] 132 | Self::unsafe_from_u64(rand::Rng::gen(&mut rand::thread_rng())) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/context.rs:132:51 [INFO] [stdout] | [INFO] [stdout] 132 | Self::unsafe_from_u64(rand::Rng::gen(&mut rand::thread_rng())) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/context.rs:132:36 [INFO] [stdout] | [INFO] [stdout] 132 | Self::unsafe_from_u64(rand::Rng::gen(&mut rand::thread_rng())) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/context.rs:132:51 [INFO] [stdout] | [INFO] [stdout] 132 | Self::unsafe_from_u64(rand::Rng::gen(&mut rand::thread_rng())) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/cell.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set(&mut self, ctx: &mut crate::Context, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | impl std::ops::Deref for Cell { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 121 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/cell.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn last_modified(&self) -> &crate::Sequence { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | impl std::ops::Deref for Cell { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 121 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/cell.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn borrow_mut(&mut self, ctx: &mut crate::Context) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | impl std::ops::Deref for Cell { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 121 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/cell.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn into(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | impl std::ops::Deref for Cell { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 121 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dict.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn entry(&mut self, key: K) -> DictEntry { [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] 109 | pub fn entry(&mut self, key: K) -> DictEntry<'_, K, V, SF> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dict.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn iter(&self) -> DictIter> { [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] 179 | pub fn iter(&self) -> DictIter<'_, K, V, crate::Sequence> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mergable` (lib) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/cell.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set(&mut self, ctx: &mut crate::Context, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | impl std::ops::Deref for Cell { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 121 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/cell.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn last_modified(&self) -> &crate::Sequence { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | impl std::ops::Deref for Cell { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 121 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/cell.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn borrow_mut(&mut self, ctx: &mut crate::Context) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | impl std::ops::Deref for Cell { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 121 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/cell.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn into(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | impl std::ops::Deref for Cell { [INFO] [stdout] | ------------------------------------------- trait implemented here [INFO] [stdout] 121 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dict.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn entry(&mut self, key: K) -> DictEntry { [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] 109 | pub fn entry(&mut self, key: K) -> DictEntry<'_, K, V, SF> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dict.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn iter(&self) -> DictIter> { [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] 179 | pub fn iter(&self) -> DictIter<'_, K, V, crate::Sequence> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mergable` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "268ac2ef9943451f5403ee4295af2813f13fd6283d780ee91b88872881de4af4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "268ac2ef9943451f5403ee4295af2813f13fd6283d780ee91b88872881de4af4", kill_on_drop: false }` [INFO] [stdout] 268ac2ef9943451f5403ee4295af2813f13fd6283d780ee91b88872881de4af4