[INFO] fetching crate libp2prs-swarm 0.3.0... [INFO] checking libp2prs-swarm-0.3.0 against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] extracting crate libp2prs-swarm 0.3.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate libp2prs-swarm 0.3.0 on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2prs-swarm 0.3.0 [INFO] finished tweaking crates.io crate libp2prs-swarm 0.3.0 [INFO] tweaked toml for crates.io crate libp2prs-swarm 0.3.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70caf34a806a1688fdab242a05e300b84210b139739614b0fcf4e03bb783cfd9 [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" "70caf34a806a1688fdab242a05e300b84210b139739614b0fcf4e03bb783cfd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70caf34a806a1688fdab242a05e300b84210b139739614b0fcf4e03bb783cfd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70caf34a806a1688fdab242a05e300b84210b139739614b0fcf4e03bb783cfd9", kill_on_drop: false }` [INFO] [stdout] 70caf34a806a1688fdab242a05e300b84210b139739614b0fcf4e03bb783cfd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43bf709d5fb7f5f6a87e10c58a8e53dea50278a837926754b5d76fd9bfc6a896 [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" "43bf709d5fb7f5f6a87e10c58a8e53dea50278a837926754b5d76fd9bfc6a896", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rustyline-derive v0.3.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling prost-derive v0.6.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 ring v0.16.20 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking libp2p-pnet v0.20.0 [INFO] [stderr] Checking libp2prs-runtime v0.3.0 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking rustyline v6.3.0 [INFO] [stderr] Checking xcli v0.5.2 [INFO] [stderr] Compiling libp2prs-core v0.3.0 [INFO] [stderr] Compiling libp2prs-swarm v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/connection.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/dial.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/cli.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/identify.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/metrics/metric.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/metrics/metricmap.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/ping.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/ping.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/protocol_handler.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/substream.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/connection.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/dial.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/cli.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/ping.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/protocol_handler.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/substream.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2prs_runtime::task` [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | use libp2prs_runtime::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | tasks: vec![], [INFO] [stdout] | ^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | tasks: vec![], [INFO] [stdout] | ^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:667:48 [INFO] [stdout] | [INFO] [stdout] 667 | 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:667:48 [INFO] [stdout] | [INFO] [stdout] 667 | 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/connection.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | handle: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/connection.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | handle: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [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 | 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:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | 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:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | 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:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | 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:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | 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:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | 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:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | 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:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | 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:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | 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:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | 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:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | 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:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | 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:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | 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:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | 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 | 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:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | 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:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | 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:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | 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:192:29 [INFO] [stdout] | [INFO] [stdout] 192 | 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:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | 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:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | 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:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | 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:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | 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:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | 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:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | 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:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | 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:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | 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:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | 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:26 [INFO] [stdout] | [INFO] [stdout] 203 | 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:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | 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:29 [INFO] [stdout] | [INFO] [stdout] 203 | 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:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | 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:26 [INFO] [stdout] | [INFO] [stdout] 203 | 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:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | 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:26 [INFO] [stdout] | [INFO] [stdout] 203 | 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:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | 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:17 [INFO] [stdout] | [INFO] [stdout] 203 | 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:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | 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:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | 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:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | 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: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [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 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0698. [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" "43bf709d5fb7f5f6a87e10c58a8e53dea50278a837926754b5d76fd9bfc6a896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43bf709d5fb7f5f6a87e10c58a8e53dea50278a837926754b5d76fd9bfc6a896", kill_on_drop: false }` [INFO] [stdout] 43bf709d5fb7f5f6a87e10c58a8e53dea50278a837926754b5d76fd9bfc6a896