[INFO] fetching crate fj-core 0.49.0... [INFO] checking fj-core-0.49.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate fj-core 0.49.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate fj-core 0.49.0 [INFO] finished tweaking crates.io crate fj-core 0.49.0 [INFO] tweaked toml for crates.io crate fj-core 0.49.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fj-core 0.49.0 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.12.1 (available: v0.14.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6c9cbff9b55174c68b0fc74546155a54ae05e1a803decd2bc2897da389f1ad95 [INFO] running `Command { std: "docker" "start" "-a" "6c9cbff9b55174c68b0fc74546155a54ae05e1a803decd2bc2897da389f1ad95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c9cbff9b55174c68b0fc74546155a54ae05e1a803decd2bc2897da389f1ad95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c9cbff9b55174c68b0fc74546155a54ae05e1a803decd2bc2897da389f1ad95", kill_on_drop: false }` [INFO] [stdout] 6c9cbff9b55174c68b0fc74546155a54ae05e1a803decd2bc2897da389f1ad95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 15dc10df9e52ed8e417431baee282d6062c113f010caabde7859f6a3daf279f3 [INFO] running `Command { std: "docker" "start" "-a" "15dc10df9e52ed8e417431baee282d6062c113f010caabde7859f6a3daf279f3", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking robust v1.2.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking type-map v0.5.1 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking spade v2.15.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking decorum v0.3.1 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Checking parry3d-f64 v0.13.8 [INFO] [stderr] Checking parry2d-f64 v0.13.8 [INFO] [stderr] Checking fj-math v0.49.0 [INFO] [stderr] Checking fj-interop v0.49.0 [INFO] [stderr] Checking fj-core v0.49.0 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/layers/layer.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | impl Deref for Layer { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 54 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [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/layers/layer.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn into_state(self) -> S { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | impl Deref for Layer { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 54 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects/object_set.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn iter(&self) -> ObjectSetIter { [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] 137 | pub fn iter(&self) -> ObjectSetIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/operations/transform/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 106 | key: &Handle, [INFO] [stdout] 107 | ) -> btree_map::Entry> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 107 | ) -> btree_map::Entry<'_, ObjectId, Handle> { [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/storage/handle.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn id(&self) -> ObjectId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl Deref for Handle { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 73 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/storage/handle.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn clone_object(&self) -> T [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl Deref for Handle { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 73 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/storage/handle.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 72 | impl Deref for Handle { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 73 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn as_handle(&self) -> &Handle { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | impl Deref for HandleWrapper { [INFO] [stdout] | ---------------------------------- trait implemented here [INFO] [stdout] 251 | type Target = Handle; [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/storage/handle.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 72 | impl Deref for Handle { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 73 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn into_handle(self) -> Handle { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | impl Deref for HandleWrapper { [INFO] [stdout] | ---------------------------------- trait implemented here [INFO] [stdout] 251 | type Target = Handle; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/store.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn iter(&self) -> Iter { [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] 92 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/layers/layer.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | impl Deref for Layer { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 54 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [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/layers/layer.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn into_state(self) -> S { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | impl Deref for Layer { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 54 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects/object_set.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn iter(&self) -> ObjectSetIter { [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] 137 | pub fn iter(&self) -> ObjectSetIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/operations/transform/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 106 | key: &Handle, [INFO] [stdout] 107 | ) -> btree_map::Entry> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 107 | ) -> btree_map::Entry<'_, ObjectId, Handle> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fj-core` (lib test) due to 6 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/storage/handle.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn id(&self) -> ObjectId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl Deref for Handle { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 73 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/storage/handle.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn clone_object(&self) -> T [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl Deref for Handle { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 73 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/storage/handle.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 72 | impl Deref for Handle { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 73 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn as_handle(&self) -> &Handle { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | impl Deref for HandleWrapper { [INFO] [stdout] | ---------------------------------- trait implemented here [INFO] [stdout] 251 | type Target = Handle; [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/storage/handle.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 72 | impl Deref for Handle { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 73 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn into_handle(self) -> Handle { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | impl Deref for HandleWrapper { [INFO] [stdout] | ---------------------------------- trait implemented here [INFO] [stdout] 251 | type Target = Handle; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/store.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn iter(&self) -> Iter { [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] 92 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fj-core` (lib) due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "15dc10df9e52ed8e417431baee282d6062c113f010caabde7859f6a3daf279f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15dc10df9e52ed8e417431baee282d6062c113f010caabde7859f6a3daf279f3", kill_on_drop: false }` [INFO] [stdout] 15dc10df9e52ed8e417431baee282d6062c113f010caabde7859f6a3daf279f3