herdr-eternal-clippy-0.1.0
checks.aarch64-linux.clippy
· build #33
· raw
1tribuchet: building on eliza
unpackPhase
2unpacking source archive /nix/store/9gz56sd01a0rd1wpjrv0ymxchshrbxm6-source3source root is sourcepatchPhase
4Executing configureCargoCommonVars5decompressing cargo artifacts from /nix/store/vmxvv9pbq4karfqyj6z1ssv50zjadzms-herdr-eternal-deps-0.1.0/target.tar.zst to targetconfigurePhase
6will append /build/source/.cargo-home/config.toml with contents of /nix/store/f71lh0il42k0c1kj5440x3bfxkfcwvqv-vendor-cargo-deps/config.toml7default configurePhase, nothing to dobuildPhase
8+++ command cargo --version9cargo 1.99.0 (5f94df478 2026-08-27)10+++ command cargo clippy --release --locked --all-targets -- -D warnings11 Checking herdr-eternal-proto v0.1.0 (/build/source/proto)12 Checking herdr-eternal-server v0.1.0 (/build/source/server)13 Checking herdr-eternal-ssh v0.1.0 (/build/source/client)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 `std::vec::Vec<u8>` to `tokio_tungstenite::tungstenite::Bytes`21 = note: expected struct `tokio_tungstenite::tungstenite::Bytes`22 found struct `std::vec::Vec<u8>`23help: call `Into::into` on this expression to convert `std::vec::Vec<u8>` into `tokio_tungstenite::tungstenite::Bytes`24 |2573 | .send(Message::Binary(proto::encode(msg)?.into()))26 | +++++++2728error[E0308]: mismatched types29 --> client/src/channel.rs:124:8030 |31124 | Some(Ok(Message::Binary(bytes))) => return Ok(Event::Frame(bytes)),32 | ------------ ^^^^^ expected `Vec<u8>`, found `Bytes`33 | |34 | arguments to this enum variant are incorrect35 |36 = note: expected struct `std::vec::Vec<u8>`37 found struct `tokio_tungstenite::tungstenite::Bytes`38note: tuple variant defined here39 --> client/src/channel.rs:32:540 |41 32 | Frame(Vec<u8>),42 | ^^^^^43help: try using a conversion method44 |45124 | Some(Ok(Message::Binary(bytes))) => return Ok(Event::Frame(bytes.to_vec())),46 | +++++++++4748error[E0308]: mismatched types49 --> client/src/channel.rs:165:5150 |51165 | Conn::Ws(ws) => ws.send(Message::Ping(Vec::new())).await.map_err(|_| ()),52 | ------------- ^^^^^^^^^^ expected `Bytes`, found `Vec<_>`53 | |54 | arguments to this enum variant are incorrect55 |56 = note: expected struct `tokio_tungstenite::tungstenite::Bytes`57 found struct `std::vec::Vec<_>`58note: tuple variant defined here59 --> /nix/store/f71lh0il42k0c1kj5440x3bfxkfcwvqv-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/tungstenite-0.30.0/src/protocol/message.rs:165:560 |61165 | Ping(Bytes),62 | ^^^^63help: call `Into::into` on this expression to convert `std::vec::Vec<_>` into `tokio_tungstenite::tungstenite::Bytes`64 |65165 | Conn::Ws(ws) => ws.send(Message::Ping(Vec::new().into())).await.map_err(|_| ()),66 | +++++++6768error[E0308]: `?` operator has incompatible types69 --> server/src/channel.rs:38:3970 |7138 | .send(Message::Binary(proto::encode(msg)?))72 | ^^^^^^^^^^^^^^^^^^^ expected `Bytes`, found `Vec<u8>`73 |74 = note: `?` operator cannot convert from `std::vec::Vec<u8>` to `tokio_tungstenite::tungstenite::Bytes`75 = note: expected struct `tokio_tungstenite::tungstenite::Bytes`76 found struct `std::vec::Vec<u8>`77help: call `Into::into` on this expression to convert `std::vec::Vec<u8>` into `tokio_tungstenite::tungstenite::Bytes`78 |7938 | .send(Message::Binary(proto::encode(msg)?.into()))80 | +++++++8182error[E0308]: mismatched types83 --> server/src/channel.rs:89:7784 |8589 | Some(Ok(Message::Binary(bytes))) => return Event::Frame(bytes),86 | ------------ ^^^^^ expected `Vec<u8>`, found `Bytes`87 | |88 | arguments to this enum variant are incorrect89 |90 = note: expected struct `std::vec::Vec<u8>`91 found struct `tokio_tungstenite::tungstenite::Bytes`92note: tuple variant defined here93 --> server/src/channel.rs:26:594 |9526 | Frame(Vec<u8>),96 | ^^^^^97help: try using a conversion method98 |9989 | Some(Ok(Message::Binary(bytes))) => return Event::Frame(bytes.to_vec()),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 `std::vec::Vec<_>`112note: tuple variant defined here113 --> /nix/store/f71lh0il42k0c1kj5440x3bfxkfcwvqv-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 `std::vec::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