[INFO] fetching crate wakflo-common 0.1.3... [INFO] checking wakflo-common-0.1.3 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate wakflo-common 0.1.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate wakflo-common 0.1.3 [INFO] finished tweaking crates.io crate wakflo-common 0.1.3 [INFO] tweaked toml for crates.io crate wakflo-common 0.1.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wakflo-common 0.1.3 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 42 packages to latest compatible versions [INFO] [stderr] Adding strum v0.25.0 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.25.3 (available: v0.27.2) [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-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa79069ba90d45337065fba9aa484f2953df8b93503597f3c33b15caadecbdd6 [INFO] running `Command { std: "docker" "start" "-a" "aa79069ba90d45337065fba9aa484f2953df8b93503597f3c33b15caadecbdd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa79069ba90d45337065fba9aa484f2953df8b93503597f3c33b15caadecbdd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa79069ba90d45337065fba9aa484f2953df8b93503597f3c33b15caadecbdd6", kill_on_drop: false }` [INFO] [stdout] aa79069ba90d45337065fba9aa484f2953df8b93503597f3c33b15caadecbdd6 [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 -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] 78ee2d7959e354f7275a9d8527204edc5722595921662d69bb04a04a3e2a44b8 [INFO] running `Command { std: "docker" "start" "-a" "78ee2d7959e354f7275a9d8527204edc5722595921662d69bb04a04a3e2a44b8", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking wakflo-common v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/utils/vault.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 59 | impl std::ops::Deref for Vault { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 60 | type Target = U; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn take(&mut self) -> U [INFO] [stdout] | ^^^^^^^^^ [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/utils/vault.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 59 | impl std::ops::Deref for Vault { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 60 | type Target = U; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn replace(&mut self, src: U) -> U { [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/utils/vault.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 59 | impl std::ops::Deref for Vault { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 60 | type Target = U; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn swap(&mut self, dst: &mut U) { [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/utils/vault.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 59 | impl std::ops::Deref for Vault { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 60 | type Target = U; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn map(&mut self, mut f: F) -> R [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/utils/vault.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 59 | impl std::ops::Deref for Vault { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 60 | type Target = U; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn as_mut(&mut self) -> Vaulted { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/vault.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn as_mut(&mut self) -> Vaulted { [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] 134 | pub fn as_mut(&mut self) -> Vaulted<'_, U> { [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/utils/vault.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 59 | impl std::ops::Deref for Vault { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 60 | type Target = U; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn as_vault_ref(&self) -> &U { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wakflo-common` (lib) due to 6 previous errors; 1 warning 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/utils/vault.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 59 | impl std::ops::Deref for Vault { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 60 | type Target = U; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn take(&mut self) -> U [INFO] [stdout] | ^^^^^^^^^ [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/utils/vault.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 59 | impl std::ops::Deref for Vault { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 60 | type Target = U; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn replace(&mut self, src: U) -> U { [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/utils/vault.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 59 | impl std::ops::Deref for Vault { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 60 | type Target = U; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn swap(&mut self, dst: &mut U) { [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/utils/vault.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 59 | impl std::ops::Deref for Vault { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 60 | type Target = U; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn map(&mut self, mut f: F) -> R [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/utils/vault.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 59 | impl std::ops::Deref for Vault { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 60 | type Target = U; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn as_mut(&mut self) -> Vaulted { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/vault.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn as_mut(&mut self) -> Vaulted { [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] 134 | pub fn as_mut(&mut self) -> Vaulted<'_, U> { [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/utils/vault.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 59 | impl std::ops::Deref for Vault { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 60 | type Target = U; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn as_vault_ref(&self) -> &U { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wakflo-common` (lib test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "78ee2d7959e354f7275a9d8527204edc5722595921662d69bb04a04a3e2a44b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78ee2d7959e354f7275a9d8527204edc5722595921662d69bb04a04a3e2a44b8", kill_on_drop: false }` [INFO] [stdout] 78ee2d7959e354f7275a9d8527204edc5722595921662d69bb04a04a3e2a44b8