[INFO] cloning repository https://github.com/rishflab/libp2p-tests [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rishflab/libp2p-tests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishflab%2Flibp2p-tests", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishflab%2Flibp2p-tests'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1333fe1d00e708db2acfd71d5351a4c514ffe54a [INFO] testing rishflab/libp2p-tests against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishflab%2Flibp2p-tests" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rishflab/libp2p-tests [INFO] finished tweaking git repo https://github.com/rishflab/libp2p-tests [INFO] tweaked toml for git repo https://github.com/rishflab/libp2p-tests written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rishflab/libp2p-tests on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rishflab/libp2p-tests 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-timer v0.2.4 [INFO] [stderr] Downloaded blake2s_simd v0.5.10 [INFO] [stderr] Downloaded serde-hex v0.1.0 [INFO] [stderr] Downloaded libp2p-core-derive v0.18.0 [INFO] [stderr] Downloaded multihash v0.10.1 [INFO] [stderr] Downloaded libp2p-dns v0.18.0 [INFO] [stderr] Downloaded libp2p-swarm v0.18.0 [INFO] [stderr] Downloaded yamux v0.4.5 [INFO] [stderr] Downloaded async-task v1.3.1 [INFO] [stderr] Downloaded futures-timer v2.0.2 [INFO] [stderr] Downloaded multistream-select v0.8.0 [INFO] [stderr] Downloaded async-std v1.5.0 [INFO] [stderr] Downloaded libp2p-mdns v0.18.0 [INFO] [stderr] Downloaded libp2p-mplex v0.18.0 [INFO] [stderr] Downloaded quicksink v0.1.2 [INFO] [stderr] Downloaded libp2p-secio v0.18.0 [INFO] [stderr] Downloaded kv-log-macro v1.0.4 [INFO] [stderr] Downloaded once_cell v1.3.1 [INFO] [stderr] Downloaded rw-stream-sink v0.2.1 [INFO] [stderr] Downloaded unsigned-varint v0.3.3 [INFO] [stderr] Downloaded parity-multiaddr v0.8.0 [INFO] [stderr] Downloaded array-init v0.0.4 [INFO] [stderr] Downloaded libp2p-tcp v0.18.0 [INFO] [stderr] Downloaded libp2p-yamux v0.18.0 [INFO] [stderr] Downloaded futures_codec v0.3.4 [INFO] [stderr] Downloaded libp2p v0.18.0 [INFO] [stderr] Downloaded libp2p-core v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15f552d39bb8904b67d3c0f2a451f8828b988d160f76c832671be26536130416 [INFO] running `Command { std: "docker" "start" "-a" "15f552d39bb8904b67d3c0f2a451f8828b988d160f76c832671be26536130416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15f552d39bb8904b67d3c0f2a451f8828b988d160f76c832671be26536130416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15f552d39bb8904b67d3c0f2a451f8828b988d160f76c832671be26536130416", kill_on_drop: false }` [INFO] [stdout] 15f552d39bb8904b67d3c0f2a451f8828b988d160f76c832671be26536130416 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 94c4be7b545601afb2b8c0f2144670e4a70801a1ecb84a6940bfd81f2187af1a [INFO] running `Command { std: "docker" "start" "-a" "94c4be7b545601afb2b8c0f2144670e4a70801a1ecb84a6940bfd81f2187af1a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling blake2s_simd v0.5.10 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling curve25519-dalek v2.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling data-encoding v2.2.0 [INFO] [stderr] Compiling bs58 v0.3.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling stream-cipher v0.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling ctr v0.3.2 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling quicksink v0.1.2 [INFO] [stderr] Compiling twofish v0.2.0 [INFO] [stderr] Compiling aes-ctr v0.3.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling array-init v0.0.4 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling libp2p-core-derive v0.18.0 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling futures_codec v0.3.4 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling yamux v0.4.5 [INFO] [stderr] Compiling unsigned-varint v0.3.3 [INFO] [stderr] Compiling libp2p-core v0.18.0 [INFO] [stderr] Compiling libp2p-secio v0.18.0 [INFO] [stderr] Compiling multihash v0.10.1 [INFO] [stderr] Compiling multistream-select v0.8.0 [INFO] [stderr] Compiling parity-multiaddr v0.8.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde-hex v0.1.0 [INFO] [stderr] Compiling libp2p-swarm v0.18.0 [INFO] [stderr] Compiling libp2p-mplex v0.18.0 [INFO] [stderr] Compiling libp2p-dns v0.18.0 [INFO] [stderr] Compiling libp2p-tcp v0.18.0 [INFO] [stderr] Compiling libp2p-yamux v0.18.0 [INFO] [stderr] Compiling libp2p-mdns v0.18.0 [INFO] [stderr] Compiling libp2p v0.18.0 [INFO] [stderr] Compiling libp2p-tests v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/swap_id.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/swap_id.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/swap_id.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/swap_id.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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] --> src/swap_id.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SwapId` [INFO] [stdout] 6 | pub struct SwapId(pub Uuid); [INFO] [stdout] | ------ `SwapId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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] --> src/swap_id.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SwapId` [INFO] [stdout] 6 | pub struct SwapId(pub Uuid); [INFO] [stdout] | ------ `SwapId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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] --> src/swap_id.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_NodeLocalSwapId` [INFO] [stdout] 43 | pub struct NodeLocalSwapId(pub Uuid); [INFO] [stdout] | --------------- `NodeLocalSwapId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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] --> src/swap_id.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NodeLocalSwapId` [INFO] [stdout] 43 | pub struct NodeLocalSwapId(pub Uuid); [INFO] [stdout] | --------------- `NodeLocalSwapId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.38s [INFO] running `Command { std: "docker" "inspect" "94c4be7b545601afb2b8c0f2144670e4a70801a1ecb84a6940bfd81f2187af1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94c4be7b545601afb2b8c0f2144670e4a70801a1ecb84a6940bfd81f2187af1a", kill_on_drop: false }` [INFO] [stdout] 94c4be7b545601afb2b8c0f2144670e4a70801a1ecb84a6940bfd81f2187af1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8bb2b5b1ddc421d85583da3aca5bef7eda440c5a02909464b77a127e61ac6645 [INFO] running `Command { std: "docker" "start" "-a" "8bb2b5b1ddc421d85583da3aca5bef7eda440c5a02909464b77a127e61ac6645", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/swap_id.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/swap_id.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/swap_id.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/swap_id.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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] --> src/swap_id.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SwapId` [INFO] [stdout] 6 | pub struct SwapId(pub Uuid); [INFO] [stdout] | ------ `SwapId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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] --> src/swap_id.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SwapId` [INFO] [stdout] 6 | pub struct SwapId(pub Uuid); [INFO] [stdout] | ------ `SwapId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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] --> src/swap_id.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_NodeLocalSwapId` [INFO] [stdout] 43 | pub struct NodeLocalSwapId(pub Uuid); [INFO] [stdout] | --------------- `NodeLocalSwapId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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] --> src/swap_id.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NodeLocalSwapId` [INFO] [stdout] 43 | pub struct NodeLocalSwapId(pub Uuid); [INFO] [stdout] | --------------- `NodeLocalSwapId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libp2p-tests v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/announce.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | use futures::{pin_mut, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Multihash` [INFO] [stdout] --> src/announce.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | multihash::{Sha2_256, Multihash}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/swap_id.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/swap_id.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/swap_id.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/swap_id.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alice_peer_id` [INFO] [stdout] --> src/announce.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 101 | let (mut alice_swarm, alice_peer_id) = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alice_peer_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outbound_config` [INFO] [stdout] --> src/announce.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let outbound_config = OutboundConfig::new(send_swap_digest.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outbound_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer` [INFO] [stdout] --> src/announce.rs:148:74 [INFO] [stdout] | [INFO] [stdout] 148 | if let BehaviourOutEvent::ReceivedAnnouncement { peer, io } = behavior_event { [INFO] [stdout] | ^^^^ help: try ignoring the field: `peer: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/announce.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | Swarm::dial_addr(&mut alice_swarm, bob_addr.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 129 | let _ = Swarm::dial_addr(&mut alice_swarm, bob_addr.clone()); [INFO] [stdout] | +++++++ [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] --> src/swap_id.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SwapId` [INFO] [stdout] 6 | pub struct SwapId(pub Uuid); [INFO] [stdout] | ------ `SwapId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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] --> src/swap_id.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SwapId` [INFO] [stdout] 6 | pub struct SwapId(pub Uuid); [INFO] [stdout] | ------ `SwapId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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] --> src/swap_id.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_NodeLocalSwapId` [INFO] [stdout] 43 | pub struct NodeLocalSwapId(pub Uuid); [INFO] [stdout] | --------------- `NodeLocalSwapId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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] --> src/swap_id.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NodeLocalSwapId` [INFO] [stdout] 43 | pub struct NodeLocalSwapId(pub Uuid); [INFO] [stdout] | --------------- `NodeLocalSwapId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.32s [INFO] running `Command { std: "docker" "inspect" "8bb2b5b1ddc421d85583da3aca5bef7eda440c5a02909464b77a127e61ac6645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bb2b5b1ddc421d85583da3aca5bef7eda440c5a02909464b77a127e61ac6645", kill_on_drop: false }` [INFO] [stdout] 8bb2b5b1ddc421d85583da3aca5bef7eda440c5a02909464b77a127e61ac6645 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d26cbfa82eed08ffe7cde3fa1d486c83f16df70fa6fe851d52d020c548ccf5eb [INFO] running `Command { std: "docker" "start" "-a" "d26cbfa82eed08ffe7cde3fa1d486c83f16df70fa6fe851d52d020c548ccf5eb", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/swap_id.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/swap_id.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/swap_id.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/swap_id.rs:42:21 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/swap_id.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SwapId` [INFO] [stderr] 6 | pub struct SwapId(pub Uuid); [INFO] [stderr] | ------ `SwapId` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/swap_id.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SwapId` [INFO] [stderr] 6 | pub struct SwapId(pub Uuid); [INFO] [stderr] | ------ `SwapId` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/swap_id.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_NodeLocalSwapId` [INFO] [stderr] 43 | pub struct NodeLocalSwapId(pub Uuid); [INFO] [stderr] | --------------- `NodeLocalSwapId` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/swap_id.rs:42:21 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NodeLocalSwapId` [INFO] [stderr] 43 | pub struct NodeLocalSwapId(pub Uuid); [INFO] [stderr] | --------------- `NodeLocalSwapId` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `prelude::*` [INFO] [stderr] --> src/announce.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | use futures::{pin_mut, prelude::*}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Multihash` [INFO] [stderr] --> src/announce.rs:58:31 [INFO] [stderr] | [INFO] [stderr] 58 | multihash::{Sha2_256, Multihash}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `alice_peer_id` [INFO] [stderr] --> src/announce.rs:101:31 [INFO] [stderr] | [INFO] [stderr] 101 | let (mut alice_swarm, alice_peer_id) = { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alice_peer_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `outbound_config` [INFO] [stderr] --> src/announce.rs:132:13 [INFO] [stderr] | [INFO] [stderr] 132 | let outbound_config = OutboundConfig::new(send_swap_digest.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outbound_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `peer` [INFO] [stderr] --> src/announce.rs:148:74 [INFO] [stderr] | [INFO] [stderr] 148 | if let BehaviourOutEvent::ReceivedAnnouncement { peer, io } = behavior_event { [INFO] [stderr] | ^^^^ help: try ignoring the field: `peer: _` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/announce.rs:129:9 [INFO] [stderr] | [INFO] [stderr] 129 | Swarm::dial_addr(&mut alice_swarm, bob_addr.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 129 | let _ = Swarm::dial_addr(&mut alice_swarm, bob_addr.clone()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `libp2p-tests` (lib) generated 8 warnings [INFO] [stderr] warning: `libp2p-tests` (lib test) generated 14 warnings (8 duplicates) (run `cargo fix --lib -p libp2p-tests --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libp2p_tests-3857a3bf7adc481f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test announce::tests::send_announce_receive_confirmation has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "d26cbfa82eed08ffe7cde3fa1d486c83f16df70fa6fe851d52d020c548ccf5eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26cbfa82eed08ffe7cde3fa1d486c83f16df70fa6fe851d52d020c548ccf5eb", kill_on_drop: false }` [INFO] [stdout] d26cbfa82eed08ffe7cde3fa1d486c83f16df70fa6fe851d52d020c548ccf5eb