[INFO] fetching crate rex-sm 0.8.0... [INFO] checking rex-sm-0.8.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate rex-sm 0.8.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate rex-sm 0.8.0 [INFO] finished tweaking crates.io crate rex-sm 0.8.0 [INFO] tweaked toml for crates.io crate rex-sm 0.8.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rex-sm 0.8.0 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 rex-sm 0.8.0 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] a6b3c15dd94449e081b3f3ff21892a9a6fcd93005be76f35c528fd6e2be1ca07 [INFO] running `Command { std: "docker" "start" "-a" "a6b3c15dd94449e081b3f3ff21892a9a6fcd93005be76f35c528fd6e2be1ca07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6b3c15dd94449e081b3f3ff21892a9a6fcd93005be76f35c528fd6e2be1ca07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6b3c15dd94449e081b3f3ff21892a9a6fcd93005be76f35c528fd6e2be1ca07", kill_on_drop: false }` [INFO] [stdout] a6b3c15dd94449e081b3f3ff21892a9a6fcd93005be76f35c528fd6e2be1ca07 [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] a06a9420996e17700934e52d60cbe69e5d39a85e517076cfb8f94d52dc7a6881 [INFO] running `Command { std: "docker" "start" "-a" "a06a9420996e17700934e52d60cbe69e5d39a85e517076cfb8f94d52dc7a6881", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking uuid v1.13.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling error-stack v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling bigerror-derive v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v2.0.11 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking bigerror v0.9.0 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking tracing-test v0.2.5 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rex-sm v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn is_nil(&self) -> bool { [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/manager.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn notify(&self, notification: Notification) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for SmContext { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = StateId; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [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/manager.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn signal_self(&self, input: K::Input) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for SmContext { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = StateId; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [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/manager.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn get_state(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for SmContext { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = StateId; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [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/manager.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_tree(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for SmContext { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = StateId; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [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/manager.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn has_state(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for SmContext { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = StateId; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [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/manager.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_parent_id(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for SmContext { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = StateId; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [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/manager.rs:166:23 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn has_parent(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for SmContext { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = StateId; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [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/notification.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn stream(&self) -> StreamReceiver> { [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] 77 | pub fn stream(&self) -> StreamReceiver<'_, Notification> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/queue.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | pub const fn stream(&self) -> StreamReceiver { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub const fn stream(&self) -> StreamReceiver<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rex-sm` (lib) due to 8 previous errors; 2 warnings 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/lib.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn is_nil(&self) -> bool { [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/manager.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn notify(&self, notification: Notification) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for SmContext { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = StateId; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [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/manager.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn signal_self(&self, input: K::Input) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for SmContext { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = StateId; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [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/manager.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn get_state(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for SmContext { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = StateId; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [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/manager.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_tree(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for SmContext { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = StateId; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [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/manager.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn has_state(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for SmContext { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = StateId; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [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/manager.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_parent_id(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for SmContext { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = StateId; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [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/manager.rs:166:23 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn has_parent(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for SmContext { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = StateId; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl std::ops::Deref for StateId [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | K: Kind, [INFO] [stdout] | |____________- trait implemented here [INFO] [stdout] 90 | { [INFO] [stdout] 91 | type Target = K; [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/notification.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn stream(&self) -> StreamReceiver> { [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] 77 | pub fn stream(&self) -> StreamReceiver<'_, Notification> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/queue.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | pub const fn stream(&self) -> StreamReceiver { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub const fn stream(&self) -> StreamReceiver<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rex-sm` (lib test) due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a06a9420996e17700934e52d60cbe69e5d39a85e517076cfb8f94d52dc7a6881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a06a9420996e17700934e52d60cbe69e5d39a85e517076cfb8f94d52dc7a6881", kill_on_drop: false }` [INFO] [stdout] a06a9420996e17700934e52d60cbe69e5d39a85e517076cfb8f94d52dc7a6881