[INFO] fetching crate fluence-fork-libp2p-kad 0.29.0... [INFO] checking fluence-fork-libp2p-kad-0.29.0 against master#4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 for pr-83744 [INFO] extracting crate fluence-fork-libp2p-kad 0.29.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate fluence-fork-libp2p-kad 0.29.0 on toolchain 4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fluence-identity v0.3.0 [INFO] [stderr] Downloaded trust-graph v0.2.7 [INFO] [stderr] Downloaded fluence-identity v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80f528d8a4c9207c6d1e87e83c36556e14751513cf16e990304821485ef7c283 [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" "80f528d8a4c9207c6d1e87e83c36556e14751513cf16e990304821485ef7c283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80f528d8a4c9207c6d1e87e83c36556e14751513cf16e990304821485ef7c283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80f528d8a4c9207c6d1e87e83c36556e14751513cf16e990304821485ef7c283", kill_on_drop: false }` [INFO] [stdout] 80f528d8a4c9207c6d1e87e83c36556e14751513cf16e990304821485ef7c283 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63ced1a010009c021ae8860cf188277ce53c72a2929bb55a4bac94754b88b595 [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" "63ced1a010009c021ae8860cf188277ce53c72a2929bb55a4bac94754b88b595", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking signature v1.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Compiling protobuf v2.22.1 [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 quick-error v1.2.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking uint v0.9.0 [INFO] [stderr] Compiling darling_core v0.12.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking futures-util v0.3.14 [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 regex v1.4.5 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling darling_macro v0.12.3 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking asynchronous-codec v0.6.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking unsigned-varint v0.7.0 [INFO] [stderr] Checking futures v0.3.14 [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] Checking quickcheck v0.9.2 [INFO] [stderr] Compiling darling v0.12.3 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking ed25519 v1.0.3 [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: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: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[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" "63ced1a010009c021ae8860cf188277ce53c72a2929bb55a4bac94754b88b595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63ced1a010009c021ae8860cf188277ce53c72a2929bb55a4bac94754b88b595", kill_on_drop: false }` [INFO] [stdout] 63ced1a010009c021ae8860cf188277ce53c72a2929bb55a4bac94754b88b595