[INFO] cloning repository https://github.com/grabcocque/fugrip [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grabcocque/fugrip" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrabcocque%2Ffugrip", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrabcocque%2Ffugrip'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb45161726c8a8e30e2759e5686570b987d8ee7a [INFO] testing grabcocque/fugrip against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrabcocque%2Ffugrip" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/grabcocque/fugrip [INFO] finished tweaking git repo https://github.com/grabcocque/fugrip [INFO] tweaked toml for git repo https://github.com/grabcocque/fugrip written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/grabcocque/fugrip on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/grabcocque/fugrip 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c395ce2497f60f93356ebde7fada1bd6e3432f6132ff110f59a6ffefb6f5f5ad [INFO] running `Command { std: "docker" "start" "-a" "c395ce2497f60f93356ebde7fada1bd6e3432f6132ff110f59a6ffefb6f5f5ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c395ce2497f60f93356ebde7fada1bd6e3432f6132ff110f59a6ffefb6f5f5ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c395ce2497f60f93356ebde7fada1bd6e3432f6132ff110f59a6ffefb6f5f5ad", kill_on_drop: false }` [INFO] [stdout] c395ce2497f60f93356ebde7fada1bd6e3432f6132ff110f59a6ffefb6f5f5ad [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6e6060b65461773ad5fd18ad6b02c80f0974f77ea3cf4ee94212b9e94a99b3b [INFO] running `Command { std: "docker" "start" "-a" "d6e6060b65461773ad5fd18ad6b02c80f0974f77ea3cf4ee94212b9e94a99b3b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling unicode-joining-type v1.0.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ptr v0.2.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling atomic-traits v0.4.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling idna_mapping v1.1.0 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling loca v0.7.4 [INFO] [stderr] Compiling idna_adapter v1.1.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libgit2-sys v0.18.2+1.9.1 [INFO] [stderr] Compiling jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling downcast-rs v2.0.2 [INFO] [stderr] Compiling probe v0.5.1 [INFO] [stderr] Compiling atomic_refcell v0.1.13 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling jemalloc v0.3.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling sysinfo v0.33.1 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling delegate v0.13.4 [INFO] [stderr] Compiling mmtk-macros v0.31.0 [INFO] [stderr] Compiling enum-map v2.7.3 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling atomic v0.6.1 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling git2 v0.20.2 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling mmtk v0.31.0 [INFO] [stderr] Compiling jemallocator v0.5.4 [INFO] [stderr] Compiling fugrip v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::core::RustObjectModel` [INFO] [stdout] --> src/binding/vm_impl.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::RustObjectModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mmtk::vm::ObjectModel` [INFO] [stdout] --> src/binding/vm_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mmtk::vm::ObjectModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::RustObjectModel` [INFO] [stdout] --> src/binding/vm_impl.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::core::RustObjectModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mmtk::vm::ObjectModel` [INFO] [stdout] --> src/binding/vm_impl.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | use mmtk::vm::ObjectModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::constants::*` [INFO] [stdout] --> src/compat.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use crate::types::constants::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TricolorMarking` [INFO] [stdout] --> src/concurrent/marking.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::concurrent::{TricolorMarking, WriteBarrier}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compat::Address` [INFO] [stdout] --> src/concurrent/marking.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | use crate::compat::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `psm` [INFO] [stdout] --> src/handshake.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use psm; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Address` [INFO] [stdout] --> src/memory_management/finalizers.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::compat::{Address, ObjectReference}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::weak_refs::WeakRefTrait` [INFO] [stdout] --> src/memory_management/manager.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use super::weak_refs::WeakRefTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/memory_management/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Address` and `ObjectReference` [INFO] [stdout] --> src/memory_management/tests.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::compat::{Address, ObjectReference}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::fugc_coordinator::FugcCoordinator` [INFO] [stdout] --> src/memory_management/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::fugc_coordinator::FugcCoordinator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::memory_management::weak_refs::WeakRefTrait` [INFO] [stdout] --> src/memory_management/tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::memory_management::weak_refs::WeakRefTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::roots::GlobalRoots` [INFO] [stdout] --> src/memory_management/tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::roots::GlobalRoots; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::thread::ThreadRegistry` [INFO] [stdout] --> src/memory_management/tests.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::thread::ThreadRegistry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arc_swap::ArcSwap` [INFO] [stdout] --> src/memory_management/tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use arc_swap::ArcSwap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/memory_management/tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool` and `Ordering` [INFO] [stdout] --> src/memory_management/tests.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Address` [INFO] [stdout] --> src/memory_management/weak_maps.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::compat::{Address, ObjectReference}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GcError`, `constants::MIN_OBJECT_SIZE`, and `register_mutator` [INFO] [stdout] --> src/modern_allocator.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | alloc_facade::{MutatorHandle, global_allocator, register_mutator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | compat::{ObjectReference, constants::MIN_OBJECT_SIZE}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | core::ObjectHeader, [INFO] [stdout] 10 | error::{GcError, GcResult}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handle_user_collection_request` [INFO] [stdout] --> src/plan.rs:12:64 [INFO] [stdout] | [INFO] [stdout] 12 | PlanHandle, get_plan_reserved_pages, get_plan_total_pages, handle_user_collection_request, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::binding::RustVM` [INFO] [stdout] --> src/plan.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::binding::RustVM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/safepoint/state.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | /// Thread-local safepoint state [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GcError` [INFO] [stdout] --> src/zero_cost_allocator.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | error::{GcError, GcResult}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RustObjectModel: mmtk::vm::ObjectModel` is not satisfied [INFO] [stdout] --> src/binding/vm_impl.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | type VMObjectModel = crate::core::RustObjectModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `mmtk::vm::ObjectModel` is not implemented for `RustObjectModel` [INFO] [stdout] --> src/core.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 253 | pub struct RustObjectModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `RustObjectModel` implements similarly named trait `types::ObjectModel`, but not `mmtk::vm::ObjectModel` [INFO] [stdout] note: required by a bound in `mmtk::vm::VMBinding::VMObjectModel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/vm/mod.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | type VMObjectModel: ObjectModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `VMBinding::VMObjectModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `get_reference` has an incompatible type for trait [INFO] [stdout] --> src/weak.rs:307:32 [INFO] [stdout] | [INFO] [stdout] 307 | fn get_reference(&self) -> ObjectReference { [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `mmtk::util::ObjectReference`, found `types::ObjectReference` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&WeakRefHeader) -> mmtk::util::ObjectReference` [INFO] [stdout] found signature `fn(&WeakRefHeader) -> types::ObjectReference` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 307 | fn get_reference(&self) -> mmtk::util::ObjectReference { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `set_reference` has an incompatible type for trait [INFO] [stdout] --> src/weak.rs:337:41 [INFO] [stdout] | [INFO] [stdout] 337 | fn set_reference(&mut self, object: ObjectReference) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `mmtk::util::ObjectReference`, found `types::ObjectReference` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut WeakRefHeader, mmtk::util::ObjectReference)` [INFO] [stdout] found signature `fn(&mut WeakRefHeader, types::ObjectReference)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 337 | fn set_reference(&mut self, object: mmtk::util::ObjectReference) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/allocator.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 105 | let addr = allocate( [INFO] [stdout] | -------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 110 | AllocationSemantics::Default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `alloc_facade::AllocationSemantics`, found `compat::AllocationSemantics` [INFO] [stdout] | [INFO] [stdout] = note: `compat::AllocationSemantics` and `alloc_facade::AllocationSemantics` have similar names, but are actually distinct types [INFO] [stdout] note: `compat::AllocationSemantics` is defined in module `crate::compat` of the current crate [INFO] [stdout] --> src/compat.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum AllocationSemantics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `alloc_facade::AllocationSemantics` is defined in module `crate::alloc_facade` of the current crate [INFO] [stdout] --> src/alloc_facade.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum AllocationSemantics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/alloc_facade.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn allocate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | semantics: AllocationSemantics, [INFO] [stdout] | ------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_mut_ptr` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/allocator.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | let object_ptr = addr.to_mut_ptr::(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `*mut u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/allocator.rs:127:79 [INFO] [stdout] | [INFO] [stdout] 127 | let object_ref = unsafe { ObjectReference::from_raw_address_unchecked(addr) }; [INFO] [stdout] | ------------------------------------------- ^^^^ expected `Address`, found `*mut u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `types::Address` [INFO] [stdout] found raw pointer `*mut u8` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/types.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | pub unsafe fn from_raw_address_unchecked(addr: Address) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: call `Into::into` on this expression to convert `*mut u8` into `types::Address` [INFO] [stdout] | [INFO] [stdout] 127 | let object_ref = unsafe { ObjectReference::from_raw_address_unchecked(addr.into()) }; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/allocator.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | post_alloc( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | AllocationSemantics::Default, [INFO] [stdout] | ---------------------------- expected `alloc_facade::AllocationSemantics`, found `compat::AllocationSemantics` [INFO] [stdout] | [INFO] [stdout] note: expected `*mut u8`, found `ObjectReference` [INFO] [stdout] --> src/allocator.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | object_ref, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut u8` [INFO] [stdout] found struct `types::ObjectReference` [INFO] [stdout] = note: `compat::AllocationSemantics` and `alloc_facade::AllocationSemantics` have similar names, but are actually distinct types [INFO] [stdout] note: `compat::AllocationSemantics` is defined in module `crate::compat` of the current crate [INFO] [stdout] --> src/compat.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum AllocationSemantics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `alloc_facade::AllocationSemantics` is defined in module `crate::alloc_facade` of the current crate [INFO] [stdout] --> src/alloc_facade.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum AllocationSemantics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/alloc_facade.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn post_alloc( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 105 | mutator: MutatorHandle, [INFO] [stdout] 106 | object: *mut u8, [INFO] [stdout] | --------------- [INFO] [stdout] 107 | size: usize, [INFO] [stdout] 108 | semantics: AllocationSemantics, [INFO] [stdout] | ------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/binding/allocation.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | match ObjectReference::from_raw_address(addr) { [INFO] [stdout] | --------------------------------- ^^^^ expected `types::Address`, found `mmtk::util::Address` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `mmtk::util::Address` and `types::Address` have similar names, but are actually distinct types [INFO] [stdout] note: `mmtk::util::Address` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `types::Address` is defined in the current crate [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/types.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn from_raw_address(addr: Address) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/binding/allocation.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | mmtk::memory_manager::object_reference_write_pre::(mutator, src, vm_slot, target_opt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --- ------- expected `mmtk::vm::slot::SimpleSlot`, found `types::slot::SimpleSlot` [INFO] [stdout] | | [INFO] [stdout] | expected `mmtk::util::ObjectReference`, found `types::ObjectReference` [INFO] [stdout] | [INFO] [stdout] = note: `types::ObjectReference` and `mmtk::util::ObjectReference` have similar names, but are actually distinct types [INFO] [stdout] note: `types::ObjectReference` is defined in the current crate [INFO] [stdout] --> src/types.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ObjectReference(Address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `mmtk::util::ObjectReference` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:573:1 [INFO] [stdout] | [INFO] [stdout] 573 | pub struct ObjectReference(NonZeroUsize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `types::slot::SimpleSlot` and `mmtk::vm::slot::SimpleSlot` have similar names, but are actually distinct types [INFO] [stdout] note: `types::slot::SimpleSlot` is defined in the current crate [INFO] [stdout] --> src/types.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct SimpleSlot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `mmtk::vm::slot::SimpleSlot` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/vm/slot.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct SimpleSlot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: expected `mmtk::util::ObjectReference`, found `types::ObjectReference` [INFO] [stdout] --> src/binding/allocation.rs:124:87 [INFO] [stdout] | [INFO] [stdout] 124 | mmtk::memory_manager::object_reference_write_pre::(mutator, src, vm_slot, target_opt); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `types::ObjectReference` and `mmtk::util::ObjectReference` have similar names, but are actually distinct types [INFO] [stdout] note: `types::ObjectReference` is defined in the current crate [INFO] [stdout] --> src/types.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ObjectReference(Address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `mmtk::util::ObjectReference` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:573:1 [INFO] [stdout] | [INFO] [stdout] 573 | pub struct ObjectReference(NonZeroUsize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/memory_manager.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn object_reference_write_pre( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/binding/allocation.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | mmtk::memory_manager::object_reference_write_post::(mutator, src, vm_slot, target_opt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --- ------- expected `mmtk::vm::slot::SimpleSlot`, found `types::slot::SimpleSlot` [INFO] [stdout] | | [INFO] [stdout] | expected `mmtk::util::ObjectReference`, found `types::ObjectReference` [INFO] [stdout] | [INFO] [stdout] = note: `types::ObjectReference` and `mmtk::util::ObjectReference` have similar names, but are actually distinct types [INFO] [stdout] note: `types::ObjectReference` is defined in the current crate [INFO] [stdout] --> src/types.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ObjectReference(Address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `mmtk::util::ObjectReference` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:573:1 [INFO] [stdout] | [INFO] [stdout] 573 | pub struct ObjectReference(NonZeroUsize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `types::slot::SimpleSlot` and `mmtk::vm::slot::SimpleSlot` have similar names, but are actually distinct types [INFO] [stdout] note: `types::slot::SimpleSlot` is defined in the current crate [INFO] [stdout] --> src/types.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct SimpleSlot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `mmtk::vm::slot::SimpleSlot` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/vm/slot.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct SimpleSlot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: expected `mmtk::util::ObjectReference`, found `types::ObjectReference` [INFO] [stdout] --> src/binding/allocation.rs:125:88 [INFO] [stdout] | [INFO] [stdout] 125 | mmtk::memory_manager::object_reference_write_post::(mutator, src, vm_slot, target_opt); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `types::ObjectReference` and `mmtk::util::ObjectReference` have similar names, but are actually distinct types [INFO] [stdout] note: `types::ObjectReference` is defined in the current crate [INFO] [stdout] --> src/types.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ObjectReference(Address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `mmtk::util::ObjectReference` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:573:1 [INFO] [stdout] | [INFO] [stdout] 573 | pub struct ObjectReference(NonZeroUsize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/memory_manager.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn object_reference_write_post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/binding/initialization.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | .initialize(mmtk_static); [INFO] [stdout] | ^^^^^^^^^^ ----------- unexpected argument of type `&'static mmtk::MMTK` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/plan.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn initialize(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 50 - .initialize(mmtk_static); [INFO] [stdout] 50 + .initialize(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/binding/initialization.rs:96:64 [INFO] [stdout] | [INFO] [stdout] 96 | let mutator_box = mmtk::memory_manager::bind_mutator(mmtk, tls); [INFO] [stdout] | ---------------------------------- ^^^ expected `mmtk::util::VMMutatorThread`, found `VMMutatorThread` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `VMMutatorThread` and `mmtk::util::VMMutatorThread` have similar names, but are actually distinct types [INFO] [stdout] note: `VMMutatorThread` is defined in the current crate [INFO] [stdout] --> src/compat.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | pub struct VMMutatorThread(pub VMThread); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `mmtk::util::VMMutatorThread` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/opaque_pointer.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct VMMutatorThread(pub VMThread); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/memory_manager.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn bind_mutator( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/binding/initialization.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | .initialize(mmtk); [INFO] [stdout] | ^^^^^^^^^^ ---- unexpected argument of type `&'static mmtk::MMTK` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/plan.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn initialize(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 126 - .initialize(mmtk); [INFO] [stdout] 126 + .initialize(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_address` found for struct `compat::vm::opaque_pointer::OpaquePointer` in the current scope [INFO] [stdout] --> src/binding/mutator.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | thread.0.to_address().as_usize() [INFO] [stdout] | ^^^^^^^^^^ method not found in `compat::vm::opaque_pointer::OpaquePointer` [INFO] [stdout] | [INFO] [stdout] ::: src/compat.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct OpaquePointer(pub usize); [INFO] [stdout] | ------------------------ method `to_address` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/binding/vm_impl.rs:183:53 [INFO] [stdout] | [INFO] [stdout] 183 | let slot = SimpleSlot::from_address(slot_addr); [INFO] [stdout] | ------------------------ ^^^^^^^^^ expected `mmtk::util::Address`, found `types::Address` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `types::Address` and `mmtk::util::Address` have similar names, but are actually distinct types [INFO] [stdout] note: `types::Address` is defined in the current crate [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `mmtk::util::Address` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/vm/slot.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn from_address(address: Address) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/binding/vm_impl.rs:266:57 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some(thread) = with_mutator_registration(tls, |entry| entry.thread().clone()) { [INFO] [stdout] | ------------------------- ^^^ expected `VMMutatorThread`, found `mmtk::util::VMMutatorThread` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `mmtk::util::VMMutatorThread` and `VMMutatorThread` have similar names, but are actually distinct types [INFO] [stdout] note: `mmtk::util::VMMutatorThread` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/opaque_pointer.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct VMMutatorThread(pub VMThread); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `VMMutatorThread` is defined in the current crate [INFO] [stdout] --> src/compat.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | pub struct VMMutatorThread(pub VMThread); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/binding/mutator.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn with_mutator_registration(tls: VMMutatorThread, f: F) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ -------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mmtk` found for struct `arc_swap::Guard>` in the current scope [INFO] [stdout] --> src/binding/vm_impl.rs:280:35 [INFO] [stdout] | [INFO] [stdout] 280 | match manager.mmtk() { [INFO] [stdout] | ^^^^ method not found in `arc_swap::Guard>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/binding/vm_impl.rs:381:33 [INFO] [stdout] | [INFO] [stdout] 381 | let key = vm_thread_key(tls); [INFO] [stdout] | ------------- ^^^ expected `compat::vm::opaque_pointer::VMThread`, found `mmtk::util::VMThread` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `mmtk::util::VMThread` and `compat::vm::opaque_pointer::VMThread` have similar names, but are actually distinct types [INFO] [stdout] note: `mmtk::util::VMThread` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/opaque_pointer.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct VMThread(pub OpaquePointer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `compat::vm::opaque_pointer::VMThread` is defined in the current crate [INFO] [stdout] --> src/compat.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct VMThread(pub OpaquePointer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/binding/mutator.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn vm_thread_key(thread: VMThread) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/binding/vm_impl.rs:386:35 [INFO] [stdout] | [INFO] [stdout] 386 | with_mutator_registration(tls, |entry| unsafe { entry.as_mutator() }) [INFO] [stdout] | ------------------------- ^^^ expected `VMMutatorThread`, found `mmtk::util::VMMutatorThread` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `mmtk::util::VMMutatorThread` and `VMMutatorThread` have similar names, but are actually distinct types [INFO] [stdout] note: `mmtk::util::VMMutatorThread` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/opaque_pointer.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct VMMutatorThread(pub VMThread); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `VMMutatorThread` is defined in the current crate [INFO] [stdout] --> src/compat.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | pub struct VMMutatorThread(pub VMThread); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/binding/mutator.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn with_mutator_registration(tls: VMMutatorThread, f: F) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ -------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/concurrent/barriers.rs:445:42 [INFO] [stdout] | [INFO] [stdout] 445 | if old_value.to_raw_address() != mmtk::util::Address::ZERO { [INFO] [stdout] | -------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `types::Address`, found `mmtk::util::Address` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `types::Address` [INFO] [stdout] | [INFO] [stdout] = note: `mmtk::util::Address` and `types::Address` have similar names, but are actually distinct types [INFO] [stdout] note: `mmtk::util::Address` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `types::Address` is defined in the current crate [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/concurrent/barriers.rs:479:46 [INFO] [stdout] | [INFO] [stdout] 479 | if old_value.to_raw_address() != mmtk::util::Address::ZERO { [INFO] [stdout] | -------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `types::Address`, found `mmtk::util::Address` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `types::Address` [INFO] [stdout] | [INFO] [stdout] = note: `mmtk::util::Address` and `types::Address` have similar names, but are actually distinct types [INFO] [stdout] note: `mmtk::util::Address` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `types::Address` is defined in the current crate [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/concurrent/barriers.rs:535:42 [INFO] [stdout] | [INFO] [stdout] 535 | if old_value.to_raw_address() != mmtk::util::Address::ZERO { [INFO] [stdout] | -------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `types::Address`, found `mmtk::util::Address` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `types::Address` [INFO] [stdout] | [INFO] [stdout] = note: `mmtk::util::Address` and `types::Address` have similar names, but are actually distinct types [INFO] [stdout] note: `mmtk::util::Address` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `types::Address` is defined in the current crate [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/concurrent/coordination.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | mmtk::util::Address::from_usize(root_ptr as usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `types::Address`, found `mmtk::util::Address` [INFO] [stdout] | [INFO] [stdout] = note: `mmtk::util::Address` and `types::Address` have similar names, but are actually distinct types [INFO] [stdout] note: `mmtk::util::Address` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `types::Address` is defined in the current crate [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/memory_management/free_objects.rs:167:82 [INFO] [stdout] | [INFO] [stdout] 167 | ... let is_live = memory_manager::is_live_object(*oref); [INFO] [stdout] | ------------------------------ ^^^^^ expected `mmtk::util::ObjectReference`, found `types::ObjectReference` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `types::ObjectReference` and `mmtk::util::ObjectReference` have similar names, but are actually distinct types [INFO] [stdout] note: `types::ObjectReference` is defined in the current crate [INFO] [stdout] --> src/types.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ObjectReference(Address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `mmtk::util::ObjectReference` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:573:1 [INFO] [stdout] | [INFO] [stdout] 573 | pub struct ObjectReference(NonZeroUsize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/memory_manager.rs:591:8 [INFO] [stdout] | [INFO] [stdout] 591 | pub fn is_live_object(object: ObjectReference) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/modern_allocator.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn alloc_global(header: ObjectHeader, body_bytes: usize) -> GcResult { [INFO] [stdout] | ------------------------- expected `Result` because of return type [INFO] [stdout] 66 | global_allocator().allocate_object(header, body_bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result<*mut u8, GcError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result<*mut u8, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/modern_allocator.rs:71:46 [INFO] [stdout] | [INFO] [stdout] 71 | global_allocator().deallocate_object(obj, size); [INFO] [stdout] | ----------------- ^^^ expected `*mut u8`, found `ObjectReference` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut u8` [INFO] [stdout] found struct `types::ObjectReference` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/alloc_facade.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn deallocate_object(&self, obj: *mut u8, total_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_address` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/opaque_handles.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | let address = obj_ref.to_address().as_usize(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `*mut u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/opaque_handles.rs:308:34 [INFO] [stdout] | [INFO] [stdout] 308 | facade.deallocate_object(obj_ref, size); [INFO] [stdout] | ----------------- ^^^^^^^ expected `*mut u8`, found `ObjectReference` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut u8` [INFO] [stdout] found struct `types::ObjectReference` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/alloc_facade.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn deallocate_object(&self, obj: *mut u8, total_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `stats` found for reference `&'static AllocatorFacade` in the current scope [INFO] [stdout] --> src/opaque_handles.rs:324:47 [INFO] [stdout] | [INFO] [stdout] 324 | let facade_stats = global_allocator().stats(); [INFO] [stdout] | ^^^^^ method not found in `&'static AllocatorFacade` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/safepoint/manager.rs:151:46 [INFO] [stdout] | [INFO] [stdout] 151 | .create_fugc_coordinator(heap_base, 64 * 1024 * 1024, 4) [INFO] [stdout] | ----------------------- ^^^^^^^^^ expected `types::Address`, found `mmtk::util::Address` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `mmtk::util::Address` and `types::Address` have similar names, but are actually distinct types [INFO] [stdout] note: `mmtk::util::Address` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `types::Address` is defined in the current crate [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/di.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn create_fugc_coordinator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | &self, [INFO] [stdout] 88 | heap_base: Address, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/safepoint/manager.rs:198:61 [INFO] [stdout] | [INFO] [stdout] 198 | let coordinator = container.create_fugc_coordinator(heap_base, 64 * 1024 * 1024, 1); [INFO] [stdout] | ----------------------- ^^^^^^^^^ expected `types::Address`, found `mmtk::util::Address` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `mmtk::util::Address` and `types::Address` have similar names, but are actually distinct types [INFO] [stdout] note: `mmtk::util::Address` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `types::Address` is defined in the current crate [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/di.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn create_fugc_coordinator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | &self, [INFO] [stdout] 88 | heap_base: Address, [INFO] [stdout] | ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/weak.rs:314:61 [INFO] [stdout] | [INFO] [stdout] 314 | ObjectReference::from_raw_address_unchecked(mmtk::util::Address::from_usize( [INFO] [stdout] | _________________-------------------------------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 315 | | 0xDEADBEE8, // Aligned dummy address [INFO] [stdout] 316 | | )) [INFO] [stdout] | |_________________^ expected `types::Address`, found `mmtk::util::Address` [INFO] [stdout] | [INFO] [stdout] = note: `mmtk::util::Address` and `types::Address` have similar names, but are actually distinct types [INFO] [stdout] note: `mmtk::util::Address` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `types::Address` is defined in the current crate [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/types.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | pub unsafe fn from_raw_address_unchecked(addr: Address) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/weak.rs:325:55 [INFO] [stdout] | [INFO] [stdout] 325 | ObjectReference::from_raw_address(addr) [INFO] [stdout] | --------------------------------- ^^^^ expected `types::Address`, found `mmtk::util::Address` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `mmtk::util::Address` and `types::Address` have similar names, but are actually distinct types [INFO] [stdout] note: `mmtk::util::Address` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `types::Address` is defined in the current crate [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/types.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn from_raw_address(addr: Address) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/weak.rs:326:88 [INFO] [stdout] | [INFO] [stdout] 326 | .unwrap_or_else(|| ObjectReference::from_raw_address_unchecked(addr)) [INFO] [stdout] | ------------------------------------------- ^^^^ expected `types::Address`, found `mmtk::util::Address` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `mmtk::util::Address` and `types::Address` have similar names, but are actually distinct types [INFO] [stdout] note: `mmtk::util::Address` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `types::Address` is defined in the current crate [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/types.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | pub unsafe fn from_raw_address_unchecked(addr: Address) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/weak.rs:329:65 [INFO] [stdout] | [INFO] [stdout] 329 | ObjectReference::from_raw_address_unchecked(mmtk::util::Address::from_usize( [INFO] [stdout] | _____________________-------------------------------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 330 | | 0xDEADBEE8, [INFO] [stdout] 331 | | )) [INFO] [stdout] | |_____________________^ expected `types::Address`, found `mmtk::util::Address` [INFO] [stdout] | [INFO] [stdout] = note: `mmtk::util::Address` and `types::Address` have similar names, but are actually distinct types [INFO] [stdout] note: `mmtk::util::Address` is defined in crate `mmtk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mmtk-0.31.0/src/util/address.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `types::Address` is defined in the current crate [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Address(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/types.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | pub unsafe fn from_raw_address_unchecked(addr: Address) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zero_cost_allocator.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 85 | let addr = alloc_facade::allocate( [INFO] [stdout] | ---------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 90 | crate::compat::AllocationSemantics::Default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `alloc_facade::AllocationSemantics`, found `compat::AllocationSemantics` [INFO] [stdout] | [INFO] [stdout] = note: `compat::AllocationSemantics` and `alloc_facade::AllocationSemantics` have similar names, but are actually distinct types [INFO] [stdout] note: `compat::AllocationSemantics` is defined in module `crate::compat` of the current crate [INFO] [stdout] --> src/compat.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum AllocationSemantics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `alloc_facade::AllocationSemantics` is defined in module `crate::alloc_facade` of the current crate [INFO] [stdout] --> src/alloc_facade.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum AllocationSemantics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/alloc_facade.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn allocate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | semantics: AllocationSemantics, [INFO] [stdout] | ------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_mut_ptr` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/zero_cost_allocator.rs:95:35 [INFO] [stdout] | [INFO] [stdout] 95 | let header_ptr = addr.to_mut_ptr::(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `*mut u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_mut_ptr` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/zero_cost_allocator.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | std::ptr::write_bytes(body_ptr.to_mut_ptr::(), 0, size); [INFO] [stdout] | ^^^^^^^^^^ method not found in `*mut u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zero_cost_allocator.rs:105:91 [INFO] [stdout] | [INFO] [stdout] 105 | let obj_ref = unsafe { crate::compat::ObjectReference::from_raw_address_unchecked(addr) }; [INFO] [stdout] | ---------------------------------------------------------- ^^^^ expected `Address`, found `*mut u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `types::Address` [INFO] [stdout] found raw pointer `*mut u8` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/types.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | pub unsafe fn from_raw_address_unchecked(addr: Address) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------- [INFO] [stdout] help: call `Into::into` on this expression to convert `*mut u8` into `types::Address` [INFO] [stdout] | [INFO] [stdout] 105 | let obj_ref = unsafe { crate::compat::ObjectReference::from_raw_address_unchecked(addr.into()) }; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/zero_cost_allocator.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | alloc_facade::post_alloc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | crate::compat::AllocationSemantics::Default, [INFO] [stdout] | ------------------------------------------- expected `alloc_facade::AllocationSemantics`, found `compat::AllocationSemantics` [INFO] [stdout] | [INFO] [stdout] note: expected `*mut u8`, found `ObjectReference` [INFO] [stdout] --> src/zero_cost_allocator.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | obj_ref, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut u8` [INFO] [stdout] found struct `types::ObjectReference` [INFO] [stdout] = note: `compat::AllocationSemantics` and `alloc_facade::AllocationSemantics` have similar names, but are actually distinct types [INFO] [stdout] note: `compat::AllocationSemantics` is defined in module `crate::compat` of the current crate [INFO] [stdout] --> src/compat.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum AllocationSemantics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `alloc_facade::AllocationSemantics` is defined in module `crate::alloc_facade` of the current crate [INFO] [stdout] --> src/alloc_facade.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum AllocationSemantics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/alloc_facade.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn post_alloc( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 105 | mutator: MutatorHandle, [INFO] [stdout] 106 | object: *mut u8, [INFO] [stdout] | --------------- [INFO] [stdout] 107 | size: usize, [INFO] [stdout] 108 | semantics: AllocationSemantics, [INFO] [stdout] | ------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_mut_ptr` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/zero_cost_allocator.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | Ok(addr.to_mut_ptr::()) [INFO] [stdout] | ^^^^^^^^^^ method not found in `*mut u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/zero_cost_allocator.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | alloc_facade::write_barrier(self.mutator, src_ref, slot_addr, target_ref); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `*mut u8`, found `ObjectReference` [INFO] [stdout] --> src/zero_cost_allocator.rs:134:51 [INFO] [stdout] | [INFO] [stdout] 134 | alloc_facade::write_barrier(self.mutator, src_ref, slot_addr, target_ref); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut u8` [INFO] [stdout] found struct `types::ObjectReference` [INFO] [stdout] note: expected `*mut *mut u8`, found `Address` [INFO] [stdout] --> src/zero_cost_allocator.rs:134:60 [INFO] [stdout] | [INFO] [stdout] 134 | alloc_facade::write_barrier(self.mutator, src_ref, slot_addr, target_ref); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut *mut u8` [INFO] [stdout] found struct `types::Address` [INFO] [stdout] note: expected `Option<*mut u8>`, found `Option` [INFO] [stdout] --> src/zero_cost_allocator.rs:134:71 [INFO] [stdout] | [INFO] [stdout] 134 | alloc_facade::write_barrier(self.mutator, src_ref, slot_addr, target_ref); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option<*mut u8>` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/alloc_facade.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn write_barrier( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 130 | mutator: MutatorHandle, [INFO] [stdout] 131 | src: *mut u8, [INFO] [stdout] | ------------ [INFO] [stdout] 132 | slot: *mut *mut u8, [INFO] [stdout] | ------------------ [INFO] [stdout] 133 | target: Option<*mut u8>, [INFO] [stdout] | ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mmtk::vm::ObjectModel` [INFO] [stdout] --> src/memory_management/free_objects.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mmtk::vm::ObjectModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/binding/vm_impl.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | let addr = unsafe { Address::from_usize(value) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/binding/vm_impl.rs:206:27 [INFO] [stdout] | [INFO] [stdout] 206 | let slice_start = unsafe { mmtk::util::Address::from_mut_ptr(self.ptr) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/binding/vm_impl.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | unsafe { mmtk::util::Address::from_mut_ptr(self.ptr) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/cache_optimization.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | return Some(unsafe { Address::from_usize(aligned_ptr) }); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/cache_optimization.rs:559:27 [INFO] [stdout] | [INFO] [stdout] 559 | layouts.push((unsafe { Address::from_usize(current_addr) }, size)); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/cache_optimization.rs:601:38 [INFO] [stdout] | [INFO] [stdout] 601 | .map(|(&size, &offset)| (unsafe { Address::from_usize(offset) }, size)) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/cache_optimization.rs:622:9 [INFO] [stdout] | [INFO] [stdout] 622 | unsafe { Address::from_usize(metadata_addr) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/concurrent/coordination.rs:64:75 [INFO] [stdout] | [INFO] [stdout] 64 | if let Some(root_obj) = ObjectReference::from_raw_address(unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/concurrent/marking.rs:249:25 [INFO] [stdout] | [INFO] [stdout] 249 | let heap_base = unsafe { Address::from_usize(0x10000000) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/concurrent/marking.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | let heap_base = unsafe { Address::from_usize(0x10000000) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_bytes` [INFO] [stdout] --> src/facade_allocator.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let total_bytes = std::mem::size_of::() + body_bytes; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/fugc_coordinator/protocol.rs:124:83 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some(root_obj) = ObjectReference::from_raw_address(unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/fugc_coordinator/protocol.rs:180:86 [INFO] [stdout] | [INFO] [stdout] 180 | ... if let Some(obj_ref) = ObjectReference::from_raw_address(unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/fugc_coordinator/protocol.rs:347:30 [INFO] [stdout] | [INFO] [stdout] 347 | let page_start = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory_management/finalizers.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | fn execute(mut self) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/memory_management/free_objects.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe { Address::from_usize(FREE_SINGLETON.load(Ordering::Acquire)) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/plan.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe { crate::compat::Address::from_usize(0x10000000) }, // 256MB base [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/plan.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | let heap_base = unsafe { crate::compat::Address::from_usize(0x10000000) }; // 256MB base [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plan_handle` [INFO] [stdout] --> src/plan.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | if let Some(plan_handle) = self.plan.get().copied() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plan_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plan_handle` [INFO] [stdout] --> src/plan.rs:380:21 [INFO] [stdout] | [INFO] [stdout] 380 | if let Some(plan_handle) = self.plan.get().copied() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plan_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/plan.rs:418:29 [INFO] [stdout] | [INFO] [stdout] 418 | if let Some(entry) = MUTATOR_MAP.get_or_init(DashMap::new).iter().next() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/roots.rs:271:32 [INFO] [stdout] | [INFO] [stdout] 271 | let addr = unsafe { crate::compat::Address::from_mut_ptr(root_ptr) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/safepoint/manager.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | if let Some(ref callback) = **callback_option { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/safepoint/manager.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | if let Some(ref callback) = **callback_option { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/simd_sweep.rs:178:35 [INFO] [stdout] | [INFO] [stdout] 178 | .address_to_bit_index(unsafe { Address::from_usize(start_addr.as_usize() + size) }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/weak.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0061, E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fugrip` (lib) due to 42 previous errors; 52 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d6e6060b65461773ad5fd18ad6b02c80f0974f77ea3cf4ee94212b9e94a99b3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6e6060b65461773ad5fd18ad6b02c80f0974f77ea3cf4ee94212b9e94a99b3b", kill_on_drop: false }` [INFO] [stdout] d6e6060b65461773ad5fd18ad6b02c80f0974f77ea3cf4ee94212b9e94a99b3b