pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/59382: Rust can't compile/install cargo-watch on a recent SmartOS system
>Number: 59382
>Category: pkg
>Synopsis: Rust can't compile/install cargo-watch on a recent SmartOS system
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 02 14:05:00 +0000 2025
>Originator: D
>Release: pkg_install-20241101
>Organization:
SolOS
>Environment:
SunOS tools.local 5.11 joyent_20250417T003816Z i86pc i386 i86pc
>Description:
Can't compile/install cargo-watch on a recent SmartOS system:
error[E0308]: mismatched types
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zbus-5.5.0/src/connection/socket/unix.rs:329:47
|
329 | fn get_unix_peer_creds_blocking(fd: RawFd) -> io::Result<crate::fdo::ConnectionCredentials> {
| ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<ConnectionCredentials, Error>`, found `()`
| |
| implicitly returns `()` as its body has no tail or `return` expression
|
= note: expected enum `std::result::Result<ConnectionCredentials, std::io::Error>`
found unit type `()`
>How-To-Repeat:
cargo install cargo-watch
>Fix:
Home |
Main Index |
Thread Index |
Old Index