You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found mistletoe and wanted to see if I could package it for openSUSE. I know it is not released and in its early stages, but still it would be interesting.
The build fails, unfortunately:
[ 251s] Compiling mistletoe-api v0.1.2 (/home/abuild/rpmbuild/BUILD/mistletoe-0.0.1~1705277988.b665c2f/mistletoe-api)
[ 253s] Compiling clap v4.5.18
[ 253s] Compiling kube v0.87.2
[ 253s] Compiling colored v2.1.0
[ 254s] Compiling indoc v2.0.5
[ 254s] Compiling mistletoe v0.1.2 (/home/abuild/rpmbuild/BUILD/mistletoe-0.0.1~1705277988.b665c2f)
[ 254s] error[E0433]: failed to resolve: use of undeclared crate or module `windows`
[ 254s] --> src/config.rs:6:5
[ 254s] |
[ 254s] 6 | use windows::core::PCSTR;
[ 254s] | ^^^^^^^ use of undeclared crate or module `windows`
[ 254s]
[ 254s] error[E0433]: failed to resolve: use of undeclared crate or module `windows`
[ 254s] --> src/config.rs:7:5
[ 254s] |
[ 254s] 7 | use windows::Win32::Storage::FileSystem::{GetFileAttributesA, SetFileAttributesA, FILE_FLAGS_AND_ATTRIBUTES};
[ 254s] | ^^^^^^^ use of undeclared crate or module `windows`
[ 254s]
[ 254s] warning: unused import: `std::ffi::OsStr`
[ 254s] --> src/config.rs:1:5
[ 254s] |
[ 254s] 1 | use std::ffi::OsStr;
[ 254s] | ^^^^^^^^^^^^^^^
[ 254s] |
[ 254s] = note: `#[warn(unused_imports)]` on by default
[ 254s]
[ 255s] For more information about this error, try `rustc --explain E0433`.
[ 255s] warning: `mistletoe` (lib) generated 1 warning
[ 255s] error: could not compile `mistletoe` (lib) due to 2 previous errors; 1 warning emitted
[ 255s] warning: build failed, waiting for other jobs to finish...
Any idea how to fix it?
Kind Regards,
Johannes
P.S.: This was done with the code from commit b665c2f.
The text was updated successfully, but these errors were encountered:
Hi,
I found mistletoe and wanted to see if I could package it for openSUSE. I know it is not released and in its early stages, but still it would be interesting.
The build fails, unfortunately:
Any idea how to fix it?
Kind Regards,
Johannes
P.S.: This was done with the code from commit b665c2f.
The text was updated successfully, but these errors were encountered: