[INFO] cloning repository https://github.com/leny62/libp2p-peer-tracker
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leny62/libp2p-peer-tracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleny62%2Flibp2p-peer-tracker", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleny62%2Flibp2p-peer-tracker'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 03946dca442a2322d85d671a693722b56ad1357f
[INFO] checking leny62/libp2p-peer-tracker against f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1 for pr-160235-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleny62%2Flibp2p-peer-tracker" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/leny62/libp2p-peer-tracker
[INFO] finished tweaking git repo https://github.com/leny62/libp2p-peer-tracker
[INFO] tweaked toml for git repo https://github.com/leny62/libp2p-peer-tracker written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/leny62/libp2p-peer-tracker on toolchain f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/leny62/libp2p-peer-tracker 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" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] abc8bce539f68d7dbba40fc7ac599a3683ffce88b450e2d81ff1aa9dc508f65a
[INFO] running `Command { std: "docker" "start" "abc8bce539f68d7dbba40fc7ac599a3683ffce88b450e2d81ff1aa9dc508f65a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "abc8bce539f68d7dbba40fc7ac599a3683ffce88b450e2d81ff1aa9dc508f65a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "abc8bce539f68d7dbba40fc7ac599a3683ffce88b450e2d81ff1aa9dc508f65a" "/opt/rustwide/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "abc8bce539f68d7dbba40fc7ac599a3683ffce88b450e2d81ff1aa9dc508f65a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "abc8bce539f68d7dbba40fc7ac599a3683ffce88b450e2d81ff1aa9dc508f65a" "/opt/rustwide/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling anyhow v1.0.94
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]     Checking litemap v0.7.4
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]     Checking cpufeatures v0.2.16
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]     Checking futures-lite v2.5.0
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking event-listener v5.3.1
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.3
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]     Checking signature v1.6.4
[INFO] [stderr]     Checking async-lock v3.4.0
[INFO] [stderr]     Checking ed25519 v1.5.3
[INFO] [stderr]     Checking data-encoding v2.6.0
[INFO] [stderr]     Checking bs58 v0.4.0
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling cc v1.2.3
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking async-task v4.7.1
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking asn1_der v0.7.6
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]     Checking piper v0.2.4
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking async-channel v2.3.1
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking async-executor v1.13.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling tempfile v3.14.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking blocking v1.6.1
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling snow v0.9.6
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking ipnet v2.10.1
[INFO] [stderr]     Checking tinyvec v1.8.0
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]     Checking unicode-bidi v0.3.17
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]    Compiling libp2p-swarm-derive v0.30.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking polling v3.7.4
[INFO] [stderr]     Checking async-io v2.4.0
[INFO] [stderr]     Checking tokio v1.42.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling prost v0.11.9
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking pin-project v1.1.7
[INFO] [stderr]     Checking curve25519-dalek v3.2.0
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking netlink-packet-utils v0.5.2
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]    Compiling prost-types v0.11.9
[INFO] [stderr]     Checking netlink-packet-core v0.4.2
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]    Compiling multihash-derive v0.8.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking netlink-packet-route v0.12.0
[INFO] [stderr]     Checking x25519-dalek v1.1.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]    Compiling prost-build v0.11.9
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]    Compiling libp2p-core v0.37.0
[INFO] [stderr]    Compiling libp2p-kad v0.41.0
[INFO] [stderr]    Compiling libp2p-noise v0.40.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking asynchronous-codec v0.6.2
[INFO] [stderr]     Checking unsigned-varint v0.7.2
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking rw-stream-sink v0.3.0
[INFO] [stderr]     Checking netlink-sys v0.8.7
[INFO] [stderr]     Checking multihash v0.16.3
[INFO] [stderr]     Checking multistream-select v0.12.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking netlink-proto v0.10.0
[INFO] [stderr]     Checking rtnetlink v0.10.1
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking if-watch v2.0.0
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking multiaddr v0.14.0
[INFO] [stderr]     Checking libp2p-swarm v0.40.1
[INFO] [stderr]     Checking libp2p-mplex v0.37.0
[INFO] [stderr]     Checking libp2p-tcp v0.37.0
[INFO] [stderr]     Checking libp2p v0.49.0
[INFO] [stderr]     Checking libp2p-peer-tracker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `libp2p::tcp::TokioTcpConfig`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     tcp::TokioTcpConfig,
[INFO] [stdout]   |     ^^^^^--------------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          no `TokioTcpConfig` in `tcp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `NetworkBehaviour` in this scope
[INFO] [stdout]    --> src/main.rs:14:10
[INFO] [stdout]     |
[INFO] [stdout]  14 | #[derive(NetworkBehaviour)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `NetworkBehaviour` is a trait, not a derive macro
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.40.1/src/behaviour.rs:120:1
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub trait NetworkBehaviour: 'static {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `NetworkBehaviour` for your type manually
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libp2p::NetworkBehaviour;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `behaviour` in this scope
[INFO] [stdout]   --> src/main.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[behaviour(out_event = "OutEvent")]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `behaviour` is an attribute that can be used by the derive macro `NetworkBehaviour`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 16 + #[derive(NetworkBehaviour)]
[INFO] [stdout] 17 | struct MyBehaviour {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0407]: method `handle_established` is not a member of trait `NetworkBehaviour`
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     fn handle_established(&mut self, connection: Connection) {
[INFO] [stdout] 35 | |         self.keep_alive.handle_established(connection);
[INFO] [stdout] 36 | |     }
[INFO] [stdout]    | |_____^ not a member of trait `NetworkBehaviour`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0407]: method `handle_disconnected` is not a member of trait `NetworkBehaviour`
[INFO] [stdout]   --> src/main.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | /     fn handle_disconnected(&mut self, connection: Connection) {
[INFO] [stdout] 39 | |         self.keep_alive.handle_disconnected(connection);
[INFO] [stdout] 40 | |     }
[INFO] [stdout]    | |_____^ not a member of trait `NetworkBehaviour`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p::tcp::TokioTcpConfig`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     tcp::TokioTcpConfig,
[INFO] [stdout]   |     ^^^^^--------------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          no `TokioTcpConfig` in `tcp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Handler` in module `keep_alive`
[INFO] [stdout]   --> src/main.rs:27:42
[INFO] [stdout]    |
[INFO] [stdout] 27 |     type ConnectionHandler = keep_alive::Handler;
[INFO] [stdout]    |                                          ^^^^^^^ not found in `keep_alive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Connection` in this scope
[INFO] [stdout]   --> src/main.rs:30:43
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn new_handler(&mut self, connection: Connection) -> Self::ConnectionHandler {
[INFO] [stdout]    |                                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Connection` in this scope
[INFO] [stdout]   --> src/main.rs:34:50
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn handle_established(&mut self, connection: Connection) {
[INFO] [stdout]    |                                                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `NetworkBehaviour` in this scope
[INFO] [stdout]    --> src/main.rs:14:10
[INFO] [stdout]     |
[INFO] [stdout]  14 | #[derive(NetworkBehaviour)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `NetworkBehaviour` is a trait, not a derive macro
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.40.1/src/behaviour.rs:120:1
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub trait NetworkBehaviour: 'static {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider implementing `NetworkBehaviour` for your type manually
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libp2p::NetworkBehaviour;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Connection` in this scope
[INFO] [stdout]   --> src/main.rs:38:51
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn handle_disconnected(&mut self, connection: Connection) {
[INFO] [stdout]    |                                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviourEvent` in this scope
[INFO] [stdout]    --> src/main.rs:43:6
[INFO] [stdout]     |
[INFO] [stdout]  43 | impl NetworkBehaviourEvent for OutEvent {}
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `NetworkBehaviour` defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.40.1/src/behaviour.rs:120:1
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub trait NetworkBehaviour: 'static {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout]  43 - impl NetworkBehaviourEvent for OutEvent {}
[INFO] [stdout]  43 + impl NetworkBehaviour for OutEvent {}
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Config` in `keep_alive`
[INFO] [stdout]   --> src/main.rs:48:64
[INFO] [stdout]    |
[INFO] [stdout] 48 |             keep_alive: keep_alive::Behaviour::new(keep_alive::Config::default()),
[INFO] [stdout]    |                                                                ^^^^^^ could not find `Config` in `keep_alive`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use idna::Config;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Config`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 48 -             keep_alive: keep_alive::Behaviour::new(keep_alive::Config::default()),
[INFO] [stdout] 48 +             keep_alive: keep_alive::Behaviour::new(Config::default()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Swarm` and `X25519Spec`
[INFO] [stdout]  --> src/main.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 |     noise::{Keypair, NoiseConfig, X25519Spec},
[INFO] [stdout]   |                                   ^^^^^^^^^^
[INFO] [stdout] 6 |     swarm::{keep_alive, NetworkBehaviour, Swarm, SwarmBuilder, SwarmEvent},
[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: `tokio::sync::mpsc`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::sync::mpsc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `behaviour` in this scope
[INFO] [stdout]   --> src/main.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[behaviour(out_event = "OutEvent")]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `behaviour` is an attribute that can be used by the derive macro `NetworkBehaviour`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 16 + #[derive(NetworkBehaviour)]
[INFO] [stdout] 17 | struct MyBehaviour {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-peer-tracker` (bin "libp2p-peer-tracker" test) due to 13 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0407]: method `handle_established` is not a member of trait `NetworkBehaviour`
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     fn handle_established(&mut self, connection: Connection) {
[INFO] [stdout] 35 | |         self.keep_alive.handle_established(connection);
[INFO] [stdout] 36 | |     }
[INFO] [stdout]    | |_____^ not a member of trait `NetworkBehaviour`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0050]: method `new_handler` has 2 parameters but the declaration in trait `new_handler` has 1
[INFO] [stdout]   --> src/main.rs:30:20
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn new_handler(&mut self, connection: Connection) -> Self::ConnectionHandler {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter, found 2
[INFO] [stdout]    |
[INFO] [stdout]    = note: `new_handler` from trait: `fn(&mut Self) -> <Self as NetworkBehaviour>::ConnectionHandler`
[INFO] [stdout] help: remove the extra parameter to match the trait
[INFO] [stdout]    |
[INFO] [stdout] 30 -     fn new_handler(&mut self, connection: Connection) -> Self::ConnectionHandler {
[INFO] [stdout] 30 +     fn new_handler(&mut self) -> Self::ConnectionHandler {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0407]: method `handle_disconnected` is not a member of trait `NetworkBehaviour`
[INFO] [stdout]   --> src/main.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | /     fn handle_disconnected(&mut self, connection: Connection) {
[INFO] [stdout] 39 | |         self.keep_alive.handle_disconnected(connection);
[INFO] [stdout] 40 | |     }
[INFO] [stdout]    | |_____^ not a member of trait `NetworkBehaviour`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `inject_event`, `poll`
[INFO] [stdout]   --> src/main.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl NetworkBehaviour for MyBehaviour {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `inject_event`, `poll` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn inject_event(&mut self, _: PeerId, _: ConnectionId, _: <<<Self as NetworkBehaviour>::ConnectionHandler as IntoConnectionHandler>::Handler as libp2p::libp2p_swarm::ConnectionHandler>::OutEvent) { todo!() }`
[INFO] [stdout]    = help: implement the missing item: `fn poll(&mut self, _: &mut Context<'_>, _: &mut impl PollParameters) -> Poll<NetworkBehaviourAction<<Self as NetworkBehaviour>::OutEvent, <Self as NetworkBehaviour>::ConnectionHandler>> { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Handler` in module `keep_alive`
[INFO] [stdout]   --> src/main.rs:27:42
[INFO] [stdout]    |
[INFO] [stdout] 27 |     type ConnectionHandler = keep_alive::Handler;
[INFO] [stdout]    |                                          ^^^^^^^ not found in `keep_alive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Connection` in this scope
[INFO] [stdout]   --> src/main.rs:30:43
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn new_handler(&mut self, connection: Connection) -> Self::ConnectionHandler {
[INFO] [stdout]    |                                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Connection` in this scope
[INFO] [stdout]   --> src/main.rs:34:50
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn handle_established(&mut self, connection: Connection) {
[INFO] [stdout]    |                                                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Connection` in this scope
[INFO] [stdout]   --> src/main.rs:38:51
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn handle_disconnected(&mut self, connection: Connection) {
[INFO] [stdout]    |                                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviourEvent` in this scope
[INFO] [stdout]    --> src/main.rs:43:6
[INFO] [stdout]     |
[INFO] [stdout]  43 | impl NetworkBehaviourEvent for OutEvent {}
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `NetworkBehaviour` defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.40.1/src/behaviour.rs:120:1
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub trait NetworkBehaviour: 'static {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout]  43 - impl NetworkBehaviourEvent for OutEvent {}
[INFO] [stdout]  43 + impl NetworkBehaviour for OutEvent {}
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Config` in `keep_alive`
[INFO] [stdout]   --> src/main.rs:48:64
[INFO] [stdout]    |
[INFO] [stdout] 48 |             keep_alive: keep_alive::Behaviour::new(keep_alive::Config::default()),
[INFO] [stdout]    |                                                                ^^^^^^ could not find `Config` in `keep_alive`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use idna::Config;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Config`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 48 -             keep_alive: keep_alive::Behaviour::new(keep_alive::Config::default()),
[INFO] [stdout] 48 +             keep_alive: keep_alive::Behaviour::new(Config::default()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Swarm` and `X25519Spec`
[INFO] [stdout]  --> src/main.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 |     noise::{Keypair, NoiseConfig, X25519Spec},
[INFO] [stdout]   |                                   ^^^^^^^^^^
[INFO] [stdout] 6 |     swarm::{keep_alive, NetworkBehaviour, Swarm, SwarmBuilder, SwarmEvent},
[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: `tokio::sync::mpsc`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::sync::mpsc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0050, E0405, E0407, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stdout] error[E0050]: method `new_handler` has 2 parameters but the declaration in trait `new_handler` has 1
[INFO] [stdout]   --> src/main.rs:30:20
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn new_handler(&mut self, connection: Connection) -> Self::ConnectionHandler {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter, found 2
[INFO] [stdout]    |
[INFO] [stdout]    = note: `new_handler` from trait: `fn(&mut Self) -> <Self as NetworkBehaviour>::ConnectionHandler`
[INFO] [stdout] help: remove the extra parameter to match the trait
[INFO] [stdout]    |
[INFO] [stdout] 30 -     fn new_handler(&mut self, connection: Connection) -> Self::ConnectionHandler {
[INFO] [stdout] 30 +     fn new_handler(&mut self) -> Self::ConnectionHandler {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `inject_event`, `poll`
[INFO] [stdout]   --> src/main.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl NetworkBehaviour for MyBehaviour {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `inject_event`, `poll` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn inject_event(&mut self, _: PeerId, _: ConnectionId, _: <<<Self as NetworkBehaviour>::ConnectionHandler as IntoConnectionHandler>::Handler as libp2p::libp2p_swarm::ConnectionHandler>::OutEvent) { todo!() }`
[INFO] [stdout]    = help: implement the missing item: `fn poll(&mut self, _: &mut Context<'_>, _: &mut impl PollParameters) -> Poll<NetworkBehaviourAction<<Self as NetworkBehaviour>::OutEvent, <Self as NetworkBehaviour>::ConnectionHandler>> { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0050, E0405, E0407, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-peer-tracker` (bin "libp2p-peer-tracker") due to 13 previous errors; 2 warnings emitted
[INFO] [stderr] warning: unused dependency `idna`
[INFO] [stderr]  --> Cargo.toml:3:1
[INFO] [stderr]   |
[INFO] [stderr] 3 | idna = "0.2.3"
[INFO] [stderr]   | ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `idna`
[INFO] [stderr] warning: `libp2p-peer-tracker` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "inspect" "abc8bce539f68d7dbba40fc7ac599a3683ffce88b450e2d81ff1aa9dc508f65a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abc8bce539f68d7dbba40fc7ac599a3683ffce88b450e2d81ff1aa9dc508f65a", kill_on_drop: false }`
[INFO] [stdout] abc8bce539f68d7dbba40fc7ac599a3683ffce88b450e2d81ff1aa9dc508f65a
