[INFO] fetching crate aopt 1.4.2... [INFO] checking aopt-1.4.2 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate aopt 1.4.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate aopt 1.4.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate aopt 1.4.2 [INFO] tweaked toml for crates.io crate aopt 1.4.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate aopt 1.4.2 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 aopt 1.4.2 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] bb936bda876555c999608d722cf1bd0d8f39fc4aa2c86c81a760255bf23a75bc [INFO] running `Command { std: "docker" "start" "-a" "bb936bda876555c999608d722cf1bd0d8f39fc4aa2c86c81a760255bf23a75bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb936bda876555c999608d722cf1bd0d8f39fc4aa2c86c81a760255bf23a75bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb936bda876555c999608d722cf1bd0d8f39fc4aa2c86c81a760255bf23a75bc", kill_on_drop: false }` [INFO] [stdout] bb936bda876555c999608d722cf1bd0d8f39fc4aa2c86c81a760255bf23a75bc [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] fcb9a5a86fd3dfebff650318508cd7a4536e859caed6816f9a7d02cb27556249 [INFO] running `Command { std: "docker" "start" "-a" "fcb9a5a86fd3dfebff650318508cd7a4536e859caed6816f9a7d02cb27556249", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling charize v0.0.2 [INFO] [stderr] Checking neure v0.6.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking aopt-core v1.0.1 [INFO] [stderr] Checking aopt v1.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/parser.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn policy(&self) -> &P { [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/parser.rs:233:23 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn policy_mut(&mut self) -> &mut P { [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/parser.rs:237:23 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn set_policy(&mut self, policy: P) -> &mut Self { [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/parser.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn optset(&self) -> &S { [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/parser.rs:246:23 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn optset_mut(&mut self) -> &mut S { [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/parser.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn set_optset(&mut self, optset: S) -> &mut Self { [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/parser.rs:279:18 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn reset(&mut self) -> Result<&mut Self, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/optset.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn init(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/optset.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser.rs:289:18 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn parse(&mut self, args: Args) -> Result<

::Ret, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/optset.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser.rs:393:28 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn enable_combined(&mut self) -> &mut Self { [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/parser.rs:402:33 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn enable_embedded_plus(&mut self) -> &mut Self { [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/parser.rs:409:24 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn enable_flag(&mut self) -> &mut Self { [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/parser/optset.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn invoker(&self) -> Result<&Invoker<'a, Self>, Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn invoker_mut(&mut self) -> Result<&mut Invoker<'a, Self>, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn set_invoker(&mut self, inv: Invoker<'a, Self>) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn optset(&self) -> &S { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn optset_mut(&mut self) -> &mut S { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn set_optset(&mut self, set: S) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn service(&self) -> &AppServices { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn service_mut(&mut self) -> &mut AppServices { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn set_service(&mut self, ser: AppServices) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn set_policy

(self, policy: P) -> Parser [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn reset(&mut self) -> Result<&mut Self, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/parser/optset.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn init(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/parser/optset.rs:319:23 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn add_opt(&mut self, cb: B) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/parser/optset.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 384 | &mut self, [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/parser/optset.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 394 | &mut self, [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/parser/optset.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 425 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aopt` (lib) due to 28 previous errors [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/parser.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn policy(&self) -> &P { [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/parser.rs:233:23 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn policy_mut(&mut self) -> &mut P { [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/parser.rs:237:23 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn set_policy(&mut self, policy: P) -> &mut Self { [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/parser.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn optset(&self) -> &S { [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/parser.rs:246:23 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn optset_mut(&mut self) -> &mut S { [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/parser.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn set_optset(&mut self, optset: S) -> &mut Self { [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/parser.rs:279:18 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn reset(&mut self) -> Result<&mut Self, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/optset.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn init(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/optset.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser.rs:289:18 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn parse(&mut self, args: Args) -> Result<

::Ret, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/optset.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser.rs:393:28 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn enable_combined(&mut self) -> &mut Self { [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/parser.rs:402:33 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn enable_embedded_plus(&mut self) -> &mut Self { [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/parser.rs:409:24 [INFO] [stdout] | [INFO] [stdout] 210 | impl> Deref for Parser { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 211 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn enable_flag(&mut self) -> &mut Self { [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/parser/optset.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn invoker(&self) -> Result<&Invoker<'a, Self>, Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn invoker_mut(&mut self) -> Result<&mut Invoker<'a, Self>, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn set_invoker(&mut self, inv: Invoker<'a, Self>) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn optset(&self) -> &S { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn optset_mut(&mut self) -> &mut S { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn set_optset(&mut self, set: S) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn service(&self) -> &AppServices { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn service_mut(&mut self) -> &mut AppServices { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn set_service(&mut self, ser: AppServices) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn set_policy

(self, policy: P) -> Parser [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [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/parser/optset.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn reset(&mut self) -> Result<&mut Self, Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/parser/optset.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn init(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/parser/optset.rs:319:23 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn add_opt(&mut self, cb: B) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/parser/optset.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 384 | &mut self, [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/parser/optset.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 394 | &mut self, [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/parser/optset.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 113 | impl Deref for HCOptSet<'_, S> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 114 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 425 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aopt` (lib test) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "fcb9a5a86fd3dfebff650318508cd7a4536e859caed6816f9a7d02cb27556249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcb9a5a86fd3dfebff650318508cd7a4536e859caed6816f9a7d02cb27556249", kill_on_drop: false }` [INFO] [stdout] fcb9a5a86fd3dfebff650318508cd7a4536e859caed6816f9a7d02cb27556249