[INFO] fetching crate zng-var 0.12.1... [INFO] checking zng-var-0.12.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate zng-var 0.12.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate zng-var 0.12.1 [INFO] finished tweaking crates.io crate zng-var 0.12.1 [INFO] tweaked toml for crates.io crate zng-var 0.12.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zng-var 0.12.1 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 zng-var 0.12.1 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5c2a028bc243426c8f614b1a5c3b1b828cc0b7c621ee983a1e695d139274a66f [INFO] running `Command { std: "docker" "start" "-a" "5c2a028bc243426c8f614b1a5c3b1b828cc0b7c621ee983a1e695d139274a66f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c2a028bc243426c8f614b1a5c3b1b828cc0b7c621ee983a1e695d139274a66f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2a028bc243426c8f614b1a5c3b1b828cc0b7c621ee983a1e695d139274a66f", kill_on_drop: false }` [INFO] [stdout] 5c2a028bc243426c8f614b1a5c3b1b828cc0b7c621ee983a1e695d139274a66f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b28d85ea499f165dcf8dd39a3b957087cb7f8062b9d5942040f2f73e3ed9d93a [INFO] running `Command { std: "docker" "start" "-a" "b28d85ea499f165dcf8dd39a3b957087cb7f8062b9d5942040f2f73e3ed9d93a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling linkme-impl v0.3.35 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling linkme v0.3.35 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling pastey v0.2.1 [INFO] [stderr] Compiling smallbox v0.8.8 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking zng-handle v0.4.0 [INFO] [stderr] Checking zng-clone-move v0.4.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking directories v6.0.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling toml v0.9.10+spec-1.1.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zng-var-proc-macros v0.5.0 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling zng-env-proc-macros v0.5.1 [INFO] [stderr] Checking zng-txt v0.5.1 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking zng-unique-id v0.10.1 [INFO] [stderr] Checking zng-env v0.9.1 [INFO] [stderr] Checking zng-app-context v0.11.1 [INFO] [stderr] Checking zng-time v0.8.1 [INFO] [stderr] Checking zng-unit v0.5.3 [INFO] [stderr] Checking zng-var v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/var_impl.rs:439:16 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn set(&mut self, new_value: impl Into) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | 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/var_impl.rs:450:19 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | 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/var_impl.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn tags(&self) -> &[BoxAnyVarValue] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | 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/var_impl.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn push_tag(&mut self, tag: impl AnyVarValue) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | 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/var_impl.rs:474:34 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn set_modify_importance(&mut self, importance: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | 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/var_impl.rs:479:19 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn as_any(&mut self) -> &mut AnyVarModify<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | 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/var_impl.rs:486:18 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | 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/var_impl.rs:495:22 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn value_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zng-var` (lib test) due to 8 previous errors [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/var_impl.rs:439:16 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn set(&mut self, new_value: impl Into) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | 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/var_impl.rs:450:19 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | 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/var_impl.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn tags(&self) -> &[BoxAnyVarValue] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | 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/var_impl.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn push_tag(&mut self, tag: impl AnyVarValue) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | 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/var_impl.rs:474:34 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn set_modify_importance(&mut self, importance: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | 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/var_impl.rs:479:19 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn as_any(&mut self) -> &mut AnyVarModify<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | 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/var_impl.rs:486:18 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | 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/var_impl.rs:495:22 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn value_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | impl<'s, 'a, T: VarValue> ops::Deref for VarModify<'s, 'a, T> { [INFO] [stdout] | ------------------------------------------------------------- trait implemented here [INFO] [stdout] 500 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zng-var` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "b28d85ea499f165dcf8dd39a3b957087cb7f8062b9d5942040f2f73e3ed9d93a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b28d85ea499f165dcf8dd39a3b957087cb7f8062b9d5942040f2f73e3ed9d93a", kill_on_drop: false }` [INFO] [stdout] b28d85ea499f165dcf8dd39a3b957087cb7f8062b9d5942040f2f73e3ed9d93a