[INFO] cloning repository https://github.com/datalove-app/yggy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/datalove-app/yggy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatalove-app%2Fyggy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatalove-app%2Fyggy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 089b0fee0cfcb3e4903b14f83cd99ba66167caba [INFO] checking datalove-app/yggy against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatalove-app%2Fyggy" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/datalove-app/yggy on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/datalove-app/yggy [INFO] finished tweaking git repo https://github.com/datalove-app/yggy [INFO] tweaked toml for git repo https://github.com/datalove-app/yggy written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/datalove-app/yggy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/asomers/futures-locks` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-log-attributes v1.0.1 [INFO] [stderr] Downloaded libtor v43.6.0+0.4.3.6 [INFO] [stderr] Downloaded async-log v2.0.0 [INFO] [stderr] Downloaded utuntap v0.2.4 [INFO] [stderr] Downloaded xactor v0.7.7 [INFO] [stderr] Downloaded libtor-derive v0.1.0 [INFO] [stderr] Downloaded smol-potat-derive v0.1.0 [INFO] [stderr] Downloaded stream-cancel v0.6.1 [INFO] [stderr] Downloaded packet v0.1.3 [INFO] [stderr] Downloaded smol-potat v0.3.3 [INFO] [stderr] Downloaded sha2-asm v0.5.4 [INFO] [stderr] Downloaded hwaddr v0.1.6 [INFO] [stderr] Downloaded libtor-sys v43.6.0+0.4.3.6 [INFO] [stderr] Downloaded autotools v0.2.1 [INFO] [stderr] Downloaded syllogism v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cd027db5e8a71fccb9baf3424c25cd0aa9997a71c5cfe55951864e4786a580b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4cd027db5e8a71fccb9baf3424c25cd0aa9997a71c5cfe55951864e4786a580b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cd027db5e8a71fccb9baf3424c25cd0aa9997a71c5cfe55951864e4786a580b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cd027db5e8a71fccb9baf3424c25cd0aa9997a71c5cfe55951864e4786a580b", kill_on_drop: false }` [INFO] [stdout] 4cd027db5e8a71fccb9baf3424c25cd0aa9997a71c5cfe55951864e4786a580b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3b71dd633d40d913f2e58d9795e9b3105a6b6858a396d43ff7eac4692e11250b [INFO] running `Command { std: "docker" "start" "-a" "3b71dd633d40d913f2e58d9795e9b3105a6b6858a396d43ff7eac4692e11250b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking fastrand v1.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Compiling event-listener v2.3.3 [INFO] [stderr] Checking waker-fn v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Checking async-task v3.0.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking vec-arena v0.5.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking syllogism v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.14 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Checking async-mutex v1.1.5 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking async-channel v1.4.0 [INFO] [stderr] Checking multitask v0.2.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking futures-lite v0.1.11 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Checking etherparse v0.9.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Checking blocking v0.5.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking polling v0.1.5 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Checking async-io v0.1.11 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking async-executor v0.1.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Checking utuntap v0.2.4 [INFO] [stderr] Compiling async-log-attributes v1.0.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking async-log v2.0.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling smol-potat-derive v0.1.0 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling xactor-derive v0.7.1 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling async-trait v0.1.38 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Checking async-std v1.6.3 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking zerocopy v0.3.0 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking stream-cancel v0.6.1 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking xactor v0.7.7 [INFO] [stderr] Checking futures_codec v0.4.1 [INFO] [stderr] Checking futures-locks v0.5.1-pre (https://github.com/asomers/futures-locks#c380ff6e) [INFO] [stderr] Compiling smol-potat v0.3.3 [INFO] [stderr] Checking rental v0.5.5 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking ed25519 v1.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.7 [INFO] [stderr] Compiling hwaddr v0.1.6 [INFO] [stderr] Checking packet v0.1.3 [INFO] [stderr] Checking yggy-core v0.0.0-alpha.1 (/opt/rustwide/workdir/core) [INFO] [stdout] error[E0432]: unresolved import `self::packets` [INFO] [stdout] --> core/src/wire.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use self::packets::*; [INFO] [stdout] | ^^^^^^^ could not find `packets` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::packets` [INFO] [stdout] --> core/src/wire.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use self::packets::*; [INFO] [stdout] | ^^^^^^^ could not find `packets` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Traffic` in module `wire` [INFO] [stdout] --> core/src/interfaces/services/router/mod.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | Self: StreamHandler, [INFO] [stdout] | ^^^^^^^ not found in `wire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> core/src/wire.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ProtocolTraffic { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::interfaces::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use rental::__rental_prelude::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use serde::export::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> core/src/wire.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct LinkProtocolTraffic { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::interfaces::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use rental::__rental_prelude::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use serde::export::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> core/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> core/src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_more::From` [INFO] [stdout] --> core/src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_more::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Conn` [INFO] [stdout] --> core/src/interfaces/dialer.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Conn, Core}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> core/src/interfaces/dialer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Conn` [INFO] [stdout] --> core/src/interfaces/listener.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Conn, Core}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xactor::Addr` [INFO] [stdout] --> core/src/interfaces/listener.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use xactor::Addr; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkManager` [INFO] [stdout] --> core/src/interfaces/node.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | interfaces::{LinkManager, MulticastAdapter, TunAdapter}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> core/src/interfaces/node.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interfaces::peer` [INFO] [stdout] --> core/src/interfaces/ports/link.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{dev::*, interfaces::peer, types::PeerURI}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `interfaces::Conn`, `types::MTU` [INFO] [stdout] --> core/src/interfaces/ports/tun.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{dev::*, interfaces::Conn, types::MTU}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> core/src/interfaces/ports/tun.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Traffic` in module `wire` [INFO] [stdout] --> core/src/interfaces/services/router/mod.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | Self: StreamHandler, [INFO] [stdout] | ^^^^^^^ not found in `wire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxSecretKey`, `router` [INFO] [stdout] --> core/src/interfaces/services/peer.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | interfaces::{link, router}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | types::{BoxPublicKey, BoxSecretKey, BoxSharedKey, SigningPublicKey}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::NodeID` [INFO] [stdout] --> core/src/interfaces/services/router/search.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{dev::*, types::NodeID}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxPublicKey`, `Handle`, `interfaces::Conn` [INFO] [stdout] --> core/src/interfaces/services/router/session.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | interfaces::Conn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | types::{BoxPublicKey, Handle}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> core/src/interfaces/services/router/session.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> core/src/interfaces/services/router/session.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> core/src/interfaces/services/router/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> core/src/wire.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ProtocolTraffic { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::interfaces::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use rental::__rental_prelude::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use serde::export::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeID`, `SigningPublicKey`, `SwitchLocator`, `SwitchPort` [INFO] [stdout] --> core/src/interfaces/services/switch.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | types::{NodeID, SigningPublicKey, SwitchLocator, SwitchPort}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant`, `collections::HashMap`, `sync::Arc` [INFO] [stdout] --> core/src/interfaces/services/switch.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fmt, [INFO] [stdout] 12 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dev::*` [INFO] [stdout] --> core/src/interfaces/services/switch.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::dev::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TreeID` [INFO] [stdout] --> core/src/types/address.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{NodeID, NodeIDMask, TreeID}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `From` [INFO] [stdout] --> core/src/types/address.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_more::{AsRef, From}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `TryInto`, `Write`, `str::FromStr` [INFO] [stdout] --> core/src/types/address.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | convert::{AsRef, TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | io::{Cursor, Write}, [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] 8 | net::Ipv6Addr, [INFO] [stdout] 9 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug` [INFO] [stdout] --> core/src/wire.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct LinkProtocolTraffic { [INFO] [stdout] | ^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::interfaces::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use rental::__rental_prelude::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] 1 | use serde::export::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitSlice` [INFO] [stdout] --> core/src/types/crypto.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | slice::{AsBits, BitSlice}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromStr`, `Into` [INFO] [stdout] --> core/src/types/crypto.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use derive_more::{AsRef, Constructor, From, FromStr, Into}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoRng`, `SeedableRng` [INFO] [stdout] --> core/src/types/crypto.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::{thread_rng, CryptoRng, RngCore, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_chacha::ChaChaRng` [INFO] [stdout] --> core/src/types/crypto.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand_chacha::ChaChaRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FixedOutput` [INFO] [stdout] --> core/src/types/crypto.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | digest::{generic_array::GenericArray, Digest, FixedOutput}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `str::FromStr` [INFO] [stdout] --> core/src/types/crypto.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> core/src/types/crypto.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | use serde::de::{Error, Visitor as DeVisitor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> core/src/types/crypto.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 17 | str::FromStr, [INFO] [stdout] | ------------ the item `FromStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 331 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> core/src/types/crypto.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> core/src/types/peer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dev::*` [INFO] [stdout] --> core/src/types/switch.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dev::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> core/src/types/switch.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use derive_more::{Add, AddAssign, AsRef, From, Into}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> core/src/types/switch.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`, `str::FromStr` [INFO] [stdout] --> core/src/types/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | net::{IpAddr, Ipv4Addr, SocketAddr}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 21 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decoder`, `Encoder` [INFO] [stdout] --> core/src/version.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_codec::{Decoder, Encoder}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `MTU`, `RootUpdate`, `WireCoords` [INFO] [stdout] --> core/src/wire.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | error::{Error, WireError}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | types::{BoxNonce, BoxPublicKey, Coords, Handle, RootUpdate, WireCoords, MTU}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsBytes`, `FromBytes`, `LayoutVerified` [INFO] [stdout] --> core/src/wire.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use zerocopy::{AsBytes, FromBytes, LayoutVerified}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write` [INFO] [stdout] --> core/src/wire.rs:369:19 [INFO] [stdout] | [INFO] [stdout] 369 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> core/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> core/src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_more::From` [INFO] [stdout] --> core/src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_more::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Conn` [INFO] [stdout] --> core/src/interfaces/dialer.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Conn, Core}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> core/src/interfaces/dialer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Conn` [INFO] [stdout] --> core/src/interfaces/listener.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Conn, Core}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xactor::Addr` [INFO] [stdout] --> core/src/interfaces/listener.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use xactor::Addr; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkManager` [INFO] [stdout] --> core/src/interfaces/node.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | interfaces::{LinkManager, MulticastAdapter, TunAdapter}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> core/src/interfaces/node.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interfaces::peer` [INFO] [stdout] --> core/src/interfaces/ports/link.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{dev::*, interfaces::peer, types::PeerURI}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `interfaces::Conn`, `types::MTU` [INFO] [stdout] --> core/src/interfaces/ports/tun.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{dev::*, interfaces::Conn, types::MTU}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> core/src/interfaces/ports/tun.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxSecretKey`, `router` [INFO] [stdout] --> core/src/interfaces/services/peer.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | interfaces::{link, router}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | types::{BoxPublicKey, BoxSecretKey, BoxSharedKey, SigningPublicKey}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::NodeID` [INFO] [stdout] --> core/src/interfaces/services/router/search.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{dev::*, types::NodeID}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxPublicKey`, `Handle`, `interfaces::Conn` [INFO] [stdout] --> core/src/interfaces/services/router/session.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | interfaces::Conn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | types::{BoxPublicKey, Handle}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> core/src/interfaces/services/router/session.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> core/src/interfaces/services/router/session.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> core/src/interfaces/services/router/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeID`, `SigningPublicKey`, `SwitchLocator`, `SwitchPort` [INFO] [stdout] --> core/src/interfaces/services/switch.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | types::{NodeID, SigningPublicKey, SwitchLocator, SwitchPort}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant`, `collections::HashMap`, `sync::Arc` [INFO] [stdout] --> core/src/interfaces/services/switch.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fmt, [INFO] [stdout] 12 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dev::*` [INFO] [stdout] --> core/src/interfaces/services/switch.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::dev::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TreeID` [INFO] [stdout] --> core/src/types/address.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{NodeID, NodeIDMask, TreeID}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `From` [INFO] [stdout] --> core/src/types/address.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_more::{AsRef, From}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `TryInto`, `Write`, `str::FromStr` [INFO] [stdout] --> core/src/types/address.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | convert::{AsRef, TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | io::{Cursor, Write}, [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] 8 | net::Ipv6Addr, [INFO] [stdout] 9 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitSlice` [INFO] [stdout] --> core/src/types/crypto.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | slice::{AsBits, BitSlice}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromStr`, `Into` [INFO] [stdout] --> core/src/types/crypto.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use derive_more::{AsRef, Constructor, From, FromStr, Into}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoRng`, `SeedableRng` [INFO] [stdout] --> core/src/types/crypto.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::{thread_rng, CryptoRng, RngCore, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_chacha::ChaChaRng` [INFO] [stdout] --> core/src/types/crypto.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand_chacha::ChaChaRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FixedOutput` [INFO] [stdout] --> core/src/types/crypto.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | digest::{generic_array::GenericArray, Digest, FixedOutput}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `str::FromStr` [INFO] [stdout] --> core/src/types/crypto.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> core/src/types/crypto.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | use serde::de::{Error, Visitor as DeVisitor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> core/src/types/crypto.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 17 | str::FromStr, [INFO] [stdout] | ------------ the item `FromStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 331 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> core/src/types/crypto.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> core/src/types/peer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dev::*` [INFO] [stdout] --> core/src/types/switch.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dev::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> core/src/types/switch.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use derive_more::{Add, AddAssign, AsRef, From, Into}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> core/src/types/switch.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`, `str::FromStr` [INFO] [stdout] --> core/src/types/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | net::{IpAddr, Ipv4Addr, SocketAddr}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 21 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decoder`, `Encoder` [INFO] [stdout] --> core/src/version.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_codec::{Decoder, Encoder}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `MTU`, `RootUpdate`, `WireCoords` [INFO] [stdout] --> core/src/wire.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | error::{Error, WireError}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | types::{BoxNonce, BoxPublicKey, Coords, Handle, RootUpdate, WireCoords, MTU}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsBytes`, `FromBytes`, `LayoutVerified` [INFO] [stdout] --> core/src/wire.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use zerocopy::{AsBytes, FromBytes, LayoutVerified}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `ProtocolTraffic` [INFO] [stdout] --> core/src/wire.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | impl Wire for ProtocolTraffic { [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `P` [INFO] [stdout] --> core/src/wire.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ProtocolTraffic { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 90 | impl Wire for ProtocolTraffic

