[INFO] fetching crate rastdp 0.4.2... [INFO] testing rastdp-0.4.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rastdp 0.4.2 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate rastdp 0.4.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rastdp 0.4.2 [INFO] tweaked toml for crates.io crate rastdp 0.4.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rastdp 0.4.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 138 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-lazy v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4165309f67960687745ec01611afbe8482376e2009bf772cb3af4f75ddcc36b [INFO] running `Command { std: "docker" "start" "-a" "b4165309f67960687745ec01611afbe8482376e2009bf772cb3af4f75ddcc36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4165309f67960687745ec01611afbe8482376e2009bf772cb3af4f75ddcc36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4165309f67960687745ec01611afbe8482376e2009bf772cb3af4f75ddcc36b", kill_on_drop: false }` [INFO] [stdout] b4165309f67960687745ec01611afbe8482376e2009bf772cb3af4f75ddcc36b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13cdddc018e4701562e13ef42f990cc2fb7236395f3cf6c3ea5071561fd896f7 [INFO] running `Command { std: "docker" "start" "-a" "13cdddc018e4701562e13ef42f990cc2fb7236395f3cf6c3ea5071561fd896f7", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling moka v0.12.10 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rastdp v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `message_status` and `compressed` are never read [INFO] [stdout] --> src/receiver/helpers.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct IncomingPacketInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub(crate) message_status: MessageStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub(crate) compressed: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.33s [INFO] running `Command { std: "docker" "inspect" "13cdddc018e4701562e13ef42f990cc2fb7236395f3cf6c3ea5071561fd896f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13cdddc018e4701562e13ef42f990cc2fb7236395f3cf6c3ea5071561fd896f7", kill_on_drop: false }` [INFO] [stdout] 13cdddc018e4701562e13ef42f990cc2fb7236395f3cf6c3ea5071561fd896f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32e13978ee9ca14ad1802bbd51c7ca21107f135a16dbfbef0ff9f7154394b899 [INFO] running `Command { std: "docker" "start" "-a" "32e13978ee9ca14ad1802bbd51c7ca21107f135a16dbfbef0ff9f7154394b899", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling async-lazy v0.1.2 [INFO] [stderr] Compiling rastdp v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stdout] warning: fields `message_status` and `compressed` are never read [INFO] [stdout] --> src/receiver/helpers.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct IncomingPacketInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub(crate) message_status: MessageStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub(crate) compressed: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stdout] warning: use of deprecated associated function `async_lazy::Lazy::::const_new`: use `new` instead [INFO] [stdout] --> tests/default.rs:6:70 [INFO] [stdout] | [INFO] [stdout] 6 | static RECEIVER: async_lazy::Lazy> = async_lazy::Lazy::const_new(|| Box::pin(async { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `async_lazy::Lazy::::const_new`: use `new` instead [INFO] [stdout] --> tests/default.rs:11:66 [INFO] [stdout] | [INFO] [stdout] 11 | static SENDER: async_lazy::Lazy> = async_lazy::Lazy::const_new(|| Box::pin(async { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_status` and `compressed` are never read [INFO] [stdout] --> src/receiver/helpers.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct IncomingPacketInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub(crate) message_status: MessageStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub(crate) compressed: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.16s [INFO] running `Command { std: "docker" "inspect" "32e13978ee9ca14ad1802bbd51c7ca21107f135a16dbfbef0ff9f7154394b899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32e13978ee9ca14ad1802bbd51c7ca21107f135a16dbfbef0ff9f7154394b899", kill_on_drop: false }` [INFO] [stdout] 32e13978ee9ca14ad1802bbd51c7ca21107f135a16dbfbef0ff9f7154394b899 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a5a52ad6466a77ebce9aa721036ded0f040afbc06f1a7cae083c129d4f67c065 [INFO] running `Command { std: "docker" "start" "-a" "a5a52ad6466a77ebce9aa721036ded0f040afbc06f1a7cae083c129d4f67c065", kill_on_drop: false }` [INFO] [stderr] warning: fields `message_status` and `compressed` are never read [INFO] [stderr] --> src/receiver/helpers.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) struct IncomingPacketInfo { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | pub(crate) message_status: MessageStatus, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 10 | pub(crate) compressed: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rastdp` (lib) generated 1 warning [INFO] [stderr] warning: use of deprecated associated function `async_lazy::Lazy::::const_new`: use `new` instead [INFO] [stderr] --> tests/default.rs:6:70 [INFO] [stderr] | [INFO] [stderr] 6 | static RECEIVER: async_lazy::Lazy> = async_lazy::Lazy::const_new(|| Box::pin(async { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `async_lazy::Lazy::::const_new`: use `new` instead [INFO] [stderr] --> tests/default.rs:11:66 [INFO] [stderr] | [INFO] [stderr] 11 | static SENDER: async_lazy::Lazy> = async_lazy::Lazy::const_new(|| Box::pin(async { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rastdp` (test "default") generated 2 warnings [INFO] [stderr] warning: `rastdp` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rastdp-09ff363ed5bd4a77) [INFO] [stderr] Running tests/default.rs (/opt/rustwide/target/debug/deps/default-05618d4340c954d5) [INFO] [stderr] Doc-tests rastdp [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - receiver (line 1) ... FAILED [INFO] [stdout] test src/lib.rs - sender (line 40) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - receiver (line 1) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/lib.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | static RECEIVER: async_lazy::Lazy> = async_lazy::Lazy::const_new(|| Box::pin(async { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/lib.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | static RECEIVER: async_lazy::Lazy> = async_lazy::Lazy::const_new(|| Box::pin(async { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpmc::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use core::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Receiver` [INFO] [stdout] --> src/lib.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | let receiver = Receiver::new("127.0.0.1:8080").await.unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Receiver` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpmc::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use core::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Arc::new(receiver) [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io` [INFO] [stdout] --> src/lib.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - async fn main() -> io::Result<()> { [INFO] [stdout] 8 + async fn main() -> i8::Result<()> { [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use std::io; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::io; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `async_lazy::Lazy::::const_new`: use `new` instead [INFO] [stdout] --> src/lib.rs:2:70 [INFO] [stdout] | [INFO] [stdout] 2 | static RECEIVER: async_lazy::Lazy> = async_lazy::Lazy::const_new(|| Box::pin(async { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - sender (line 40) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/lib.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 2 | static SENDER: async_lazy::Lazy> = async_lazy::Lazy::const_new(|| Box::pin(async { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/lib.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 2 | static SENDER: async_lazy::Lazy> = async_lazy::Lazy::const_new(|| Box::pin(async { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/marker.rs:94:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Send` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2 - static SENDER: async_lazy::Lazy> = async_lazy::Lazy::const_new(|| Box::pin(async { [INFO] [stdout] 2 + static SENDER: async_lazy::Lazy> = async_lazy::Lazy::const_new(|| Box::pin(async { [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpmc::Sender; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] 2 + use rastdp::sender::Sender; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::net::unix::pipe::Sender; [INFO] [stdout] | [INFO] [stdout] = and 4 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sender` [INFO] [stdout] --> src/lib.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 3 | let sender = Sender::new("127.0.0.1:8080".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Sender` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let sender = Sender::new("127.0.0.1:8080".to_string()).await.unwrap(); [INFO] [stdout] 3 + let sender = Send::new("127.0.0.1:8080".to_string()).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpmc::Sender; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] 2 + use rastdp::sender::Sender; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::net::unix::pipe::Sender; [INFO] [stdout] | [INFO] [stdout] = and 4 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 4 | Arc::new(sender) [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io` [INFO] [stdout] --> src/lib.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - async fn main() -> io::Result<()> { [INFO] [stdout] 8 + async fn main() -> i8::Result<()> { [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use std::io; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::io; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `async_lazy::Lazy::::const_new`: use `new` instead [INFO] [stdout] --> src/lib.rs:41:66 [INFO] [stdout] | [INFO] [stdout] 2 | static SENDER: async_lazy::Lazy> = async_lazy::Lazy::const_new(|| Box::pin(async { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - receiver (line 1) [INFO] [stdout] src/lib.rs - sender (line 40) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a5a52ad6466a77ebce9aa721036ded0f040afbc06f1a7cae083c129d4f67c065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5a52ad6466a77ebce9aa721036ded0f040afbc06f1a7cae083c129d4f67c065", kill_on_drop: false }` [INFO] [stdout] a5a52ad6466a77ebce9aa721036ded0f040afbc06f1a7cae083c129d4f67c065