[INFO] cloning repository https://github.com/precision-software/nanocast-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/precision-software/nanocast-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprecision-software%2Fnanocast-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprecision-software%2Fnanocast-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 609a99e9360ff89fb48888aa494cf76b47d816e7 [INFO] checking precision-software/nanocast-rust against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprecision-software%2Fnanocast-rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/precision-software/nanocast-rust on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/precision-software/nanocast-rust [INFO] finished tweaking git repo https://github.com/precision-software/nanocast-rust [INFO] tweaked toml for git repo https://github.com/precision-software/nanocast-rust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/precision-software/nanocast-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", 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] af369d487d5593b5e57903a2e6c4a854a737614cb7f54ccddff389b37254c463 [INFO] running `Command { std: "docker" "start" "-a" "af369d487d5593b5e57903a2e6c4a854a737614cb7f54ccddff389b37254c463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af369d487d5593b5e57903a2e6c4a854a737614cb7f54ccddff389b37254c463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af369d487d5593b5e57903a2e6c4a854a737614cb7f54ccddff389b37254c463", kill_on_drop: false }` [INFO] [stdout] af369d487d5593b5e57903a2e6c4a854a737614cb7f54ccddff389b37254c463 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--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] 33409dbeab8bb642953b10480bd7ca847317d67ed2ed473ba4244722315510cb [INFO] running `Command { std: "docker" "start" "-a" "33409dbeab8bb642953b10480bd7ca847317d67ed2ed473ba4244722315510cb", kill_on_drop: false }` [INFO] [stderr] Checking nanocast-rust1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `mount_table` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod mount_table; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `mount_table`, create file "src/mount_table.rs" or "src/mount_table/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0761]: file for module `test` found at both "src/broadcaster/test.rs" and "src/broadcaster/test/mod.rs" [INFO] [stdout] --> src/broadcaster/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: delete or rename one of them to remove the ambiguity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `mount_table` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod mount_table; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `mount_table`, create file "src/mount_table.rs" or "src/mount_table/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0761]: file for module `test` found at both "src/broadcaster/test.rs" and "src/broadcaster/test/mod.rs" [INFO] [stdout] --> src/broadcaster/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: delete or rename one of them to remove the ambiguity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `broadcaster` is defined multiple times [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod broadcaster; [INFO] [stdout] | ---------------- previous definition of the module `broadcaster` here [INFO] [stdout] ... [INFO] [stdout] 12 | mod broadcaster; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `broadcaster` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `broadcaster` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `broadcaster` is defined multiple times [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod broadcaster; [INFO] [stdout] | ---------------- previous definition of the module `broadcaster` here [INFO] [stdout] ... [INFO] [stdout] 15 | mod broadcaster; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `broadcaster` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `broadcaster` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::broadcaster::BroadcasterInner` [INFO] [stdout] --> src/ntrip.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | use crate::broadcaster::BroadcasterInner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Broadcaster` [INFO] [stdout] | no `BroadcasterInner` in `broadcaster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/broadcaster/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::task::{Waker, noop_waker, Context, Poll}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mount_table::MountTable` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use mount_table::MountTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `MountTable` in `mount_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/broadcaster/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::Future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/Broadcaster.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::io::Error; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/Broadcaster.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use log::debug; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> src/Broadcaster.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/Broadcaster.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::io::{AsyncReadExt, AsyncWriteExt, ReadBuf}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/Broadcaster.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::prelude::{AsyncBufRead, AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/Broadcaster.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | use futures::task::noop_waker_ref; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/Broadcaster.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::io; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use log::debug; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/http.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use log::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `runtime` [INFO] [stdout] --> src/ntrip.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use runtime::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `log`, `runtime::net::TcpListener`, `runtime::net::TcpStream` [INFO] [stdout] --> src/ntrip.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] 5 | use runtime::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> src/ntrip.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/ntrip.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio as runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/ntrip.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/ntrip.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::stream::Stream; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio`, `tokio::prelude::*`, `tokio::stream::Stream` [INFO] [stdout] --> src/ntrip.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::io; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] 9 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use tokio::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/ntrip.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | use futures::Future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> src/http.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::prelude::{AsyncRead, AsyncWrite, io}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::prelude::io::AsyncReadExt; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::time::Duration; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio`, `tokio::net::TcpListener`, `tokio::net::TcpStream`, `tokio::prelude::AsyncRead`, `tokio::prelude::AsyncWrite`, `tokio::prelude::io`, `tokio::prelude::io::AsyncReadExt`, `tokio::time::Duration` [INFO] [stdout] --> src/http.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio as runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `tokio` [INFO] [stdout] 11 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 12 | use tokio::prelude::{AsyncRead, AsyncWrite, io}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^ [INFO] [stdout] 13 | use tokio::prelude::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use tokio::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::macros::support::{Future, Pin}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/http.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | use futures::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | use tokio::io::ReadBuf; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | use tokio::macros::support::Pin; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | use tokio::prelude::AsyncWrite; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio_io_timeout`, `tokio::macros::support::Future`, `tokio::macros::support::Pin`, `futures::task::Context`, `futures::task::Poll`, `tokio::io::ReadBuf`, `tokio::macros::support::Pin`, `tokio::prelude::AsyncWrite`, `crate::http::read_request`, `crate::http::Request` [INFO] [stdout] --> src/http.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio_io_timeout::TimeoutStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `tokio_io_timeout` [INFO] [stdout] ... [INFO] [stdout] 21 | use tokio::macros::support::{Future, Pin}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | use futures::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] 263 | use tokio::io::ReadBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 264 | use tokio::macros::support::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 265 | use tokio::prelude::AsyncWrite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 266 | [INFO] [stdout] 267 | use crate::http::{read_request, Request}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/main.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | log::debug!("Starting - trial debug message\n"); [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | log::error!("Starting - trial error message\n"); [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Error` [INFO] [stdout] --> src/ntrip.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug,Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `broadcaster` is defined multiple times [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod broadcaster; [INFO] [stdout] | ---------------- previous definition of the module `broadcaster` here [INFO] [stdout] ... [INFO] [stdout] 12 | mod broadcaster; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `broadcaster` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `broadcaster` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `broadcaster` is defined multiple times [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod broadcaster; [INFO] [stdout] | ---------------- previous definition of the module `broadcaster` here [INFO] [stdout] ... [INFO] [stdout] 15 | mod broadcaster; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `broadcaster` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `broadcaster` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/ntrip.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[error("Http version '{0}' is not recognized, only HTTP/1.1")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/ntrip.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | #[error("NTRIP listener unable to accept connection")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/ntrip.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | IoError{#[from]source:io::Error}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Error` [INFO] [stdout] --> src/ntrip.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Debug,Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/ntrip.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | #[error("I/O error while starting NTRIP connection.")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/ntrip.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | IoError{#[from]source: io::Error}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/ntrip.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | #[error("Mount Table error while starting NTRIP connection.")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/ntrip.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | MountTableError{#[from]source: mount_table::Error}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/http.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | error!("NanoServer: Problem listening on addr:{} - {}", addr, e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/http.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | Err(e) => error!("NanoServer unable to read http header {}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Error` [INFO] [stdout] --> src/http.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | #[derive(Debug,Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/http.rs:246:7 [INFO] [stdout] | [INFO] [stdout] 246 | #[error("Invalid NTRIP request: {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/http.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | #[error("Invalid NTRIP header: {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/http.rs:250:7 [INFO] [stdout] | [INFO] [stdout] 250 | #[error("Duplicate http header line {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/http.rs:252:7 [INFO] [stdout] | [INFO] [stdout] 252 | #[error("Bad utf8 character in http header")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::broadcaster::BroadcasterInner` [INFO] [stdout] --> src/ntrip.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | use crate::broadcaster::BroadcasterInner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Broadcaster` [INFO] [stdout] | no `BroadcasterInner` in `broadcaster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/broadcaster/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::task::{Waker, noop_waker, Context, Poll}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/http.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | StrError(#[from]std::str::Utf8Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/http.rs:254:7 [INFO] [stdout] | [INFO] [stdout] 254 | #[error("Problem reading http header")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mount_table::MountTable` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use mount_table::MountTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `MountTable` in `mount_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/http.rs:255:15 [INFO] [stdout] | [INFO] [stdout] 255 | IoError(#[from]io::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/broadcaster/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::Future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MountTable` [INFO] [stdout] --> src/ntrip.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | static MOUNT_TABLE:MountTable = MountTable::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MountTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/Broadcaster.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::io::Error; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MountTable` [INFO] [stdout] --> src/ntrip.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let mt = MountTable::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MountTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/Broadcaster.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use log::debug; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/broadcaster/mod.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | Poll::Pending [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> src/Broadcaster.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/http.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | IoError(#[from]io::Error), [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/Broadcaster.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::io::{AsyncReadExt, AsyncWriteExt, ReadBuf}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/Broadcaster.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::prelude::{AsyncBufRead, AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/http.rs:279:23 [INFO] [stdout] | [INFO] [stdout] 279 | let request = aw!{read_request(&mut stream)}.unwrap(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/Broadcaster.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::io; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use log::debug; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/http.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use log::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/http.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | let r = aw!{read_request(&mut stream)}; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `runtime` [INFO] [stdout] --> src/ntrip.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use runtime::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `log`, `runtime::net::TcpListener`, `runtime::net::TcpStream` [INFO] [stdout] --> src/ntrip.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] 5 | use runtime::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> src/ntrip.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/ntrip.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio as runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/ntrip.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/ntrip.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::stream::Stream; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio`, `tokio::prelude::*`, `tokio::stream::Stream` [INFO] [stdout] --> src/ntrip.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::io; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] 9 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use tokio::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/ntrip.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | use futures::Future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> src/http.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::prelude::{AsyncRead, AsyncWrite, io}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::prelude::io::AsyncReadExt; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::time::Duration; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio`, `tokio::net::TcpListener`, `tokio::net::TcpStream`, `tokio::prelude::AsyncRead`, `tokio::prelude::AsyncWrite`, `tokio::prelude::io`, `tokio::prelude::io::AsyncReadExt`, `tokio::time::Duration` [INFO] [stdout] --> src/http.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio as runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `tokio` [INFO] [stdout] 11 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 12 | use tokio::prelude::{AsyncRead, AsyncWrite, io}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^ [INFO] [stdout] 13 | use tokio::prelude::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use tokio::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::macros::support::{Future, Pin}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/http.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | use futures::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | use tokio::io::ReadBuf; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | use tokio::macros::support::Pin; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/http.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | use tokio::prelude::AsyncWrite; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio_io_timeout`, `tokio::macros::support::Future`, `tokio::macros::support::Pin`, `futures::task::Context`, `futures::task::Poll`, `tokio::io::ReadBuf`, `tokio::macros::support::Pin`, `tokio::prelude::AsyncWrite`, `crate::http::read_request`, `crate::http::Request` [INFO] [stdout] --> src/http.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio_io_timeout::TimeoutStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `tokio_io_timeout` [INFO] [stdout] ... [INFO] [stdout] 21 | use tokio::macros::support::{Future, Pin}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | use futures::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] 263 | use tokio::io::ReadBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 264 | use tokio::macros::support::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 265 | use tokio::prelude::AsyncWrite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 266 | [INFO] [stdout] 267 | use crate::http::{read_request, Request}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/main.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | log::debug!("Starting - trial debug message\n"); [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | log::error!("Starting - trial error message\n"); [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Error` [INFO] [stdout] --> src/ntrip.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug,Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/http.rs:300:23 [INFO] [stdout] | [INFO] [stdout] 300 | let request = aw!{read_request(&mut stream)}.unwrap(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/http.rs:342:97 [INFO] [stdout] | [INFO] [stdout] 342 | fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>) -> Poll> { [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/http.rs:359:40 [INFO] [stdout] | [INFO] [stdout] 359 | Err(io::Error::new(io::ErrorKind::Other, "TestStream generated error")) [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/http.rs:374:87 [INFO] [stdout] | [INFO] [stdout] 374 | fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8]) -> Poll> { [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/ntrip.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[error("Http version '{0}' is not recognized, only HTTP/1.1")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/ntrip.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | #[error("NTRIP listener unable to accept connection")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/http.rs:380:75 [INFO] [stdout] | [INFO] [stdout] 380 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/ntrip.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | IoError{#[from]source:io::Error}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Error` [INFO] [stdout] --> src/ntrip.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Debug,Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/ntrip.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | #[error("I/O error while starting NTRIP connection.")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/http.rs:384:78 [INFO] [stdout] | [INFO] [stdout] 384 | fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/ntrip.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | IoError{#[from]source: io::Error}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/ntrip.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | #[error("Mount Table error while starting NTRIP connection.")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/ntrip.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | MountTableError{#[from]source: mount_table::Error}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/http.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | error!("NanoServer: Problem listening on addr:{} - {}", addr, e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/http.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | Err(e) => error!("NanoServer unable to read http header {}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Error` [INFO] [stdout] --> src/http.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | #[derive(Debug,Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/Broadcaster.rs:355:22 [INFO] [stdout] | [INFO] [stdout] 355 | let result = aw! {broadcast.write(&[1u8])}; [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/http.rs:246:7 [INFO] [stdout] | [INFO] [stdout] 246 | #[error("Invalid NTRIP request: {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/http.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | #[error("Invalid NTRIP header: {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/Broadcaster.rs:357:22 [INFO] [stdout] | [INFO] [stdout] 357 | let result = aw! {reader1.read(&mut buffer1)}; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/http.rs:250:7 [INFO] [stdout] | [INFO] [stdout] 250 | #[error("Duplicate http header line {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/http.rs:252:7 [INFO] [stdout] | [INFO] [stdout] 252 | #[error("Bad utf8 character in http header")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/Broadcaster.rs:360:22 [INFO] [stdout] | [INFO] [stdout] 360 | let result = aw! {reader2.read(&mut buffer2)}; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/http.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | StrError(#[from]std::str::Utf8Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/Broadcaster.rs:367:26 [INFO] [stdout] | [INFO] [stdout] 367 | let result = aw! {broadcast.write_all(&buffer)}; [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/http.rs:254:7 [INFO] [stdout] | [INFO] [stdout] 254 | #[error("Problem reading http header")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/Broadcaster.rs:370:22 [INFO] [stdout] | [INFO] [stdout] 370 | let result = aw! {reader1.read(&mut buffer1)}; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/http.rs:255:15 [INFO] [stdout] | [INFO] [stdout] 255 | IoError(#[from]io::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/Broadcaster.rs:372:22 [INFO] [stdout] | [INFO] [stdout] 372 | let result = aw! {reader2.read(&mut buffer2)}; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/Broadcaster.rs:376:22 [INFO] [stdout] | [INFO] [stdout] 376 | let result = aw! {broadcast.write(&[6u8])}; [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/Broadcaster.rs:377:22 [INFO] [stdout] | [INFO] [stdout] 377 | let result = aw! {reader1.read(&mut buffer1)}; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/Broadcaster.rs:380:22 [INFO] [stdout] | [INFO] [stdout] 380 | let result = aw! {reader2.read(&mut buffer2)}; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MountTable` [INFO] [stdout] --> src/ntrip.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | static MOUNT_TABLE:MountTable = MountTable::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MountTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/Broadcaster.rs:385:22 [INFO] [stdout] | [INFO] [stdout] 385 | let result = aw! {broadcast.write(&[7u8])}; [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MountTable` [INFO] [stdout] --> src/ntrip.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let mt = MountTable::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MountTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/Broadcaster.rs:387:22 [INFO] [stdout] | [INFO] [stdout] 387 | let result = aw! {reader1.read(&mut buffer1)}; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/Broadcaster.rs:395:22 [INFO] [stdout] | [INFO] [stdout] 395 | let result = aw! {reader2.read(&mut buffer2)}; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/Broadcaster.rs:400:22 [INFO] [stdout] | [INFO] [stdout] 400 | let result = aw! {reader1.read(&mut buffer1)}; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> src/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tokio_test::block_on($e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] ::: src/Broadcaster.rs:402:22 [INFO] [stdout] | [INFO] [stdout] 402 | let result = aw! {reader2.read(&mut buffer2)}; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/broadcaster/mod.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | Poll::Pending [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MountTable` in this scope [INFO] [stdout] --> src/ntrip.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | static MOUNT_TABLE:MountTable = MountTable::new(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MountTable` in this scope [INFO] [stdout] --> src/ntrip.rs:88:71 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn process_source(stream:AsyncIO, request:Request, mt: &MountTable) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in module `mount_table` [INFO] [stdout] --> src/ntrip.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | MountTableError{#[from]source: mount_table::Error}, [INFO] [stdout] | ^^^^^ not found in `mount_table` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 84 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 84 | use crate::http::Error; [INFO] [stdout] | [INFO] [stdout] 84 | use crate::ntrip::client::Error; [INFO] [stdout] | [INFO] [stdout] 84 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Waker` in this scope [INFO] [stdout] --> src/broadcaster/mod.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | waker: Option [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Waker; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Broadcaster::Waker; [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Waker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/broadcaster/mod.rs:143:48 [INFO] [stdout] | [INFO] [stdout] 143 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Broadcaster::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/broadcaster/mod.rs:143:64 [INFO] [stdout] | [INFO] [stdout] 143 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/broadcaster/mod.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | Poll::Ready(output) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope [INFO] [stdout] --> src/http.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait AsyncIOTrait: AsyncRead+AsyncWrite+Unpin {} [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncWrite` in this scope [INFO] [stdout] --> src/http.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait AsyncIOTrait: AsyncRead+AsyncWrite+Unpin {} [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope [INFO] [stdout] --> src/http.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | impl AsyncIOTrait for T where T:AsyncRead+AsyncWrite+Unpin {} [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/http.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | IoError(#[from]io::Error), [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncWrite` in this scope [INFO] [stdout] --> src/http.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | impl AsyncIOTrait for T where T:AsyncRead+AsyncWrite+Unpin {} [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/http.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | pub type WrappedService = BoxPin>>>; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Broadcaster::Pin; [INFO] [stdout] | [INFO] [stdout] 2 | use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/http.rs:40:69 [INFO] [stdout] | [INFO] [stdout] 40 | pub type WrappedService = BoxPin>>>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Broadcaster::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/http.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | where FUTURE:Future, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Broadcaster::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/http.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | where F:Future, C:FnOnce(&mut AsyncIO, &Request)->F { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Broadcaster::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener` [INFO] [stdout] --> src/http.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | let listener = TcpListener::bind(addr).await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/http.rs:342:97 [INFO] [stdout] | [INFO] [stdout] 342 | fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>) -> Poll> { [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/http.rs:105:46 [INFO] [stdout] | [INFO] [stdout] 105 | stream.set_read_timeout(Some(Duration::new(10, 0))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope [INFO] [stdout] --> src/http.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | pub async fn read_request(stream:&mut T) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope [INFO] [stdout] --> src/http.rs:341:10 [INFO] [stdout] | [INFO] [stdout] 341 | impl AsyncRead for TestStream { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/http.rs:359:40 [INFO] [stdout] | [INFO] [stdout] 359 | Err(io::Error::new(io::ErrorKind::Other, "TestStream generated error")) [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/http.rs:342:28 [INFO] [stdout] | [INFO] [stdout] 342 | fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>) -> Poll> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/http.rs:342:53 [INFO] [stdout] | [INFO] [stdout] 342 | fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadBuf` in this scope [INFO] [stdout] --> src/http.rs:342:76 [INFO] [stdout] | [INFO] [stdout] 342 | fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/http.rs:342:92 [INFO] [stdout] | [INFO] [stdout] 342 | fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>) -> Poll> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/http.rs:359:29 [INFO] [stdout] | [INFO] [stdout] 359 | Err(io::Error::new(io::ErrorKind::Other, "TestStream generated error")) [INFO] [stdout] | ^^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::http::Error; [INFO] [stdout] | [INFO] [stdout] 260 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 260 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/http.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | Poll::Ready(result) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncWrite` in this scope [INFO] [stdout] --> src/http.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | impl AsyncWrite for TestStream { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/http.rs:374:29 [INFO] [stdout] | [INFO] [stdout] 374 | fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8]) -> Poll> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/http.rs:374:54 [INFO] [stdout] | [INFO] [stdout] 374 | fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8]) -> Poll> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/http.rs:374:82 [INFO] [stdout] | [INFO] [stdout] 374 | fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8]) -> Poll> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/http.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | Poll::Ready(Ok(buf.len())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/http.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/http.rs:380:54 [INFO] [stdout] | [INFO] [stdout] 380 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/http.rs:380:70 [INFO] [stdout] | [INFO] [stdout] 380 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/http.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | Poll::Ready(Ok(())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/http.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/http.rs:384:57 [INFO] [stdout] | [INFO] [stdout] 384 | fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/http.rs:374:87 [INFO] [stdout] | [INFO] [stdout] 374 | fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8]) -> Poll> { [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/http.rs:384:73 [INFO] [stdout] | [INFO] [stdout] 384 | fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/http.rs:380:75 [INFO] [stdout] | [INFO] [stdout] 380 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/http.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | Poll::Ready(Ok(())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncWrite` in this scope [INFO] [stdout] --> src/Broadcaster.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | impl AsyncWrite for Broadcaster { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope [INFO] [stdout] --> src/Broadcaster.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | impl AsyncRead for BroadcastReader { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadBuf` in this scope [INFO] [stdout] --> src/Broadcaster.rs:129:72 [INFO] [stdout] | [INFO] [stdout] 129 | fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/http.rs:384:78 [INFO] [stdout] | [INFO] [stdout] 384 | fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefMut` [INFO] [stdout] --> src/ntrip.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::cell::RefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/ntrip.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::mount_table::*` [INFO] [stdout] --> src/ntrip.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::mount_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NanoServer`, `Request`, `WrappedService` [INFO] [stdout] --> src/ntrip.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | use super::http::{Request, RoutingTable, NanoServer, WrappedService, AsyncIO}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::Error::*` [INFO] [stdout] --> src/ntrip.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | use self::Error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::Args` [INFO] [stdout] --> src/http.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env::Args; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path` [INFO] [stdout] --> src/http.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/http.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/http.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/http.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> src/Broadcaster.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `Ref` [INFO] [stdout] --> src/Broadcaster.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::{Ref, RefCell, RefMut}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/Broadcaster.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::RcCell` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::types::RcCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MountTable` in this scope [INFO] [stdout] --> src/ntrip.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | static MOUNT_TABLE:MountTable = MountTable::new(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MountTable` in this scope [INFO] [stdout] --> src/ntrip.rs:88:71 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn process_source(stream:AsyncIO, request:Request, mt: &MountTable) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in module `mount_table` [INFO] [stdout] --> src/ntrip.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | MountTableError{#[from]source: mount_table::Error}, [INFO] [stdout] | ^^^^^ not found in `mount_table` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 84 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 84 | use crate::http::Error; [INFO] [stdout] | [INFO] [stdout] 84 | use crate::ntrip::client::Error; [INFO] [stdout] | [INFO] [stdout] 84 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Waker` in this scope [INFO] [stdout] --> src/broadcaster/mod.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | waker: Option [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Waker; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Broadcaster::Waker; [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Waker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/broadcaster/mod.rs:143:48 [INFO] [stdout] | [INFO] [stdout] 143 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Broadcaster::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/broadcaster/mod.rs:143:64 [INFO] [stdout] | [INFO] [stdout] 143 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/broadcaster/mod.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | Poll::Ready(output) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope [INFO] [stdout] --> src/http.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait AsyncIOTrait: AsyncRead+AsyncWrite+Unpin {} [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncWrite` in this scope [INFO] [stdout] --> src/http.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait AsyncIOTrait: AsyncRead+AsyncWrite+Unpin {} [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope [INFO] [stdout] --> src/http.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | impl AsyncIOTrait for T where T:AsyncRead+AsyncWrite+Unpin {} [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncWrite` in this scope [INFO] [stdout] --> src/http.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | impl AsyncIOTrait for T where T:AsyncRead+AsyncWrite+Unpin {} [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/http.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | pub type WrappedService = BoxPin>>>; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Broadcaster::Pin; [INFO] [stdout] | [INFO] [stdout] 2 | use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/http.rs:40:69 [INFO] [stdout] | [INFO] [stdout] 40 | pub type WrappedService = BoxPin>>>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Broadcaster::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/http.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | where FUTURE:Future, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Broadcaster::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/http.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | where F:Future, C:FnOnce(&mut AsyncIO, &Request)->F { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Broadcaster::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener` [INFO] [stdout] --> src/http.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | let listener = TcpListener::bind(addr).await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/http.rs:105:46 [INFO] [stdout] | [INFO] [stdout] 105 | stream.set_read_timeout(Some(Duration::new(10, 0))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope [INFO] [stdout] --> src/http.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | pub async fn read_request(stream:&mut T) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope [INFO] [stdout] --> src/http.rs:341:10 [INFO] [stdout] | [INFO] [stdout] 341 | impl AsyncRead for TestStream { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/http.rs:342:28 [INFO] [stdout] | [INFO] [stdout] 342 | fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>) -> Poll> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/http.rs:342:53 [INFO] [stdout] | [INFO] [stdout] 342 | fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadBuf` in this scope [INFO] [stdout] --> src/http.rs:342:76 [INFO] [stdout] | [INFO] [stdout] 342 | fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/http.rs:342:92 [INFO] [stdout] | [INFO] [stdout] 342 | fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>) -> Poll> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/http.rs:359:29 [INFO] [stdout] | [INFO] [stdout] 359 | Err(io::Error::new(io::ErrorKind::Other, "TestStream generated error")) [INFO] [stdout] | ^^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::http::Error; [INFO] [stdout] | [INFO] [stdout] 260 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 260 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/http.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | Poll::Ready(result) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 127 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0428, E0432, E0433, E0583, E0761. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncWrite` in this scope [INFO] [stdout] --> src/http.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | impl AsyncWrite for TestStream { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/http.rs:374:29 [INFO] [stdout] | [INFO] [stdout] 374 | fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8]) -> Poll> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/http.rs:374:54 [INFO] [stdout] | [INFO] [stdout] 374 | fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8]) -> Poll> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/http.rs:374:82 [INFO] [stdout] | [INFO] [stdout] 374 | fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8]) -> Poll> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/http.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | Poll::Ready(Ok(buf.len())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/http.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/http.rs:380:54 [INFO] [stdout] | [INFO] [stdout] 380 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/http.rs:380:70 [INFO] [stdout] | [INFO] [stdout] 380 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/http.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | Poll::Ready(Ok(())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/http.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Pin; [INFO] [stdout] | [INFO] [stdout] 260 | use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/http.rs:384:57 [INFO] [stdout] | [INFO] [stdout] 384 | fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Context; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/http.rs:384:73 [INFO] [stdout] | [INFO] [stdout] 384 | fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/http.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | Poll::Ready(Ok(())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 260 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use crate::Broadcaster::Poll; [INFO] [stdout] | [INFO] [stdout] 260 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncWrite` in this scope [INFO] [stdout] --> src/Broadcaster.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | impl AsyncWrite for Broadcaster { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope [INFO] [stdout] --> src/Broadcaster.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | impl AsyncRead for BroadcastReader { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nanocast-rust1` due to 128 previous errors; 15 warnings emitted [INFO] [stdout] error[E0412]: cannot find type `ReadBuf` in this scope [INFO] [stdout] --> src/Broadcaster.rs:129:72 [INFO] [stdout] | [INFO] [stdout] 129 | fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::cell::RefMut` [INFO] [stdout] --> src/ntrip.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::cell::RefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/ntrip.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::mount_table::*` [INFO] [stdout] --> src/ntrip.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::mount_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NanoServer`, `Request`, `WrappedService` [INFO] [stdout] --> src/ntrip.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | use super::http::{Request, RoutingTable, NanoServer, WrappedService, AsyncIO}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::Error::*` [INFO] [stdout] --> src/ntrip.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | use self::Error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::Args` [INFO] [stdout] --> src/http.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env::Args; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path` [INFO] [stdout] --> src/http.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/http.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/http.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/http.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::*` [INFO] [stdout] --> src/http.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | use crate::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/http.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> src/Broadcaster.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `Ref` [INFO] [stdout] --> src/Broadcaster.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::{Ref, RefCell, RefMut}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/Broadcaster.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/Broadcaster.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::RcCell` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::types::RcCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 109 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0428, E0432, E0433, E0583, E0761. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "33409dbeab8bb642953b10480bd7ca847317d67ed2ed473ba4244722315510cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33409dbeab8bb642953b10480bd7ca847317d67ed2ed473ba4244722315510cb", kill_on_drop: false }` [INFO] [stdout] 33409dbeab8bb642953b10480bd7ca847317d67ed2ed473ba4244722315510cb