[INFO] fetching crate secop-core 0.1.3... [INFO] checking secop-core-0.1.3 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate secop-core 0.1.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate secop-core 0.1.3 [INFO] finished tweaking crates.io crate secop-core 0.1.3 [INFO] tweaked toml for crates.io crate secop-core 0.1.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate secop-core 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] Locking 137 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding derive-new v0.5.9 (available: v0.7.0) [INFO] [stderr] Adding hashbrown v0.11.2 (available: v0.16.1) [INFO] [stderr] Adding mlzlog v0.7.0 (available: v0.8.3) [INFO] [stderr] Adding mlzutil v0.2.2 (available: v0.4.1) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.5) [INFO] [stderr] Adding toml v0.5.11 (available: v0.9.11+spec-1.1.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [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] f37d468d102fed6b112c1b89928404e6dab8d98ef37094e31a84b05ab4719c72 [INFO] running `Command { std: "docker" "start" "-a" "f37d468d102fed6b112c1b89928404e6dab8d98ef37094e31a84b05ab4719c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f37d468d102fed6b112c1b89928404e6dab8d98ef37094e31a84b05ab4719c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f37d468d102fed6b112c1b89928404e6dab8d98ef37094e31a84b05ab4719c72", kill_on_drop: false }` [INFO] [stdout] f37d468d102fed6b112c1b89928404e6dab8d98ef37094e31a84b05ab4719c72 [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] a7e91a2d6f053fac88305e49bfbe7f70c28bf94d8c97b7cab9d4a190942d82f0 [INFO] running `Command { std: "docker" "start" "-a" "a7e91a2d6f053fac88305e49bfbe7f70c28bf94d8c97b7cab9d4a190942d82f0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling libc v0.2.181 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling zmij v1.0.20 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking arc-swap v1.8.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking ahash v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking mock_instant v0.6.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking bytesize v1.3.3 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking thread-id v5.1.0 [INFO] [stderr] Checking dns-lookup v1.0.8 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking num-conv v0.2.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking time-core v0.1.8 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking systemstat v0.1.12 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking mlzutil v0.2.2 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling secop-derive v0.1.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking log4rs v1.4.0 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking mlzlog v0.7.0 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking secop-core v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:334:10 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(TypeDesc, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `TypeDesc` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_TypeDesc_StatusConst` [INFO] [stdout] 335 | pub enum StatusConst { [INFO] [stdout] | ----------- `StatusConstType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `TypeDesc` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `TypeDesc` may come from an old version of the `secop_derive` crate, try updating your dependency with `cargo update -p secop_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `TypeDesc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 72 | impl Deref for CachedParam { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 73 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set(&mut self, value: T) { [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/module.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 72 | impl Deref for CachedParam { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 73 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn update>(&mut self, value: T, td: &TD) -> Result<(Value, f64, bool), Error> { [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/module.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 72 | impl Deref for CachedParam { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 73 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn time(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `secop-core` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:334:10 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(TypeDesc, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `TypeDesc` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_TypeDesc_StatusConst` [INFO] [stdout] 335 | pub enum StatusConst { [INFO] [stdout] | ----------- `StatusConstType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `TypeDesc` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `TypeDesc` may come from an old version of the `secop_derive` crate, try updating your dependency with `cargo update -p secop_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `TypeDesc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/module.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 72 | impl Deref for CachedParam { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 73 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set(&mut self, value: T) { [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/module.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 72 | impl Deref for CachedParam { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 73 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn update>(&mut self, value: T, td: &TD) -> Result<(Value, f64, bool), Error> { [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/module.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 72 | impl Deref for CachedParam { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 73 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn time(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `secop-core` (lib) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a7e91a2d6f053fac88305e49bfbe7f70c28bf94d8c97b7cab9d4a190942d82f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7e91a2d6f053fac88305e49bfbe7f70c28bf94d8c97b7cab9d4a190942d82f0", kill_on_drop: false }` [INFO] [stdout] a7e91a2d6f053fac88305e49bfbe7f70c28bf94d8c97b7cab9d4a190942d82f0