[INFO] cloning repository https://github.com/ljedrz/pea2pea [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ljedrz/pea2pea" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljedrz%2Fpea2pea", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljedrz%2Fpea2pea'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85ec75ba02120362c7df61d7d1d9b3a1d08b9347 [INFO] testing ljedrz/pea2pea against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljedrz%2Fpea2pea" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ljedrz/pea2pea on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ljedrz/pea2pea [INFO] finished tweaking git repo https://github.com/ljedrz/pea2pea [INFO] tweaked toml for git repo https://github.com/ljedrz/pea2pea written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 359 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16fb60a99db7e831f9bf2deb23998504f8c951583cf078cf5a1b74a06ba72975 [INFO] running `Command { std: "docker" "start" "-a" "16fb60a99db7e831f9bf2deb23998504f8c951583cf078cf5a1b74a06ba72975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16fb60a99db7e831f9bf2deb23998504f8c951583cf078cf5a1b74a06ba72975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16fb60a99db7e831f9bf2deb23998504f8c951583cf078cf5a1b74a06ba72975", kill_on_drop: false }` [INFO] [stdout] 16fb60a99db7e831f9bf2deb23998504f8c951583cf078cf5a1b74a06ba72975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f4121c14d520f6548174fcd0747177f7f7eb0ad8161893502ed881696a7122d [INFO] running `Command { std: "docker" "start" "-a" "0f4121c14d520f6548174fcd0747177f7f7eb0ad8161893502ed881696a7122d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling pea2pea v0.50.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.49s [INFO] running `Command { std: "docker" "inspect" "0f4121c14d520f6548174fcd0747177f7f7eb0ad8161893502ed881696a7122d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f4121c14d520f6548174fcd0747177f7f7eb0ad8161893502ed881696a7122d", kill_on_drop: false }` [INFO] [stdout] 0f4121c14d520f6548174fcd0747177f7f7eb0ad8161893502ed881696a7122d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26588f9e90251d26131f8f0764273ca6b14fba14d082f470c34d6d161adf1304 [INFO] running `Command { std: "docker" "start" "-a" "26588f9e90251d26131f8f0764273ca6b14fba14d082f470c34d6d161adf1304", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling peak_alloc v0.2.1 [INFO] [stderr] Compiling data-encoding-macro v0.1.15 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling libp2p-swarm-derive v0.35.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling test-cert-gen v0.9.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling prost v0.13.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling yamux v0.13.4 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling deadline v0.2.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling netlink-proto v0.11.3 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling pea2pea v0.50.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling libp2p-identity v0.2.10 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling libp2p-core v0.42.0 [INFO] [stderr] Compiling libp2p-swarm v0.45.1 [INFO] [stderr] Compiling libp2p-yamux v0.46.0 [INFO] [stderr] Compiling libp2p-noise v0.45.0 [INFO] [stderr] Compiling libp2p-tcp v0.42.0 [INFO] [stderr] Compiling libp2p-allow-block-list v0.4.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.4.0 [INFO] [stderr] Compiling libp2p-ping v0.45.0 [INFO] [stderr] Compiling libp2p v0.54.1 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/node.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 129 | #[tokio::test] [INFO] [stdout] | -------------- move the `impl` block outside of this async block `` and up 2 bodies [INFO] [stdout] 130 | async fn node_connecting() { [INFO] [stdout] 131 | impl Handshake for common::TestNode { [INFO] [stdout] | ^^^^^---------^^^^^---------------- [INFO] [stdout] | | | [INFO] [stdout] | | `TestNode` is not local [INFO] [stdout] | `Handshake` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/common/mod.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | impl Handshake for $target { [INFO] [stdout] | ^ --------- `Handshake` is not local [INFO] [stdout] | [INFO] [stdout] ::: tests/benches.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | #[tokio::test] [INFO] [stdout] | -------------- move the `impl` block outside of this async block `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 132 | impl_noop_disconnect_and_handshake!(common::TestNode); [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `TestNode` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_noop_disconnect_and_handshake` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_noop_disconnect_and_handshake` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/common/mod.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | impl OnDisconnect for $target { [INFO] [stdout] | ^ ------------ `OnDisconnect` is not local [INFO] [stdout] | [INFO] [stdout] ::: tests/benches.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | #[tokio::test] [INFO] [stdout] | -------------- move the `impl` block outside of this async block `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 132 | impl_noop_disconnect_and_handshake!(common::TestNode); [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `TestNode` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_noop_disconnect_and_handshake` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `impl_noop_disconnect_and_handshake` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pea2pea` (example "libp2p") [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustc --crate-name libp2p --edition=2021 examples/libp2p.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="test"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("test"))' -C metadata=983b6c351cf3bddc -C extra-filename=-45658d5cfea50c5f --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern bincode=/opt/rustwide/target/debug/deps/libbincode-537196287598bc48.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-485c92da441bbc40.rlib --extern deadline=/opt/rustwide/target/debug/deps/libdeadline-a24c17377ef0ef40.rlib --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-febc8815e60d1cb0.rlib --extern libp2p=/opt/rustwide/target/debug/deps/liblibp2p-461af2d5464ede67.rlib --extern native_tls=/opt/rustwide/target/debug/deps/libnative_tls-2ff5aca667e1604b.rlib --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-7eefe67617cff57d.rlib --extern pea2pea=/opt/rustwide/target/debug/deps/libpea2pea-ebe8e3bce30b25d9.rlib --extern pea2pea=/opt/rustwide/target/debug/deps/libpea2pea-ebe8e3bce30b25d9.rlib --extern peak_alloc=/opt/rustwide/target/debug/deps/libpeak_alloc-a22a89ae9129c1a0.rlib --extern prost=/opt/rustwide/target/debug/deps/libprost-73f919d7234f609c.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-4b4b252a80266657.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-f07dfe04a828d140.rlib --extern snow=/opt/rustwide/target/debug/deps/libsnow-206486e3533fe4ec.rlib --extern test_cert_gen=/opt/rustwide/target/debug/deps/libtest_cert_gen-b415f0e45f665488.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-2fcc13e0493da6e8.rlib --extern tokio_native_tls=/opt/rustwide/target/debug/deps/libtokio_native_tls-c6a91921fa0ea722.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-f3cdf43eacf00fc4.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-6c1ba389315a32e5.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-4b4a392383518a5b.rlib --extern unsigned_varint=/opt/rustwide/target/debug/deps/libunsigned_varint-ffef86edc949bd1b.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/ring-c9240539b05c99e7/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pea2pea` (test "benches"); 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustc --crate-name benches --edition=2021 tests/benches.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="test"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("test"))' -C metadata=216c786068eda129 -C extra-filename=-3d10d312a5417e41 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bincode=/opt/rustwide/target/debug/deps/libbincode-537196287598bc48.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-485c92da441bbc40.rlib --extern deadline=/opt/rustwide/target/debug/deps/libdeadline-a24c17377ef0ef40.rlib --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-febc8815e60d1cb0.rlib --extern libp2p=/opt/rustwide/target/debug/deps/liblibp2p-461af2d5464ede67.rlib --extern native_tls=/opt/rustwide/target/debug/deps/libnative_tls-2ff5aca667e1604b.rlib --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-7eefe67617cff57d.rlib --extern pea2pea=/opt/rustwide/target/debug/deps/libpea2pea-ebe8e3bce30b25d9.rlib --extern pea2pea=/opt/rustwide/target/debug/deps/libpea2pea-ebe8e3bce30b25d9.rlib --extern peak_alloc=/opt/rustwide/target/debug/deps/libpeak_alloc-a22a89ae9129c1a0.rlib --extern prost=/opt/rustwide/target/debug/deps/libprost-73f919d7234f609c.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-4b4b252a80266657.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-f07dfe04a828d140.rlib --extern snow=/opt/rustwide/target/debug/deps/libsnow-206486e3533fe4ec.rlib --extern test_cert_gen=/opt/rustwide/target/debug/deps/libtest_cert_gen-b415f0e45f665488.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-2fcc13e0493da6e8.rlib --extern tokio_native_tls=/opt/rustwide/target/debug/deps/libtokio_native_tls-c6a91921fa0ea722.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-f3cdf43eacf00fc4.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-6c1ba389315a32e5.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-4b4a392383518a5b.rlib --extern unsigned_varint=/opt/rustwide/target/debug/deps/libunsigned_varint-ffef86edc949bd1b.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/ring-c9240539b05c99e7/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] error: could not compile `pea2pea` (example "hot_potato_game") [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustc --crate-name hot_potato_game --edition=2021 examples/hot_potato_game.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="test"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("test"))' -C metadata=ceba083a122f0954 -C extra-filename=-a5c3085cf982df70 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern bincode=/opt/rustwide/target/debug/deps/libbincode-537196287598bc48.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-485c92da441bbc40.rlib --extern deadline=/opt/rustwide/target/debug/deps/libdeadline-a24c17377ef0ef40.rlib --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-febc8815e60d1cb0.rlib --extern libp2p=/opt/rustwide/target/debug/deps/liblibp2p-461af2d5464ede67.rlib --extern native_tls=/opt/rustwide/target/debug/deps/libnative_tls-2ff5aca667e1604b.rlib --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-7eefe67617cff57d.rlib --extern pea2pea=/opt/rustwide/target/debug/deps/libpea2pea-ebe8e3bce30b25d9.rlib --extern pea2pea=/opt/rustwide/target/debug/deps/libpea2pea-ebe8e3bce30b25d9.rlib --extern peak_alloc=/opt/rustwide/target/debug/deps/libpeak_alloc-a22a89ae9129c1a0.rlib --extern prost=/opt/rustwide/target/debug/deps/libprost-73f919d7234f609c.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-4b4b252a80266657.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-f07dfe04a828d140.rlib --extern snow=/opt/rustwide/target/debug/deps/libsnow-206486e3533fe4ec.rlib --extern test_cert_gen=/opt/rustwide/target/debug/deps/libtest_cert_gen-b415f0e45f665488.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-2fcc13e0493da6e8.rlib --extern tokio_native_tls=/opt/rustwide/target/debug/deps/libtokio_native_tls-c6a91921fa0ea722.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-f3cdf43eacf00fc4.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-6c1ba389315a32e5.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-4b4a392383518a5b.rlib --extern unsigned_varint=/opt/rustwide/target/debug/deps/libunsigned_varint-ffef86edc949bd1b.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/ring-c9240539b05c99e7/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] error: could not compile `pea2pea` (example "dining_philosophers") [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustc --crate-name dining_philosophers --edition=2021 examples/dining_philosophers.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="test"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("test"))' -C metadata=00fd38b8db7e78b5 -C extra-filename=-aefdc9c65e676585 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern bincode=/opt/rustwide/target/debug/deps/libbincode-537196287598bc48.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-485c92da441bbc40.rlib --extern deadline=/opt/rustwide/target/debug/deps/libdeadline-a24c17377ef0ef40.rlib --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-febc8815e60d1cb0.rlib --extern libp2p=/opt/rustwide/target/debug/deps/liblibp2p-461af2d5464ede67.rlib --extern native_tls=/opt/rustwide/target/debug/deps/libnative_tls-2ff5aca667e1604b.rlib --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-7eefe67617cff57d.rlib --extern pea2pea=/opt/rustwide/target/debug/deps/libpea2pea-ebe8e3bce30b25d9.rlib --extern pea2pea=/opt/rustwide/target/debug/deps/libpea2pea-ebe8e3bce30b25d9.rlib --extern peak_alloc=/opt/rustwide/target/debug/deps/libpeak_alloc-a22a89ae9129c1a0.rlib --extern prost=/opt/rustwide/target/debug/deps/libprost-73f919d7234f609c.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-4b4b252a80266657.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-f07dfe04a828d140.rlib --extern snow=/opt/rustwide/target/debug/deps/libsnow-206486e3533fe4ec.rlib --extern test_cert_gen=/opt/rustwide/target/debug/deps/libtest_cert_gen-b415f0e45f665488.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-2fcc13e0493da6e8.rlib --extern tokio_native_tls=/opt/rustwide/target/debug/deps/libtokio_native_tls-c6a91921fa0ea722.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-f3cdf43eacf00fc4.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-6c1ba389315a32e5.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-4b4a392383518a5b.rlib --extern unsigned_varint=/opt/rustwide/target/debug/deps/libunsigned_varint-ffef86edc949bd1b.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/ring-c9240539b05c99e7/out` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "26588f9e90251d26131f8f0764273ca6b14fba14d082f470c34d6d161adf1304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26588f9e90251d26131f8f0764273ca6b14fba14d082f470c34d6d161adf1304", kill_on_drop: false }` [INFO] [stdout] 26588f9e90251d26131f8f0764273ca6b14fba14d082f470c34d6d161adf1304