Open babnskidata opened 3 months ago
We just ran into this on Vector too: https://github.com/vectordotdev/vector/pull/20955
The errors:
error[E0433]: failed to resolve: use of undeclared type `ErrorKind`
--> C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\syslog-7.0.0\src/lib.rs:264:9
|
264 | Err(ErrorKind::UnsupportedPlatform)?
| ^^^^^^^^^ use of undeclared type `ErrorKind`
|
help: consider importing this enum
|
57 + use io::ErrorKind;
|
error[E0433]: failed to resolve: use of undeclared type `ErrorKind`
--> C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\syslog-7.0.0\src/lib.rs:275:9
|
275 | Err(ErrorKind::UnsupportedPlatform)?
| ^^^^^^^^^ use of undeclared type `ErrorKind`
|
help: consider importing this enum
|
57 + use io::ErrorKind;
|
error[E0433]: failed to resolve: use of undeclared type `ErrorKind`
--> C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\syslog-7.0.0\src/lib.rs:390:9
|
390 | Err(ErrorKind::UnsupportedPlatform)?
| ^^^^^^^^^ use of undeclared type `ErrorKind`
|
help: consider importing this enum
|
57 + use io::ErrorKind;
|
error[E0433]: failed to resolve: use of undeclared type `ErrorKind`
--> C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba[1500](https://github.com/vectordotdev/vector/actions/runs/10428621847/job/28885012430#step:6:1501)1f\syslog-7.0.0\src/lib.rs:422:9
|
422 | Err(ErrorKind::UnsupportedPlatform)?
| ^^^^^^^^^ use of undeclared type `ErrorKind`
|
help: consider importing this enum
|
57 + use io::ErrorKind;
Fix "failed to resolve: use of undeclared type
ErrorKind
" error.