[INFO] cloning repository https://github.com/black-leg-nameko/ghost_protocol
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/black-leg-nameko/ghost_protocol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblack-leg-nameko%2Fghost_protocol", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblack-leg-nameko%2Fghost_protocol'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fac0bb4721cc033fcb0a93da2f2d9ac7a8672654
[INFO] checking black-leg-nameko/ghost_protocol/fac0bb4721cc033fcb0a93da2f2d9ac7a8672654 against master#4cf5f9580233c36f6bc8db76e282ba8a1c1ea491 for pr-154585
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblack-leg-nameko%2Fghost_protocol" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/black-leg-nameko/ghost_protocol
[INFO] finished tweaking git repo https://github.com/black-leg-nameko/ghost_protocol
[INFO] tweaked toml for git repo https://github.com/black-leg-nameko/ghost_protocol written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/black-leg-nameko/ghost_protocol on toolchain 4cf5f9580233c36f6bc8db76e282ba8a1c1ea491
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/black-leg-nameko/ghost_protocol already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 79 packages to latest compatible versions
[INFO] [stderr]       Adding base64 v0.21.7
[INFO] [stderr]       Adding base64 v0.22.1
[INFO] [stderr]       Adding bitflags v2.11.0
[INFO] [stderr]       Adding bumpalo v3.20.2
[INFO] [stderr]       Adding bytes v1.11.1
[INFO] [stderr]       Adding cc v1.2.59
[INFO] [stderr]       Adding core-foundation v0.9.4
[INFO] [stderr]       Adding core-foundation-sys v0.8.7
[INFO] [stderr]       Adding find-msvc-tools v0.1.9
[INFO] [stderr]       Adding futures-core v0.3.32
[INFO] [stderr]       Adding futures-macro v0.3.32
[INFO] [stderr]       Adding futures-task v0.3.32
[INFO] [stderr]       Adding futures-util v0.3.32
[INFO] [stderr]       Adding js-sys v0.3.94
[INFO] [stderr]       Adding log v0.4.29
[INFO] [stderr]       Adding mio v1.1.1 (available: v1.2.0)
[INFO] [stderr]       Adding once_cell v1.21.4
[INFO] [stderr]       Adding openssl-probe v0.1.6
[INFO] [stderr]       Adding pem v3.0.6
[INFO] [stderr]       Adding pin-project-lite v0.2.17
[INFO] [stderr]       Adding quinn v0.10.2 (available: v0.11.9)
[INFO] [stderr]       Adding quinn-proto v0.10.6
[INFO] [stderr]       Adding quinn-udp v0.4.1
[INFO] [stderr]       Adding rcgen v0.11.3 (available: v0.14.7)
[INFO] [stderr]       Adding ring v0.16.20
[INFO] [stderr]       Adding ring v0.17.14
[INFO] [stderr]       Adding rustc-hash v1.1.0
[INFO] [stderr]       Adding rustls v0.21.12 (available: v0.23.37)
[INFO] [stderr]       Adding rustls-native-certs v0.6.3
[INFO] [stderr]       Adding rustls-pemfile v1.0.4
[INFO] [stderr]       Adding rustls-webpki v0.101.7
[INFO] [stderr]       Adding rustversion v1.0.22
[INFO] [stderr]       Adding schannel v0.1.29
[INFO] [stderr]       Adding sct v0.7.1
[INFO] [stderr]       Adding security-framework v2.11.1
[INFO] [stderr]       Adding security-framework-sys v2.17.0
[INFO] [stderr]       Adding shlex v1.3.0
[INFO] [stderr]       Adding slab v0.4.12
[INFO] [stderr]       Adding socket2 v0.5.10
[INFO] [stderr]       Adding socket2 v0.6.3
[INFO] [stderr]       Adding spin v0.5.2
[INFO] [stderr]       Adding tinyvec v1.11.0
[INFO] [stderr]       Adding tinyvec_macros v0.1.1
[INFO] [stderr]       Adding tokio v1.50.0 (available: v1.51.0)
[INFO] [stderr]       Adding tracing v0.1.44
[INFO] [stderr]       Adding tracing-attributes v0.1.31
[INFO] [stderr]       Adding tracing-core v0.1.36
[INFO] [stderr]       Adding untrusted v0.7.1
[INFO] [stderr]       Adding untrusted v0.9.0
[INFO] [stderr]       Adding wasm-bindgen v0.2.117
[INFO] [stderr]       Adding wasm-bindgen-macro v0.2.117
[INFO] [stderr]       Adding wasm-bindgen-macro-support v0.2.117
[INFO] [stderr]       Adding wasm-bindgen-shared v0.2.117
[INFO] [stderr]       Adding web-sys v0.3.94
[INFO] [stderr]       Adding winapi v0.3.9
[INFO] [stderr]       Adding winapi-i686-pc-windows-gnu v0.4.0
[INFO] [stderr]       Adding winapi-x86_64-pc-windows-gnu v0.4.0
[INFO] [stderr]       Adding windows-link v0.2.1
[INFO] [stderr]       Adding windows-sys v0.48.0
[INFO] [stderr]       Adding windows-sys v0.52.0
[INFO] [stderr]       Adding windows-sys v0.61.2
[INFO] [stderr]       Adding windows-targets v0.48.5
[INFO] [stderr]       Adding windows-targets v0.52.6
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.52.6
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5
[INFO] [stderr]       Adding windows_aarch64_msvc v0.52.6
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5
[INFO] [stderr]       Adding windows_i686_gnu v0.52.6
[INFO] [stderr]       Adding windows_i686_gnullvm v0.52.6
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5
[INFO] [stderr]       Adding windows_i686_msvc v0.52.6
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5
[INFO] [stderr]       Adding windows_x86_64_gnu v0.52.6
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.52.6
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5
[INFO] [stderr]       Adding windows_x86_64_msvc v0.52.6
[INFO] [stderr]       Adding yasna v0.5.2
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded half v1.8.3
[INFO] [stderr]   Downloaded quinn-udp v0.4.1
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.117
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.117
[INFO] [stderr]   Downloaded rustls-native-certs v0.6.3
[INFO] [stderr]   Downloaded security-framework-sys v2.17.0
[INFO] [stderr]   Downloaded schannel v0.1.29
[INFO] [stderr]   Downloaded tinyvec v1.11.0
[INFO] [stderr]   Downloaded rcgen v0.11.3
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.117
[INFO] [stderr]   Downloaded js-sys v0.3.94
[INFO] [stderr]   Downloaded quinn v0.10.2
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.117
[INFO] [stderr]   Downloaded quinn-proto v0.10.6
[INFO] [stderr]   Downloaded cc v1.2.59
[INFO] [stderr]   Downloaded socket2 v0.6.3
[INFO] [stderr]   Downloaded pem v3.0.6
[INFO] [stderr]   Downloaded yasna v0.5.2
[INFO] [stderr]   Downloaded serde_cbor v0.11.2
[INFO] [stderr]   Downloaded web-sys v0.3.94
[INFO] [stderr]   Downloaded tokio v1.50.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5e038d27b17a85ffc07055c2682e8a186b6b638121c300826dbad964b70ec660
[INFO] running `Command { std: "docker" "start" "-a" "5e038d27b17a85ffc07055c2682e8a186b6b638121c300826dbad964b70ec660", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e038d27b17a85ffc07055c2682e8a186b6b638121c300826dbad964b70ec660", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e038d27b17a85ffc07055c2682e8a186b6b638121c300826dbad964b70ec660", kill_on_drop: false }`
[INFO] [stdout] 5e038d27b17a85ffc07055c2682e8a186b6b638121c300826dbad964b70ec660
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ed30319823b8f6807e1eeb1c5109b3d6040d22a501104971cc80e8cdf15767f
[INFO] running `Command { std: "docker" "start" "-a" "5ed30319823b8f6807e1eeb1c5109b3d6040d22a501104971cc80e8cdf15767f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling cc v1.2.59
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]     Checking time-core v0.1.6
[INFO] [stderr]     Checking rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking tinyvec v1.11.0
[INFO] [stderr]     Checking serde_bytes v0.11.19
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking poly1305 v0.8.0
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking half v1.8.3
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking yasna v0.5.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rcgen v0.11.3
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking chacha20 v0.9.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking chacha20poly1305 v0.10.1
[INFO] [stderr]     Checking quinn-udp v0.4.1
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking x25519-dalek v2.0.1
[INFO] [stderr]     Checking quinn-proto v0.10.6
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking ghost-core v0.1.0 (/opt/rustwide/workdir/crates/ghost-core)
[INFO] [stderr]     Checking quinn v0.10.2
[INFO] [stderr]     Checking ghost-wire v0.1.0 (/opt/rustwide/workdir/crates/ghost-wire)
[INFO] [stdout] error[E0252]: the name `SystemTime` is defined multiple times
[INFO] [stdout]    --> crates/ghost-wire/src/kad.rs:209:5
[INFO] [stdout]     |
[INFO] [stdout]   4 | use std::time::{Duration, SystemTime};
[INFO] [stdout]     |                           ---------- previous import of the type `SystemTime` here
[INFO] [stdout] ...
[INFO] [stdout] 209 | use std::time::SystemTime;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^ `SystemTime` reimported here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SystemTime` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `SystemTime` is defined multiple times
[INFO] [stdout]    --> crates/ghost-wire/src/kad.rs:209:5
[INFO] [stdout]     |
[INFO] [stdout]   4 | use std::time::{Duration, SystemTime};
[INFO] [stdout]     |                           ---------- previous import of the type `SystemTime` here
[INFO] [stdout] ...
[INFO] [stdout] 209 | use std::time::SystemTime;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^ `SystemTime` reimported here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SystemTime` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `quinn::Incoming`
[INFO] [stdout]  --> crates/ghost-wire/src/quic.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use quinn::{Endpoint, Incoming, ServerConfig, ClientConfig, TransportConfig, Connection, RecvStream, SendStream};
[INFO] [stdout]   |                       ^^^^^^^^ no `Incoming` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing one of these structs instead:
[INFO] [stdout]           std::net::Incoming
[INFO] [stdout]           std::os::unix::net::Incoming
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `quinn::crypto::rustls::QuicClientConfig`, `quinn::crypto::rustls::QuicServerConfig`
[INFO] [stdout]  --> crates/ghost-wire/src/quic.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use quinn::crypto::rustls::{QuicClientConfig, QuicServerConfig};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^ no `QuicServerConfig` in `crypto::rustls`
[INFO] [stdout]   |                             |
[INFO] [stdout]   |                             no `QuicClientConfig` in `crypto::rustls`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `tokio::io::AsyncReadExt`, `tokio::io::AsyncWriteExt`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:7:17
[INFO] [stdout]     |
[INFO] [stdout]   7 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]     |                 ^^^^^^^^^^^^  ^^^^^^^^^^^^^ no `AsyncWriteExt` in `io`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 no `AsyncReadExt` in `io`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/io/mod.rs:286:131
[INFO] [stdout]     |
[INFO] [stdout] 286 | ...f, duplex, empty, repeat, sink, simplex, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt,
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/macros/cfg.rs:231:19
[INFO] [stdout]     |
[INFO] [stdout] 231 |             #[cfg(feature = "io-util")]
[INFO] [stdout]     |                   ------------------- the item is gated behind the `io-util` feature
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/io/mod.rs:286:159
[INFO] [stdout]     |
[INFO] [stdout] 286 | ...k, simplex, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt,
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/macros/cfg.rs:231:19
[INFO] [stdout]     |
[INFO] [stdout] 231 |             #[cfg(feature = "io-util")]
[INFO] [stdout]     |                   ------------------- the item is gated behind the `io-util` feature
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout]   7 - use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]   7 + use tokio::io::{AsyncRead, AsyncWriteExt};
[INFO] [stdout]     |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout]   7 - use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]   7 + use tokio::io::{AsyncReadExt, AsyncWrite};
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `tokio::io::AsyncReadExt`, `tokio::io::AsyncWriteExt`
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:12:17
[INFO] [stdout]     |
[INFO] [stdout]  12 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]     |                 ^^^^^^^^^^^^  ^^^^^^^^^^^^^ no `AsyncWriteExt` in `io`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 no `AsyncReadExt` in `io`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/io/mod.rs:286:131
[INFO] [stdout]     |
[INFO] [stdout] 286 | ...f, duplex, empty, repeat, sink, simplex, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt,
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/macros/cfg.rs:231:19
[INFO] [stdout]     |
[INFO] [stdout] 231 |             #[cfg(feature = "io-util")]
[INFO] [stdout]     |                   ------------------- the item is gated behind the `io-util` feature
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/io/mod.rs:286:159
[INFO] [stdout]     |
[INFO] [stdout] 286 | ...k, simplex, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt,
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/macros/cfg.rs:231:19
[INFO] [stdout]     |
[INFO] [stdout] 231 |             #[cfg(feature = "io-util")]
[INFO] [stdout]     |                   ------------------- the item is gated behind the `io-util` feature
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout]  12 - use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]  12 + use tokio::io::{AsyncRead, AsyncWriteExt};
[INFO] [stdout]     |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout]  12 - use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]  12 + use tokio::io::{AsyncReadExt, AsyncWrite};
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `time`
[INFO] [stdout]  --> crates/ghost-wire/src/envelope.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use time::OffsetDateTime;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::time::OffsetDateTime;
[INFO] [stdout]   |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `quinn::Incoming`
[INFO] [stdout]  --> crates/ghost-wire/src/quic.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use quinn::{Endpoint, Incoming, ServerConfig, ClientConfig, TransportConfig, Connection, RecvStream, SendStream};
[INFO] [stdout]   |                       ^^^^^^^^ no `Incoming` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing one of these structs instead:
[INFO] [stdout]           std::net::Incoming
[INFO] [stdout]           std::os::unix::net::Incoming
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_value` in crate `serde_cbor`
[INFO] [stdout]   --> crates/ghost-wire/src/net.rs:59:71
[INFO] [stdout]    |
[INFO] [stdout] 59 | ...                   resp_opt = Some(Envelope::new(T_GET_ADV_RESP, 1, serde_cbor::to_value(()).unwrap()));
[INFO] [stdout]    |                                                                                    ^^^^^^^^ not found in `serde_cbor`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::net::serde_cbor::value::to_value;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde_cbor::value::to_value;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `to_value`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 59 -                                     resp_opt = Some(Envelope::new(T_GET_ADV_RESP, 1, serde_cbor::to_value(()).unwrap()));
[INFO] [stdout] 59 +                                     resp_opt = Some(Envelope::new(T_GET_ADV_RESP, 1, to_value(()).unwrap()));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_value` in crate `serde_cbor`
[INFO] [stdout]   --> crates/ghost-wire/src/net.rs:66:33
[INFO] [stdout]    |
[INFO] [stdout] 66 | ...                   let body = serde_cbor::to_value(LookupResp { addr: req.addr, records: recs }).unwrap();
[INFO] [stdout]    |                                              ^^^^^^^^ not found in `serde_cbor`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::net::serde_cbor::value::to_value;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde_cbor::value::to_value;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `to_value`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 66 -                                     let body = serde_cbor::to_value(LookupResp { addr: req.addr, records: recs }).unwrap();
[INFO] [stdout] 66 +                                     let body = to_value(LookupResp { addr: req.addr, records: recs }).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_value` in crate `serde_cbor`
[INFO] [stdout]   --> crates/ghost-wire/src/net.rs:81:33
[INFO] [stdout]    |
[INFO] [stdout] 81 | ...                   let body = serde_cbor::to_value(crate::kad_rpc::FindNodeResp { peers: list }).unwrap();
[INFO] [stdout]    |                                              ^^^^^^^^ not found in `serde_cbor`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::net::serde_cbor::value::to_value;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde_cbor::value::to_value;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `to_value`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 81 -                                     let body = serde_cbor::to_value(crate::kad_rpc::FindNodeResp { peers: list }).unwrap();
[INFO] [stdout] 81 +                                     let body = to_value(crate::kad_rpc::FindNodeResp { peers: list }).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_value` in crate `serde_cbor`
[INFO] [stdout]    --> crates/ghost-wire/src/net.rs:140:56
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...   let req = Envelope::new(T_FIND_NODE, 1, serde_cbor::to_value(FindNodeReq { target: target.0.to_vec(), count: k as u16 }).unwr...
[INFO] [stdout]     |                                                           ^^^^^^^^ not found in `serde_cbor`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::net::serde_cbor::value::to_value;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde_cbor::value::to_value;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `to_value`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 140 -             let req = Envelope::new(T_FIND_NODE, 1, serde_cbor::to_value(FindNodeReq { target: target.0.to_vec(), count: k as u16 }).unwrap());
[INFO] [stdout] 140 +             let req = Envelope::new(T_FIND_NODE, 1, to_value(FindNodeReq { target: target.0.to_vec(), count: k as u16 }).unwrap());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_value` in crate `serde_cbor`
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:119:32
[INFO] [stdout]     |
[INFO] [stdout] 119 | ...                   let body = serde_cbor::to_value(FindNodeResp { peers: list }).unwrap();
[INFO] [stdout]     |                                              ^^^^^^^^ not found in `serde_cbor`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde_cbor::value::to_value;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `to_value`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 119 -                                 let body = serde_cbor::to_value(FindNodeResp { peers: list }).unwrap();
[INFO] [stdout] 119 +                                 let body = to_value(FindNodeResp { peers: list }).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_value` in crate `serde_cbor`
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:132:32
[INFO] [stdout]     |
[INFO] [stdout] 132 | ...                   let body = serde_cbor::to_value(LookupResp { addr: req.addr, records: recs }).unwrap();
[INFO] [stdout]     |                                              ^^^^^^^^ not found in `serde_cbor`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde_cbor::value::to_value;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `to_value`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 132 -                                 let body = serde_cbor::to_value(LookupResp { addr: req.addr, records: recs }).unwrap();
[INFO] [stdout] 132 +                                 let body = to_value(LookupResp { addr: req.addr, records: recs }).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_value` in crate `serde_cbor`
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:156:31
[INFO] [stdout]     |
[INFO] [stdout] 156 | ...                   let body = serde_cbor::to_value(ListPeersResp { peers }).unwrap();
[INFO] [stdout]     |                                              ^^^^^^^^ not found in `serde_cbor`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde_cbor::value::to_value;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `to_value`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 156 -                             let body = serde_cbor::to_value(ListPeersResp { peers }).unwrap();
[INFO] [stdout] 156 +                             let body = to_value(ListPeersResp { peers }).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: function `make_client_config` is private
[INFO] [stdout]   --> crates/ghost-wire/src/kad_rpc.rs:4:19
[INFO] [stdout]    |
[INFO] [stdout]  4 | use crate::quic::{make_client_config, make_server_config};
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^ private function
[INFO] [stdout]    |
[INFO] [stdout] note: the function `make_client_config` is defined here
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:44:1
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn make_client_config(server_cert_der: &[u8]) -> Result<ClientConfig, QuicError> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: function `make_server_config` is private
[INFO] [stdout]   --> crates/ghost-wire/src/kad_rpc.rs:4:39
[INFO] [stdout]    |
[INFO] [stdout]  4 | use crate::quic::{make_client_config, make_server_config};
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^ private function
[INFO] [stdout]    |
[INFO] [stdout] note: the function `make_server_config` is defined here
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn make_server_config() -> Result<(ServerConfig, Vec<u8>), QuicError> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_cbor::Value`
[INFO] [stdout]  --> crates/ghost-wire/src/dht.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_cbor::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `quinn::crypto::rustls::QuicClientConfig`, `quinn::crypto::rustls::QuicServerConfig`
[INFO] [stdout]  --> crates/ghost-wire/src/quic.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use quinn::crypto::rustls::{QuicClientConfig, QuicServerConfig};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^ no `QuicServerConfig` in `crypto::rustls`
[INFO] [stdout]   |                             |
[INFO] [stdout]   |                             no `QuicClientConfig` in `crypto::rustls`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> crates/ghost-wire/src/dht.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> crates/ghost-wire/src/dht.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::SocketAddr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> crates/ghost-wire/src/kad.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, SystemTime};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::SystemTime`
[INFO] [stdout]    --> crates/ghost-wire/src/kad.rs:209:5
[INFO] [stdout]     |
[INFO] [stdout] 209 | use std::time::SystemTime;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PeerInfo` and `PeerScore`
[INFO] [stdout]  --> crates/ghost-wire/src/net.rs:2:40
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::kad::{RoutingTable, NodeId, PeerInfo, PeerScore};
[INFO] [stdout]   |                                        ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ListPeersResp`, `RegisterPeer`, `T_LIST_PEERS_RESP`, `T_LIST_PEERS`, and `T_REGISTER`
[INFO] [stdout]  --> crates/ghost-wire/src/net.rs:4:93
[INFO] [stdout]   |
[INFO] [stdout] 4 | ... T_GET_ADV_RESP, T_REGISTER, T_LIST_PEERS, T_LIST_PEERS_RESP, FindNodeReq, PeerEntry, RegisterPeer, ListPeersResp};
[INFO] [stdout]   |                     ^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^                          ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned`
[INFO] [stdout]   --> crates/ghost-wire/src/net.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use serde::de::DeserializeOwned;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]   --> crates/ghost-wire/src/kad_rpc.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tokio::time::{Duration, Instant};
[INFO] [stdout]    |                   ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `tokio::io::AsyncReadExt`, `tokio::io::AsyncWriteExt`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:7:17
[INFO] [stdout]     |
[INFO] [stdout]   7 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]     |                 ^^^^^^^^^^^^  ^^^^^^^^^^^^^ no `AsyncWriteExt` in `io`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 no `AsyncReadExt` in `io`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/io/mod.rs:286:131
[INFO] [stdout]     |
[INFO] [stdout] 286 | ...f, duplex, empty, repeat, sink, simplex, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt,
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/macros/cfg.rs:231:19
[INFO] [stdout]     |
[INFO] [stdout] 231 |             #[cfg(feature = "io-util")]
[INFO] [stdout]     |                   ------------------- the item is gated behind the `io-util` feature
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/io/mod.rs:286:159
[INFO] [stdout]     |
[INFO] [stdout] 286 | ...k, simplex, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt,
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/macros/cfg.rs:231:19
[INFO] [stdout]     |
[INFO] [stdout] 231 |             #[cfg(feature = "io-util")]
[INFO] [stdout]     |                   ------------------- the item is gated behind the `io-util` feature
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout]   7 - use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]   7 + use tokio::io::{AsyncRead, AsyncWriteExt};
[INFO] [stdout]     |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout]   7 - use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]   7 + use tokio::io::{AsyncReadExt, AsyncWrite};
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `tokio::io::AsyncReadExt`, `tokio::io::AsyncWriteExt`
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:12:17
[INFO] [stdout]     |
[INFO] [stdout]  12 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]     |                 ^^^^^^^^^^^^  ^^^^^^^^^^^^^ no `AsyncWriteExt` in `io`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 no `AsyncReadExt` in `io`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/io/mod.rs:286:131
[INFO] [stdout]     |
[INFO] [stdout] 286 | ...f, duplex, empty, repeat, sink, simplex, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt,
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/macros/cfg.rs:231:19
[INFO] [stdout]     |
[INFO] [stdout] 231 |             #[cfg(feature = "io-util")]
[INFO] [stdout]     |                   ------------------- the item is gated behind the `io-util` feature
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/io/mod.rs:286:159
[INFO] [stdout]     |
[INFO] [stdout] 286 | ...k, simplex, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt,
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/macros/cfg.rs:231:19
[INFO] [stdout]     |
[INFO] [stdout] 231 |             #[cfg(feature = "io-util")]
[INFO] [stdout]     |                   ------------------- the item is gated behind the `io-util` feature
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout]  12 - use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]  12 + use tokio::io::{AsyncRead, AsyncWriteExt};
[INFO] [stdout]     |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout]  12 - use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]  12 + use tokio::io::{AsyncReadExt, AsyncWrite};
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `time`
[INFO] [stdout]  --> crates/ghost-wire/src/envelope.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use time::OffsetDateTime;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::time::OffsetDateTime;
[INFO] [stdout]   |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_value` in crate `serde_cbor`
[INFO] [stdout]   --> crates/ghost-wire/src/net.rs:59:71
[INFO] [stdout]    |
[INFO] [stdout] 59 | ...                   resp_opt = Some(Envelope::new(T_GET_ADV_RESP, 1, serde_cbor::to_value(()).unwrap()));
[INFO] [stdout]    |                                                                                    ^^^^^^^^ not found in `serde_cbor`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::net::serde_cbor::value::to_value;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde_cbor::value::to_value;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `to_value`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 59 -                                     resp_opt = Some(Envelope::new(T_GET_ADV_RESP, 1, serde_cbor::to_value(()).unwrap()));
[INFO] [stdout] 59 +                                     resp_opt = Some(Envelope::new(T_GET_ADV_RESP, 1, to_value(()).unwrap()));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_value` in crate `serde_cbor`
[INFO] [stdout]   --> crates/ghost-wire/src/net.rs:66:33
[INFO] [stdout]    |
[INFO] [stdout] 66 | ...                   let body = serde_cbor::to_value(LookupResp { addr: req.addr, records: recs }).unwrap();
[INFO] [stdout]    |                                              ^^^^^^^^ not found in `serde_cbor`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::net::serde_cbor::value::to_value;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde_cbor::value::to_value;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `to_value`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 66 -                                     let body = serde_cbor::to_value(LookupResp { addr: req.addr, records: recs }).unwrap();
[INFO] [stdout] 66 +                                     let body = to_value(LookupResp { addr: req.addr, records: recs }).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_value` in crate `serde_cbor`
[INFO] [stdout]   --> crates/ghost-wire/src/net.rs:81:33
[INFO] [stdout]    |
[INFO] [stdout] 81 | ...                   let body = serde_cbor::to_value(crate::kad_rpc::FindNodeResp { peers: list }).unwrap();
[INFO] [stdout]    |                                              ^^^^^^^^ not found in `serde_cbor`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::net::serde_cbor::value::to_value;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde_cbor::value::to_value;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `to_value`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 81 -                                     let body = serde_cbor::to_value(crate::kad_rpc::FindNodeResp { peers: list }).unwrap();
[INFO] [stdout] 81 +                                     let body = to_value(crate::kad_rpc::FindNodeResp { peers: list }).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_value` in crate `serde_cbor`
[INFO] [stdout]    --> crates/ghost-wire/src/net.rs:140:56
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...   let req = Envelope::new(T_FIND_NODE, 1, serde_cbor::to_value(FindNodeReq { target: target.0.to_vec(), count: k as u16 }).unwr...
[INFO] [stdout]     |                                                           ^^^^^^^^ not found in `serde_cbor`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::net::serde_cbor::value::to_value;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde_cbor::value::to_value;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `to_value`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 140 -             let req = Envelope::new(T_FIND_NODE, 1, serde_cbor::to_value(FindNodeReq { target: target.0.to_vec(), count: k as u16 }).unwrap());
[INFO] [stdout] 140 +             let req = Envelope::new(T_FIND_NODE, 1, to_value(FindNodeReq { target: target.0.to_vec(), count: k as u16 }).unwrap());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_value` in crate `serde_cbor`
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:119:32
[INFO] [stdout]     |
[INFO] [stdout] 119 | ...                   let body = serde_cbor::to_value(FindNodeResp { peers: list }).unwrap();
[INFO] [stdout]     |                                              ^^^^^^^^ not found in `serde_cbor`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde_cbor::value::to_value;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `to_value`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 119 -                                 let body = serde_cbor::to_value(FindNodeResp { peers: list }).unwrap();
[INFO] [stdout] 119 +                                 let body = to_value(FindNodeResp { peers: list }).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_value` in crate `serde_cbor`
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:132:32
[INFO] [stdout]     |
[INFO] [stdout] 132 | ...                   let body = serde_cbor::to_value(LookupResp { addr: req.addr, records: recs }).unwrap();
[INFO] [stdout]     |                                              ^^^^^^^^ not found in `serde_cbor`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde_cbor::value::to_value;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `to_value`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 132 -                                 let body = serde_cbor::to_value(LookupResp { addr: req.addr, records: recs }).unwrap();
[INFO] [stdout] 132 +                                 let body = to_value(LookupResp { addr: req.addr, records: recs }).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_value` in crate `serde_cbor`
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:156:31
[INFO] [stdout]     |
[INFO] [stdout] 156 | ...                   let body = serde_cbor::to_value(ListPeersResp { peers }).unwrap();
[INFO] [stdout]     |                                              ^^^^^^^^ not found in `serde_cbor`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde_cbor::value::to_value;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `to_value`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 156 -                             let body = serde_cbor::to_value(ListPeersResp { peers }).unwrap();
[INFO] [stdout] 156 +                             let body = to_value(ListPeersResp { peers }).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: function `make_client_config` is private
[INFO] [stdout]   --> crates/ghost-wire/src/kad_rpc.rs:4:19
[INFO] [stdout]    |
[INFO] [stdout]  4 | use crate::quic::{make_client_config, make_server_config};
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^ private function
[INFO] [stdout]    |
[INFO] [stdout] note: the function `make_client_config` is defined here
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:44:1
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn make_client_config(server_cert_der: &[u8]) -> Result<ClientConfig, QuicError> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: function `make_server_config` is private
[INFO] [stdout]   --> crates/ghost-wire/src/kad_rpc.rs:4:39
[INFO] [stdout]    |
[INFO] [stdout]  4 | use crate::quic::{make_client_config, make_server_config};
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^ private function
[INFO] [stdout]    |
[INFO] [stdout] note: the function `make_server_config` is defined here
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn make_server_config() -> Result<(ServerConfig, Vec<u8>), QuicError> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_cbor::Value`
[INFO] [stdout]  --> crates/ghost-wire/src/dht.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_cbor::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> crates/ghost-wire/src/dht.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> crates/ghost-wire/src/dht.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::SocketAddr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> crates/ghost-wire/src/kad.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, SystemTime};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::SystemTime`
[INFO] [stdout]    --> crates/ghost-wire/src/kad.rs:209:5
[INFO] [stdout]     |
[INFO] [stdout] 209 | use std::time::SystemTime;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PeerInfo` and `PeerScore`
[INFO] [stdout]  --> crates/ghost-wire/src/net.rs:2:40
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::kad::{RoutingTable, NodeId, PeerInfo, PeerScore};
[INFO] [stdout]   |                                        ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ListPeersResp`, `RegisterPeer`, `T_LIST_PEERS_RESP`, `T_LIST_PEERS`, and `T_REGISTER`
[INFO] [stdout]  --> crates/ghost-wire/src/net.rs:4:93
[INFO] [stdout]   |
[INFO] [stdout] 4 | ... T_GET_ADV_RESP, T_REGISTER, T_LIST_PEERS, T_LIST_PEERS_RESP, FindNodeReq, PeerEntry, RegisterPeer, ListPeersResp};
[INFO] [stdout]   |                     ^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^                          ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned`
[INFO] [stdout]   --> crates/ghost-wire/src/net.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use serde::de::DeserializeOwned;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]   --> crates/ghost-wire/src/kad_rpc.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tokio::time::{Duration, Instant};
[INFO] [stdout]    |                   ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `incoming` found for struct `Endpoint` in the current scope
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:61:26
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let incoming = endpoint.incoming();
[INFO] [stdout]    |                             ^^^^^^^^ method not found in `Endpoint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `QuicError`
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:78:55
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let conn = endpoint.connect(server_addr, "localhost")?.await?;
[INFO] [stdout]    |                         ---------------------------------^ the trait `From<ConnectError>` is not implemented for `QuicError`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         this can't be annotated with `?` because it has type `Result<_, ConnectError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `QuicError` needs to implement `From<ConnectError>`
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum QuicError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `QuicError` implements trait `From<T>`
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Debug, Error)]
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `From<ConnectionError>`
[INFO] [stdout]    |                 `From<WriteError>`
[INFO] [stdout]    |                 `From<std::io::Error>`
[INFO] [stdout]    = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `incoming` found for struct `Endpoint` in the current scope
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:124:30
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut incoming = endpoint.incoming();
[INFO] [stdout]     |                                 ^^^^^^^^ method not found in `Endpoint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `incoming` found for struct `Endpoint` in the current scope
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:61:26
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let incoming = endpoint.incoming();
[INFO] [stdout]    |                             ^^^^^^^^ method not found in `Endpoint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:143:11
[INFO] [stdout]     |
[INFO] [stdout] 143 |         if n == 0 { break; }
[INFO] [stdout]     |            -    ^ expected `Option<usize>`, found integer
[INFO] [stdout]     |            |
[INFO] [stdout]     |            expected because this is `std::option::Option<usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `std::option::Option<usize>`
[INFO] [stdout]                found type `{integer}`
[INFO] [stdout] help: try wrapping the expression in `Some`
[INFO] [stdout]     |
[INFO] [stdout] 143 |         if n == Some(0) { break; }
[INFO] [stdout]     |                 +++++ +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `RangeTo<std::option::Option<usize>>`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:144:26
[INFO] [stdout]     |
[INFO] [stdout] 144 |         if send.write_all(&buf[..n]).await.is_err() {
[INFO] [stdout]     |                                ^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[u8]>` is not implemented for `RangeTo<std::option::Option<usize>>`
[INFO] [stdout] help: `RangeTo<usize>` implements trait `SliceIndex<T>`
[INFO] [stdout]    --> /rustc/4cf5f9580233c36f6bc8db76e282ba8a1c1ea491/library/core/src/bstr/traits.rs:230:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SliceIndex<ByteStr>`
[INFO] [stdout]    ::: /rustc/4cf5f9580233c36f6bc8db76e282ba8a1c1ea491/library/core/src/bstr/traits.rs:265:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: in this macro invocation
[INFO] [stdout]    --> /rustc/4cf5f9580233c36f6bc8db76e282ba8a1c1ea491/library/core/src/slice/index.rs:502:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SliceIndex<[T]>`
[INFO] [stdout]    --> /rustc/4cf5f9580233c36f6bc8db76e282ba8a1c1ea491/library/core/src/str/traits.rs:435:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SliceIndex<str>`
[INFO] [stdout]     = note: required for `Vec<u8>` to implement `Index<RangeTo<std::option::Option<usize>>>`
[INFO] [stdout]     = note: this error originates in the macro `impl_slice_index` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `QuicError`
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:78:55
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let conn = endpoint.connect(server_addr, "localhost")?.await?;
[INFO] [stdout]    |                         ---------------------------------^ the trait `From<ConnectError>` is not implemented for `QuicError`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         this can't be annotated with `?` because it has type `Result<_, ConnectError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `QuicError` needs to implement `From<ConnectError>`
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum QuicError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `QuicError` implements trait `From<T>`
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Debug, Error)]
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `From<ConnectionError>`
[INFO] [stdout]    |                 `From<WriteError>`
[INFO] [stdout]    |                 `From<std::io::Error>`
[INFO] [stdout]    = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `incoming` found for struct `Endpoint` in the current scope
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:157:30
[INFO] [stdout]     |
[INFO] [stdout] 157 |     let mut incoming = endpoint.incoming();
[INFO] [stdout]     |                                 ^^^^^^^^ method not found in `Endpoint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `QuicError`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:206:55
[INFO] [stdout]     |
[INFO] [stdout] 206 |     let conn = endpoint.connect(server_addr, "localhost")?.await?;
[INFO] [stdout]     |                         ---------------------------------^ the trait `From<ConnectError>` is not implemented for `QuicError`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this can't be annotated with `?` because it has type `Result<_, ConnectError>`
[INFO] [stdout]     |
[INFO] [stdout] note: `QuicError` needs to implement `From<ConnectError>`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:14:1
[INFO] [stdout]     |
[INFO] [stdout]  14 | pub enum QuicError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `QuicError` implements trait `From<T>`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:13:17
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Debug, Error)]
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `From<ConnectionError>`
[INFO] [stdout]     |                 `From<WriteError>`
[INFO] [stdout]     |                 `From<std::io::Error>`
[INFO] [stdout]     = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `QuicError`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:218:55
[INFO] [stdout]     |
[INFO] [stdout] 218 |     let conn = endpoint.connect(server_addr, "localhost")?.await?;
[INFO] [stdout]     |                         ---------------------------------^ the trait `From<ConnectError>` is not implemented for `QuicError`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this can't be annotated with `?` because it has type `Result<_, ConnectError>`
[INFO] [stdout]     |
[INFO] [stdout] note: `QuicError` needs to implement `From<ConnectError>`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:14:1
[INFO] [stdout]     |
[INFO] [stdout]  14 | pub enum QuicError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `QuicError` implements trait `From<T>`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:13:17
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Debug, Error)]
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `From<ConnectionError>`
[INFO] [stdout]     |                 `From<WriteError>`
[INFO] [stdout]     |                 `From<std::io::Error>`
[INFO] [stdout]     = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `incoming` found for struct `Endpoint` in the current scope
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:124:30
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut incoming = endpoint.incoming();
[INFO] [stdout]     |                                 ^^^^^^^^ method not found in `Endpoint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:143:11
[INFO] [stdout]     |
[INFO] [stdout] 143 |         if n == 0 { break; }
[INFO] [stdout]     |            -    ^ expected `Option<usize>`, found integer
[INFO] [stdout]     |            |
[INFO] [stdout]     |            expected because this is `std::option::Option<usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `std::option::Option<usize>`
[INFO] [stdout]                found type `{integer}`
[INFO] [stdout] help: try wrapping the expression in `Some`
[INFO] [stdout]     |
[INFO] [stdout] 143 |         if n == Some(0) { break; }
[INFO] [stdout]     |                 +++++ +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `RangeTo<std::option::Option<usize>>`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:144:26
[INFO] [stdout]     |
[INFO] [stdout] 144 |         if send.write_all(&buf[..n]).await.is_err() {
[INFO] [stdout]     |                                ^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[u8]>` is not implemented for `RangeTo<std::option::Option<usize>>`
[INFO] [stdout] help: `RangeTo<usize>` implements trait `SliceIndex<T>`
[INFO] [stdout]    --> /rustc/4cf5f9580233c36f6bc8db76e282ba8a1c1ea491/library/core/src/bstr/traits.rs:230:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SliceIndex<ByteStr>`
[INFO] [stdout]    ::: /rustc/4cf5f9580233c36f6bc8db76e282ba8a1c1ea491/library/core/src/bstr/traits.rs:265:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: in this macro invocation
[INFO] [stdout]    --> /rustc/4cf5f9580233c36f6bc8db76e282ba8a1c1ea491/library/core/src/slice/index.rs:502:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SliceIndex<[T]>`
[INFO] [stdout]    --> /rustc/4cf5f9580233c36f6bc8db76e282ba8a1c1ea491/library/core/src/str/traits.rs:435:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SliceIndex<str>`
[INFO] [stdout]     = note: required for `Vec<u8>` to implement `Index<RangeTo<std::option::Option<usize>>>`
[INFO] [stdout]     = note: this error originates in the macro `impl_slice_index` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `incoming` found for struct `Endpoint` in the current scope
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:157:30
[INFO] [stdout]     |
[INFO] [stdout] 157 |     let mut incoming = endpoint.incoming();
[INFO] [stdout]     |                                 ^^^^^^^^ method not found in `Endpoint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `QuicError`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:206:55
[INFO] [stdout]     |
[INFO] [stdout] 206 |     let conn = endpoint.connect(server_addr, "localhost")?.await?;
[INFO] [stdout]     |                         ---------------------------------^ the trait `From<ConnectError>` is not implemented for `QuicError`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this can't be annotated with `?` because it has type `Result<_, ConnectError>`
[INFO] [stdout]     |
[INFO] [stdout] note: `QuicError` needs to implement `From<ConnectError>`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:14:1
[INFO] [stdout]     |
[INFO] [stdout]  14 | pub enum QuicError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `QuicError` implements trait `From<T>`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:13:17
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Debug, Error)]
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `From<ConnectionError>`
[INFO] [stdout]     |                 `From<WriteError>`
[INFO] [stdout]     |                 `From<std::io::Error>`
[INFO] [stdout]     = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `QuicError`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:218:55
[INFO] [stdout]     |
[INFO] [stdout] 218 |     let conn = endpoint.connect(server_addr, "localhost")?.await?;
[INFO] [stdout]     |                         ---------------------------------^ the trait `From<ConnectError>` is not implemented for `QuicError`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this can't be annotated with `?` because it has type `Result<_, ConnectError>`
[INFO] [stdout]     |
[INFO] [stdout] note: `QuicError` needs to implement `From<ConnectError>`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:14:1
[INFO] [stdout]     |
[INFO] [stdout]  14 | pub enum QuicError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `QuicError` implements trait `From<T>`
[INFO] [stdout]    --> crates/ghost-wire/src/quic.rs:13:17
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Debug, Error)]
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `From<ConnectionError>`
[INFO] [stdout]     |                 `From<WriteError>`
[INFO] [stdout]     |                 `From<std::io::Error>`
[INFO] [stdout]     = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `try_clone` found for struct `tokio::net::UdpSocket` in the current scope
[INFO] [stdout]     --> crates/ghost-wire/src/net.rs:45:15
[INFO] [stdout]      |
[INFO] [stdout]   45 |     let s = sock.try_clone().expect("clone udp");
[INFO] [stdout]      |                  ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: there is a method `try_io` with a similar name, but with different arguments
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/net/udp.rs:1467:5
[INFO] [stdout]      |
[INFO] [stdout] 1467 | /     pub fn try_io<R>(
[INFO] [stdout] 1468 | |         &self,
[INFO] [stdout] 1469 | |         interest: Interest,
[INFO] [stdout] 1470 | |         f: impl FnOnce() -> io::Result<R>,
[INFO] [stdout] 1471 | |     ) -> io::Result<R> {
[INFO] [stdout]      | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `try_clone` found for struct `tokio::net::UdpSocket` in the current scope
[INFO] [stdout]     --> crates/ghost-wire/src/net.rs:45:15
[INFO] [stdout]      |
[INFO] [stdout]   45 |     let s = sock.try_clone().expect("clone udp");
[INFO] [stdout]      |                  ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: there is a method `try_io` with a similar name, but with different arguments
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/net/udp.rs:1467:5
[INFO] [stdout]      |
[INFO] [stdout] 1467 | /     pub fn try_io<R>(
[INFO] [stdout] 1468 | |         &self,
[INFO] [stdout] 1469 | |         interest: Interest,
[INFO] [stdout] 1470 | |         f: impl FnOnce() -> io::Result<R>,
[INFO] [stdout] 1471 | |     ) -> io::Result<R> {
[INFO] [stdout]      | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `incoming` found for struct `Endpoint` in the current scope
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:181:30
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let mut incoming = endpoint.incoming();
[INFO] [stdout]     |                                 ^^^^^^^^ method not found in `Endpoint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `KadError`
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:201:48
[INFO] [stdout]     |
[INFO] [stdout] 201 |     let conn = endpoint.connect(addr, "localhost")?.await?;
[INFO] [stdout]     |                         --------------------------^ the trait `From<ConnectError>` is not implemented for `KadError`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this can't be annotated with `?` because it has type `Result<_, ConnectError>`
[INFO] [stdout]     |
[INFO] [stdout] note: `KadError` needs to implement `From<ConnectError>`
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout]  17 | pub enum KadError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `KadError` implements trait `From<T>`
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:16:17
[INFO] [stdout]     |
[INFO] [stdout]  16 | #[derive(Debug, Error)]
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `From<ConnectionError>`
[INFO] [stdout]     |                 `From<WriteError>`
[INFO] [stdout]     |                 `From<serde_cbor::Error>`
[INFO] [stdout]     |                 `From<std::io::Error>`
[INFO] [stdout]     = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `incoming` found for struct `Endpoint` in the current scope
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:181:30
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let mut incoming = endpoint.incoming();
[INFO] [stdout]     |                                 ^^^^^^^^ method not found in `Endpoint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `with_no_client_auth` found for struct `ConfigBuilder<rustls::ServerConfig, WantsCipherSuites>` in the current scope
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:33:46
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut tls = RustlsServerConfig::builder().with_no_client_auth().with_single_cert(vec![rustls_cert], rustls_key)
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^ method not found in `ConfigBuilder<rustls::ServerConfig, WantsCipherSuites>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method was found for
[INFO] [stdout]            - `ConfigBuilder<rustls::ClientConfig, WantsClientCert>`
[INFO] [stdout]            - `ConfigBuilder<rustls::ClientConfig, WantsTransparencyPolicyOrClientCert>`
[INFO] [stdout]            - `ConfigBuilder<rustls::ServerConfig, WantsVerifier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `KadError`
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:201:48
[INFO] [stdout]     |
[INFO] [stdout] 201 |     let conn = endpoint.connect(addr, "localhost")?.await?;
[INFO] [stdout]     |                         --------------------------^ the trait `From<ConnectError>` is not implemented for `KadError`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this can't be annotated with `?` because it has type `Result<_, ConnectError>`
[INFO] [stdout]     |
[INFO] [stdout] note: `KadError` needs to implement `From<ConnectError>`
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout]  17 | pub enum KadError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `KadError` implements trait `From<T>`
[INFO] [stdout]    --> crates/ghost-wire/src/kad_rpc.rs:16:17
[INFO] [stdout]     |
[INFO] [stdout]  16 | #[derive(Debug, Error)]
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `From<ConnectionError>`
[INFO] [stdout]     |                 `From<WriteError>`
[INFO] [stdout]     |                 `From<serde_cbor::Error>`
[INFO] [stdout]     |                 `From<std::io::Error>`
[INFO] [stdout]     = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `with_root_certificates` found for struct `ConfigBuilder<rustls::ClientConfig, WantsCipherSuites>` in the current scope
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:47:46
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut tls = RustlsClientConfig::builder().with_root_certificates(roots).with_no_client_auth();
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^ method not found in `ConfigBuilder<rustls::ClientConfig, WantsCipherSuites>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method was found for `ConfigBuilder<rustls::ClientConfig, WantsVerifier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `transport` of struct `quinn::ClientConfig` is private
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:53:6
[INFO] [stdout]    |
[INFO] [stdout] 53 |     cfg.transport = std::sync::Arc::new(transport);
[INFO] [stdout]    |         ^^^^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `with_no_client_auth` found for struct `ConfigBuilder<rustls::ServerConfig, WantsCipherSuites>` in the current scope
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:33:46
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut tls = RustlsServerConfig::builder().with_no_client_auth().with_single_cert(vec![rustls_cert], rustls_key)
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^ method not found in `ConfigBuilder<rustls::ServerConfig, WantsCipherSuites>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method was found for
[INFO] [stdout]            - `ConfigBuilder<rustls::ClientConfig, WantsClientCert>`
[INFO] [stdout]            - `ConfigBuilder<rustls::ClientConfig, WantsTransparencyPolicyOrClientCert>`
[INFO] [stdout]            - `ConfigBuilder<rustls::ServerConfig, WantsVerifier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `with_root_certificates` found for struct `ConfigBuilder<rustls::ClientConfig, WantsCipherSuites>` in the current scope
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:47:46
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut tls = RustlsClientConfig::builder().with_root_certificates(roots).with_no_client_auth();
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^ method not found in `ConfigBuilder<rustls::ClientConfig, WantsCipherSuites>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method was found for `ConfigBuilder<rustls::ClientConfig, WantsVerifier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `transport` of struct `quinn::ClientConfig` is private
[INFO] [stdout]   --> crates/ghost-wire/src/quic.rs:53:6
[INFO] [stdout]    |
[INFO] [stdout] 53 |     cfg.transport = std::sync::Arc::new(transport);
[INFO] [stdout]    |         ^^^^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0252, E0277, E0308, E0425, E0432, E0599, E0603, E0616.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ghost-wire` (lib) due to 29 previous errors; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0252, E0277, E0308, E0425, E0432, E0599, E0603, E0616.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ghost-wire` (lib test) due to 29 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5ed30319823b8f6807e1eeb1c5109b3d6040d22a501104971cc80e8cdf15767f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ed30319823b8f6807e1eeb1c5109b3d6040d22a501104971cc80e8cdf15767f", kill_on_drop: false }`
[INFO] [stdout] 5ed30319823b8f6807e1eeb1c5109b3d6040d22a501104971cc80e8cdf15767f
