[INFO] fetching crate fluence-fork-libp2p-kad 0.29.0... [INFO] checking fluence-fork-libp2p-kad-0.29.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate fluence-fork-libp2p-kad 0.29.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate fluence-fork-libp2p-kad 0.29.0 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fluence-fork-libp2p-kad 0.29.0 [INFO] finished tweaking crates.io crate fluence-fork-libp2p-kad 0.29.0 [INFO] tweaked toml for crates.io crate fluence-fork-libp2p-kad 0.29.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2902f2e58a205a55432b7e4b35694aca1b3198beb5a3936840b91fa9feb7692c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2902f2e58a205a55432b7e4b35694aca1b3198beb5a3936840b91fa9feb7692c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2902f2e58a205a55432b7e4b35694aca1b3198beb5a3936840b91fa9feb7692c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2902f2e58a205a55432b7e4b35694aca1b3198beb5a3936840b91fa9feb7692c", kill_on_drop: false }` [INFO] [stdout] 2902f2e58a205a55432b7e4b35694aca1b3198beb5a3936840b91fa9feb7692c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e46ebcde5d6c7b2a73d96cdadec723be3b451e9add2dda7027955b89c97d28b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2e46ebcde5d6c7b2a73d96cdadec723be3b451e9add2dda7027955b89c97d28b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling protobuf v2.22.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling prometheus v0.9.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking uint v0.9.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling darling_core v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.12.3 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Compiling darling v0.12.3 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking asynchronous-codec v0.6.0 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking unsigned-varint v0.7.0 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking fluence-fork-multistream-select v0.10.3 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling fluence-fork-libp2p-core v0.27.2 [INFO] [stderr] Compiling fluence-fork-libp2p-kad v0.29.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ed25519 v1.0.3 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking serde_with v1.6.4 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling multihash-derive v0.7.1 [INFO] [stderr] Checking multihash v0.13.2 [INFO] [stderr] Checking fluence-fork-parity-multiaddr v0.11.2 [INFO] [stderr] Checking fluence-identity v0.3.0 [INFO] [stderr] Checking fluence-identity v0.2.7 [INFO] [stderr] Checking fluence-fork-libp2p-swarm v0.28.1 [INFO] [stderr] Checking trust-graph v0.2.7 [INFO] [stdout] error[E0432]: unresolved import `libp2p_noise` [INFO] [stdout] --> src/behaviour/test.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use libp2p_noise as noise; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no external crate `libp2p_noise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_yamux` [INFO] [stdout] --> src/behaviour/test.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use libp2p_yamux as yamux; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no external crate `libp2p_yamux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/protocol.rs:147:40 [INFO] [stdout] | [INFO] [stdout] 147 | let trust = Trust::new(issued_for, expires_at, issued_at, signature); [INFO] [stdout] | ^^^^^^^^^^ expected enum `fluence_identity::public_key::PublicKey`, found struct `fluence_identity::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `fluence_identity` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/protocol.rs:147:75 [INFO] [stdout] | [INFO] [stdout] 147 | let trust = Trust::new(issued_for, expires_at, issued_at, signature); [INFO] [stdout] | ^^^^^^^^^ expected enum `fluence_identity::signature::Signature`, found struct `Signature` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `fluence_identity` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for enum `fluence_identity::public_key::PublicKey` in the current scope [INFO] [stdout] --> src/protocol.rs:169:54 [INFO] [stdout] | [INFO] [stdout] 169 | issued_for: trust.issued_for.to_bytes().to_vec(), [INFO] [stdout] | ^^^^^^^^ method not found in `fluence_identity::public_key::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for enum `fluence_identity::signature::Signature` in the current scope [INFO] [stdout] --> src/protocol.rs:171:52 [INFO] [stdout] | [INFO] [stdout] 171 | signature: trust.signature.to_bytes().to_vec(), [INFO] [stdout] | ^^^^^^^^ method not found in `fluence_identity::signature::Signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/protocol.rs:147:40 [INFO] [stdout] | [INFO] [stdout] 147 | let trust = Trust::new(issued_for, expires_at, issued_at, signature); [INFO] [stdout] | ^^^^^^^^^^ expected enum `fluence_identity::public_key::PublicKey`, found struct `fluence_identity::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `fluence_identity` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&fluence_identity::PublicKey: Borrow` is not satisfied [INFO] [stdout] --> src/behaviour.rs:1753:15 [INFO] [stdout] | [INFO] [stdout] 1753 | trust.get_all_certs(&key, &[]).unwrap_or_default() [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Borrow` is not implemented for `&fluence_identity::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&fluence_identity::PublicKey: Borrow` is not satisfied [INFO] [stdout] --> src/behaviour.rs:1759:22 [INFO] [stdout] | [INFO] [stdout] 1759 | trust.weight(&key).unwrap_or_default().unwrap_or_default() [INFO] [stdout] | ^^^^ the trait `Borrow` is not implemented for `&fluence_identity::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/protocol.rs:147:75 [INFO] [stdout] | [INFO] [stdout] 147 | let trust = Trust::new(issued_for, expires_at, issued_at, signature); [INFO] [stdout] | ^^^^^^^^^ expected enum `fluence_identity::signature::Signature`, found struct `Signature` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `fluence_identity` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for enum `fluence_identity::public_key::PublicKey` in the current scope [INFO] [stdout] --> src/protocol.rs:169:54 [INFO] [stdout] | [INFO] [stdout] 169 | issued_for: trust.issued_for.to_bytes().to_vec(), [INFO] [stdout] | ^^^^^^^^ method not found in `fluence_identity::public_key::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for enum `fluence_identity::signature::Signature` in the current scope [INFO] [stdout] --> src/protocol.rs:171:52 [INFO] [stdout] | [INFO] [stdout] 171 | signature: trust.signature.to_bytes().to_vec(), [INFO] [stdout] | ^^^^^^^^ method not found in `fluence_identity::signature::Signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&fluence_identity::PublicKey: Borrow` is not satisfied [INFO] [stdout] --> src/behaviour.rs:1753:15 [INFO] [stdout] | [INFO] [stdout] 1753 | trust.get_all_certs(&key, &[]).unwrap_or_default() [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Borrow` is not implemented for `&fluence_identity::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&fluence_identity::PublicKey: Borrow` is not satisfied [INFO] [stdout] --> src/behaviour.rs:1759:22 [INFO] [stdout] | [INFO] [stdout] 1759 | trust.weight(&key).unwrap_or_default().unwrap_or_default() [INFO] [stdout] | ^^^^ the trait `Borrow` is not implemented for `&fluence_identity::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluence-fork-libp2p-kad` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/behaviour/test.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | let storage = InMemoryStorage::new_in_memory(vec![(pk, 1)]); [INFO] [stdout] | ^^ expected enum `fluence_identity::public_key::PublicKey`, found struct `fluence_identity::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `fluence_identity` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/behaviour/test.rs:1207:13 [INFO] [stdout] | [INFO] [stdout] 1207 | from, [INFO] [stdout] | ^^^^ expected enum `fluence_identity::key_pair::KeyPair`, found struct `KeyPair` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&fluence_identity::key_pair::KeyPair` [INFO] [stdout] found reference `&KeyPair` [INFO] [stdout] = note: perhaps two different versions of crate `fluence_identity` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/behaviour/test.rs:1208:13 [INFO] [stdout] | [INFO] [stdout] 1208 | to, [INFO] [stdout] | ^^ expected enum `fluence_identity::public_key::PublicKey`, found struct `fluence_identity::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `fluence_identity` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/behaviour/test.rs:1218:13 [INFO] [stdout] | [INFO] [stdout] 1218 | from, [INFO] [stdout] | ^^^^ expected enum `fluence_identity::key_pair::KeyPair`, found struct `KeyPair` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&fluence_identity::key_pair::KeyPair` [INFO] [stdout] found reference `&KeyPair` [INFO] [stdout] = note: perhaps two different versions of crate `fluence_identity` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/behaviour/test.rs:1219:13 [INFO] [stdout] | [INFO] [stdout] 1219 | to, [INFO] [stdout] | ^^ expected enum `fluence_identity::public_key::PublicKey`, found struct `fluence_identity::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `fluence_identity` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/behaviour/test.rs:1251:51 [INFO] [stdout] | [INFO] [stdout] 1251 | swarm.2.trust.add_root_weight(pk, *weight); [INFO] [stdout] | ^^ expected enum `fluence_identity::public_key::PublicKey`, found struct `fluence_identity::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `fluence_identity` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fluence_identity::PublicKey: Borrow` is not satisfied [INFO] [stdout] --> src/behaviour/test.rs:1279:36 [INFO] [stdout] | [INFO] [stdout] 1279 | swarm0.swarm.trust.get_all_certs(pk, &[]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Borrow` is not implemented for `fluence_identity::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&fluence_identity::PublicKey: Borrow` is not satisfied [INFO] [stdout] --> src/behaviour/test.rs:1330:43 [INFO] [stdout] | [INFO] [stdout] 1330 | swarm.swarm.trust.get_all_certs(&pk, &[]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Borrow` is not implemented for `&fluence_identity::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `fluence_identity::public_key::PublicKey` with `fluence_identity::PublicKey` [INFO] [stdout] --> src/behaviour/test.rs:1335:82 [INFO] [stdout] | [INFO] [stdout] 1335 | disseminated.into_iter().find(|c| &c.chain[0].issued_for == &pk).unwrap() [INFO] [stdout] | ^^ no implementation for `fluence_identity::public_key::PublicKey == fluence_identity::PublicKey` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `fluence_identity::public_key::PublicKey` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq<&fluence_identity::PublicKey>` for `&fluence_identity::public_key::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `fluence_identity::public_key::PublicKey` with `fluence_identity::PublicKey` [INFO] [stdout] --> src/behaviour/test.rs:1340:21 [INFO] [stdout] | [INFO] [stdout] 1340 | / assert_eq!( [INFO] [stdout] 1341 | | pubkeys, [INFO] [stdout] 1342 | | vec![ [INFO] [stdout] 1343 | | &fluence_identity::PublicKey::from_libp2p(&swarm.kp.public()).unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 1346 | | ] [INFO] [stdout] 1347 | | ); [INFO] [stdout] | |______________________^ no implementation for `fluence_identity::public_key::PublicKey == fluence_identity::PublicKey` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `fluence_identity::public_key::PublicKey` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq<&fluence_identity::PublicKey>` for `&fluence_identity::public_key::PublicKey` [INFO] [stdout] = note: 1 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq>` for `Vec<&fluence_identity::public_key::PublicKey>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2e46ebcde5d6c7b2a73d96cdadec723be3b451e9add2dda7027955b89c97d28b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e46ebcde5d6c7b2a73d96cdadec723be3b451e9add2dda7027955b89c97d28b", kill_on_drop: false }` [INFO] [stdout] 2e46ebcde5d6c7b2a73d96cdadec723be3b451e9add2dda7027955b89c97d28b