[INFO] fetching crate sppparse 0.1.4... [INFO] checking sppparse-0.1.4 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate sppparse 0.1.4 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate sppparse 0.1.4 [INFO] finished tweaking crates.io crate sppparse 0.1.4 [INFO] tweaked toml for crates.io crate sppparse 0.1.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sppparse 0.1.4 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 sppparse 0.1.4 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] fad6fcac0c3adf7344838847949dd613432a80e1a925636b489920c697b48359 [INFO] running `Command { std: "docker" "start" "-a" "fad6fcac0c3adf7344838847949dd613432a80e1a925636b489920c697b48359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fad6fcac0c3adf7344838847949dd613432a80e1a925636b489920c697b48359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fad6fcac0c3adf7344838847949dd613432a80e1a925636b489920c697b48359", kill_on_drop: false }` [INFO] [stdout] fad6fcac0c3adf7344838847949dd613432a80e1a925636b489920c697b48359 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3a710809d0754306a6b297cd0b1551114fb70430c1d40dcadbf8b1efae064ef5 [INFO] running `Command { std: "docker" "start" "-a" "3a710809d0754306a6b297cd0b1551114fb70430c1d40dcadbf8b1efae064ef5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking similar v1.3.0 [INFO] [stderr] Checking path-dedot v3.0.12 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking path-clean v0.1.0 [INFO] [stderr] Checking path-absolutize v3.0.10 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand v0.8.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling getset v0.1.1 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking serde_yaml v0.8.15 [INFO] [stderr] Checking serde_path_to_error v0.1.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking insta v1.7.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling sppparse_derive v0.1.3 [INFO] [stderr] Checking sppparse v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/sparse_value_mut.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 28 | / impl<'a, S> Deref for SparseValueMut<'a, S> [INFO] [stdout] 29 | | where [INFO] [stdout] 30 | | S: DeserializeOwned + Serialize + SparsableTrait, [INFO] [stdout] | |_____________________________________________________- trait implemented here [INFO] [stdout] 31 | { [INFO] [stdout] 32 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn sparse_save(&self) -> Result<(), SparseError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sppparse` (lib) due to 1 previous error [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/sparse_value_mut.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 28 | / impl<'a, S> Deref for SparseValueMut<'a, S> [INFO] [stdout] 29 | | where [INFO] [stdout] 30 | | S: DeserializeOwned + Serialize + SparsableTrait, [INFO] [stdout] | |_____________________________________________________- trait implemented here [INFO] [stdout] 31 | { [INFO] [stdout] 32 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn sparse_save(&self) -> Result<(), SparseError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tests/mod.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStruct1` [INFO] [stdout] 42 | pub(super) struct SimpleStruct1 { [INFO] [stdout] | ------------- `SimpleStruct1` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SparsableInner` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_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 `SparsableInner` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tests/mod.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStructInline1` [INFO] [stdout] 50 | pub(super) struct SimpleStructInline1 { [INFO] [stdout] | ------------------- `SimpleStructInline1` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SparsableInner` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_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: this warning originates in the derive macro `SparsableInner` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tests/mod.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStruct2` [INFO] [stdout] 58 | pub(super) struct SimpleStruct2 { [INFO] [stdout] | ------------- `SimpleStruct2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SparsableInner` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_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: this warning originates in the derive macro `SparsableInner` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tests/mod.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStruct3` [INFO] [stdout] 66 | pub(super) struct SimpleStruct3 { [INFO] [stdout] | ------------- `SimpleStruct3` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SparsableInner` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_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: this warning originates in the derive macro `SparsableInner` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tests/mod.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStructInline3` [INFO] [stdout] 79 | pub(super) struct SimpleStructInline3 { [INFO] [stdout] | ------------------- `SimpleStructInline3` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SparsableInner` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_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: this warning originates in the derive macro `SparsableInner` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sppparse` (lib test) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3a710809d0754306a6b297cd0b1551114fb70430c1d40dcadbf8b1efae064ef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a710809d0754306a6b297cd0b1551114fb70430c1d40dcadbf8b1efae064ef5", kill_on_drop: false }` [INFO] [stdout] 3a710809d0754306a6b297cd0b1551114fb70430c1d40dcadbf8b1efae064ef5