[INFO] fetching crate libp2prs-swarm 0.2.1... [INFO] checking libp2prs-swarm-0.2.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate libp2prs-swarm 0.2.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate libp2prs-swarm 0.2.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2prs-swarm 0.2.1 [INFO] finished tweaking crates.io crate libp2prs-swarm 0.2.1 [INFO] tweaked toml for crates.io crate libp2prs-swarm 0.2.1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xcli v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe84183066cfdd01ff0ecae8138ef50b9076d802a83fd620a4476af12b51924e [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" "fe84183066cfdd01ff0ecae8138ef50b9076d802a83fd620a4476af12b51924e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe84183066cfdd01ff0ecae8138ef50b9076d802a83fd620a4476af12b51924e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe84183066cfdd01ff0ecae8138ef50b9076d802a83fd620a4476af12b51924e", kill_on_drop: false }` [INFO] [stdout] fe84183066cfdd01ff0ecae8138ef50b9076d802a83fd620a4476af12b51924e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3452ef3fbcfd1c2164291441941dd4b2862c7d0298934bb3ce7dae6d6ada768 [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" "a3452ef3fbcfd1c2164291441941dd4b2862c7d0298934bb3ce7dae6d6ada768", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking signature v1.3.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking ed25519 v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking salsa20 v0.7.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking rustyline v6.3.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling rustyline-derive v0.3.1 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking curve25519-dalek v3.0.2 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking xcli v0.5.2 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking libp2prs-traits v0.2.2 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Compiling libp2prs-core v0.2.2 [INFO] [stderr] Compiling libp2prs-swarm v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.64 [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 libp2prs-multiaddr v0.2.2 [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/connection.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/dial.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/cli.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/identify.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/metrics/metric.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/metrics/metricmap.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/ping.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/ping.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/substream.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/connection.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/dial.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/cli.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/ping.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/substream.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime` [INFO] [stdout] --> src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2prs_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:586:48 [INFO] [stdout] | [INFO] [stdout] 586 | connection.open_stream(pids, move |r| { [INFO] [stdout] | ^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:586:48 [INFO] [stdout] | [INFO] [stdout] 586 | connection.open_stream(pids, move |r| { [INFO] [stdout] | ^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:930:34 [INFO] [stdout] | [INFO] [stdout] 930 | self.banned_peers.remove(peer_id.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `PeerId`, found struct `MultihashGeneric` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&PeerId` [INFO] [stdout] found reference `&MultihashGeneric, B0>, B0>, B0>, B0>, B0>, B0>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/connection.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | handle: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:930:34 [INFO] [stdout] | [INFO] [stdout] 930 | self.banned_peers.remove(peer_id.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `PeerId`, found struct `MultihashGeneric` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&PeerId` [INFO] [stdout] found reference `&MultihashGeneric, B0>, B0>, B0>, B0>, B0>, B0>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/connection.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | handle: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/metrics/metricmap.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | match self.data.compare_and_set(shared, owned, SeqCst, &guard) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/metrics/metricmap.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | match self.data.compare_and_set(shared, owned, SeqCst, &guard) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let inside_future_map = map.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | for index in 0..16 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | for index in 0..16 { [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | for index in 0..16 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | for index in 0..16 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | for index in 0..16 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | let inside_map = inside_future_map.clone(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | let delete_map = map.clone(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | for index in 0..18 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | for index in 0..18 { [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | for index in 0..18 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | for index in 0..18 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | for index in 0..18 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | let inside_map = delete_map.clone(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | for index in 0..20 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | for index in 0..20 { [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | for index in 0..20 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | for index in 0..20 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | for index in 0..20 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/metrics/metricmap.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | let inside_map = delete_map.clone(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/metrics/metricmap.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | task::spawn(async move { inside_map.store_or_modify(&k, index, |_, value| value.add(index)) }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `crossbeam_epoch::Atomic::::compare_and_set`: Use `compare_exchange` instead [INFO] [stdout] --> src/metrics/metricmap.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | match self.data.compare_and_set(shared, owned, SeqCst, &guard) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0432, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2prs-swarm` [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: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a3452ef3fbcfd1c2164291441941dd4b2862c7d0298934bb3ce7dae6d6ada768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3452ef3fbcfd1c2164291441941dd4b2862c7d0298934bb3ce7dae6d6ada768", kill_on_drop: false }` [INFO] [stdout] a3452ef3fbcfd1c2164291441941dd4b2862c7d0298934bb3ce7dae6d6ada768