Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 馃毇 Building project failed: error[E0583]: file not found for module originserde, interproc... #910

Open
Satheeshsk369 opened this issue Mar 1, 2024 · 2 comments

Comments

@Satheeshsk369
Copy link

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.

@valenting
Copy link
Collaborator

Not sure what to tell you. https://github.com/servo/rust-url/blob/master/url/src/origin.rs the file exists.
Could you do a cargo update and try again?

@Satheeshsk369
Copy link
Author

Not sure what to tell you. https://github.com/servo/rust-url/blob/master/url/src/origin.rs the file exists.
Could you do a cargo update and try again?

I tried, but still got the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants