nixbot

builds

failed herdr-eternal-clippy-0.1.0 checks.x86_64-linux.clippy · build #33 · raw

unpackPhase
1unpacking source archive /nix/store/9gz56sd01a0rd1wpjrv0ymxchshrbxm6-source2source root is source
patchPhase
3Executing configureCargoCommonVars4decompressing cargo artifacts from /nix/store/zv52bwb4mvbkfz9snxzjmvxy87bgrb9j-herdr-eternal-deps-0.1.0/target.tar.zst to target
configurePhase
5will append /build/source/.cargo-home/config.toml with contents of /nix/store/k9f08a5scy3hhgrrhs6hms566az10548-vendor-cargo-deps/config.toml6default configurePhase, nothing to do
buildPhase
7+++ command cargo --version8cargo 1.99.0 (5f94df478 2026-08-27)9+++ command cargo clippy --release --locked --all-targets -- -D warnings10 Checking herdr-eternal-proto v0.1.0 (/build/source/proto)11 Checking herdr-eternal-server v0.1.0 (/build/source/server)12 Checking herdr-eternal-ssh v0.1.0 (/build/source/client)13error[E0308]: `?` operator has incompatible types14 --> server/src/channel.rs:38:3915 |1638 | .send(Message::Binary(proto::encode(msg)?))17 | ^^^^^^^^^^^^^^^^^^^ expected `Bytes`, found `Vec<u8>`18 |19 = note: `?` operator cannot convert from `std::vec::Vec<u8>` to `tokio_tungstenite::tungstenite::Bytes`20 = note: expected struct `tokio_tungstenite::tungstenite::Bytes`21 found struct `std::vec::Vec<u8>`22help: call `Into::into` on this expression to convert `std::vec::Vec<u8>` into `tokio_tungstenite::tungstenite::Bytes`23 |2438 | .send(Message::Binary(proto::encode(msg)?.into()))25 | +++++++2627error[E0308]: `?` operator has incompatible types28 --> client/src/channel.rs:73:3929 |3073 | .send(Message::Binary(proto::encode(msg)?))31 | ^^^^^^^^^^^^^^^^^^^ expected `Bytes`, found `Vec<u8>`32 |33 = note: `?` operator cannot convert from `std::vec::Vec<u8>` to `tokio_tungstenite::tungstenite::Bytes`34 = note: expected struct `tokio_tungstenite::tungstenite::Bytes`35 found struct `std::vec::Vec<u8>`36help: call `Into::into` on this expression to convert `std::vec::Vec<u8>` into `tokio_tungstenite::tungstenite::Bytes`37 |3873 | .send(Message::Binary(proto::encode(msg)?.into()))39 | +++++++4041error[E0308]: mismatched types42 --> client/src/channel.rs:124:8043 |44124 | Some(Ok(Message::Binary(bytes))) => return Ok(Event::Frame(bytes)),45 | ------------ ^^^^^ expected `Vec<u8>`, found `Bytes`46 | |47 | arguments to this enum variant are incorrect48 |49 = note: expected struct `std::vec::Vec<u8>`50 found struct `tokio_tungstenite::tungstenite::Bytes`51note: tuple variant defined here52 --> client/src/channel.rs:32:553 |54 32 | Frame(Vec<u8>),55 | ^^^^^56help: try using a conversion method57 |58124 | Some(Ok(Message::Binary(bytes))) => return Ok(Event::Frame(bytes.to_vec())),59 | +++++++++6061error[E0308]: mismatched types62 --> server/src/channel.rs:89:7763 |6489 | Some(Ok(Message::Binary(bytes))) => return Event::Frame(bytes),65 | ------------ ^^^^^ expected `Vec<u8>`, found `Bytes`66 | |67 | arguments to this enum variant are incorrect68 |69 = note: expected struct `std::vec::Vec<u8>`70 found struct `tokio_tungstenite::tungstenite::Bytes`71note: tuple variant defined here72 --> server/src/channel.rs:26:573 |7426 | Frame(Vec<u8>),75 | ^^^^^76help: try using a conversion method77 |7889 | Some(Ok(Message::Binary(bytes))) => return Event::Frame(bytes.to_vec()),79 | +++++++++8081error[E0308]: mismatched types82 --> client/src/channel.rs:165:5183 |84165 | Conn::Ws(ws) => ws.send(Message::Ping(Vec::new())).await.map_err(|_| ()),85 | ------------- ^^^^^^^^^^ expected `Bytes`, found `Vec<_>`86 | |87 | arguments to this enum variant are incorrect88 |89 = note: expected struct `tokio_tungstenite::tungstenite::Bytes`90 found struct `std::vec::Vec<_>`91note: tuple variant defined here92 --> /nix/store/k9f08a5scy3hhgrrhs6hms566az10548-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/tungstenite-0.30.0/src/protocol/message.rs:165:593 |94165 | Ping(Bytes),95 | ^^^^96help: call `Into::into` on this expression to convert `std::vec::Vec<_>` into `tokio_tungstenite::tungstenite::Bytes`97 |98165 | Conn::Ws(ws) => ws.send(Message::Ping(Vec::new().into())).await.map_err(|_| ()),99 | +++++++100101error[E0308]: mismatched types102 --> server/src/channel.rs:129:35103 |104129 | ws.send(Message::Ping(Vec::new())).await.map_err(Box::new)?;105 | ------------- ^^^^^^^^^^ expected `Bytes`, found `Vec<_>`106 | |107 | arguments to this enum variant are incorrect108 |109 = note: expected struct `tokio_tungstenite::tungstenite::Bytes`110 found struct `std::vec::Vec<_>`111note: tuple variant defined here112 --> /nix/store/k9f08a5scy3hhgrrhs6hms566az10548-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/tungstenite-0.30.0/src/protocol/message.rs:165:5113 |114165 | Ping(Bytes),115 | ^^^^116help: call `Into::into` on this expression to convert `std::vec::Vec<_>` into `tokio_tungstenite::tungstenite::Bytes`117 |118129 | ws.send(Message::Ping(Vec::new().into())).await.map_err(Box::new)?;119 | +++++++120121For more information about this error, try `rustc --explain E0308`.122error: could not compile `herdr-eternal-ssh` (lib) due to 3 previous errors123warning: build failed, waiting for other jobs to finish...124error: could not compile `herdr-eternal-server` (lib) due to 3 previous errors