nixbot

builds

failed herdr-eternal-0.1.0 checks.aarch64-darwin.workspace · build #33 · raw

1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/9gz56sd01a0rd1wpjrv0ymxchshrbxm6-source3source root is source
patchPhase
4Executing configureCargoCommonVars5decompressing cargo artifacts from /nix/store/723k2fhamx2kf7r7i21fylxnky5zz0yy-herdr-eternal-deps-0.1.0/target.tar.zst to target
configurePhase
6will append /private/var/tb/1/scratch/b18c7d40011ae7d3/build/source/.cargo-home/config.toml with contents of /nix/store/g2azsh5864cvcl7czv0mcr53kp1rirxr-vendor-cargo-deps/config.toml7default configurePhase, nothing to do
buildPhase
8+++ command cargo --version9cargo 1.99.0 (5f94df478 2026-08-27)10+++ command cargo build --release --message-format json-render-diagnostics --locked11 Compiling herdr-eternal-proto v0.1.0 (/private/var/tb/1/scratch/b18c7d40011ae7d3/build/source/proto)12 Compiling herdr-eternal-ssh v0.1.0 (/private/var/tb/1/scratch/b18c7d40011ae7d3/build/source/client)13 Compiling herdr-eternal-server v0.1.0 (/private/var/tb/1/scratch/b18c7d40011ae7d3/build/source/server)14error[E0308]: `?` operator has incompatible types15 --> client/src/channel.rs:73:3916 |1773 | .send(Message::Binary(proto::encode(msg)?))18 | ^^^^^^^^^^^^^^^^^^^ expected `Bytes`, found `Vec<u8>`19 |20 = note: `?` operator cannot convert from `Vec<u8>` to `tokio_tungstenite::tungstenite::Bytes`21 = note: expected struct `tokio_tungstenite::tungstenite::Bytes`22 found struct `Vec<u8>`23help: call `Into::into` on this expression to convert `Vec<u8>` into `tokio_tungstenite::tungstenite::Bytes`24 |2573 | .send(Message::Binary(proto::encode(msg)?.into()))26 | +++++++2728error[E0308]: `?` operator has incompatible types29 --> server/src/channel.rs:38:3930 |3138 | .send(Message::Binary(proto::encode(msg)?))32 | ^^^^^^^^^^^^^^^^^^^ expected `Bytes`, found `Vec<u8>`33 |34 = note: `?` operator cannot convert from `Vec<u8>` to `tokio_tungstenite::tungstenite::Bytes`35 = note: expected struct `tokio_tungstenite::tungstenite::Bytes`36 found struct `Vec<u8>`37help: call `Into::into` on this expression to convert `Vec<u8>` into `tokio_tungstenite::tungstenite::Bytes`38 |3938 | .send(Message::Binary(proto::encode(msg)?.into()))40 | +++++++4142error[E0308]: mismatched types43 --> server/src/channel.rs:89:7744 |4589 | Some(Ok(Message::Binary(bytes))) => return Event::Frame(bytes),46 | ------------ ^^^^^ expected `Vec<u8>`, found `Bytes`47 | |48 | arguments to this enum variant are incorrect49 |50 = note: expected struct `Vec<u8>`51 found struct `tokio_tungstenite::tungstenite::Bytes`52note: tuple variant defined here53 --> server/src/channel.rs:26:554 |5526 | Frame(Vec<u8>),56 | ^^^^^57help: try using a conversion method58 |5989 | Some(Ok(Message::Binary(bytes))) => return Event::Frame(bytes.to_vec()),60 | +++++++++6162error[E0308]: mismatched types63 --> client/src/channel.rs:124:8064 |65124 | Some(Ok(Message::Binary(bytes))) => return Ok(Event::Frame(bytes)),66 | ------------ ^^^^^ expected `Vec<u8>`, found `Bytes`67 | |68 | arguments to this enum variant are incorrect69 |70 = note: expected struct `Vec<u8>`71 found struct `tokio_tungstenite::tungstenite::Bytes`72note: tuple variant defined here73 --> client/src/channel.rs:32:574 |75 32 | Frame(Vec<u8>),76 | ^^^^^77help: try using a conversion method78 |79124 | Some(Ok(Message::Binary(bytes))) => return Ok(Event::Frame(bytes.to_vec())),80 | +++++++++8182error[E0308]: mismatched types83 --> client/src/channel.rs:165:5184 |85165 | Conn::Ws(ws) => ws.send(Message::Ping(Vec::new())).await.map_err(|_| ()),86 | ------------- ^^^^^^^^^^ expected `Bytes`, found `Vec<_>`87 | |88 | arguments to this enum variant are incorrect89 |90 = note: expected struct `tokio_tungstenite::tungstenite::Bytes`91 found struct `Vec<_>`92note: tuple variant defined here93 --> /nix/store/g2azsh5864cvcl7czv0mcr53kp1rirxr-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/tungstenite-0.30.0/src/protocol/message.rs:165:594 |95165 | Ping(Bytes),96 | ^^^^97help: call `Into::into` on this expression to convert `Vec<_>` into `tokio_tungstenite::tungstenite::Bytes`98 |99165 | Conn::Ws(ws) => ws.send(Message::Ping(Vec::new().into())).await.map_err(|_| ()),100 | +++++++101102error[E0308]: mismatched types103 --> server/src/channel.rs:129:35104 |105129 | ws.send(Message::Ping(Vec::new())).await.map_err(Box::new)?;106 | ------------- ^^^^^^^^^^ expected `Bytes`, found `Vec<_>`107 | |108 | arguments to this enum variant are incorrect109 |110 = note: expected struct `tokio_tungstenite::tungstenite::Bytes`111 found struct `Vec<_>`112note: tuple variant defined here113 --> /nix/store/g2azsh5864cvcl7czv0mcr53kp1rirxr-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/tungstenite-0.30.0/src/protocol/message.rs:165:5114 |115165 | Ping(Bytes),116 | ^^^^117help: call `Into::into` on this expression to convert `Vec<_>` into `tokio_tungstenite::tungstenite::Bytes`118 |119129 | ws.send(Message::Ping(Vec::new().into())).await.map_err(Box::new)?;120 | +++++++121122For more information about this error, try `rustc --explain E0308`.123error: could not compile `herdr-eternal-ssh` (lib) due to 3 previous errors124warning: build failed, waiting for other jobs to finish...125error: could not compile `herdr-eternal-server` (lib) due to 3 previous errors