-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Any idea what might happen? I am on macOS.
~/D/twars-url2md (main)> cargo install --path .
Installing twars-url2md v1.3.6 (/Users/dima/Developer/twars-url2md)
Updating crates.io index
Locking 293 packages to latest compatible versions
Adding html5ever v0.26.0 (available: v0.29.1)
Adding markup5ever v0.11.0 (available: v0.15.0)
Adding markup5ever_rcdom v0.2.0 (available: v0.3.0)
Downloaded alloc-stdlib v0.2.2
...
Compiling htmd v0.1.6
Compiling linkify v0.10.0
Compiling num_cpus v1.16.0
Compiling monolith v2.9.0
error[E0432]: unresolved import `monolith::opts`
--> src/html.rs:2:15
|
2 | use monolith::opts::Options;
| ^^^^ could not find `opts` in `monolith`
error[E0433]: failed to resolve: could not find `utils` in `monolith`
--> src/html.rs:141:37
|
141 | let (_, charset, _) = monolith::utils::parse_content_type(content_type);
| ^^^^^ could not find `utils` in `monolith`
error[E0308]: mismatched types
--> src/html.rs:205:25
|
204 | monolith::html::walk_and_embed_assets(
| ------------------------------------- arguments to this function are incorrect
205 | &mut cache,
| ^^^^^^^^^^ expected `&mut Option<Cache>`, found `&mut HashMap<_, _>`
|
= note: expected mutable reference `&mut Option<Cache>`
found mutable reference `&mut HashMap<_, _>`
note: function defined here
--> /Users/dima/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/monolith-2.9.0/src/html.rs:724:8
|
724 | pub fn walk_and_embed_assets(
| ^^^^^^^^^^^^^^^^^^^^^
Some errors have detailed explanations: E0308, E0432, E0433.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `twars-url2md` (lib) due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `twars-url2md v1.3.6 (/Users/dima/Developer/twars-url2md)`, intermediate artifacts can be found at `/Users/dima/Developer/twars-url2md/target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.Metadata
Metadata
Assignees
Labels
No labels