[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] 280f4b6429c87f7e467c66937b04138961a96ecc [INFO] checking precision-software/nanocast-rust against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprecision-software%2Fnanocast-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/precision-software/nanocast-rust on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d0564a6471bd058a691635007055789aabccdfdd13ae6364e4b3c074f464d7a [INFO] running `Command { std: "docker" "start" "-a" "5d0564a6471bd058a691635007055789aabccdfdd13ae6364e4b3c074f464d7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d0564a6471bd058a691635007055789aabccdfdd13ae6364e4b3c074f464d7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d0564a6471bd058a691635007055789aabccdfdd13ae6364e4b3c074f464d7a", kill_on_drop: false }` [INFO] [stdout] 5d0564a6471bd058a691635007055789aabccdfdd13ae6364e4b3c074f464d7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c988823e8bb48471e6c213236dbf4ecb4b20875605c3957a68aa673fcd04dade [INFO] running `Command { std: "docker" "start" "-a" "c988823e8bb48471e6c213236dbf4ecb4b20875605c3957a68aa673fcd04dade", kill_on_drop: false }` [INFO] [stderr] Checking nanocast-rust1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(in_band_lifetimes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed due to unsolved ergonomic questions and added lifetime resolution complexity [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] = note: if there is a `mod mount_table` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(in_band_lifetimes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed due to unsolved ergonomic questions and added lifetime resolution complexity [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] = note: if there is a `mod mount_table` elsewhere in the crate already, import it with `use crate::...` instead [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: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[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BroadcasterInner` in `broadcaster` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 106 | use crate::broadcaster::Broadcaster; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 106 | use crate::Broadcaster::BroadcasterInner; [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BroadcasterInner` in `broadcaster` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 106 | use crate::broadcaster::Broadcaster; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 106 | use crate::Broadcaster::BroadcasterInner; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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[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 `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 `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 `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[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: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` [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 `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[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[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 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[E0432]: unresolved import `log` [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] [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 import `log` [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] [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 `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[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: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[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[E0432]: unresolved import `tokio` [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] [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 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 `tokio` [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] [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[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: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: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[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[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/http.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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/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[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[E0432]: unresolved import `tokio` [INFO] [stdout] --> src/http.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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 `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: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 `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 `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: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[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[E0432]: unresolved import `tokio_io_timeout` [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] [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 import `tokio_io_timeout` [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] [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 `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: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[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 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: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 `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 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 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 `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 `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 `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 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: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 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 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: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: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: 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 `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:252:7 [INFO] [stdout] | [INFO] [stdout] 252 | #[error("Bad utf8 character in http header")] [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: 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 `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: 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: 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[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::error::Error; [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] and 3 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 115 - MountTableError{#[from]source: mount_table::Error}, [INFO] [stdout] 115 + MountTableError{#[from]source: Error}, [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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [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 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: aborting due to 63 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0428, E0432, E0433, E0557, E0583, E0752, E0761. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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::error::Error; [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] and 3 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 115 - MountTableError{#[from]source: mount_table::Error}, [INFO] [stdout] 115 + MountTableError{#[from]source: Error}, [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] [stderr] error: could not compile `nanocast-rust1` (bin "nanocast-rust1") due to 64 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 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: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 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/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[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 `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 `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[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[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[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[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[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 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 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: aborting due to 80 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0428, E0432, E0433, E0557, E0583, E0761. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nanocast-rust1` (bin "nanocast-rust1" test) due to 81 previous errors [INFO] running `Command { std: "docker" "inspect" "c988823e8bb48471e6c213236dbf4ecb4b20875605c3957a68aa673fcd04dade", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c988823e8bb48471e6c213236dbf4ecb4b20875605c3957a68aa673fcd04dade", kill_on_drop: false }` [INFO] [stdout] c988823e8bb48471e6c213236dbf4ecb4b20875605c3957a68aa673fcd04dade