spacedrive icon indicating copy to clipboard operation
spacedrive copied to clipboard

[Linux] file not found for module `prisma`

Open astrolemonade opened this issue 1 year ago • 1 comments

Describe the bug

   Compiling sd-prisma v0.1.0 (/home/catalin/Clones/spacedrive/crates/prisma)
error[E0583]: file not found for module `prisma`
 --> crates/prisma/src/lib.rs:2:1
  |
2 | pub mod prisma;
  | ^^^^^^^^^^^^^^^
  |
  = help: to create the module `prisma`, create file "crates/prisma/src/prisma.rs" or "crates/prisma/src/prisma/mod.rs"

error[E0583]: file not found for module `prisma_sync`
 --> crates/prisma/src/lib.rs:4:1
  |
4 | pub mod prisma_sync;
  | ^^^^^^^^^^^^^^^^^^^^
  |
  = help: to create the module `prisma_sync`, create file "crates/prisma/src/prisma_sync.rs" or "crates/prisma/src/prisma_sync/mod.rs"

warning: ignoring -C extra-filename flag due to -o flag

For more information about this error, try `rustc --explain E0583`.
warning: `sd-prisma` (lib) generated 1 warning
error: could not compile `sd-prisma` due to 2 previous errors; 1 warning emitted

Reproduction

Clone the repo and commit to hash ef979e59e7913f35d552aa96c5337fc691c3ae11, the latest available on master. Run cargo build --release. See the error.

Expected behavior

Successful build.

Platform and versions

8.6.0
cargo 1.69.0 (6e9a83356 2023-04-12)
rustc 1.69.0 (84c898d65 2023-04-16)

Stack trace

No response

Additional context

No response

astrolemonade avatar Jun 01 '23 09:06 astrolemonade

I would highly recommend reading the contributing docs in 'CONTRIBUTING.md'.

oscartbeaumont avatar Jun 01 '23 09:06 oscartbeaumont