[INFO] fetching crate mmtk 0.31.0... [INFO] checking mmtk-0.31.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate mmtk 0.31.0 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate mmtk 0.31.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mmtk 0.31.0 [INFO] tweaked toml for crates.io crate mmtk 0.31.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mmtk 0.31.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 183 packages to latest compatible versions [INFO] [stderr] Adding built v0.7.7 (available: v0.8.0) [INFO] [stderr] Adding bytemuck v1.23.1 (available: v1.25.0) [INFO] [stderr] Adding bytemuck_derive v1.8.1 (available: v1.10.2) [INFO] [stderr] Adding criterion v0.5.1 (available: v0.8.2) [INFO] [stderr] Adding half v2.4.1 (available: v2.7.1) [INFO] [stderr] Adding idna_adapter v1.1.0 (available: v1.2.1) [INFO] [stderr] Adding rand v0.9.2 (available: v0.10.0) [INFO] [stderr] Adding rand_chacha v0.9.0 (available: v0.10.0) [INFO] [stderr] Adding spin v0.9.8 (available: v0.10.0) [INFO] [stderr] Adding sysinfo v0.33.1 (available: v0.38.1) [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] a2f19def3c531e53192424a38e275e72ec799deef9cbb9b9867cda94c5997910 [INFO] running `Command { std: "docker" "start" "-a" "a2f19def3c531e53192424a38e275e72ec799deef9cbb9b9867cda94c5997910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2f19def3c531e53192424a38e275e72ec799deef9cbb9b9867cda94c5997910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2f19def3c531e53192424a38e275e72ec799deef9cbb9b9867cda94c5997910", kill_on_drop: false }` [INFO] [stdout] a2f19def3c531e53192424a38e275e72ec799deef9cbb9b9867cda94c5997910 [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] c2ab32024b6d4360ea8077d85dcca78a58e0ed4381f98f2ca6189bf27ecfb2ef [INFO] running `Command { std: "docker" "start" "-a" "c2ab32024b6d4360ea8077d85dcca78a58e0ed4381f98f2ca6189bf27ecfb2ef", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-joining-type v1.0.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking zerocopy v0.8.39 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling atomic-traits v0.4.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking clap_builder v4.5.57 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking jiff v0.2.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking atomic_refcell v0.1.13 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Compiling idna_mapping v1.1.0 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking downcast-rs v2.0.2 [INFO] [stderr] Checking probe v0.5.2 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling libgit2-sys v0.18.3+1.9.2 [INFO] [stderr] Compiling idna_adapter v1.1.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking clap v4.5.57 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking sysinfo v0.33.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling delegate v0.13.5 [INFO] [stderr] Compiling mmtk-macros v0.31.0 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Compiling git2 v0.20.4 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking atomic v0.6.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling mmtk v0.31.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SFTProcessEdges` is never constructed [INFO] [stdout] --> src/scheduler/gc_work.rs:666:12 [INFO] [stdout] | [INFO] [stdout] 666 | pub struct SFTProcessEdges { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/util/erase_vm.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe { std::mem::transmute(self.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/policy/sft.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | define_erased_vm_mut_ref!(GCWorkerMutRef = GCWorker); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_erased_vm_mut_ref` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 24 - unsafe { std::mem::transmute(self.0) } [INFO] [stdout] 24 + unsafe { &mut *std::ptr::with_exposed_provenance_mut::>(self.0) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/policy/sft_map.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | unsafe { std::mem::transmute(val) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/plan/global.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 407 | ) -> PlanCreateSpaceArgs { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 407 | ) -> PlanCreateSpaceArgs<'_, VM> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scheduler/worker.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn borrow_stat(&self) -> AtomicRef> { [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] 114 | pub fn borrow_stat(&self) -> AtomicRef<'_, WorkerLocalStat> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scheduler/worker.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn borrow_stat_mut(&self) -> AtomicRefMut> { [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] 118 | pub fn borrow_stat_mut(&self) -> AtomicRefMut<'_, WorkerLocalStat> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/heap/layout/map32.rs:281:27 [INFO] [stdout] | [INFO] [stdout] 281 | fn mut_self_with_sync(&self) -> (MutexGuard<()>, &mut Map32Inner) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 281 | fn mut_self_with_sync(&self) -> (MutexGuard<'_, ()>, &mut Map32Inner) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/heap/externalpageresource.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_external_pages(&self) -> MutexGuard> { [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] 80 | pub fn get_external_pages(&self) -> MutexGuard<'_, Vec> { [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/util/options.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn set(&mut self, value: T) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for MMTKOption { [INFO] [stdout] | -------------------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = T; [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] [stderr] error: could not compile `mmtk` (lib) due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `SFTProcessEdges` is never constructed [INFO] [stdout] --> src/scheduler/gc_work.rs:666:12 [INFO] [stdout] | [INFO] [stdout] 666 | pub struct SFTProcessEdges { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/util/erase_vm.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe { std::mem::transmute(self.0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/policy/sft.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | define_erased_vm_mut_ref!(GCWorkerMutRef = GCWorker); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_erased_vm_mut_ref` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 24 - unsafe { std::mem::transmute(self.0) } [INFO] [stdout] 24 + unsafe { &mut *std::ptr::with_exposed_provenance_mut::>(self.0) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/policy/sft_map.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | unsafe { std::mem::transmute(val) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/plan/global.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 407 | ) -> PlanCreateSpaceArgs { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 407 | ) -> PlanCreateSpaceArgs<'_, VM> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scheduler/worker.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn borrow_stat(&self) -> AtomicRef> { [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] 114 | pub fn borrow_stat(&self) -> AtomicRef<'_, WorkerLocalStat> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scheduler/worker.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn borrow_stat_mut(&self) -> AtomicRefMut> { [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] 118 | pub fn borrow_stat_mut(&self) -> AtomicRefMut<'_, WorkerLocalStat> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/heap/layout/map32.rs:281:27 [INFO] [stdout] | [INFO] [stdout] 281 | fn mut_self_with_sync(&self) -> (MutexGuard<()>, &mut Map32Inner) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 281 | fn mut_self_with_sync(&self) -> (MutexGuard<'_, ()>, &mut Map32Inner) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/heap/externalpageresource.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_external_pages(&self) -> MutexGuard> { [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] 80 | pub fn get_external_pages(&self) -> MutexGuard<'_, Vec> { [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/util/options.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn set(&mut self, value: T) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | impl std::ops::Deref for MMTKOption { [INFO] [stdout] | -------------------------------------------------------- trait implemented here [INFO] [stdout] 182 | type Target = T; [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] [stderr] error: could not compile `mmtk` (lib test) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c2ab32024b6d4360ea8077d85dcca78a58e0ed4381f98f2ca6189bf27ecfb2ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2ab32024b6d4360ea8077d85dcca78a58e0ed4381f98f2ca6189bf27ecfb2ef", kill_on_drop: false }` [INFO] [stdout] c2ab32024b6d4360ea8077d85dcca78a58e0ed4381f98f2ca6189bf27ecfb2ef