[INFO] fetching crate rastdp 0.4.2... [INFO] testing rastdp-0.4.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [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 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 107 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.6 (available: v0.10.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded portable-atomic-util v0.2.7 [INFO] [stderr] Downloaded async-lazy v0.1.2 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8d1f560e30d4cbffcbbc4ab9a8aad39f2417792eedd9200c60e68e5cb86aac0 [INFO] running `Command { std: "docker" "start" "-a" "c8d1f560e30d4cbffcbbc4ab9a8aad39f2417792eedd9200c60e68e5cb86aac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8d1f560e30d4cbffcbbc4ab9a8aad39f2417792eedd9200c60e68e5cb86aac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8d1f560e30d4cbffcbbc4ab9a8aad39f2417792eedd9200c60e68e5cb86aac0", kill_on_drop: false }` [INFO] [stdout] c8d1f560e30d4cbffcbbc4ab9a8aad39f2417792eedd9200c60e68e5cb86aac0 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3646ac074c05565e439969f36235fbf34558790c1b3636417bcae28d4fd535f3 [INFO] running `Command { std: "docker" "start" "-a" "3646ac074c05565e439969f36235fbf34558790c1b3636417bcae28d4fd535f3", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling tagptr v0.2.0 [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 tokio-macros v2.7.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling moka v0.12.15 [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 10.33s [INFO] running `Command { std: "docker" "inspect" "3646ac074c05565e439969f36235fbf34558790c1b3636417bcae28d4fd535f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3646ac074c05565e439969f36235fbf34558790c1b3636417bcae28d4fd535f3", kill_on_drop: false }` [INFO] [stdout] 3646ac074c05565e439969f36235fbf34558790c1b3636417bcae28d4fd535f3 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87d1c40166e51d857bd706b88e86df281ad004b6e20754c43dbd49522f309f9b [INFO] running `Command { std: "docker" "start" "-a" "87d1c40166e51d857bd706b88e86df281ad004b6e20754c43dbd49522f309f9b", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling jiff v0.2.23 [INFO] [stderr] Compiling async-lazy v0.1.2 [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] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling env_filter v1.0.1 [INFO] [stderr] Compiling env_logger v0.11.10 [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 7.27s [INFO] running `Command { std: "docker" "inspect" "87d1c40166e51d857bd706b88e86df281ad004b6e20754c43dbd49522f309f9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d1c40166e51d857bd706b88e86df281ad004b6e20754c43dbd49522f309f9b", kill_on_drop: false }` [INFO] [stdout] 87d1c40166e51d857bd706b88e86df281ad004b6e20754c43dbd49522f309f9b [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 97d1218e662438abbe096989676423e7821d0383f3a7bf598c6da5263ca9afd9 [INFO] running `Command { std: "docker" "start" "-a" "97d1218e662438abbe096989676423e7821d0383f3a7bf598c6da5263ca9afd9", 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.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rastdp-6cf05aa63ae073c4) [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-d45ac2463f91bfe9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests rastdp [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[E0425]: 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[E0425]: 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 std::sync::oneshot::Receiver; [INFO] [stdout] | [INFO] [stdout] = and 7 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Receiver` in this scope [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 std::sync::oneshot::Receiver; [INFO] [stdout] | [INFO] [stdout] = and 7 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [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]: cannot find module or crate `io` in this scope [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: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - sender (line 40) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/lib.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | 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] 41 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/lib.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | static SENDER: async_lazy::Lazy> = async_lazy::Lazy::const_new(|| Box::pin(async { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/marker.rs:92:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Send` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 41 - static SENDER: async_lazy::Lazy> = async_lazy::Lazy::const_new(|| Box::pin(async { [INFO] [stdout] 41 + 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] 41 + use std::sync::mpmc::Sender; [INFO] [stdout] | [INFO] [stdout] 41 + use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] 41 + use std::sync::oneshot::Sender; [INFO] [stdout] | [INFO] [stdout] 41 + use rastdp::sender::Sender; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/lib.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | 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] 42 - let sender = Sender::new("127.0.0.1:8080".to_string()).await.unwrap(); [INFO] [stdout] 42 + 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] 41 + use std::sync::mpmc::Sender; [INFO] [stdout] | [INFO] [stdout] 41 + use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] 41 + use std::sync::oneshot::Sender; [INFO] [stdout] | [INFO] [stdout] 41 + use rastdp::sender::Sender; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | Arc::new(sender) [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 41 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `io` in this scope [INFO] [stdout] --> src/lib.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | 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] 47 - async fn main() -> io::Result<()> { [INFO] [stdout] 47 + async fn main() -> i8::Result<()> { [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 41 + use std::io; [INFO] [stdout] | [INFO] [stdout] 41 + 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] 41 | 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: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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.16s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "97d1218e662438abbe096989676423e7821d0383f3a7bf598c6da5263ca9afd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97d1218e662438abbe096989676423e7821d0383f3a7bf598c6da5263ca9afd9", kill_on_drop: false }` [INFO] [stdout] 97d1218e662438abbe096989676423e7821d0383f3a7bf598c6da5263ca9afd9