[INFO] cloning repository https://github.com/Retamogordo/mockwork [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Retamogordo/mockwork" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRetamogordo%2Fmockwork", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRetamogordo%2Fmockwork'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13abb96b40998e14d159c55a9e0b397e1d23ac8a [INFO] checking Retamogordo/mockwork against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRetamogordo%2Fmockwork" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 3% (312/9551) Updating files: 3% (347/9551) Updating files: 3% (361/9551) Updating files: 4% (383/9551) Updating files: 5% (478/9551) Updating files: 6% (574/9551) Updating files: 6% (635/9551) Updating files: 7% (669/9551) Updating files: 7% (705/9551) Updating files: 8% (765/9551) Updating files: 9% (860/9551) Updating files: 10% (956/9551) Updating files: 11% (1051/9551) Updating files: 12% (1147/9551) Updating files: 13% (1242/9551) Updating files: 13% (1332/9551) Updating files: 14% (1338/9551) Updating files: 15% (1433/9551) Updating files: 16% (1529/9551) Updating files: 16% (1567/9551) Updating files: 17% (1624/9551) Updating files: 17% (1644/9551) Updating files: 18% (1720/9551) Updating files: 19% (1815/9551) Updating files: 20% (1911/9551) Updating files: 21% (2006/9551) Updating files: 21% (2040/9551) Updating files: 22% (2102/9551) Updating files: 23% (2197/9551) Updating files: 23% (2228/9551) Updating files: 24% (2293/9551) Updating files: 25% (2388/9551) Updating files: 26% (2484/9551) Updating files: 27% (2579/9551) Updating files: 28% (2675/9551) Updating files: 28% (2716/9551) Updating files: 29% (2770/9551) Updating files: 30% (2866/9551) Updating files: 31% (2961/9551) Updating files: 32% (3057/9551) Updating files: 33% (3152/9551) Updating files: 34% (3248/9551) Updating files: 35% (3343/9551) Updating files: 36% (3439/9551) Updating files: 37% (3534/9551) Updating files: 38% (3630/9551) Updating files: 39% (3725/9551) Updating files: 40% (3821/9551) Updating files: 41% (3916/9551) Updating files: 42% (4012/9551) Updating files: 43% (4107/9551) Updating files: 44% (4203/9551) Updating files: 45% (4298/9551) Updating files: 46% (4394/9551) Updating files: 47% (4489/9551) Updating files: 48% (4585/9551) Updating files: 49% (4680/9551) Updating files: 50% (4776/9551) Updating files: 51% (4872/9551) Updating files: 52% (4967/9551) Updating files: 53% (5063/9551) Updating files: 54% (5158/9551) Updating files: 55% (5254/9551) Updating files: 56% (5349/9551) Updating files: 57% (5445/9551) Updating files: 58% (5540/9551) Updating files: 59% (5636/9551) Updating files: 60% (5731/9551) Updating files: 61% (5827/9551) Updating files: 62% (5922/9551) Updating files: 63% (6018/9551) Updating files: 64% (6113/9551) Updating files: 65% (6209/9551) Updating files: 66% (6304/9551) Updating files: 67% (6400/9551) Updating files: 68% (6495/9551) Updating files: 69% (6591/9551) Updating files: 70% (6686/9551) Updating files: 71% (6782/9551) Updating files: 72% (6877/9551) Updating files: 73% (6973/9551) Updating files: 74% (7068/9551) Updating files: 75% (7164/9551) Updating files: 76% (7259/9551) Updating files: 77% (7355/9551) Updating files: 78% (7450/9551) Updating files: 79% (7546/9551) Updating files: 80% (7641/9551) Updating files: 81% (7737/9551) Updating files: 82% (7832/9551) Updating files: 83% (7928/9551) Updating files: 84% (8023/9551) Updating files: 85% (8119/9551) Updating files: 86% (8214/9551) Updating files: 87% (8310/9551) Updating files: 88% (8405/9551) Updating files: 89% (8501/9551) Updating files: 90% (8596/9551) Updating files: 91% (8692/9551) Updating files: 92% (8787/9551) Updating files: 93% (8883/9551) Updating files: 94% (8978/9551) Updating files: 95% (9074/9551) Updating files: 96% (9169/9551) Updating files: 97% (9265/9551) Updating files: 98% (9360/9551) Updating files: 99% (9456/9551) Updating files: 100% (9551/9551) Updating files: 100% (9551/9551), done. [INFO] validating manifest of git repo https://github.com/Retamogordo/mockwork on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Retamogordo/mockwork [INFO] finished tweaking git repo https://github.com/Retamogordo/mockwork [INFO] tweaked toml for git repo https://github.com/Retamogordo/mockwork written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Retamogordo/mockwork already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cbc812d1a58309ba937bd157c38aa410fb0213e50bef1d42b79e123372caccbd [INFO] running `Command { std: "docker" "start" "-a" "cbc812d1a58309ba937bd157c38aa410fb0213e50bef1d42b79e123372caccbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbc812d1a58309ba937bd157c38aa410fb0213e50bef1d42b79e123372caccbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbc812d1a58309ba937bd157c38aa410fb0213e50bef1d42b79e123372caccbd", kill_on_drop: false }` [INFO] [stdout] cbc812d1a58309ba937bd157c38aa410fb0213e50bef1d42b79e123372caccbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 31721ac6992b04add0458ea2fc7a9a5d4d0c0197e01537ff19da331448692aad [INFO] running `Command { std: "docker" "start" "-a" "31721ac6992b04add0458ea2fc7a9a5d4d0c0197e01537ff19da331448692aad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.74 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Checking fastrand v1.4.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.74 [INFO] [stderr] Checking polling v2.1.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.74 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking js-sys v0.3.51 [INFO] [stderr] Checking web-sys v0.3.51 [INFO] [stderr] Checking async_protocol_stack v0.1.0 (/opt/rustwide/workdir/crate-wasm) [INFO] [stdout] error[E0412]: cannot find type `CancellableRun` in this scope [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:164:49 [INFO] [stdout] | [INFO] [stdout] 164 | node_frontend_event_loop_cancel_handle: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use crate::target_dependant::CancellableRun; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn_cancellable` in this scope [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | spawn_cancellable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn_cancellable` in this scope [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:367:11 [INFO] [stdout] | [INFO] [stdout] 367 | = Some(spawn_cancellable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn_cancellable` in module `crate::target_dependant` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | crate::target_dependant::spawn_cancellable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `crate::target_dependant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LineChannelResult`, `SecondLayerCommand` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/node_services.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use super::super::second_layer::{LineChannelResult, SecondLayerCommand, ServiceRequestType, ServiceResultType, LineStatsResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelError`, `StreamHandle` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/node_services.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{NodeAddress, StreamHandle, ChannelError, AcquireStreamHandle}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Arc, RwLock, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::atomic::{Ordering, AtomicU32, AtomicBool, AtomicUsize}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServiceToken` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:21:58 [INFO] [stdout] | [INFO] [stdout] 21 | use super::{ ChannelToken, ChannelType, TimerOwnerToken, ServiceToken}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> crate-wasm/src/protocol_stack/line_stats.rs:6:78 [INFO] [stdout] | [INFO] [stdout] 6 | use super::first_layer::{FirstLayerCommand, FirstLayerEvent, LineStatistics, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnboundedReceiver` [INFO] [stdout] --> crate-wasm/src/protocol_stack/line.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::channel::mpsc::{UnboundedReceiver }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `global_usize_id` [INFO] [stdout] --> crate-wasm/src/protocol_stack/line.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{global_usize_id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `PayloadTimestamped` [INFO] [stdout] --> crate-wasm/src/protocol_stack/line.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use super::physical_layer::{*, PayloadTimestamped}; [INFO] [stdout] | ^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> crate-wasm/src/protocol_stack/protocol_layers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> crate-wasm/src/protocol_stack/channel_monitor.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> crate-wasm/src/protocol_stack/channel_monitor.rs:4:62 [INFO] [stdout] | [INFO] [stdout] 4 | use super::first_layer::{FirstLayerCommand, FirstLayerEvent, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> crate-wasm/src/protocol_stack/peer_channel.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> crate-wasm/src/mock_work.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::SerializeStructVariant` [INFO] [stdout] --> crate-wasm/src/mock_work.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::ser::SerializeStructVariant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oneshot` [INFO] [stdout] --> crate-wasm/src/mock_work.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::channel::{oneshot}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Socket` [INFO] [stdout] --> crate-wasm/src/mock_work.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::protocol_stack::node::socket::{Socket, SocketProfile}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block_on` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use async_std::task:: {block_on}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SecondLayerCommand`, `ServiceRequestType` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::protocol_stack::second_layer::{SecondLayerCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | ServiceRequestType, LineChannelResult, ServiceResultType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeCommand` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::protocol_stack::layer_pipe_item::{ NodeCommand}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelType`, `ServiceToken` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::protocol_stack::{ServiceToken, ChannelType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::protocol_stack::node::{Node, NodeAddress}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CyEdge`, `CyNode` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::cy_structs::{CyNode, CyEdge, CyMockWorkState}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AbortHandle`, `Abortable`, `Aborted` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | use futures::future::{Abortable, AbortHandle, Aborted}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> crate-wasm/src/cy_structs.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> crate-wasm/src/cy_structs.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::protocol_stack::node::{NodeAddress, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LineModel`, `LineTransceiverId` [INFO] [stdout] --> crate-wasm/src/cy_structs.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::protocol_stack::line::{LineId, LineTransceiverId, LineModel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block_on` [INFO] [stdout] --> crate-wasm/src/lib.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | use async_std::task:: {block_on}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node`, `display_addr_map` [INFO] [stdout] --> crate-wasm/src/lib.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::protocol_stack::node::{Node, NodeAddress, display_addr_map}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::protocol_stack::node::stream::*` [INFO] [stdout] --> crate-wasm/src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use crate::protocol_stack::node::stream::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chunk` [INFO] [stdout] --> crate-wasm/src/lib.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::protocol_stack::{Chunk}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CyEdge`, `CyNode` [INFO] [stdout] --> crate-wasm/src/lib.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | use crate::cy_structs::{CyNode, CyEdge, CyMockWorkState, CyNodeState}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CancellableRun` in this scope [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:164:49 [INFO] [stdout] | [INFO] [stdout] 164 | node_frontend_event_loop_cancel_handle: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use crate::target_dependant::CancellableRun; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn_cancellable` in this scope [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | spawn_cancellable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn_cancellable` in this scope [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:367:11 [INFO] [stdout] | [INFO] [stdout] 367 | = Some(spawn_cancellable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn_cancellable` in module `crate::target_dependant` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | crate::target_dependant::spawn_cancellable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `crate::target_dependant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LineChannelResult`, `SecondLayerCommand` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/node_services.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use super::super::second_layer::{LineChannelResult, SecondLayerCommand, ServiceRequestType, ServiceResultType, LineStatsResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelError`, `StreamHandle` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/node_services.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{NodeAddress, StreamHandle, ChannelError, AcquireStreamHandle}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Arc, RwLock, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::atomic::{Ordering, AtomicU32, AtomicBool, AtomicUsize}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServiceToken` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:21:58 [INFO] [stdout] | [INFO] [stdout] 21 | use super::{ ChannelToken, ChannelType, TimerOwnerToken, ServiceToken}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> crate-wasm/src/protocol_stack/line_stats.rs:6:78 [INFO] [stdout] | [INFO] [stdout] 6 | use super::first_layer::{FirstLayerCommand, FirstLayerEvent, LineStatistics, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnboundedReceiver` [INFO] [stdout] --> crate-wasm/src/protocol_stack/line.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::channel::mpsc::{UnboundedReceiver }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `global_usize_id` [INFO] [stdout] --> crate-wasm/src/protocol_stack/line.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{global_usize_id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `PayloadTimestamped` [INFO] [stdout] --> crate-wasm/src/protocol_stack/line.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use super::physical_layer::{*, PayloadTimestamped}; [INFO] [stdout] | ^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> crate-wasm/src/protocol_stack/protocol_layers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> crate-wasm/src/protocol_stack/channel_monitor.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> crate-wasm/src/protocol_stack/channel_monitor.rs:4:62 [INFO] [stdout] | [INFO] [stdout] 4 | use super::first_layer::{FirstLayerCommand, FirstLayerEvent, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> crate-wasm/src/protocol_stack/peer_channel.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> crate-wasm/src/mock_work.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::SerializeStructVariant` [INFO] [stdout] --> crate-wasm/src/mock_work.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::ser::SerializeStructVariant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oneshot` [INFO] [stdout] --> crate-wasm/src/mock_work.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::channel::{oneshot}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Socket` [INFO] [stdout] --> crate-wasm/src/mock_work.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::protocol_stack::node::socket::{Socket, SocketProfile}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block_on` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use async_std::task:: {block_on}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SecondLayerCommand`, `ServiceRequestType` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::protocol_stack::second_layer::{SecondLayerCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | ServiceRequestType, LineChannelResult, ServiceResultType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeCommand` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::protocol_stack::layer_pipe_item::{ NodeCommand}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelType`, `ServiceToken` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::protocol_stack::{ServiceToken, ChannelType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::protocol_stack::node::{Node, NodeAddress}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CyEdge`, `CyNode` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::cy_structs::{CyNode, CyEdge, CyMockWorkState}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AbortHandle`, `Abortable`, `Aborted` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | use futures::future::{Abortable, AbortHandle, Aborted}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> crate-wasm/src/cy_structs.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> crate-wasm/src/cy_structs.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::protocol_stack::node::{NodeAddress, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LineModel`, `LineTransceiverId` [INFO] [stdout] --> crate-wasm/src/cy_structs.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::protocol_stack::line::{LineId, LineTransceiverId, LineModel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block_on` [INFO] [stdout] --> crate-wasm/src/lib.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | use async_std::task:: {block_on}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node`, `display_addr_map` [INFO] [stdout] --> crate-wasm/src/lib.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::protocol_stack::node::{Node, NodeAddress, display_addr_map}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::protocol_stack::node::stream::*` [INFO] [stdout] --> crate-wasm/src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use crate::protocol_stack::node::stream::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chunk` [INFO] [stdout] --> crate-wasm/src/lib.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::protocol_stack::{Chunk}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CyEdge`, `CyNode` [INFO] [stdout] --> crate-wasm/src/lib.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | use crate::cy_structs::{CyNode, CyEdge, CyMockWorkState, CyNodeState}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/mock_work.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | let mut idle_iter = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/mock_work.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | let mut idle_iter = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> crate-wasm/src/mock_work.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | crate::target_dependant::spawn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future returned by `transmit_scheduler_loop` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl futures::Future`, the trait `std::marker::Send` is not implemented for `std::sync::MutexGuard<'_, TransmitScheduler>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> crate-wasm/src/mock_work.rs:684:29 [INFO] [stdout] | [INFO] [stdout] 679 | match scheduler.lock().unwrap().tick(&transmit_schedule_data) { [INFO] [stdout] | ------------------------- has type `std::sync::MutexGuard<'_, TransmitScheduler>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 684 | crate::target_dependant::run_on_next_js_tick().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ await occurs here, with `scheduler.lock().unwrap()` maybe used later [INFO] [stdout] ... [INFO] [stdout] 687 | }, [INFO] [stdout] | - `scheduler.lock().unwrap()` is later dropped here [INFO] [stdout] help: consider moving this into a `let` binding to create a shorter lived borrow [INFO] [stdout] --> crate-wasm/src/mock_work.rs:679:27 [INFO] [stdout] | [INFO] [stdout] 679 | match scheduler.lock().unwrap().tick(&transmit_schedule_data) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `target_dependant::spawn` [INFO] [stdout] --> crate-wasm/src/target_dependant.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn spawn(f: F) -> TargetDependantJoinHandle [INFO] [stdout] | ----- required by a bound in this [INFO] [stdout] 32 | where [INFO] [stdout] 33 | F: async_std::future::Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `target_dependant::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> crate-wasm/src/lib.rs:389:20 [INFO] [stdout] | [INFO] [stdout] 389 | if running.compare_and_swap(false, true, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/lib.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> crate-wasm/src/lib.rs:471:16 [INFO] [stdout] | [INFO] [stdout] 471 | if running.compare_and_swap(false, true, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> crate-wasm/src/mock_work.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | crate::target_dependant::spawn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future returned by `transmit_scheduler_loop` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl futures::Future`, the trait `std::marker::Send` is not implemented for `std::sync::MutexGuard<'_, TransmitScheduler>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> crate-wasm/src/mock_work.rs:684:29 [INFO] [stdout] | [INFO] [stdout] 679 | match scheduler.lock().unwrap().tick(&transmit_schedule_data) { [INFO] [stdout] | ------------------------- has type `std::sync::MutexGuard<'_, TransmitScheduler>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 684 | crate::target_dependant::run_on_next_js_tick().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ await occurs here, with `scheduler.lock().unwrap()` maybe used later [INFO] [stdout] ... [INFO] [stdout] 687 | }, [INFO] [stdout] | - `scheduler.lock().unwrap()` is later dropped here [INFO] [stdout] help: consider moving this into a `let` binding to create a shorter lived borrow [INFO] [stdout] --> crate-wasm/src/mock_work.rs:679:27 [INFO] [stdout] | [INFO] [stdout] 679 | match scheduler.lock().unwrap().tick(&transmit_schedule_data) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `target_dependant::spawn` [INFO] [stdout] --> crate-wasm/src/target_dependant.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn spawn(f: F) -> TargetDependantJoinHandle [INFO] [stdout] | ----- required by a bound in this [INFO] [stdout] 32 | where [INFO] [stdout] 33 | F: async_std::future::Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `target_dependant::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> crate-wasm/src/lib.rs:389:20 [INFO] [stdout] | [INFO] [stdout] 389 | if running.compare_and_swap(false, true, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/lib.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> crate-wasm/src/lib.rs:471:16 [INFO] [stdout] | [INFO] [stdout] 471 | if running.compare_and_swap(false, true, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Option`s, not `Result`s, in an async function that returns `Option` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/node_services.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn run_once(self) -> Option { [INFO] [stdout] | ___________________________________________________________- [INFO] [stdout] 36 | | let mut stream = self.acq_stream_handle.acquire().await [INFO] [stdout] 37 | | .map_err(|_| unimplemented!() )?; [INFO] [stdout] | | ^ use `.ok()?` if you want to discard the `Result` error information [INFO] [stdout] 38 | | [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____- this function returns an `Option` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::option::Option` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Option`s, not `Result`s, in an async function that returns `Option` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/node_services.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 80 | pub async fn run_once(self) -> Option { [INFO] [stdout] | ________________________________________________________- [INFO] [stdout] 81 | | let mut stream = self.acq_stream_handle.acquire().await [INFO] [stdout] 82 | | .map_err(|_| unimplemented!() )?; [INFO] [stdout] | | ^ use `.ok()?` if you want to discard the `Result` error information [INFO] [stdout] 83 | | [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____- this function returns an `Option` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::option::Option` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | let mut s = "".to_string(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> crate-wasm/src/lib.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 306 | panic!(); [INFO] [stdout] | --------- any code following this expression is unreachable [INFO] [stdout] 307 | return None; [INFO] [stdout] | ^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Option`s, not `Result`s, in an async function that returns `Option` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/node_services.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn run_once(self) -> Option { [INFO] [stdout] | ___________________________________________________________- [INFO] [stdout] 36 | | let mut stream = self.acq_stream_handle.acquire().await [INFO] [stdout] 37 | | .map_err(|_| unimplemented!() )?; [INFO] [stdout] | | ^ use `.ok()?` if you want to discard the `Result` error information [INFO] [stdout] 38 | | [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____- this function returns an `Option` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::option::Option` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Option`s, not `Result`s, in an async function that returns `Option` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/node_services.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 80 | pub async fn run_once(self) -> Option { [INFO] [stdout] | ________________________________________________________- [INFO] [stdout] 81 | | let mut stream = self.acq_stream_handle.acquire().await [INFO] [stdout] 82 | | .map_err(|_| unimplemented!() )?; [INFO] [stdout] | | ^ use `.ok()?` if you want to discard the `Result` error information [INFO] [stdout] 83 | | [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____- this function returns an `Option` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::option::Option` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `current_transmit_info` found for reference `&MockWork` in the current scope [INFO] [stdout] --> crate-wasm/src/lib.rs:637:53 [INFO] [stdout] | [INFO] [stdout] 637 | state_locked.current_transmit_info = mw.current_transmit_info(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `&MockWork` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:199:44 [INFO] [stdout] | [INFO] [stdout] 199 | node_frontend_event_loop_cancel_handle: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | let mut s = "".to_string(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> crate-wasm/src/lib.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 306 | panic!(); [INFO] [stdout] | --------- any code following this expression is unreachable [INFO] [stdout] 307 | return None; [INFO] [stdout] | ^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `current_transmit_info` found for reference `&MockWork` in the current scope [INFO] [stdout] --> crate-wasm/src/lib.rs:637:53 [INFO] [stdout] | [INFO] [stdout] 637 | state_locked.current_transmit_info = mw.current_transmit_info(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `&MockWork` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:199:44 [INFO] [stdout] | [INFO] [stdout] 199 | node_frontend_event_loop_cancel_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 `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> crate-wasm/src/fsm.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | if !self.on_transition.compare_and_swap(false, true, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored` [INFO] [stdout] --> crate-wasm/src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use colored::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0412, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async_protocol_stack` due to 10 previous errors; 41 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> crate-wasm/src/fsm.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | if !self.on_transition.compare_and_swap(false, true, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored` [INFO] [stdout] --> crate-wasm/src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use colored::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0412, E0425, 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" "31721ac6992b04add0458ea2fc7a9a5d4d0c0197e01537ff19da331448692aad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31721ac6992b04add0458ea2fc7a9a5d4d0c0197e01537ff19da331448692aad", kill_on_drop: false }` [INFO] [stdout] 31721ac6992b04add0458ea2fc7a9a5d4d0c0197e01537ff19da331448692aad