servo / servo/rust-url

Error: 🚫 Building project failed: error[E0583]: file not found for module `origin`serde, interproc...

Open
#910 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.6k
Forks
406
PR merge metrics
No merged PRs in 30d

Description

Compiling url v2.5.0
Error: 🚫 Building project failed: error[E0583]: file not found for module `origin`serde, interproc...
   --> /home/satheeshkumar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/url-2.5.0/src/lib.rs:172:1
    |
172 | mod origin;
    | ^^^^^^^^^^^
    |
    = help: to create the module `origin`, create file "/home/satheeshkumar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/url-2.5.0/src/origin.rs" or "/home/satheeshkumar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/url-2.5.0/src/origin/mod.rs"
    = note: if there is a `mod origin` elsewhere in the crate already, import it with `use crate::...` instead

When ever i'm running the rust project which depends the url crate i'm getting this error. what i need to do to solve this.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported url-2.5.0 dependency and the mod origin declaration at src/lib.rs:172; inspect the Cargo package contents and the build output around the missing origin.rs module. Done means identifying a reproducible cause for the absent module and documenting a resolution for the reported build failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.