Skip to content

Build error on macOS: missing field supports_block_cloninginVolume struct (Rust 1.94.1) #3050

@cfkx5hdf4x-arch

Description

@cfkx5hdf4x-arch

Check for other issues

  • I've checked for other issues, and none exist.

Issue description

When trying to build Spacedrive on macOS (Apple Silicon), the setup command fails with the following compilation error in sd-core:

error[E0063]: missing field supports_block_cloning in initializer of domain::volume::Volume
--> core/src/volume/platform/macos.rs:125:18
|
125 | let volume = Volume {
| ^^^^^^ missing supports_block_cloning

Steps to reproduce

  1. Install Rust using the official installer:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
(Chose the standard installation. This resulted in Rust 1.94.1)

  1. Install Bun:

curl -fsSL https://bun.sh/install | bash

  1. Set up the environment (in a fresh Terminal window):

. "$HOME/.cargo/env"
. "$HOME/.bun/env"

  1. Clone the repository and attempt to set up the project:

git clone https://github.com/spacedriveapp/spacedrive
cd spacedrive
bun install
cargo run -p xtask -- setup

Platform and versions

  • OS: macOS Tahoe 26.4 (M2 Apple Silicon)
  • Spacedrive: 2.0.0-alpha.1
Development tool versions (optional)
Rust: 1.94.1 (e408947bf 2026-03-25)
Cargo: 1.94.1

Stack trace

Additional context

I encountered this error while following the official build instructions on the README for the first time.

This is a fresh clone of the repository (main branch).
I ran git pull origin main and cargo clean before retrying, but the error persists.

My Rust version is quite recent (1.94.1 from March 2026). It’s possible this struct field was added recently and the macOS initializer wasn’t updated yet.

Happy to test any fixes, try a specific Rust version, or provide more logs if needed.

Code of Conduct

  • I agree to follow the Code of Conduct.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions