[INFO] cloning repository https://github.com/meteor-ioi/doubao-ime-mac [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/meteor-ioi/doubao-ime-mac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeteor-ioi%2Fdoubao-ime-mac", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeteor-ioi%2Fdoubao-ime-mac'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 775b34a3590078ef4eb432da66a22745d4d6e247 [INFO] checking meteor-ioi/doubao-ime-mac/775b34a3590078ef4eb432da66a22745d4d6e247 against master#fe7294f8793d001bc3f9d197e7cdef6cdb46c15a for pr-153912 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeteor-ioi%2Fdoubao-ime-mac" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/meteor-ioi/doubao-ime-mac [INFO] finished tweaking git repo https://github.com/meteor-ioi/doubao-ime-mac [INFO] tweaked toml for git repo https://github.com/meteor-ioi/doubao-ime-mac written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/meteor-ioi/doubao-ime-mac on toolchain fe7294f8793d001bc3f9d197e7cdef6cdb46c15a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/meteor-ioi/doubao-ime-mac 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" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-compare v0.2.1 [INFO] [stderr] Downloaded gtk3-macros v0.18.2 [INFO] [stderr] Downloaded gdk v0.18.2 [INFO] [stderr] Downloaded gif v0.13.3 [INFO] [stderr] Downloaded multimap v0.10.1 [INFO] [stderr] Downloaded prost-derive v0.12.6 [INFO] [stderr] Downloaded opus v0.3.1 [INFO] [stderr] Downloaded global-hotkey v0.5.5 [INFO] [stderr] Downloaded prost-build v0.12.6 [INFO] [stderr] Downloaded gtk-sys v0.18.2 [INFO] [stderr] Downloaded tray-icon v0.14.3 [INFO] [stderr] Downloaded prost v0.12.6 [INFO] [stderr] Downloaded rustls-native-certs v0.7.3 [INFO] [stderr] Downloaded atk v0.18.2 [INFO] [stderr] Downloaded prost-types v0.12.6 [INFO] [stderr] Downloaded atk-sys v0.18.2 [INFO] [stderr] Downloaded gtk v0.18.2 [INFO] [stderr] Downloaded zerocopy-derive v0.8.38 [INFO] [stderr] Downloaded gdk-sys v0.18.2 [INFO] [stderr] Downloaded audiopus_sys v0.2.2 [INFO] [stderr] Downloaded zerocopy v0.8.38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d34c763c152cb1847e1d6b361d55f2012f86aea610b29a301c9d65505e4d2408 [INFO] running `Command { std: "docker" "start" "-a" "d34c763c152cb1847e1d6b361d55f2012f86aea610b29a301c9d65505e4d2408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d34c763c152cb1847e1d6b361d55f2012f86aea610b29a301c9d65505e4d2408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d34c763c152cb1847e1d6b361d55f2012f86aea610b29a301c9d65505e4d2408", kill_on_drop: false }` [INFO] [stdout] d34c763c152cb1847e1d6b361d55f2012f86aea610b29a301c9d65505e4d2408 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de7ce75378e66e8447e11aaa986609d262d0595ab59be0da654204f3e6049842 [INFO] running `Command { std: "docker" "start" "-a" "de7ce75378e66e8447e11aaa986609d262d0595ab59be0da654204f3e6049842", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling version-compare v0.2.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.38 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling gtk v0.18.2 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling libxdo-sys v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling gtk3-macros v0.18.2 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling audiopus_sys v0.2.2 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Checking libappindicator-sys v0.9.0 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking libxdo v0.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking keyboard-types v0.7.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling doubao-voice-input v1.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking opus v0.3.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking global-hotkey v0.5.5 [INFO] [stderr] Checking cairo-rs v0.18.5 [INFO] [stderr] Checking atk v0.18.2 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking gdk-pixbuf v0.18.5 [INFO] [stderr] Checking pango v0.18.3 [INFO] [stderr] Checking gdk v0.18.2 [INFO] [stderr] Checking libappindicator v0.9.0 [INFO] [stderr] Checking muda v0.13.5 [INFO] [stderr] Checking tray-icon v0.14.3 [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/audio/capture.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/audio/encoder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/business/hotkey_manager.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/business/text_inserter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/business/voice_controller.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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/data/credential.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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/platform/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/platform/macos/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/ui/system_tray.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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/asr/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{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[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/asr/client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use uuid::Uuid; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/asr/device.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{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[E0432]: unresolved import `serde` [INFO] [stdout] --> src/asr/device.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/asr/device.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use uuid::Uuid; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/asr/device.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | use rand::Rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/asr/protocol.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::Serialize; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/asr/protocol.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/data/config.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[E0432]: unresolved import `serde` [INFO] [stdout] --> src/data/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | tracing::info!("Connecting to ASR WebSocket: {}", url); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | tracing::info!("WebSocket connected successfully"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | tracing::debug!("Sending StartTask (request_id: {})", &request_id[..8]); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | tracing::debug!("TaskStarted received"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | tracing::debug!("Sending StartSession"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | tracing::debug!("SessionStarted received"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | tracing::info!("Starting audio frame sender task"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | tracing::warn!("Failed to send audio frame {}", frame_index); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | tracing::info!("Sent {} audio frames ({:.1}s)", frame_index, frame_index as f64 * 0.02); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | tracing::info!("Audio channel closed, sent {} total frames", frame_index); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | tracing::info!("Sent FinishSession"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/device.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | tracing::info!("Device registered: device_id={}", creds.device_id); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/device.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | tracing::info!("ASR token obtained successfully"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/asr/protocol.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | let metadata = serde_json::json!({ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/protocol.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | tracing::error!("Failed to decode ASR response: {}", e); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/audio/capture.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | tracing::info!("Audio capture started"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/audio/capture.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | tracing::info!("Audio capture stopped"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/hotkey_manager.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | tracing::info!("Hotkey config updated successfully"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | tracing::info!("Starting voice input..."); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | tracing::debug!("Starting audio capture..."); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | tracing::info!("Audio capture started, frames will be sent to ASR"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | tracing::debug!("Connecting to ASR server..."); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | tracing::info!("ASR connection established"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | tracing::info!("ASR result processing task started"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | tracing::info!( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | ... tracing::debug!("[INTERIM #{}] {}", response_count, response.text); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:125:41 [INFO] [stdout] | [INFO] [stdout] 125 | ... tracing::error!("Failed to update text: {}", e); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | ... tracing::info!("[FINAL #{}] {}", response_count, response.text); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:142:41 [INFO] [stdout] | [INFO] [stdout] 142 | ... tracing::error!("Failed to update text: {}", e); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | ... tracing::info!( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | ... tracing::error!("ASR error: {}", response.error_msg); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | ... tracing::trace!( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | tracing::warn!("ASR result channel closed unexpectedly"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | tracing::info!("Stopping voice input..."); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | tracing::debug!( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/data/credential.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | tracing::info!("Using cached credentials"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/data/credential.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | tracing::info!("Registering new device..."); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/data/credential.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | tracing::info!("Credentials saved to {:?}", self.credentials_path); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | tracing::info!("System tray initialized"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | ... tracing::info!("Starting from menu"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | ... tracing::error!("Failed to start: {}", e); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | ... tracing::info!("Stopping from menu"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | ... tracing::error!("Failed to stop: {}", e); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | tracing::info!("Settings from menu"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | tracing::info!("Quit from menu"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | tracing::info!("Application exiting"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/asr/device.rs:169:7 [INFO] [stdout] | [INFO] [stdout] 169 | #[serde(rename = "_gen_time")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/audio/capture.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/audio/encoder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/business/hotkey_manager.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/business/text_inserter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/business/voice_controller.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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/data/credential.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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/platform/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/platform/macos/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/ui/system_tray.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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/asr/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{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: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/asr/client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use uuid::Uuid; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/asr/device.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{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[E0432]: unresolved import `serde` [INFO] [stdout] --> src/asr/device.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/asr/device.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use uuid::Uuid; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/asr/device.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | use rand::Rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/asr/protocol.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::Serialize; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/asr/protocol.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/data/config.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[E0432]: unresolved import `serde` [INFO] [stdout] --> src/data/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | tracing::info!("Connecting to ASR WebSocket: {}", url); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | tracing::info!("WebSocket connected successfully"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | tracing::debug!("Sending StartTask (request_id: {})", &request_id[..8]); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | tracing::debug!("TaskStarted received"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | tracing::debug!("Sending StartSession"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | tracing::debug!("SessionStarted received"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | tracing::info!("Starting audio frame sender task"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | tracing::warn!("Failed to send audio frame {}", frame_index); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | tracing::info!("Sent {} audio frames ({:.1}s)", frame_index, frame_index as f64 * 0.02); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | tracing::info!("Audio channel closed, sent {} total frames", frame_index); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/client.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | tracing::info!("Sent FinishSession"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/device.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | tracing::info!("Device registered: device_id={}", creds.device_id); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/device.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | tracing::info!("ASR token obtained successfully"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/asr/protocol.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | let metadata = serde_json::json!({ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/asr/protocol.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | tracing::error!("Failed to decode ASR response: {}", e); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/audio/capture.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | tracing::info!("Audio capture started"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[serde(default = "default_language")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/audio/capture.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | tracing::info!("Audio capture stopped"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/hotkey_manager.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | tracing::info!("Hotkey config updated successfully"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | tracing::info!("Starting voice input..."); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | tracing::debug!("Starting audio capture..."); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | tracing::info!("Audio capture started, frames will be sent to ASR"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | tracing::debug!("Connecting to ASR server..."); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | tracing::info!("ASR connection established"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | tracing::info!("ASR result processing task started"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | tracing::info!( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | ... tracing::debug!("[INTERIM #{}] {}", response_count, response.text); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:125:41 [INFO] [stdout] | [INFO] [stdout] 125 | ... tracing::error!("Failed to update text: {}", e); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | ... tracing::info!("[FINAL #{}] {}", response_count, response.text); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:142:41 [INFO] [stdout] | [INFO] [stdout] 142 | ... tracing::error!("Failed to update text: {}", e); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | ... tracing::info!( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | ... tracing::error!("ASR error: {}", response.error_msg); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | ... tracing::trace!( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | tracing::warn!("ASR result channel closed unexpectedly"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | tracing::info!("Stopping voice input..."); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/business/voice_controller.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | tracing::debug!( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/data/credential.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | tracing::info!("Using cached credentials"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/data/credential.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | tracing::info!("Registering new device..."); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/data/credential.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | tracing::info!("Credentials saved to {:?}", self.credentials_path); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | tracing::info!("System tray initialized"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | ... tracing::info!("Starting from menu"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | ... tracing::error!("Failed to start: {}", e); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | ... tracing::info!("Stopping from menu"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | ... tracing::error!("Failed to stop: {}", e); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | tracing::info!("Settings from menu"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | tracing::info!("Quit from menu"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope [INFO] [stdout] --> src/ui/system_tray.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | tracing::info!("Application exiting"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[serde(default = "default_hotkey_mode")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | #[serde(default = "default_combo_key")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[serde(default = "default_double_tap_key")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:112:7 [INFO] [stdout] | [INFO] [stdout] 112 | #[serde(default = "default_double_tap_interval")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | #[serde(default = "default_true")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/asr/device.rs:169:7 [INFO] [stdout] | [INFO] [stdout] 169 | #[serde(rename = "_gen_time")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[serde(default = "default_language")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[serde(default = "default_hotkey_mode")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | #[serde(default = "default_combo_key")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[serde(default = "default_double_tap_key")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:112:7 [INFO] [stdout] | [INFO] [stdout] 112 | #[serde(default = "default_double_tap_interval")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/data/config.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | #[serde(default = "default_true")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/platform/macos/mod.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/platform/macos/mod.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DeviceRegisterBody: serde::Serialize` is not satisfied [INFO] [stdout] --> src/asr/device.rs:243:15 [INFO] [stdout] | [INFO] [stdout] 243 | .json(&body) [INFO] [stdout] | ---- ^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde_core::ser::Serialize` is not implemented for `DeviceRegisterBody` [INFO] [stdout] --> src/asr/device.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | struct DeviceRegisterBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `DeviceRegisterBody` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 222 others [INFO] [stdout] note: required by a bound in `RequestBuilder::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.27/src/async_impl/request.rs:438:20 [INFO] [stdout] | [INFO] [stdout] 438 | pub fn json(mut self, json: &T) -> RequestBuilder { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RequestBuilder::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DeviceRegisterResponse: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/asr/device.rs:254:51 [INFO] [stdout] | [INFO] [stdout] 254 | let result: DeviceRegisterResponse = response.json().await?; [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `DeviceRegisterResponse` [INFO] [stdout] --> src/asr/device.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | struct DeviceRegisterResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 234 others [INFO] [stdout] = note: required for `DeviceRegisterResponse` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `reqwest::Response::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.27/src/async_impl/response.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | pub async fn json(self) -> crate::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Response::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `md5` in this scope [INFO] [stdout] --> src/asr/device.rs:286:37 [INFO] [stdout] | [INFO] [stdout] 286 | let x_ss_stub = format!("{:X}", md5::compute(body_str.as_bytes())); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `md5` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `md5`, use `cargo add md5` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SettingsResponse: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/asr/device.rs:301:45 [INFO] [stdout] | [INFO] [stdout] 301 | let result: SettingsResponse = response.json().await?; [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `SettingsResponse` [INFO] [stdout] --> src/asr/device.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | struct SettingsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 234 others [INFO] [stdout] = note: required for `SettingsResponse` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `reqwest::Response::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.27/src/async_impl/response.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | pub async fn json(self) -> crate::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Response::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DeviceRegisterBody: serde::Serialize` is not satisfied [INFO] [stdout] --> src/asr/device.rs:243:15 [INFO] [stdout] | [INFO] [stdout] 243 | .json(&body) [INFO] [stdout] | ---- ^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde_core::ser::Serialize` is not implemented for `DeviceRegisterBody` [INFO] [stdout] --> src/asr/device.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | struct DeviceRegisterBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `DeviceRegisterBody` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 222 others [INFO] [stdout] note: required by a bound in `RequestBuilder::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.27/src/async_impl/request.rs:438:20 [INFO] [stdout] | [INFO] [stdout] 438 | pub fn json(mut self, json: &T) -> RequestBuilder { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RequestBuilder::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/asr/device.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let json = serde_json::to_string_pretty(self)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/asr/device.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | let creds: DeviceCredentials = serde_json::from_str(&json)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/asr/device.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `hex` in this scope [INFO] [stdout] --> src/asr/device.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | hex::encode(bytes) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/asr/protocol.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | let payload = serde_json::to_string(config).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DeviceRegisterResponse: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/asr/device.rs:254:51 [INFO] [stdout] | [INFO] [stdout] 254 | let result: DeviceRegisterResponse = response.json().await?; [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `DeviceRegisterResponse` [INFO] [stdout] --> src/asr/device.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | struct DeviceRegisterResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 234 others [INFO] [stdout] = note: required for `DeviceRegisterResponse` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `reqwest::Response::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.27/src/async_impl/response.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | pub async fn json(self) -> crate::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Response::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/asr/protocol.rs:223:34 [INFO] [stdout] | [INFO] [stdout] 223 | let json_data: Value = match serde_json::from_str(result_json) { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `md5` in this scope [INFO] [stdout] --> src/asr/device.rs:286:37 [INFO] [stdout] | [INFO] [stdout] 286 | let x_ss_stub = format!("{:X}", md5::compute(body_str.as_bytes())); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `md5` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `md5`, use `cargo add md5` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SettingsResponse: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/asr/device.rs:301:45 [INFO] [stdout] | [INFO] [stdout] 301 | let result: SettingsResponse = response.json().await?; [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `SettingsResponse` [INFO] [stdout] --> src/asr/device.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | struct SettingsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 234 others [INFO] [stdout] = note: required for `SettingsResponse` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `reqwest::Response::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.27/src/async_impl/response.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | pub async fn json(self) -> crate::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Response::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `dirs` in this scope [INFO] [stdout] --> src/data/config.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let dir = dirs::config_dir() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `dirs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dirs`, use `cargo add dirs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `toml` in this scope [INFO] [stdout] --> src/data/config.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | let config: AppConfig = toml::from_str(&content)?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `toml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `toml`, use `cargo add toml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `toml` in this scope [INFO] [stdout] --> src/data/config.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let content = toml::to_string_pretty(self)?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `toml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `toml`, use `cargo add toml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/asr/device.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let json = serde_json::to_string_pretty(self)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/asr/device.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | let creds: DeviceCredentials = serde_json::from_str(&json)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/asr/device.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `hex` in this scope [INFO] [stdout] --> src/asr/device.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | hex::encode(bytes) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/asr/protocol.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | let payload = serde_json::to_string(config).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/asr/protocol.rs:223:34 [INFO] [stdout] | [INFO] [stdout] 223 | let json_data: Value = match serde_json::from_str(result_json) { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/platform/macos/mod.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | fn on_trigger(&self, callback: Box) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_active` [INFO] [stdout] --> src/platform/macos/mod.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let is_active = self.is_active.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_key` [INFO] [stdout] --> src/platform/macos/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let target_key = self.double_tap_key.to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interval` [INFO] [stdout] --> src/platform/macos/mod.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let interval = self.double_tap_interval; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monitor_handle` [INFO] [stdout] --> src/platform/macos/mod.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let monitor_handle = self.monitor_handle.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monitor_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `dirs` in this scope [INFO] [stdout] --> src/data/config.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let dir = dirs::config_dir() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `dirs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dirs`, use `cargo add dirs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `toml` in this scope [INFO] [stdout] --> src/data/config.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | let config: AppConfig = toml::from_str(&content)?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `toml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `toml`, use `cargo add toml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `doubao-voice-input` (lib test) due to 90 previous errors; 6 warnings emitted [INFO] [stdout] error[E0433]: cannot find module or crate `toml` in this scope [INFO] [stdout] --> src/data/config.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let content = toml::to_string_pretty(self)?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `toml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `toml`, use `cargo add toml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/platform/macos/mod.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | fn on_trigger(&self, callback: Box) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_active` [INFO] [stdout] --> src/platform/macos/mod.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let is_active = self.is_active.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_key` [INFO] [stdout] --> src/platform/macos/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let target_key = self.double_tap_key.to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interval` [INFO] [stdout] --> src/platform/macos/mod.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let interval = self.double_tap_interval; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monitor_handle` [INFO] [stdout] --> src/platform/macos/mod.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let monitor_handle = self.monitor_handle.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monitor_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `doubao-voice-input` (lib) due to 90 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "de7ce75378e66e8447e11aaa986609d262d0595ab59be0da654204f3e6049842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de7ce75378e66e8447e11aaa986609d262d0595ab59be0da654204f3e6049842", kill_on_drop: false }` [INFO] [stdout] de7ce75378e66e8447e11aaa986609d262d0595ab59be0da654204f3e6049842