herdr-eternal-0.1.0
checks.x86_64-linux.workspace
· build #33
· raw
unpackPhase
1unpacking source archive /nix/store/9gz56sd01a0rd1wpjrv0ymxchshrbxm6-source2source root is sourcepatchPhase
3Executing configureCargoCommonVars4decompressing cargo artifacts from /nix/store/zv52bwb4mvbkfz9snxzjmvxy87bgrb9j-herdr-eternal-deps-0.1.0/target.tar.zst to targetconfigurePhase
5will append /build/source/.cargo-home/config.toml with contents of /nix/store/k9f08a5scy3hhgrrhs6hms566az10548-vendor-cargo-deps/config.toml6default configurePhase, nothing to dobuildPhase
7+++ command cargo --version8cargo 1.99.0 (5f94df478 2026-08-27)9+++ command cargo build --release --message-format json-render-diagnostics --locked10 Compiling herdr-eternal-proto v0.1.0 (/build/source/proto)11 Compiling herdr-eternal-ssh v0.1.0 (/build/source/client)12 Compiling herdr-eternal-server v0.1.0 (/build/source/server)13error[E0308]: `?` operator has incompatible types14 --> client/src/channel.rs:73:3915 |1673 | .send(Message::Binary(proto::encode(msg)?))17 | ^^^^^^^^^^^^^^^^^^^ expected `Bytes`, found `Vec<u8>`18 |19 = note: `?` operator cannot convert from `Vec<u8>` to `tokio_tungstenite::tungstenite::Bytes`20 = note: expected struct `tokio_tungstenite::tungstenite::Bytes`21 found struct `Vec<u8>`22help: call `Into::into` on this expression to convert `Vec<u8>` into `tokio_tungstenite::tungstenite::Bytes`23 |2473 | .send(Message::Binary(proto::encode(msg)?.into()))25 | +++++++2627error[E0308]: mismatched types28 --> client/src/channel.rs:124:8029 |30124 | Some(Ok(Message::Binary(bytes))) => return Ok(Event::Frame(bytes)),31 | ------------ ^^^^^ expected `Vec<u8>`, found `Bytes`32 | |33 | arguments to this enum variant are incorrect34 |35 = note: expected struct `Vec<u8>`36 found struct `tokio_tungstenite::tungstenite::Bytes`37note: tuple variant defined here38 --> client/src/channel.rs:32:539 |40 32 | Frame(Vec<u8>),41 | ^^^^^42help: try using a conversion method43 |44124 | Some(Ok(Message::Binary(bytes))) => return Ok(Event::Frame(bytes.to_vec())),45 | +++++++++4647error[E0308]: mismatched types48 --> client/src/channel.rs:165:5149 |50165 | Conn::Ws(ws) => ws.send(Message::Ping(Vec::new())).await.map_err(|_| ()),51 | ------------- ^^^^^^^^^^ expected `Bytes`, found `Vec<_>`52 | |53 | arguments to this enum variant are incorrect54 |55 = note: expected struct `tokio_tungstenite::tungstenite::Bytes`56 found struct `Vec<_>`57note: tuple variant defined here58 --> /nix/store/k9f08a5scy3hhgrrhs6hms566az10548-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/tungstenite-0.30.0/src/protocol/message.rs:165:559 |60165 | Ping(Bytes),61 | ^^^^62help: call `Into::into` on this expression to convert `Vec<_>` into `tokio_tungstenite::tungstenite::Bytes`63 |64165 | Conn::Ws(ws) => ws.send(Message::Ping(Vec::new().into())).await.map_err(|_| ()),65 | +++++++6667error[E0308]: `?` operator has incompatible types68 --> server/src/channel.rs:38:3969 |7038 | .send(Message::Binary(proto::encode(msg)?))71 | ^^^^^^^^^^^^^^^^^^^ expected `Bytes`, found `Vec<u8>`72 |73 = note: `?` operator cannot convert from `Vec<u8>` to `tokio_tungstenite::tungstenite::Bytes`74 = note: expected struct `tokio_tungstenite::tungstenite::Bytes`75 found struct `Vec<u8>`76help: call `Into::into` on this expression to convert `Vec<u8>` into `tokio_tungstenite::tungstenite::Bytes`77 |7838 | .send(Message::Binary(proto::encode(msg)?.into()))79 | +++++++8081error[E0308]: mismatched types82 --> server/src/channel.rs:89:7783 |8489 | Some(Ok(Message::Binary(bytes))) => return Event::Frame(bytes),85 | ------------ ^^^^^ expected `Vec<u8>`, found `Bytes`86 | |87 | arguments to this enum variant are incorrect88 |89 = note: expected struct `Vec<u8>`90 found struct `tokio_tungstenite::tungstenite::Bytes`91note: tuple variant defined here92 --> server/src/channel.rs:26:593 |9426 | Frame(Vec<u8>),95 | ^^^^^96help: try using a conversion method97 |9889 | Some(Ok(Message::Binary(bytes))) => return Event::Frame(bytes.to_vec()),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 `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 `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