{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `LinkProtocolTraffic` [INFO] [stdout] --> core/src/wire.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | impl Wire for LinkProtocolTraffic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `P` [INFO] [stdout] --> core/src/wire.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct LinkProtocolTraffic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ - [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 117 | impl Wire for LinkProtocolTraffic

{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `ProtocolTraffic` [INFO] [stdout] --> core/src/interfaces/services/router/mod.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | Self: StreamHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `P` [INFO] [stdout] --> core/src/wire.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ProtocolTraffic { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 35 | Self: StreamHandler>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `ProtocolTraffic` [INFO] [stdout] --> core/src/wire.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | impl Wire for ProtocolTraffic { [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `P` [INFO] [stdout] --> core/src/wire.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ProtocolTraffic { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 90 | impl Wire for ProtocolTraffic

{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `LinkProtocolTraffic` [INFO] [stdout] --> core/src/wire.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | impl Wire for LinkProtocolTraffic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `P` [INFO] [stdout] --> core/src/wire.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct LinkProtocolTraffic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ - [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 117 | impl Wire for LinkProtocolTraffic

{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `ProtocolTraffic` [INFO] [stdout] --> core/src/interfaces/services/router/mod.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | Self: StreamHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `P` [INFO] [stdout] --> core/src/wire.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ProtocolTraffic { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 35 | Self: StreamHandler>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `ProtocolTraffic` [INFO] [stdout] --> core/src/wire.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | impl Global for ProtocolTraffic {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `P` [INFO] [stdout] --> core/src/wire.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ProtocolTraffic { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 89 | impl Global for ProtocolTraffic

{} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `ProtocolTraffic` [INFO] [stdout] --> core/src/wire.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | impl Global for ProtocolTraffic {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `P` [INFO] [stdout] --> core/src/wire.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ProtocolTraffic { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 89 | impl Global for ProtocolTraffic

{} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `LinkProtocolTraffic` [INFO] [stdout] --> core/src/wire.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | impl Local for LinkProtocolTraffic {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `P` [INFO] [stdout] --> core/src/wire.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct LinkProtocolTraffic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ - [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 116 | impl Local for LinkProtocolTraffic

{} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `LinkProtocolTraffic` [INFO] [stdout] --> core/src/wire.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | impl Local for LinkProtocolTraffic {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `P` [INFO] [stdout] --> core/src/wire.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct LinkProtocolTraffic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ - [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 116 | impl Local for LinkProtocolTraffic

{} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0404, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0404, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yggy-core` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3b71dd633d40d913f2e58d9795e9b3105a6b6858a396d43ff7eac4692e11250b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b71dd633d40d913f2e58d9795e9b3105a6b6858a396d43ff7eac4692e11250b", kill_on_drop: false }` [INFO] [stdout] 3b71dd633d40d913f2e58d9795e9b3105a6b6858a396d43ff7eac4692e11250b