happybeing / happybeing/logtail-dash
version 1.0.0 fails to build
- Dominant language
- Rust
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Platform: Ubuntu 20.04
Requirements check:
sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.8ubuntu1.1).
---
error[E0599]: no function or associated item named `new_immediate` found for trait object `dyn Watcher` in the current scope
--> /home/joris/.cargo/registry/src/github.com-1ecc6299db9ec823/linemux-0.1.3/src/events.rs:61:64
|
61 | let inner: notify::RecommendedWatcher = NotifyWatcher::new_immediate(move |res| {
| ^^^^^^^^^^^^^ function or associated item not found in `dyn Watcher`
error[E0308]: mismatched types
--> /home/joris/.cargo/registry/src/github.com-1ecc6299db9ec823/linemux-0.1.3/src/events.rs:90:20
|
88 | fn watch(watcher: &mut notify::RecommendedWatcher, path: impl AsRef) -> io::Result<()> {
| ---------------- this type parameter
89 | watcher
90 | .watch(path, notify::RecursiveMode::NonRecursive)
| ^^^^ expected `&Path`, found type parameter `impl AsRef`
|
= note: expected reference `&Path`
found type parameter `impl AsRef`
error[E0308]: mismatched types
--> /home/joris/.cargo/registry/src/github.com-1ecc6299db9ec823/linemux-0.1.3/src/events.rs:95:25
|
94 | fn unwatch(watcher: &mut notify::RecommendedWatcher, path: impl AsRef) -> io::Result<()> {
| ---------------- this type parameter
95 | watcher.unwatch(path).map_err(notify_to_io_error)
| ^^^^ expected `&Path`, found type parameter `impl AsRef`
|
= note: expected reference `&Path`
found type parameter `impl AsRef`
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0308, E0599.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `linemux`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `logtail v1.0.0`, intermediate artifacts can be found at `/tmp/cargo-installCv5XNS`
Caused by:
build failed
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.