[INFO] cloning repository https://github.com/bkuen/es-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bkuen/es-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbkuen%2Fes-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbkuen%2Fes-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70c9f41c1d806afc00076b79c9c5ba6b7d031c0a [INFO] checking bkuen/es-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%2Fbkuen%2Fes-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bkuen/es-rs [INFO] finished tweaking git repo https://github.com/bkuen/es-rs [INFO] tweaked toml for git repo https://github.com/bkuen/es-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bkuen/es-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/bkuen/es-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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] cbfbc16b504c20e8216b902abde6b6d141ffd28809163b556ea12941142bed89 [INFO] running `Command { std: "docker" "start" "-a" "cbfbc16b504c20e8216b902abde6b6d141ffd28809163b556ea12941142bed89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbfbc16b504c20e8216b902abde6b6d141ffd28809163b556ea12941142bed89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbfbc16b504c20e8216b902abde6b6d141ffd28809163b556ea12941142bed89", kill_on_drop: false }` [INFO] [stdout] cbfbc16b504c20e8216b902abde6b6d141ffd28809163b556ea12941142bed89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a64de47aebcd9ecea1667a26443d96b3a5ad6971f8eecf1eface6b44a0a0c16d [INFO] running `Command { std: "docker" "start" "-a" "a64de47aebcd9ecea1667a26443d96b3a5ad6971f8eecf1eface6b44a0a0c16d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking indexmap v2.11.1 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Compiling es-macros v0.1.0 (/opt/rustwide/workdir/es-macros) [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking proc-macro2 v1.0.95 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.104 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking es v0.1.0 (/opt/rustwide/workdir/es) [INFO] [stdout] warning: fields `event_id`, `event_name`, and `occurred_at` are never read [INFO] [stdout] --> es/src/postgres/event.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 235 | struct PgAggregateEvent { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 238 | event_id: Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 239 | event_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | occurred_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> es/src/store/mod.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn aggregate_version(&self) -> u64 { [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] --> es/src/store/mod.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn event_id(&self) -> Uuid { [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] --> es/src/store/mod.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn event_name(&self) -> &String { [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] --> es/src/store/mod.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn payload(&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] --> es/src/store/mod.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn occurred_at(&self) -> DateTime { [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] --> es/src/store/mod.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn inner_ref(&self) -> &A { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn into_inner(self) -> A { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn add_event(&mut self, event: A::Event) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn pending_events(&self) -> &[AggregateEvent] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn version(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn pending_version(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `es` (lib test) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `event_id`, `event_name`, and `occurred_at` are never read [INFO] [stdout] --> es/src/postgres/event.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 235 | struct PgAggregateEvent { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 238 | event_id: Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 239 | event_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | occurred_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> es/src/store/mod.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn aggregate_version(&self) -> u64 { [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] --> es/src/store/mod.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn event_id(&self) -> Uuid { [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] --> es/src/store/mod.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn event_name(&self) -> &String { [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] --> es/src/store/mod.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn payload(&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] --> es/src/store/mod.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn occurred_at(&self) -> DateTime { [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] --> es/src/store/mod.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn inner_ref(&self) -> &A { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn into_inner(self) -> A { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn add_event(&mut self, event: A::Event) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn pending_events(&self) -> &[AggregateEvent] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn version(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn pending_version(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `es` (lib) due to 11 previous errors; 1 warning emitted [INFO] [stdout] warning: fields `event_id`, `event_name`, and `occurred_at` are never read [INFO] [stdout] --> es/src/postgres/event.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 235 | struct PgAggregateEvent { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 238 | event_id: Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 239 | event_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | occurred_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> es/src/store/mod.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn aggregate_version(&self) -> u64 { [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] --> es/src/store/mod.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn event_id(&self) -> Uuid { [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] --> es/src/store/mod.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn event_name(&self) -> &String { [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] --> es/src/store/mod.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn payload(&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] --> es/src/store/mod.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 25 | impl Deref for AggregateEvent { [INFO] [stdout] | ------------------------------------------------ trait implemented here [INFO] [stdout] 26 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn occurred_at(&self) -> DateTime { [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] --> es/src/store/mod.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn inner_ref(&self) -> &A { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn into_inner(self) -> A { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn add_event(&mut self, event: A::Event) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn pending_events(&self) -> &[AggregateEvent] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn version(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [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] --> es/src/store/mod.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn pending_version(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl Deref for EventSourcedAggregate { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 145 | type Target = A; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `es` (lib) due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a64de47aebcd9ecea1667a26443d96b3a5ad6971f8eecf1eface6b44a0a0c16d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64de47aebcd9ecea1667a26443d96b3a5ad6971f8eecf1eface6b44a0a0c16d", kill_on_drop: false }` [INFO] [stdout] a64de47aebcd9ecea1667a26443d96b3a5ad6971f8eecf1eface6b44a0a0c16d