[INFO] fetching crate timely-communication-master 0.13.0-dev.1... [INFO] checking timely-communication-master-0.13.0-dev.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate timely-communication-master 0.13.0-dev.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate timely-communication-master 0.13.0-dev.1 [INFO] finished tweaking crates.io crate timely-communication-master 0.13.0-dev.1 [INFO] tweaked toml for crates.io crate timely-communication-master 0.13.0-dev.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate timely-communication-master 0.13.0-dev.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 timely-communication-master 0.13.0-dev.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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c53b515300639b50ae73216886cf1cde7fe11b444596406412e3eb2b0eaa8b9c [INFO] running `Command { std: "docker" "start" "-a" "c53b515300639b50ae73216886cf1cde7fe11b444596406412e3eb2b0eaa8b9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c53b515300639b50ae73216886cf1cde7fe11b444596406412e3eb2b0eaa8b9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c53b515300639b50ae73216886cf1cde7fe11b444596406412e3eb2b0eaa8b9c", kill_on_drop: false }` [INFO] [stdout] c53b515300639b50ae73216886cf1cde7fe11b444596406412e3eb2b0eaa8b9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f1986d8a3eabb23e4e000f8c32f9f5a4939b0eea0168e42e8cb4c653e70c9f24 [INFO] running `Command { std: "docker" "start" "-a" "f1986d8a3eabb23e4e000f8c32f9f5a4939b0eea0168e42e8cb4c653e70c9f24", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking timely-logging-master v0.13.0-dev.1 [INFO] [stderr] Checking abomonation v0.7.3 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking timely-bytes-master v0.13.0-dev.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking crossbeam-channel v0.5.9 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling abomonation_derive v0.5.0 [INFO] [stderr] Checking timely-communication-master v0.13.0-dev.1 (/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/networking.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Abomonation, Debug, PartialEq, Eq, Hash, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_MessageHeader` [INFO] [stdout] 21 | pub struct MessageHeader { [INFO] [stdout] | ------------- `MessageHeader` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 `Abomonation` (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/logging.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Abomonation, Debug, PartialEq, Eq, Hash, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_CommunicationSetup` [INFO] [stdout] 5 | pub struct CommunicationSetup { [INFO] [stdout] | ------------------ `CommunicationSetup` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 `Abomonation` (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/logging.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Abomonation, Debug, PartialEq, Eq, Hash, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_CommunicationEvent` [INFO] [stdout] 16 | pub enum CommunicationEvent { [INFO] [stdout] | ------------------ `CommunicationEvent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 `Abomonation` (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/logging.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Abomonation, Debug, PartialEq, Eq, Hash, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_MessageEvent` [INFO] [stdout] 25 | pub struct MessageEvent { [INFO] [stdout] | ------------ `MessageEvent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 `Abomonation` (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/logging.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Abomonation, Debug, PartialEq, Eq, Hash, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_StateEvent` [INFO] [stdout] 34 | pub struct StateEvent { [INFO] [stdout] | ---------- `StateEvent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 `Abomonation` (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/message.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a, T: 'a> ::std::ops::Deref for RefOrMut<'a, T> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 17 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn swap<'b>(self, element: &'b mut 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/message.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a, T: 'a> ::std::ops::Deref for RefOrMut<'a, T> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 17 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn replace(self, mut element: T) -> T { [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/message.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a, T: 'a> ::std::ops::Deref for RefOrMut<'a, T> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 17 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn take(self) -> T where T: Default { [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/message.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn if_typed(self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | impl ::std::ops::Deref for Message { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 196 | 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/message.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn if_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | impl ::std::ops::Deref for Message { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 196 | 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/message.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn as_ref_or_mut(&mut self) -> RefOrMut { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | impl ::std::ops::Deref for Message { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 196 | 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/message.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn as_ref_or_mut(&mut self) -> RefOrMut { [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 as_ref_or_mut(&mut self) -> RefOrMut<'_, T> { [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/message.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn length_in_bytes(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | impl ::std::ops::Deref for Message { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 196 | 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/message.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn into_bytes(&self, writer: &mut W) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | impl ::std::ops::Deref for Message { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 196 | 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/message.rs:209:23 [INFO] [stdout] | [INFO] [stdout] 195 | impl ::std::ops::Deref for Message { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 196 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn into_typed(self) -> T { [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/message.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 195 | impl ::std::ops::Deref for Message { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 196 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn as_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `timely-communication-master` (lib test) due to 10 previous errors; 6 warnings 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/networking.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Abomonation, Debug, PartialEq, Eq, Hash, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_MessageHeader` [INFO] [stdout] 21 | pub struct MessageHeader { [INFO] [stdout] | ------------- `MessageHeader` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 `Abomonation` (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/logging.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Abomonation, Debug, PartialEq, Eq, Hash, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_CommunicationSetup` [INFO] [stdout] 5 | pub struct CommunicationSetup { [INFO] [stdout] | ------------------ `CommunicationSetup` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 `Abomonation` (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/logging.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Abomonation, Debug, PartialEq, Eq, Hash, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_CommunicationEvent` [INFO] [stdout] 16 | pub enum CommunicationEvent { [INFO] [stdout] | ------------------ `CommunicationEvent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 `Abomonation` (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/logging.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Abomonation, Debug, PartialEq, Eq, Hash, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_MessageEvent` [INFO] [stdout] 25 | pub struct MessageEvent { [INFO] [stdout] | ------------ `MessageEvent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 `Abomonation` (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/logging.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Abomonation, Debug, PartialEq, Eq, Hash, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_StateEvent` [INFO] [stdout] 34 | pub struct StateEvent { [INFO] [stdout] | ---------- `StateEvent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 `Abomonation` (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/message.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a, T: 'a> ::std::ops::Deref for RefOrMut<'a, T> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 17 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn swap<'b>(self, element: &'b mut 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/message.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a, T: 'a> ::std::ops::Deref for RefOrMut<'a, T> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 17 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn replace(self, mut element: T) -> T { [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/message.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a, T: 'a> ::std::ops::Deref for RefOrMut<'a, T> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 17 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn take(self) -> T where T: Default { [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/message.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn if_typed(self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | impl ::std::ops::Deref for Message { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 196 | 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/message.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn if_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | impl ::std::ops::Deref for Message { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 196 | 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/message.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn as_ref_or_mut(&mut self) -> RefOrMut { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | impl ::std::ops::Deref for Message { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 196 | 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/message.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn as_ref_or_mut(&mut self) -> RefOrMut { [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 as_ref_or_mut(&mut self) -> RefOrMut<'_, T> { [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/message.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn length_in_bytes(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | impl ::std::ops::Deref for Message { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 196 | 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/message.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn into_bytes(&self, writer: &mut W) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | impl ::std::ops::Deref for Message { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 196 | 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/message.rs:209:23 [INFO] [stdout] | [INFO] [stdout] 195 | impl ::std::ops::Deref for Message { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 196 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn into_typed(self) -> T { [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/message.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 195 | impl ::std::ops::Deref for Message { [INFO] [stdout] | ---------------------------------------- trait implemented here [INFO] [stdout] 196 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn as_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `timely-communication-master` (lib) due to 10 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f1986d8a3eabb23e4e000f8c32f9f5a4939b0eea0168e42e8cb4c653e70c9f24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1986d8a3eabb23e4e000f8c32f9f5a4939b0eea0168e42e8cb4c653e70c9f24", kill_on_drop: false }` [INFO] [stdout] f1986d8a3eabb23e4e000f8c32f9f5a4939b0eea0168e42e8cb4c653e70c9f24