[INFO] fetching crate mergable 0.51.0... [INFO] checking mergable-0.51.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate mergable 0.51.0 into /workspace/builds/worker-4-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-4-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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 85bb15a9f94dfbf1aeb8102eef15354b6c95677820d26e2fa04fa6041c0ffc7f [INFO] running `Command { std: "docker" "start" "-a" "85bb15a9f94dfbf1aeb8102eef15354b6c95677820d26e2fa04fa6041c0ffc7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85bb15a9f94dfbf1aeb8102eef15354b6c95677820d26e2fa04fa6041c0ffc7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85bb15a9f94dfbf1aeb8102eef15354b6c95677820d26e2fa04fa6041c0ffc7f", kill_on_drop: false }` [INFO] [stdout] 85bb15a9f94dfbf1aeb8102eef15354b6c95677820d26e2fa04fa6041c0ffc7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 294b1631ad09aad0f0495d75599f5cfcb253fcc4c54ed99df4da36c817c735d1 [INFO] running `Command { std: "docker" "start" "-a" "294b1631ad09aad0f0495d75599f5cfcb253fcc4c54ed99df4da36c817c735d1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rusty-fork v0.3.1 [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 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" "294b1631ad09aad0f0495d75599f5cfcb253fcc4c54ed99df4da36c817c735d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "294b1631ad09aad0f0495d75599f5cfcb253fcc4c54ed99df4da36c817c735d1", kill_on_drop: false }` [INFO] [stdout] 294b1631ad09aad0f0495d75599f5cfcb253fcc4c54ed99df4da36c817c735d1