[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] c8d021879f87865366759619772d3e4ccb346e05 [INFO] checking Retamogordo/mockwork against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRetamogordo%2Fmockwork" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 3% (305/9550) Updating files: 3% (347/9550) Updating files: 3% (360/9550) Updating files: 3% (374/9550) Updating files: 4% (382/9550) Updating files: 5% (478/9550) Updating files: 6% (573/9550) Updating files: 7% (669/9550) Updating files: 7% (711/9550) Updating files: 8% (764/9550) Updating files: 9% (860/9550) Updating files: 10% (955/9550) Updating files: 11% (1051/9550) Updating files: 12% (1146/9550) Updating files: 13% (1242/9550) Updating files: 14% (1337/9550) Updating files: 15% (1433/9550) Updating files: 16% (1528/9550) Updating files: 16% (1563/9550) Updating files: 17% (1624/9550) Updating files: 17% (1664/9550) Updating files: 18% (1719/9550) Updating files: 19% (1815/9550) Updating files: 20% (1910/9550) Updating files: 21% (2006/9550) Updating files: 22% (2101/9550) Updating files: 22% (2186/9550) Updating files: 23% (2197/9550) Updating files: 24% (2292/9550) Updating files: 25% (2388/9550) Updating files: 26% (2483/9550) Updating files: 27% (2579/9550) Updating files: 27% (2646/9550) Updating files: 28% (2674/9550) Updating files: 29% (2770/9550) Updating files: 30% (2865/9550) Updating files: 31% (2961/9550) Updating files: 32% (3056/9550) Updating files: 33% (3152/9550) Updating files: 34% (3247/9550) Updating files: 35% (3343/9550) Updating files: 36% (3438/9550) Updating files: 37% (3534/9550) Updating files: 38% (3629/9550) Updating files: 39% (3725/9550) Updating files: 40% (3820/9550) Updating files: 41% (3916/9550) Updating files: 42% (4011/9550) Updating files: 43% (4107/9550) Updating files: 44% (4202/9550) Updating files: 45% (4298/9550) Updating files: 46% (4393/9550) Updating files: 47% (4489/9550) Updating files: 48% (4584/9550) Updating files: 49% (4680/9550) Updating files: 50% (4775/9550) Updating files: 51% (4871/9550) Updating files: 52% (4966/9550) Updating files: 53% (5062/9550) Updating files: 54% (5157/9550) Updating files: 55% (5253/9550) Updating files: 56% (5348/9550) Updating files: 57% (5444/9550) Updating files: 58% (5539/9550) Updating files: 59% (5635/9550) Updating files: 60% (5730/9550) Updating files: 61% (5826/9550) Updating files: 62% (5921/9550) Updating files: 63% (6017/9550) Updating files: 64% (6112/9550) Updating files: 65% (6208/9550) Updating files: 66% (6303/9550) Updating files: 67% (6399/9550) Updating files: 68% (6494/9550) Updating files: 69% (6590/9550) Updating files: 70% (6685/9550) Updating files: 71% (6781/9550) Updating files: 72% (6876/9550) Updating files: 73% (6972/9550) Updating files: 74% (7067/9550) Updating files: 75% (7163/9550) Updating files: 76% (7258/9550) Updating files: 77% (7354/9550) Updating files: 78% (7449/9550) Updating files: 79% (7545/9550) Updating files: 80% (7640/9550) Updating files: 81% (7736/9550) Updating files: 82% (7831/9550) Updating files: 83% (7927/9550) Updating files: 84% (8022/9550) Updating files: 85% (8118/9550) Updating files: 86% (8213/9550) Updating files: 87% (8309/9550) Updating files: 88% (8404/9550) Updating files: 89% (8500/9550) Updating files: 90% (8595/9550) Updating files: 90% (8604/9550) Updating files: 91% (8691/9550) Updating files: 92% (8786/9550) Updating files: 93% (8882/9550) Updating files: 94% (8977/9550) Updating files: 95% (9073/9550) Updating files: 96% (9168/9550) Updating files: 97% (9264/9550) Updating files: 98% (9359/9550) Updating files: 99% (9455/9550) Updating files: 100% (9550/9550) Updating files: 100% (9550/9550), done. [INFO] validating manifest of git repo https://github.com/Retamogordo/mockwork on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-14/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01349ad6f9ec7cd56d1ba52cdb3fb52d123104867c6be572478870b915ec6718 [INFO] running `Command { std: "docker" "start" "-a" "01349ad6f9ec7cd56d1ba52cdb3fb52d123104867c6be572478870b915ec6718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01349ad6f9ec7cd56d1ba52cdb3fb52d123104867c6be572478870b915ec6718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01349ad6f9ec7cd56d1ba52cdb3fb52d123104867c6be572478870b915ec6718", kill_on_drop: false }` [INFO] [stdout] 01349ad6f9ec7cd56d1ba52cdb3fb52d123104867c6be572478870b915ec6718 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92bba0a11b34c794953c4b087c32601e719082b1b66cebfa668102a7866532ad [INFO] running `Command { std: "docker" "start" "-a" "92bba0a11b34c794953c4b087c32601e719082b1b66cebfa668102a7866532ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking futures-channel v0.3.15 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.126 [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 serde v1.0.126 [INFO] [stderr] Checking wasm-bindgen v0.2.74 [INFO] [stderr] Checking js-sys v0.3.51 [INFO] [stderr] Checking serde_json v1.0.64 [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[E0425]: cannot find value `test_result` in this scope [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:317:16 [INFO] [stdout] | [INFO] [stdout] 317 | return test_result; [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `est_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `test_result` in this scope [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:372:12 [INFO] [stdout] | [INFO] [stdout] 372 | return test_result; [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `est_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/stream.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/node_services.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/node_services.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] warning: unused import: `ChannelError` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/node_services.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{StreamHandle, ChannelError, AcquireStreamHandle, TopLevelError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Drain` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/socket.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::vec::Drain; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicU64` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::atomic::AtomicU64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Iter` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::hash_map::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{Deserialize, Serialize}; [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 imports: `BlockType`, `MessageBodyType`, `SecondLayerHeader` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::protocol_stack::{ShallotData, MessageBodyType, SecondLayerHeader, BlockType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> crate-wasm/src/protocol_stack/second_layer.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> crate-wasm/src/protocol_stack/second_layer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockType` [INFO] [stdout] --> crate-wasm/src/protocol_stack/second_layer.rs:11:67 [INFO] [stdout] | [INFO] [stdout] 11 | FirstLayerHeader, SecondLayerHeader, ChannelToken, ServiceToken, BlockType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LineId` [INFO] [stdout] --> crate-wasm/src/protocol_stack/second_layer.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::protocol_stack::line::{LineId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SeqId` [INFO] [stdout] --> crate-wasm/src/protocol_stack/line_stats.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use super::line::{SeqId, LineModel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crate-wasm/src/protocol_stack/line.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Drain` [INFO] [stdout] --> crate-wasm/src/protocol_stack/protocol_layers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec::Drain; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServiceResultType` [INFO] [stdout] --> crate-wasm/src/protocol_stack/protocol_layers.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use super::second_layer::{ServiceResultType, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::line_stats::*` [INFO] [stdout] --> crate-wasm/src/protocol_stack/protocol_layers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::line_stats::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelType`, `FirstLayerHeader` [INFO] [stdout] --> crate-wasm/src/protocol_stack/protocol_layers.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use super::{FirstLayerHeader, ChannelType}; [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: `std::cell::RefCell` [INFO] [stdout] --> crate-wasm/src/protocol_stack/channel_monitor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LineChannelResult` [INFO] [stdout] --> crate-wasm/src/protocol_stack/peer_channel.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | ServiceRequestType, ServiceResultType, LineChannelResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> crate-wasm/src/mock_work.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::ser::SerializeStructVariant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> crate-wasm/src/mock_work.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [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 imports: `SecondLayerEvent`, `ServiceResultType` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:13:63 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::protocol_stack::second_layer::{SecondLayerCommand, SecondLayerEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | ServiceRequestType, ServiceResultType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeEvent` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::protocol_stack::protocol_layers::{ NodeCommand, NodeEvent}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SecondLayerHeader`, `ShallotData` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::protocol_stack::{ServiceToken, ChannelType, ShallotData, SecondLayerHeader}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node`, `display_addr_map` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::protocol_stack::node::{Node, NodeAddress, display_addr_map}; [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 import: `Node` [INFO] [stdout] --> crate-wasm/src/address_map_test.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | 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/address_map_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::protocol_stack::node::stream::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShallotData` [INFO] [stdout] --> crate-wasm/src/address_map_test.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::protocol_stack::{ShallotData}; [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:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | use async_std::task:: {block_on}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> crate-wasm/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random` [INFO] [stdout] --> crate-wasm/src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use rand::random; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node`, `display_addr_map` [INFO] [stdout] --> crate-wasm/src/lib.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | 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:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use crate::protocol_stack::node::stream::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShallotData` [INFO] [stdout] --> crate-wasm/src/lib.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | use crate::protocol_stack::{ShallotData}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CyEdge` [INFO] [stdout] --> crate-wasm/src/lib.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | use crate::cy_structs::{CyNode, CyEdge, CyMockWorkState}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `test_result` in this scope [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:317:16 [INFO] [stdout] | [INFO] [stdout] 317 | return test_result; [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `est_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `test_result` in this scope [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:372:12 [INFO] [stdout] | [INFO] [stdout] 372 | return test_result; [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `est_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/stream.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/node_services.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/node_services.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] warning: unused import: `ChannelError` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/node_services.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{StreamHandle, ChannelError, AcquireStreamHandle, TopLevelError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Drain` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/socket.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::vec::Drain; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicU64` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::atomic::AtomicU64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Iter` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::hash_map::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{Deserialize, Serialize}; [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 imports: `BlockType`, `MessageBodyType`, `SecondLayerHeader` [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::protocol_stack::{ShallotData, MessageBodyType, SecondLayerHeader, BlockType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> crate-wasm/src/protocol_stack/second_layer.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> crate-wasm/src/protocol_stack/second_layer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockType` [INFO] [stdout] --> crate-wasm/src/protocol_stack/second_layer.rs:11:67 [INFO] [stdout] | [INFO] [stdout] 11 | FirstLayerHeader, SecondLayerHeader, ChannelToken, ServiceToken, BlockType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LineId` [INFO] [stdout] --> crate-wasm/src/protocol_stack/second_layer.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::protocol_stack::line::{LineId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SeqId` [INFO] [stdout] --> crate-wasm/src/protocol_stack/line_stats.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use super::line::{SeqId, LineModel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crate-wasm/src/protocol_stack/line.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Drain` [INFO] [stdout] --> crate-wasm/src/protocol_stack/protocol_layers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec::Drain; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServiceResultType` [INFO] [stdout] --> crate-wasm/src/protocol_stack/protocol_layers.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use super::second_layer::{ServiceResultType, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::line_stats::*` [INFO] [stdout] --> crate-wasm/src/protocol_stack/protocol_layers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::line_stats::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelType`, `FirstLayerHeader` [INFO] [stdout] --> crate-wasm/src/protocol_stack/protocol_layers.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use super::{FirstLayerHeader, ChannelType}; [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: `std::cell::RefCell` [INFO] [stdout] --> crate-wasm/src/protocol_stack/channel_monitor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LineChannelResult` [INFO] [stdout] --> crate-wasm/src/protocol_stack/peer_channel.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | ServiceRequestType, ServiceResultType, LineChannelResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> crate-wasm/src/mock_work.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::ser::SerializeStructVariant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> crate-wasm/src/mock_work.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [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 imports: `SecondLayerEvent`, `ServiceResultType` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:13:63 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::protocol_stack::second_layer::{SecondLayerCommand, SecondLayerEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | ServiceRequestType, ServiceResultType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeEvent` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::protocol_stack::protocol_layers::{ NodeCommand, NodeEvent}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SecondLayerHeader`, `ShallotData` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::protocol_stack::{ServiceToken, ChannelType, ShallotData, SecondLayerHeader}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node`, `display_addr_map` [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::protocol_stack::node::{Node, NodeAddress, display_addr_map}; [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 import: `Node` [INFO] [stdout] --> crate-wasm/src/address_map_test.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | 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/address_map_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::protocol_stack::node::stream::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShallotData` [INFO] [stdout] --> crate-wasm/src/address_map_test.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::protocol_stack::{ShallotData}; [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:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | use async_std::task:: {block_on}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> crate-wasm/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random` [INFO] [stdout] --> crate-wasm/src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use rand::random; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node`, `display_addr_map` [INFO] [stdout] --> crate-wasm/src/lib.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | 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:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use crate::protocol_stack::node::stream::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShallotData` [INFO] [stdout] --> crate-wasm/src/lib.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | use crate::protocol_stack::{ShallotData}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CyEdge` [INFO] [stdout] --> crate-wasm/src/lib.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | use crate::cy_structs::{CyNode, CyEdge, CyMockWorkState}; [INFO] [stdout] | ^^^^^^ [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:276:25 [INFO] [stdout] | [INFO] [stdout] 276 | if (*running_clone).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: 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:276:25 [INFO] [stdout] | [INFO] [stdout] 276 | if (*running_clone).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/protocol_stack/node/mod.rs:572:6 [INFO] [stdout] | [INFO] [stdout] 572 | let mut n = 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/protocol_stack/node/mod.rs:573:6 [INFO] [stdout] | [INFO] [stdout] 573 | let mut prev = instant::Instant::now(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:580:7 [INFO] [stdout] | [INFO] [stdout] 580 | let (mut tx, mut rx): (UnboundedSender, UnboundedReceiver) = unbounded(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:572:6 [INFO] [stdout] | [INFO] [stdout] 572 | let mut n = 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/protocol_stack/node/mod.rs:573:6 [INFO] [stdout] | [INFO] [stdout] 573 | let mut prev = instant::Instant::now(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/protocol_stack/node/mod.rs:580:7 [INFO] [stdout] | [INFO] [stdout] 580 | let (mut tx, mut rx): (UnboundedSender, UnboundedReceiver) = unbounded(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | let mut prev_tick = instant::Instant::now(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | let mut s = "".to_string(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | let mut prev_tick = instant::Instant::now(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:400:12 [INFO] [stdout] | [INFO] [stdout] 400 | Ok(mut write_stream) => { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:404:25 [INFO] [stdout] | [INFO] [stdout] 404 | if let Some(mut read_stream) = incoming_handle.acquire().await { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | let mut prev_tick = instant::Instant::now(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | let mut s = "".to_string(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | let mut prev_tick = instant::Instant::now(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:400:12 [INFO] [stdout] | [INFO] [stdout] 400 | Ok(mut write_stream) => { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:404:25 [INFO] [stdout] | [INFO] [stdout] 404 | if let Some(mut read_stream) = incoming_handle.acquire().await { [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/fsm.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | if !self.on_transition.compare_and_swap(false, true, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | if !self.on_transition.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/rebounce_test.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | crate::target_dependant::spawn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future returned by `peer_channel_or_search_task` is not `Send` [INFO] [stdout] | [INFO] [stdout] ::: crate-wasm/src/target_dependant.rs:31:8 [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] = help: within `impl futures::Future`, the trait `std::marker::Send` is not implemented for `std::sync::RwLockReadGuard<'_, std::option::Option>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 127 | if let Ok(mock_work) = mock_work.read() { [INFO] [stdout] | --------- has type `std::sync::RwLockReadGuard<'_, std::option::Option>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 151 | let (write_res, read_res) = futures::future::join( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 152 | | write_loop(write_stream, src, message), [INFO] [stdout] 153 | | read_loop(read_stream), [INFO] [stdout] 154 | | ) [INFO] [stdout] 155 | | .await; [INFO] [stdout] | |______________________^ await occurs here, with `mock_work` maybe used later [INFO] [stdout] ... [INFO] [stdout] 194 | } [INFO] [stdout] | - `mock_work` is later dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | crate::target_dependant::spawn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future returned by `peer_channel_or_search_task` is not `Send` [INFO] [stdout] | [INFO] [stdout] ::: crate-wasm/src/target_dependant.rs:31:8 [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] = help: within `impl futures::Future`, the trait `std::marker::Send` is not implemented for `std::sync::MutexGuard<'_, node::Node>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 137 | let dest_locked = mock_work.node(&dest).unwrap().lock().unwrap(); [INFO] [stdout] | ----------- has type `std::sync::MutexGuard<'_, node::Node>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 151 | let (write_res, read_res) = futures::future::join( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 152 | | write_loop(write_stream, src, message), [INFO] [stdout] 153 | | read_loop(read_stream), [INFO] [stdout] 154 | | ) [INFO] [stdout] 155 | | .await; [INFO] [stdout] | |______________________^ await occurs here, with `dest_locked` maybe used later [INFO] [stdout] ... [INFO] [stdout] 183 | } [INFO] [stdout] | - `dest_locked` is later dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async_protocol_stack` [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: future cannot be sent between threads safely [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | crate::target_dependant::spawn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future returned by `peer_channel_or_search_task` is not `Send` [INFO] [stdout] | [INFO] [stdout] ::: crate-wasm/src/target_dependant.rs:31:8 [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] = help: within `impl futures::Future`, the trait `std::marker::Send` is not implemented for `std::sync::RwLockReadGuard<'_, std::option::Option>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 127 | if let Ok(mock_work) = mock_work.read() { [INFO] [stdout] | --------- has type `std::sync::RwLockReadGuard<'_, std::option::Option>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 151 | let (write_res, read_res) = futures::future::join( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 152 | | write_loop(write_stream, src, message), [INFO] [stdout] 153 | | read_loop(read_stream), [INFO] [stdout] 154 | | ) [INFO] [stdout] 155 | | .await; [INFO] [stdout] | |______________________^ await occurs here, with `mock_work` maybe used later [INFO] [stdout] ... [INFO] [stdout] 194 | } [INFO] [stdout] | - `mock_work` is later dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | crate::target_dependant::spawn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future returned by `peer_channel_or_search_task` is not `Send` [INFO] [stdout] | [INFO] [stdout] ::: crate-wasm/src/target_dependant.rs:31:8 [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] = help: within `impl futures::Future`, the trait `std::marker::Send` is not implemented for `std::sync::MutexGuard<'_, node::Node>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> crate-wasm/src/rebounce_test.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 137 | let dest_locked = mock_work.node(&dest).unwrap().lock().unwrap(); [INFO] [stdout] | ----------- has type `std::sync::MutexGuard<'_, node::Node>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 151 | let (write_res, read_res) = futures::future::join( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 152 | | write_loop(write_stream, src, message), [INFO] [stdout] 153 | | read_loop(read_stream), [INFO] [stdout] 154 | | ) [INFO] [stdout] 155 | | .await; [INFO] [stdout] | |______________________^ await occurs here, with `dest_locked` maybe used later [INFO] [stdout] ... [INFO] [stdout] 183 | } [INFO] [stdout] | - `dest_locked` is later dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "92bba0a11b34c794953c4b087c32601e719082b1b66cebfa668102a7866532ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92bba0a11b34c794953c4b087c32601e719082b1b66cebfa668102a7866532ad", kill_on_drop: false }` [INFO] [stdout] 92bba0a11b34c794953c4b087c32601e719082b1b66cebfa668102a7866532ad