[INFO] fetching crate rastdp 0.4.2... [INFO] testing rastdp-0.4.2 against 1.90.0 for beta-1.91-3 [INFO] extracting crate rastdp 0.4.2 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rastdp 0.4.2 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 113 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anstyle v1.0.13 [INFO] [stderr] Downloaded async-lazy v0.1.2 [INFO] [stderr] Downloaded moka v0.12.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1b4812a3e2285a3596b75ef13b48a1f20e53a9726889536ef445073090e0a12 [INFO] running `Command { std: "docker" "start" "-a" "f1b4812a3e2285a3596b75ef13b48a1f20e53a9726889536ef445073090e0a12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1b4812a3e2285a3596b75ef13b48a1f20e53a9726889536ef445073090e0a12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1b4812a3e2285a3596b75ef13b48a1f20e53a9726889536ef445073090e0a12", kill_on_drop: false }` [INFO] [stdout] f1b4812a3e2285a3596b75ef13b48a1f20e53a9726889536ef445073090e0a12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3086565f2c01ad12878b234ca36b7e0af59369aba8b61cfcc1e5d49ce2568b02 [INFO] running `Command { std: "docker" "start" "-a" "3086565f2c01ad12878b234ca36b7e0af59369aba8b61cfcc1e5d49ce2568b02", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling moka v0.12.11 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.64s [INFO] running `Command { std: "docker" "inspect" "3086565f2c01ad12878b234ca36b7e0af59369aba8b61cfcc1e5d49ce2568b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3086565f2c01ad12878b234ca36b7e0af59369aba8b61cfcc1e5d49ce2568b02", kill_on_drop: false }` [INFO] [stdout] 3086565f2c01ad12878b234ca36b7e0af59369aba8b61cfcc1e5d49ce2568b02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 710bdc72c67518ee939a31396cf39a833e10ce1a4ae7f25d7197690ee9719211 [INFO] running `Command { std: "docker" "start" "-a" "710bdc72c67518ee939a31396cf39a833e10ce1a4ae7f25d7197690ee9719211", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling anstyle v1.0.13 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.41s [INFO] running `Command { std: "docker" "inspect" "710bdc72c67518ee939a31396cf39a833e10ce1a4ae7f25d7197690ee9719211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "710bdc72c67518ee939a31396cf39a833e10ce1a4ae7f25d7197690ee9719211", kill_on_drop: false }` [INFO] [stdout] 710bdc72c67518ee939a31396cf39a833e10ce1a4ae7f25d7197690ee9719211 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3afe3eab5bd0a51613b80116bb44dfb9aa7c765ccdb6ad73440be79457b3be7e [INFO] running `Command { std: "docker" "start" "-a" "3afe3eab5bd0a51613b80116bb44dfb9aa7c765ccdb6ad73440be79457b3be7e", 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)]` 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` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `rastdp` (test "default") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rastdp-a50fe9c37df31eb7) [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] [stderr] Running tests/default.rs (/opt/rustwide/target/debug/deps/default-9751b8ff76c1cd6f) [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] [stderr] Doc-tests rastdp [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/1159e78c4747b02ef996e55082b704c09b970588/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.31s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3afe3eab5bd0a51613b80116bb44dfb9aa7c765ccdb6ad73440be79457b3be7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3afe3eab5bd0a51613b80116bb44dfb9aa7c765ccdb6ad73440be79457b3be7e", kill_on_drop: false }` [INFO] [stdout] 3afe3eab5bd0a51613b80116bb44dfb9aa7c765ccdb6ad73440be79457b3be7e