[INFO] cloning repository https://github.com/harveyyan251/behavior-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harveyyan251/behavior-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharveyyan251%2Fbehavior-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharveyyan251%2Fbehavior-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96b0560877e12faf047a86ea0edc83707b48ff72 [INFO] checking harveyyan251/behavior-rs against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharveyyan251%2Fbehavior-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/harveyyan251/behavior-rs [INFO] finished tweaking git repo https://github.com/harveyyan251/behavior-rs [INFO] tweaked toml for git repo https://github.com/harveyyan251/behavior-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/harveyyan251/behavior-rs 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 git repo https://github.com/harveyyan251/behavior-rs 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 51ec89608777e3d27b50faf6efed13da5d5f1da425422e49d194497d0b3ea7fd [INFO] running `Command { std: "docker" "start" "-a" "51ec89608777e3d27b50faf6efed13da5d5f1da425422e49d194497d0b3ea7fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51ec89608777e3d27b50faf6efed13da5d5f1da425422e49d194497d0b3ea7fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51ec89608777e3d27b50faf6efed13da5d5f1da425422e49d194497d0b3ea7fd", kill_on_drop: false }` [INFO] [stdout] 51ec89608777e3d27b50faf6efed13da5d5f1da425422e49d194497d0b3ea7fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 78220d8cc48d66093a9f7933b7b6987e84b9a56124ef9d229daf38e1cac806df [INFO] running `Command { std: "docker" "start" "-a" "78220d8cc48d66093a9f7933b7b6987e84b9a56124ef9d229daf38e1cac806df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking value-bag v1.10.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.14 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Checking glam v0.29.2 [INFO] [stderr] Checking drawille v0.3.0 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking clap_builder v4.5.27 [INFO] [stderr] Checking termplot v0.1.1 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking downcast-rs v2.0.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking evalexpr v12.0.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking tz-rs v0.6.14 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking is-terminal v0.4.15 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking clap v4.5.27 [INFO] [stderr] Checking rand_core v0.9.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling behavior-macros v0.1.0 (/opt/rustwide/workdir/behavior-macros) [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling typed-builder-macro v0.16.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking typed-builder v0.16.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ftlog v0.2.14 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking behavior-util v0.1.0 (/opt/rustwide/workdir/behavior-util) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking behavior v0.1.0 (/opt/rustwide/workdir/behavior) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> behavior/src/template/status.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn multiple_branch(branchs: (impl IntoIterator + std::fmt::Debug)) -> Self { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - pub fn multiple_branch(branchs: (impl IntoIterator + std::fmt::Debug)) -> Self { [INFO] [stdout] 26 + pub fn multiple_branch(branchs: impl IntoIterator + std::fmt::Debug) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> behavior/src/template/status.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn multiple_branch(branchs: (impl IntoIterator + std::fmt::Debug)) -> Self { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - pub fn multiple_branch(branchs: (impl IntoIterator + std::fmt::Debug)) -> Self { [INFO] [stdout] 26 + pub fn multiple_branch(branchs: impl IntoIterator + std::fmt::Debug) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> behavior/src/template/blackboard.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn borrow(&self) -> std::cell::Ref> { [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] 61 | pub fn borrow(&self) -> std::cell::Ref<'_, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> behavior/src/template/blackboard.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn borrow_mut(&self) -> std::cell::RefMut> { [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] 66 | pub fn borrow_mut(&self) -> std::cell::RefMut<'_, Box> { [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] --> behavior/src/template/blackboard.rs:293:24 [INFO] [stdout] | [INFO] [stdout] 263 | impl Deref for BlackBoard { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 264 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn context_ref(&self) -> &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] --> behavior/src/template/blackboard.rs:298:24 [INFO] [stdout] | [INFO] [stdout] 263 | impl Deref for BlackBoard { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 264 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 298 | pub fn context_mut(&mut self) -> &mut 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] --> behavior/src/template/blackboard.rs:303:31 [INFO] [stdout] | [INFO] [stdout] 263 | impl Deref for BlackBoard { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 264 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn blackboard_map_ref(&self) -> &BlackBoardMap { [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] --> behavior/src/template/blackboard.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 263 | impl Deref for BlackBoard { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 264 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn blackboard_map_mut(&mut self) -> &mut BlackBoardMap { [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] --> behavior/src/template/blackboard.rs:313:37 [INFO] [stdout] | [INFO] [stdout] 263 | impl Deref for BlackBoard { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 264 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn visualize_blackboard_map(&self, s: &mut String) -> std::fmt::Result { [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] --> behavior/src/instance/node.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn as_ref(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl Deref for MetaDataCell { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 45 | 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] --> behavior/src/instance/node.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 44 | impl Deref for MetaDataCell { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 45 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get(&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] --> behavior/src/instance/node.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn as_ref(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | impl Deref for BlackBoardCell { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 93 | 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] --> behavior/src/instance/node.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn as_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | impl Deref for BlackBoardCell { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 93 | 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] --> behavior/src/instance/node.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | impl Deref for BlackBoardCell { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 93 | 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] --> behavior/src/instance/node.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn set(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | impl Deref for BlackBoardCell { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 93 | 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] --> behavior/src/instance/node.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn get(&self) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | impl Deref for BlackBoardCell { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 93 | 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] --> behavior/src/instance/node.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn is_mutable(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | impl Deref for DynamicCell { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 213 | 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] --> behavior/src/instance/node.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn as_ref(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | impl Deref for DynamicCell { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 213 | 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] --> behavior/src/instance/node.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn as_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | impl Deref for DynamicCell { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 213 | 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] --> behavior/src/instance/node.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | impl Deref for DynamicCell { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 213 | 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] --> behavior/src/instance/node.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn set(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | impl Deref for DynamicCell { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 213 | 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] --> behavior/src/instance/node.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn get(&self) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | impl Deref for DynamicCell { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 213 | 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] --> behavior/src/template/blackboard.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn borrow(&self) -> std::cell::Ref> { [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] 61 | pub fn borrow(&self) -> std::cell::Ref<'_, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> behavior/src/template/blackboard.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn borrow_mut(&self) -> std::cell::RefMut> { [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] 66 | pub fn borrow_mut(&self) -> std::cell::RefMut<'_, Box> { [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] --> behavior/src/template/blackboard.rs:293:24 [INFO] [stdout] | [INFO] [stdout] 263 | impl Deref for BlackBoard { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 264 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn context_ref(&self) -> &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] --> behavior/src/template/blackboard.rs:298:24 [INFO] [stdout] | [INFO] [stdout] 263 | impl Deref for BlackBoard { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 264 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 298 | pub fn context_mut(&mut self) -> &mut 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] --> behavior/src/template/blackboard.rs:303:31 [INFO] [stdout] | [INFO] [stdout] 263 | impl Deref for BlackBoard { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 264 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn blackboard_map_ref(&self) -> &BlackBoardMap { [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] --> behavior/src/template/blackboard.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 263 | impl Deref for BlackBoard { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 264 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn blackboard_map_mut(&mut self) -> &mut BlackBoardMap { [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] --> behavior/src/template/blackboard.rs:313:37 [INFO] [stdout] | [INFO] [stdout] 263 | impl Deref for BlackBoard { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 264 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn visualize_blackboard_map(&self, s: &mut String) -> std::fmt::Result { [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] --> behavior/src/instance/node.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn as_ref(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl Deref for MetaDataCell { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 45 | 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] --> behavior/src/instance/node.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 44 | impl Deref for MetaDataCell { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 45 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get(&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] --> behavior/src/instance/node.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn as_ref(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | impl Deref for BlackBoardCell { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 93 | 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] --> behavior/src/instance/node.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn as_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | impl Deref for BlackBoardCell { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 93 | 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] --> behavior/src/instance/node.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | impl Deref for BlackBoardCell { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 93 | 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] --> behavior/src/instance/node.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn set(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | impl Deref for BlackBoardCell { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 93 | 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] --> behavior/src/instance/node.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn get(&self) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | impl Deref for BlackBoardCell { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 93 | 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] --> behavior/src/instance/node.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn is_mutable(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | impl Deref for DynamicCell { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 213 | 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] --> behavior/src/instance/node.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn as_ref(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | impl Deref for DynamicCell { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 213 | 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] --> behavior/src/instance/node.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn as_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | impl Deref for DynamicCell { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 213 | 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] --> behavior/src/instance/node.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | impl Deref for DynamicCell { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 213 | 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] --> behavior/src/instance/node.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn set(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | impl Deref for DynamicCell { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 213 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `behavior` (lib test) due to 18 previous errors; 3 warnings emitted [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> behavior/src/instance/node.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn get(&self) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | impl Deref for DynamicCell { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 213 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `behavior` (lib) due to 18 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "78220d8cc48d66093a9f7933b7b6987e84b9a56124ef9d229daf38e1cac806df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78220d8cc48d66093a9f7933b7b6987e84b9a56124ef9d229daf38e1cac806df", kill_on_drop: false }` [INFO] [stdout] 78220d8cc48d66093a9f7933b7b6987e84b9a56124ef9d229daf38e1cac806df