[INFO] cloning repository https://github.com/MikiOne/log-watcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MikiOne/log-watcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikiOne%2Flog-watcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikiOne%2Flog-watcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d16d0f6cd4c9580150f09d481fedeac2ffc412b2 [INFO] checking MikiOne/log-watcher/d16d0f6cd4c9580150f09d481fedeac2ffc412b2 against master#3350c1eb3fd8fe1bee1ed4c76944d707bd256876 for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikiOne%2Flog-watcher" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MikiOne/log-watcher on toolchain 3350c1eb3fd8fe1bee1ed4c76944d707bd256876 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MikiOne/log-watcher [INFO] finished tweaking git repo https://github.com/MikiOne/log-watcher [INFO] tweaked toml for git repo https://github.com/MikiOne/log-watcher written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc1/source/trace-server/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc1/source/trace-stream/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 347 packages to latest compatible versions [INFO] [stderr] Adding async-global-executor v2.4.1 (available: v3.1.0) [INFO] [stderr] Adding bcrypt v0.15.1 (available: v0.17.0) [INFO] [stderr] Adding byte-unit v4.0.19 (available: v5.1.6) [INFO] [stderr] Adding config v0.14.1 (available: v0.15.11) [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding ntex v0.7.17 (available: v2.12.4) [INFO] [stderr] Adding pnet v0.34.0 (available: v0.35.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.15) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc1/source/trace-server/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc1/source/trace-stream/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ntex-tokio v0.3.1 [INFO] [stderr] Downloaded ntex-service v1.2.7 [INFO] [stderr] Downloaded ntex-io v0.3.17 [INFO] [stderr] Downloaded async-log-watcher v0.0.1 [INFO] [stderr] Downloaded ntex-rt v0.4.30 [INFO] [stderr] Downloaded ntex-http v0.1.13 [INFO] [stderr] Downloaded ntex-util v0.3.4 [INFO] [stderr] Downloaded ntex-bytes v0.1.28 [INFO] [stderr] Downloaded ntex-connect v0.3.4 [INFO] [stderr] Downloaded ntex-macros v0.1.4 [INFO] [stderr] Downloaded ntex v0.7.17 [INFO] [stderr] Downloaded ntex-h2 v0.4.4 [INFO] [stderr] Downloaded ntex-tls v0.3.3 [INFO] [stderr] Downloaded yaml-rust2 v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f84d3821bd1b9c9bc0962d782737623da55ed98086af9a4a14bd94a461bf4808 [INFO] running `Command { std: "docker" "start" "-a" "f84d3821bd1b9c9bc0962d782737623da55ed98086af9a4a14bd94a461bf4808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f84d3821bd1b9c9bc0962d782737623da55ed98086af9a4a14bd94a461bf4808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84d3821bd1b9c9bc0962d782737623da55ed98086af9a4a14bd94a461bf4808", kill_on_drop: false }` [INFO] [stdout] f84d3821bd1b9c9bc0962d782737623da55ed98086af9a4a14bd94a461bf4808 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a57af7b17cdb177f0c77c99efb3847bc72c6f9c88d861606ceb11102700ab92 [INFO] running `Command { std: "docker" "start" "-a" "8a57af7b17cdb177f0c77c99efb3847bc72c6f9c88d861606ceb11102700ab92", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/trace-server/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/trace-stream/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking no-std-net v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking pnet_base v0.34.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking pnet_macros_support v0.34.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Compiling ntex-rt v0.4.30 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking pnet_sys v0.34.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Compiling pnet v0.34.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking oneshot v0.1.11 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking ntex-service v1.2.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking winnow v0.7.9 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Checking toml_write v0.1.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling ipconfig v0.3.2 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ntex-macros v0.1.4 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking trace-stream-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> trace-stream/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ntex::web::{App, HttpServer, ServiceConfig}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use common::log::info; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] --> trace-stream/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ntex_auth::auth::auth_api; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] --> trace-stream/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ntex_auth::middleware::auth_filter; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::OnceCell; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex` [INFO] [stdout] --> trace-stream/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ntex::web; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use common::log::{debug, error, info}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use common::models::{LogBody, LogInfo}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::header::{HeaderMap, HeaderName, HeaderValue}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::OnceCell; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use common::biz_code::BizCode; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use common::biz_error::BizError; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use common::biz_resp::{Empty, RespData}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use common::log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use common::models::LogBody; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ntex_auth::auth::models::TokenInfo; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::{header, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> trace-stream/src/publish/http_client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use reqwest::header::HeaderMap; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/publish/http_client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use common::log::{error, warn}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> trace-stream/src/publish/http_client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::{Client, ClientBuilder}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-stream/src/setup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::OnceCell; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/setup.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use common::log4rs_config::ConfigLog4rs; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> trace-stream/src/publish/errors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex_auth` [INFO] [stdout] --> trace-stream/src/setup.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ntex_auth::init_static_oauth; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> trace-stream/src/settings.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use config::{Config, ConfigError, File}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/settings.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use common::models::LogInfo; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> trace-stream/src/settings.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_derive`, use `cargo add serde_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex_auth` [INFO] [stdout] --> trace-stream/src/settings.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ntex_auth::StaticOauth; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> trace-stream/src/main.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[ntex::main] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> trace-stream/src/publish/errors.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[error("{0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> trace-stream/src/publish/errors.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> trace-stream/src/publish/errors.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | ReqwestError(#[from] reqwest::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> trace-stream/src/publish/errors.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> trace-stream/src/publish/errors.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | AddrParseError(#[from] AddrParseError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_log_watcher` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | let mut log_watcher = async_log_watcher::LogWatcher::new(default_log); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `async_log_watcher` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_log_watcher`, use `cargo add async_log_watcher` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | tokio::task::spawn(async { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> trace-stream/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ntex::web::{App, HttpServer, ServiceConfig}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use common::log::info; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] --> trace-stream/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ntex_auth::auth::auth_api; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] --> trace-stream/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ntex_auth::middleware::auth_filter; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::OnceCell; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex` [INFO] [stdout] --> trace-stream/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ntex::web; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use common::log::{debug, error, info}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use common::models::{LogBody, LogInfo}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::header::{HeaderMap, HeaderName, HeaderValue}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::OnceCell; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let rc_log = Arc::clone(&self.log_info); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | let default_log = rc_log.get_path(); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rc_log` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 31 | let rc_log: Arc = Arc::clone(&self.log_info); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use common::biz_code::BizCode; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use common::biz_error::BizError; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use common::biz_resp::{Empty, RespData}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use common::log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use common::models::LogBody; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ntex_auth::auth::models::TokenInfo; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::{header, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> trace-stream/src/publish/http_client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use reqwest::header::HeaderMap; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/publish/http_client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use common::log::{error, warn}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> trace-stream/src/publish/http_client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::{Client, ClientBuilder}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-stream/src/setup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::OnceCell; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/setup.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use common::log4rs_config::ConfigLog4rs; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> trace-stream/src/publish/errors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex_auth` [INFO] [stdout] --> trace-stream/src/setup.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ntex_auth::init_static_oauth; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> trace-stream/src/settings.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use config::{Config, ConfigError, File}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-stream/src/settings.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use common::models::LogInfo; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> trace-stream/src/settings.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_derive`, use `cargo add serde_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex_auth` [INFO] [stdout] --> trace-stream/src/settings.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ntex_auth::StaticOauth; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> trace-stream/src/main.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[ntex::main] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> trace-stream/src/log_monitor.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | while let Some(data) = log_watcher.read_message().await { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> trace-stream/src/log_monitor.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | while let Some(data) = log_watcher.read_message().await { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Some` [INFO] [stdout] --> /rustc/3350c1eb3fd8fe1bee1ed4c76944d707bd256876/library/core/src/option.rs:597:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> trace-stream/src/log_monitor.rs:43:63 [INFO] [stdout] | [INFO] [stdout] 43 | while let Some(data) = log_watcher.read_message().await { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/3350c1eb3fd8fe1bee1ed4c76944d707bd256876/library/core/src/option.rs:589:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> trace-stream/src/publish/errors.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[error("{0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> trace-server/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ntex::web::{App, HttpServer}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> trace-server/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> trace-server/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ntex::web::ServiceConfig; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-server/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] --> trace-server/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ntex_auth::auth::auth_api; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] --> trace-server/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ntex_auth::middleware::auth_filter; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex` [INFO] [stdout] --> trace-server/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ntex::web; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> trace-server/src/settings.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use config::{Config, ConfigError, File}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> trace-server/src/settings.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_derive`, use `cargo add serde_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex_auth` [INFO] [stdout] --> trace-server/src/settings.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ntex_auth::StaticOauth; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> trace-server/src/trace/trace_api.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> trace-server/src/trace/trace_api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ntex::web::{HttpResponse, Responder}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> trace-server/src/trace/trace_api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ntex::web::types::Json; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-server/src/trace/trace_api.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use common::biz_resp::RespData; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-server/src/trace/trace_api.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use common::models::LogBody; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex` [INFO] [stdout] --> trace-server/src/trace/trace_api.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ntex::web; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> trace-stream/src/publish/errors.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> trace-stream/src/publish/errors.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | ReqwestError(#[from] reqwest::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use flate2::write::GzEncoder; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `flate2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flate2` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use flate2::Compression; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `flate2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, info, warn}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::io::{AsyncWriteExt, BufWriter}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::sync::{Mutex, OnceCell}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use common::data_utils::to_previous_day; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use common::file_utils::create_dir; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use common::models::LogBody; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use regex::Regex; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `regex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `regex`, use `cargo add regex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-server/src/setup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use common::log4rs_config::ConfigLog4rs; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | use chrono::{Local, Timelike}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex_auth` [INFO] [stdout] --> trace-server/src/setup.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ntex_auth::init_static_oauth; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> trace-stream/src/publish/errors.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | use chrono::{Local, Timelike}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> trace-server/src/main.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[ntex::main] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> trace-stream/src/publish/errors.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | AddrParseError(#[from] AddrParseError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> trace-stream/src/publish/http_client.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | let ip = get_public_ip().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 63 | let ip = get_public_ip().await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_log_watcher` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | let mut log_watcher = async_log_watcher::LogWatcher::new(default_log); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `async_log_watcher` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_log_watcher`, use `cargo add async_log_watcher` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | tokio::task::spawn(async { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-server/src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> trace-stream/src/publish/errors.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | ReqwestError(#[from] reqwest::Error), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> trace-server/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ntex::web::{App, HttpServer}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trace-stream-rs` (bin "trace-stream" test) due to 44 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> trace-stream/src/publish/api_upload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> trace-server/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> trace-server/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ntex::web::ServiceConfig; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-server/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] --> trace-server/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ntex_auth::auth::auth_api; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] --> trace-server/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ntex_auth::middleware::auth_filter; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex` [INFO] [stdout] --> trace-server/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ntex::web; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> trace-server/src/settings.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use config::{Config, ConfigError, File}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `config`, use `cargo add config` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> trace-server/src/settings.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_derive`, use `cargo add serde_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex_auth` [INFO] [stdout] --> trace-server/src/settings.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ntex_auth::StaticOauth; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> trace-server/src/trace/trace_api.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> trace-server/src/trace/trace_api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ntex::web::{HttpResponse, Responder}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> trace-server/src/trace/trace_api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ntex::web::types::Json; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-server/src/trace/trace_api.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use common::biz_resp::RespData; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-server/src/trace/trace_api.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use common::models::LogBody; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex` [INFO] [stdout] --> trace-server/src/trace/trace_api.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ntex::web; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use flate2::write::GzEncoder; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `flate2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flate2` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use flate2::Compression; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `flate2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, info, warn}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::io::{AsyncWriteExt, BufWriter}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::sync::{Mutex, OnceCell}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use common::data_utils::to_previous_day; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use common::file_utils::create_dir; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use common::models::LogBody; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use regex::Regex; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `regex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `regex`, use `cargo add regex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> trace-server/src/setup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use common::log4rs_config::ConfigLog4rs; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> trace-server/src/trace/file_store.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | use chrono::{Local, Timelike}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex_auth` [INFO] [stdout] --> trace-server/src/setup.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ntex_auth::init_static_oauth; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ntex_auth` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex_auth`, use `cargo add ntex_auth` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> trace-server/src/main.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[ntex::main] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trace-stream-rs` (bin "trace-server" test) due to 35 previous errors [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> trace-stream/src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> trace-server/src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> trace-server/src/main.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> trace-stream/src/log_monitor.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let rc_log = Arc::clone(&self.log_info); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | let default_log = rc_log.get_path(); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rc_log` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 31 | let rc_log: Arc = Arc::clone(&self.log_info); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> trace-stream/src/log_monitor.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | while let Some(data) = log_watcher.read_message().await { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> trace-stream/src/log_monitor.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | while let Some(data) = log_watcher.read_message().await { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Some` [INFO] [stdout] --> /rustc/3350c1eb3fd8fe1bee1ed4c76944d707bd256876/library/core/src/option.rs:597:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> trace-stream/src/log_monitor.rs:43:63 [INFO] [stdout] | [INFO] [stdout] 43 | while let Some(data) = log_watcher.read_message().await { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/3350c1eb3fd8fe1bee1ed4c76944d707bd256876/library/core/src/option.rs:589:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> trace-stream/src/publish/errors.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | ReqwestError(#[from] reqwest::Error), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trace-stream-rs` (bin "trace-stream") due to 44 previous errors; 2 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trace-stream-rs` (bin "trace-server") due to 35 previous errors [INFO] running `Command { std: "docker" "inspect" "8a57af7b17cdb177f0c77c99efb3847bc72c6f9c88d861606ceb11102700ab92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a57af7b17cdb177f0c77c99efb3847bc72c6f9c88d861606ceb11102700ab92", kill_on_drop: false }` [INFO] [stdout] 8a57af7b17cdb177f0c77c99efb3847bc72c6f9c88d861606ceb11102700ab92