[INFO] fetching crate broker-tokio 0.2.16... [INFO] testing broker-tokio-0.2.16 against 1.60.0 for beta-1.61-1 [INFO] extracting crate broker-tokio 0.2.16 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate broker-tokio 0.2.16 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate broker-tokio 0.2.16 [INFO] finished tweaking crates.io crate broker-tokio 0.2.16 [INFO] tweaked toml for crates.io crate broker-tokio 0.2.16 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac2960347e008d80b33d876d36eb2e604853d2950e8324c8ebf478873401e856 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ac2960347e008d80b33d876d36eb2e604853d2950e8324c8ebf478873401e856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac2960347e008d80b33d876d36eb2e604853d2950e8324c8ebf478873401e856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac2960347e008d80b33d876d36eb2e604853d2950e8324c8ebf478873401e856", kill_on_drop: false }` [INFO] [stdout] ac2960347e008d80b33d876d36eb2e604853d2950e8324c8ebf478873401e856 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 935a43d5505bacdc9afd801154649ca40021c04fcf79650a30b61d58a9565367 [INFO] running `Command { std: "docker" "start" "-a" "935a43d5505bacdc9afd801154649ca40021c04fcf79650a30b61d58a9565367", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling broker-tokio v0.2.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/loom/std/mod.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) use std::sync::atomic::{spin_loop_hint, AtomicBool}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blocking_pool` [INFO] [stdout] --> src/runtime/mod.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | blocking_pool: BlockingPool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Runtime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/mod.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `spawner` [INFO] [stdout] --> src/runtime/handle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) spawner: Spawner, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `io_handle` [INFO] [stdout] --> src/runtime/handle.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(super) io_handle: io::Handle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time_handle` [INFO] [stdout] --> src/runtime/handle.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) time_handle: time::Handle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `clock` [INFO] [stdout] --> src/runtime/handle.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub(super) clock: time::Clock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blocking_spawner` [INFO] [stdout] --> src/runtime/handle.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) blocking_spawner: blocking::Spawner, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "935a43d5505bacdc9afd801154649ca40021c04fcf79650a30b61d58a9565367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "935a43d5505bacdc9afd801154649ca40021c04fcf79650a30b61d58a9565367", kill_on_drop: false }` [INFO] [stdout] 935a43d5505bacdc9afd801154649ca40021c04fcf79650a30b61d58a9565367 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0c37af43abbae4f1ad1ba872e4ed5475cf0d703ebaef5ee6044ed06ef4297b4b [INFO] running `Command { std: "docker" "start" "-a" "0c37af43abbae4f1ad1ba872e4ed5475cf0d703ebaef5ee6044ed06ef4297b4b", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/loom/std/mod.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) use std::sync::atomic::{spin_loop_hint, AtomicBool}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blocking_pool` [INFO] [stdout] --> src/runtime/mod.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | blocking_pool: BlockingPool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Runtime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/mod.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `spawner` [INFO] [stdout] --> src/runtime/handle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) spawner: Spawner, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `io_handle` [INFO] [stdout] --> src/runtime/handle.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(super) io_handle: io::Handle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time_handle` [INFO] [stdout] --> src/runtime/handle.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) time_handle: time::Handle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `clock` [INFO] [stdout] --> src/runtime/handle.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub(super) clock: time::Clock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blocking_spawner` [INFO] [stdout] --> src/runtime/handle.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) blocking_spawner: blocking::Spawner, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling generator v0.6.25 [INFO] [stderr] Compiling tokio-test v0.2.1 [INFO] [stderr] Compiling proptest v0.9.6 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling loom v0.2.15 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling broker-tokio v0.2.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/loom/std/mod.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) use std::sync::atomic::{spin_loop_hint, AtomicBool}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blocking_pool` [INFO] [stdout] --> src/runtime/mod.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | blocking_pool: BlockingPool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Runtime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/mod.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `spawner` [INFO] [stdout] --> src/runtime/handle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) spawner: Spawner, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `io_handle` [INFO] [stdout] --> src/runtime/handle.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(super) io_handle: io::Handle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time_handle` [INFO] [stdout] --> src/runtime/handle.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) time_handle: time::Handle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `clock` [INFO] [stdout] --> src/runtime/handle.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub(super) clock: time::Clock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blocking_spawner` [INFO] [stdout] --> src/runtime/handle.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) blocking_spawner: blocking::Spawner, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/runtime/handle.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `backoff` [INFO] [stdout] --> src/tests/backoff.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn backoff(n: usize) -> impl Future { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `backoff_clone` [INFO] [stdout] --> src/tests/backoff.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn backoff_clone(n: usize) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `track_drop` [INFO] [stdout] --> src/tests/track_drop.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn track_drop( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ref` [INFO] [stdout] --> src/tests/track_drop.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn get_ref(&self) -> &T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `did_drop_future` [INFO] [stdout] --> src/tests/track_drop.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn did_drop_future(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `did_drop_output` [INFO] [stdout] --> src/tests/track_drop.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn did_drop_output(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 36.74s [INFO] running `Command { std: "docker" "inspect" "0c37af43abbae4f1ad1ba872e4ed5475cf0d703ebaef5ee6044ed06ef4297b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c37af43abbae4f1ad1ba872e4ed5475cf0d703ebaef5ee6044ed06ef4297b4b", kill_on_drop: false }` [INFO] [stdout] 0c37af43abbae4f1ad1ba872e4ed5475cf0d703ebaef5ee6044ed06ef4297b4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 12351b402e369c25c30f61203f7c9ef20b1728d1927919c14fd82943eb22b3d7 [INFO] running `Command { std: "docker" "start" "-a" "12351b402e369c25c30f61203f7c9ef20b1728d1927919c14fd82943eb22b3d7", kill_on_drop: false }` [INFO] [stderr] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stderr] --> src/lib.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stderr] --> src/loom/std/mod.rs:49:44 [INFO] [stderr] | [INFO] [stderr] 49 | pub(crate) use std::sync::atomic::{spin_loop_hint, AtomicBool}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `blocking_pool` [INFO] [stderr] --> src/runtime/mod.rs:277:5 [INFO] [stderr] | [INFO] [stderr] 277 | blocking_pool: BlockingPool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Runtime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/runtime/mod.rs:268:10 [INFO] [stderr] | [INFO] [stderr] 268 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `spawner` [INFO] [stderr] --> src/runtime/handle.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub(super) spawner: Spawner, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/runtime/handle.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `io_handle` [INFO] [stderr] --> src/runtime/handle.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub(super) io_handle: io::Handle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/runtime/handle.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `time_handle` [INFO] [stderr] --> src/runtime/handle.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub(super) time_handle: time::Handle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/runtime/handle.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `clock` [INFO] [stderr] --> src/runtime/handle.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub(super) clock: time::Clock, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/runtime/handle.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `blocking_spawner` [INFO] [stderr] --> src/runtime/handle.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub(super) blocking_spawner: blocking::Spawner, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/runtime/handle.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `broker-tokio` (lib) generated 8 warnings [INFO] [stderr] warning: function is never used: `backoff` [INFO] [stderr] --> src/tests/backoff.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) fn backoff(n: usize) -> impl Future { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `backoff_clone` [INFO] [stderr] --> src/tests/backoff.rs:12:15 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) fn backoff_clone(n: usize) -> impl Future { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `track_drop` [INFO] [stderr] --> src/tests/track_drop.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | pub(crate) fn track_drop( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_ref` [INFO] [stderr] --> src/tests/track_drop.rs:29:19 [INFO] [stderr] | [INFO] [stderr] 29 | pub(crate) fn get_ref(&self) -> &T { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `did_drop_future` [INFO] [stderr] --> src/tests/track_drop.rs:50:19 [INFO] [stderr] | [INFO] [stderr] 50 | pub(crate) fn did_drop_future(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `did_drop_output` [INFO] [stderr] --> src/tests/track_drop.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | pub(crate) fn did_drop_output(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `broker-tokio` (lib test) generated 14 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/broker_tokio-fc919bc1cc729cc4) [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 broker-tokio [INFO] [stderr] warning: lint `intra_doc_link_resolution_failure` has been renamed to `rustdoc::broken_intra_doc_links` [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/prelude.rs - prelude (line 9) ... FAILED [INFO] [stdout] test src/runtime/builder.rs - runtime::builder::Builder::core_threads (line 161) ... FAILED [INFO] [stdout] test src/runtime/builder.rs - runtime::builder::Builder::on_thread_stop (line 272) ... FAILED [INFO] [stdout] test src/runtime/builder.rs - runtime::builder::Builder::build (line 298) ... FAILED [INFO] [stdout] test src/runtime/builder.rs - runtime::builder::Builder::on_thread_start (line 246) ... FAILED [INFO] [stdout] test src/runtime/mod.rs - runtime (line 120) ... FAILED [INFO] [stdout] test src/runtime/builder.rs - runtime::builder::Builder::thread_stack_size (line 225) ... FAILED [INFO] [stdout] test src/runtime/builder.rs - runtime::builder::Builder::thread_name (line 201) ... FAILED [INFO] [stdout] test src/runtime/builder.rs - runtime::builder::Builder::enable_all (line 121) ... FAILED [INFO] [stdout] test src/runtime/mod.rs - runtime (line 140) ... FAILED [INFO] [stdout] test src/io/mod.rs - io (line 98) - compile ... FAILED [INFO] [stdout] test src/io/mod.rs - io (line 77) - compile ... FAILED [INFO] [stdout] test src/runtime/handle.rs - runtime::handle::Handle::current (line 47) ... FAILED [INFO] [stdout] test src/runtime/builder.rs - runtime::builder::Builder (line 24) ... FAILED [INFO] [stdout] test src/io/mod.rs - io (line 40) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 248) - compile ... FAILED [INFO] [stdout] test src/runtime/mod.rs - runtime (line 22) - compile ... FAILED [INFO] [stdout] test src/runtime/mod.rs - runtime::Runtime::new (line 321) ... FAILED [INFO] [stdout] test src/runtime/mod.rs - runtime (line 65) - compile ... FAILED [INFO] [stdout] test src/runtime/mod.rs - runtime::Runtime::handle (line 431) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/prelude.rs - prelude (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/prelude.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/builder.rs - runtime::builder::Builder::core_threads (line 161) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/runtime/builder.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::runtime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/builder.rs - runtime::builder::Builder::on_thread_stop (line 272) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/runtime/builder.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::runtime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/builder.rs - runtime::builder::Builder::build (line 298) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/runtime/builder.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::runtime::Builder; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Builder` [INFO] [stdout] --> src/runtime/builder.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 6 | let mut rt = Builder::new().build().unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use broker_tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 | use loom::model::Builder; [INFO] [stdout] | [INFO] [stdout] 3 | use loom::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/builder.rs - runtime::builder::Builder::on_thread_start (line 246) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/runtime/builder.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::runtime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/mod.rs - runtime (line 120) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/runtime/mod.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::runtime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/builder.rs - runtime::builder::Builder::thread_stack_size (line 225) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/runtime/builder.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::runtime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/builder.rs - runtime::builder::Builder::thread_name (line 201) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/runtime/builder.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::runtime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/builder.rs - runtime::builder::Builder::enable_all (line 121) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/runtime/builder.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::runtime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/mod.rs - runtime (line 140) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/runtime/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::runtime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/mod.rs - io (line 98) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/io/mod.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{self, BufWriter, AsyncWriteExt}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/io/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::fs::File; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/io/mod.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{self, BufWriter, AsyncWriteExt}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/io/mod.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/io/mod.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 8 | let f = File::create("foo.txt").await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufWriter` [INFO] [stdout] --> src/io/mod.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 10 | let mut writer = BufWriter::new(f); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures::io::BufWriter; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::BufWriter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/io/mod.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/mod.rs - io (line 77) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/io/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{self, BufReader, AsyncBufReadExt}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/io/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::fs::File; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/io/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{self, BufReader, AsyncBufReadExt}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/io/mod.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/io/mod.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 8 | let f = File::open("foo.txt").await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader` [INFO] [stdout] --> src/io/mod.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut reader = BufReader::new(f); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures::io::BufReader; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/io/mod.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/handle.rs - runtime::handle::Handle::current (line 47) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/runtime/handle.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/runtime/handle.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::runtime::Handle; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/runtime/handle.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 7 | let rt = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use broker_tokio::runtime::Runtime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Handle` [INFO] [stdout] --> src/runtime/handle.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 11 | let handle = Handle::current(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use broker_tokio::runtime::Handle; [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_test::io::Handle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/builder.rs - runtime::builder::Builder (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/runtime/builder.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::runtime::Builder; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Builder` [INFO] [stdout] --> src/runtime/builder.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 7 | let runtime = Builder::new() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use broker_tokio::runtime::Builder; [INFO] [stdout] | [INFO] [stdout] 3 | use loom::model::Builder; [INFO] [stdout] | [INFO] [stdout] 3 | use loom::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/mod.rs - io (line 40) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/io/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{self, AsyncReadExt}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/io/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::fs::File; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/io/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{self, AsyncReadExt}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/io/mod.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/io/mod.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut f = File::open("foo.txt").await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/io/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 248) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/lib.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/lib.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::TcpListener` [INFO] [stdout] --> src/lib.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/lib.rs:252:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/lib.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 13 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener` [INFO] [stdout] --> src/lib.rs:254:24 [INFO] [stdout] | [INFO] [stdout] 8 | let mut listener = TcpListener::bind("127.0.0.1:8080").await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/mod.rs - runtime (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/runtime/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/runtime/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::TcpListener` [INFO] [stdout] --> src/runtime/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/runtime/mod.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/runtime/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 13 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener` [INFO] [stdout] --> src/runtime/mod.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 8 | let mut listener = TcpListener::bind("127.0.0.1:8080").await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/runtime/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/mod.rs - runtime::Runtime::new (line 321) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/runtime/mod.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/runtime/mod.rs:324:10 [INFO] [stdout] | [INFO] [stdout] 6 | let rt = Runtime::new() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use broker_tokio::runtime::Runtime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/mod.rs - runtime (line 65) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/runtime/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/runtime/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/runtime/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::net::TcpListener`, `tokio::runtime::Runtime` [INFO] [stdout] --> src/runtime/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use tokio::prelude::*; [INFO] [stdout] 5 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/runtime/mod.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 18 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/runtime/mod.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 9 | let mut rt = Runtime::new()?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use broker_tokio::runtime::Runtime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener` [INFO] [stdout] --> src/runtime/mod.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 13 | let mut listener = TcpListener::bind("127.0.0.1:8080").await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/runtime/mod.rs - runtime::Runtime::handle (line 431) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/runtime/mod.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/runtime/mod.rs:434:10 [INFO] [stdout] | [INFO] [stdout] 6 | let rt = Runtime::new() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use broker_tokio::runtime::Runtime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/io/mod.rs - io (line 40) [INFO] [stdout] src/io/mod.rs - io (line 77) [INFO] [stdout] src/io/mod.rs - io (line 98) [INFO] [stdout] src/lib.rs - (line 248) [INFO] [stdout] src/prelude.rs - prelude (line 9) [INFO] [stdout] src/runtime/builder.rs - runtime::builder::Builder (line 24) [INFO] [stdout] src/runtime/builder.rs - runtime::builder::Builder::build (line 298) [INFO] [stdout] src/runtime/builder.rs - runtime::builder::Builder::core_threads (line 161) [INFO] [stdout] src/runtime/builder.rs - runtime::builder::Builder::enable_all (line 121) [INFO] [stdout] src/runtime/builder.rs - runtime::builder::Builder::on_thread_start (line 246) [INFO] [stdout] src/runtime/builder.rs - runtime::builder::Builder::on_thread_stop (line 272) [INFO] [stdout] src/runtime/builder.rs - runtime::builder::Builder::thread_name (line 201) [INFO] [stdout] src/runtime/builder.rs - runtime::builder::Builder::thread_stack_size (line 225) [INFO] [stdout] src/runtime/handle.rs - runtime::handle::Handle::current (line 47) [INFO] [stdout] src/runtime/mod.rs - runtime (line 120) [INFO] [stdout] src/runtime/mod.rs - runtime (line 140) [INFO] [stdout] src/runtime/mod.rs - runtime (line 22) [INFO] [stdout] src/runtime/mod.rs - runtime (line 65) [INFO] [stdout] src/runtime/mod.rs - runtime::Runtime::handle (line 431) [INFO] [stdout] src/runtime/mod.rs - runtime::Runtime::new (line 321) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.23s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "12351b402e369c25c30f61203f7c9ef20b1728d1927919c14fd82943eb22b3d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12351b402e369c25c30f61203f7c9ef20b1728d1927919c14fd82943eb22b3d7", kill_on_drop: false }` [INFO] [stdout] 12351b402e369c25c30f61203f7c9ef20b1728d1927919c14fd82943eb22b3d7