[INFO] fetching crate rastdp 0.4.2... [INFO] testing rastdp-0.4.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rastdp 0.4.2 into /workspace/builds/worker-7-tc2/source [INFO] removed /workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rastdp 0.4.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 699ea0b5e1d4a3fea87053ad9281ac0338ee8aafb2e86d1f10b1dadaa88ea916 [INFO] running `Command { std: "docker" "start" "-a" "699ea0b5e1d4a3fea87053ad9281ac0338ee8aafb2e86d1f10b1dadaa88ea916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "699ea0b5e1d4a3fea87053ad9281ac0338ee8aafb2e86d1f10b1dadaa88ea916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699ea0b5e1d4a3fea87053ad9281ac0338ee8aafb2e86d1f10b1dadaa88ea916", kill_on_drop: false }` [INFO] [stdout] 699ea0b5e1d4a3fea87053ad9281ac0338ee8aafb2e86d1f10b1dadaa88ea916 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11084ee6b645fd1531230bf1913c842625fe7dc5580823ea446b3c3fb593e5cb [INFO] running `Command { std: "docker" "start" "-a" "11084ee6b645fd1531230bf1913c842625fe7dc5580823ea446b3c3fb593e5cb", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.16 [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 uuid v1.18.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [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 tagptr v0.2.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.39s [INFO] running `Command { std: "docker" "inspect" "11084ee6b645fd1531230bf1913c842625fe7dc5580823ea446b3c3fb593e5cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11084ee6b645fd1531230bf1913c842625fe7dc5580823ea446b3c3fb593e5cb", kill_on_drop: false }` [INFO] [stdout] 11084ee6b645fd1531230bf1913c842625fe7dc5580823ea446b3c3fb593e5cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00362b4f1520626b7914403c75c9b503ced72c51d4f21a562c9444a7c70422ec [INFO] running `Command { std: "docker" "start" "-a" "00362b4f1520626b7914403c75c9b503ced72c51d4f21a562c9444a7c70422ec", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.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 aho-corasick v1.1.3 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.15s [INFO] running `Command { std: "docker" "inspect" "00362b4f1520626b7914403c75c9b503ced72c51d4f21a562c9444a7c70422ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00362b4f1520626b7914403c75c9b503ced72c51d4f21a562c9444a7c70422ec", kill_on_drop: false }` [INFO] [stdout] 00362b4f1520626b7914403c75c9b503ced72c51d4f21a562c9444a7c70422ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91704ead564f7869ac8b55a0de0ed61af24e096c7f3dcbd49c7fd2c5250b16f5 [INFO] running `Command { std: "docker" "start" "-a" "91704ead564f7869ac8b55a0de0ed61af24e096c7f3dcbd49c7fd2c5250b16f5", 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` (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.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rastdp-64b69caf8bb7205d) [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-c20b2e5f24eec784) [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] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/marker.rs:94:1 [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] 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.29s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "91704ead564f7869ac8b55a0de0ed61af24e096c7f3dcbd49c7fd2c5250b16f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91704ead564f7869ac8b55a0de0ed61af24e096c7f3dcbd49c7fd2c5250b16f5", kill_on_drop: false }` [INFO] [stdout] 91704ead564f7869ac8b55a0de0ed61af24e096c7f3dcbd49c7fd2c5250b16f5