[INFO] cloning repository https://github.com/Apoll011/Avi-core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Apoll011/Avi-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FApoll011%2FAvi-core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FApoll011%2FAvi-core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75cd50d5523b3fe3c52fb306d8648dd8d673fb06 [INFO] building Apoll011/Avi-core against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FApoll011%2FAvi-core" "/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/Apoll011/Avi-core [INFO] finished tweaking git repo https://github.com/Apoll011/Avi-core [INFO] tweaked toml for git repo https://github.com/Apoll011/Avi-core written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Apoll011/Avi-core on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 336 packages to latest Rust 1.91.0-nightly compatible versions [INFO] [stderr] Adding hashbrown v0.13.1 (available: v0.13.2) [INFO] [stderr] Adding libloading v0.8.8 (available: v0.8.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.53.4 [INFO] [stderr] Downloaded terminal_size v0.4.3 [INFO] [stderr] Downloaded wit-bindgen v0.46.0 [INFO] [stderr] Downloaded time v0.3.44 [INFO] [stderr] Downloaded wasi v0.14.7+wasi-0.2.4 [INFO] [stderr] Downloaded metrics-macros v0.7.1 [INFO] [stderr] Downloaded addr2line v0.25.1 [INFO] [stderr] Downloaded smartstring v1.0.1 [INFO] [stderr] Downloaded rhai_codegen v3.1.0 [INFO] [stderr] Downloaded raw-cpuid v10.7.0 [INFO] [stderr] Downloaded rhai-fs v0.1.3 [INFO] [stderr] Downloaded metrics-util v0.15.1 [INFO] [stderr] Downloaded pest v2.8.2 [INFO] [stderr] Downloaded thin-vec v0.2.14 [INFO] [stderr] Downloaded object v0.37.3 [INFO] [stderr] Downloaded async-trait v0.1.89 [INFO] [stderr] Downloaded tracing-subscriber v0.3.20 [INFO] [stderr] Downloaded asn1-rs v0.5.2 [INFO] [stderr] Downloaded zerocopy v0.8.27 [INFO] [stderr] Downloaded rust_decimal v1.38.0 [INFO] [stderr] Downloaded security-framework v3.5.0 [INFO] [stderr] Downloaded bindgen v0.72.1 [INFO] [stderr] Downloaded hashbrown v0.13.1 [INFO] [stderr] Downloaded mach2 v0.4.3 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.12.2 [INFO] [stderr] Downloaded tungstenite v0.20.1 [INFO] [stderr] Downloaded der-parser v8.2.0 [INFO] [stderr] Downloaded asn1-rs-derive v0.4.0 [INFO] [stderr] Downloaded gimli v0.32.3 [INFO] [stderr] Downloaded zerocopy-derive v0.8.27 [INFO] [stderr] Downloaded asn1-rs-impl v0.1.0 [INFO] [stderr] Downloaded schannel v0.1.28 [INFO] [stderr] Downloaded pest_meta v2.8.2 [INFO] [stderr] Downloaded pest_derive v2.8.2 [INFO] [stderr] Downloaded metrics v0.21.1 [INFO] [stderr] Downloaded rumqttc v0.25.0 [INFO] [stderr] Downloaded quanta v0.11.1 [INFO] [stderr] Downloaded matchers v0.2.0 [INFO] [stderr] Downloaded nu-ansi-term v0.50.1 [INFO] [stderr] Downloaded backtrace v0.3.76 [INFO] [stderr] Downloaded rusticata-macros v4.1.0 [INFO] [stderr] Downloaded deranged v0.5.4 [INFO] [stderr] Downloaded time-core v0.1.6 [INFO] [stderr] Downloaded aws-lc-rs v1.14.1 [INFO] [stderr] Downloaded rhai-url v0.0.5 [INFO] [stderr] Downloaded security-framework-sys v2.15.0 [INFO] [stderr] Downloaded glob v0.3.3 [INFO] [stderr] Downloaded serde_path_to_error v0.1.20 [INFO] [stderr] Downloaded pest_generator v2.8.2 [INFO] [stderr] Downloaded async-tungstenite v0.23.0 [INFO] [stderr] Downloaded ws_stream_tungstenite v0.11.0 [INFO] [stderr] Downloaded oid-registry v0.6.1 [INFO] [stderr] Downloaded num_cpus v1.17.0 [INFO] [stderr] Downloaded sketches-ddsketch v0.2.2 [INFO] [stderr] Downloaded time-macros v0.2.24 [INFO] [stderr] Downloaded x509-parser v0.15.1 [INFO] [stderr] Downloaded rumqttd v0.19.0 [INFO] [stderr] Downloaded wasip2 v1.0.1+wasi-0.2.4 [INFO] [stderr] Downloaded uuid v1.18.1 [INFO] [stderr] Downloaded axum v0.6.20 [INFO] [stderr] Downloaded rhai v1.23.4 [INFO] [stderr] Downloaded aws-lc-sys v0.32.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef8461b11b77daa27741b1256c88c3b1fbfdbfebf193e543d41a8936625c2269 [INFO] running `Command { std: "docker" "start" "-a" "ef8461b11b77daa27741b1256c88c3b1fbfdbfebf193e543d41a8936625c2269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef8461b11b77daa27741b1256c88c3b1fbfdbfebf193e543d41a8936625c2269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef8461b11b77daa27741b1256c88c3b1fbfdbfebf193e543d41a8936625c2269", kill_on_drop: false }` [INFO] [stdout] ef8461b11b77daa27741b1256c88c3b1fbfdbfebf193e543d41a8936625c2269 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ff5188837cbd67135ab21996d3fa1a0cfd1b86e3aaef51aaae5cba454d4f6f4 [INFO] running `Command { std: "docker" "start" "-a" "8ff5188837cbd67135ab21996d3fa1a0cfd1b86e3aaef51aaae5cba454d4f6f4", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling aws-lc-rs v1.14.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rust_decimal v1.38.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling pharos v0.5.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling async_io_stream v0.3.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling hashbrown v0.13.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling quanta v0.11.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling ws_stream_tungstenite v0.11.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling sketches-ddsketch v0.2.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.32.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling rhai_codegen v3.1.0 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling metrics-macros v0.7.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling asn1-rs v0.5.2 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling metrics v0.21.1 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling rhai v1.23.4 [INFO] [stderr] Compiling metrics-util v0.15.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling der-parser v8.2.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling x509-parser v0.15.1 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling async-tungstenite v0.23.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.12.2 [INFO] [stderr] Compiling rhai-url v0.0.5 [INFO] [stderr] Compiling rhai-fs v0.1.3 [INFO] [stderr] Compiling rustls-webpki v0.103.6 [INFO] [stderr] Compiling rumqttd v0.19.0 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rumqttc v0.25.0 [INFO] [stderr] Compiling Avi-core v0.1.31 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `val_text` is never read [INFO] [stdout] --> src/intent/slot_extrator.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | let mut val_text = val.as_str().to_string(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/skills/avi_script/modules.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn say(key: &str, context: rhai::Map) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/skills/avi_script/modules.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn say(key: &str, context: rhai::Map) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/skills/avi_script/modules.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn text(message: &str) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/skills/avi_script/modules.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn translated(key: &str, context: rhai::Map) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/skills/avi_script/modules.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn translated(key: &str, context: rhai::Map) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/skills/avi_script/modules.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn question(key: &str, callback: rhai::FnPtr, context: rhai::Map, expected: rhai::Dynamic) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/skills/avi_script/modules.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn question(key: &str, callback: rhai::FnPtr, context: rhai::Map, expected: rhai::Dynamic) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/skills/avi_script/modules.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn question(key: &str, callback: rhai::FnPtr, context: rhai::Map, expected: rhai::Dynamic) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/skills/avi_script/modules.rs:20:75 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn question(key: &str, callback: rhai::FnPtr, context: rhai::Map, expected: rhai::Dynamic) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/skills/avi_script/modules.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn on_input(callback: rhai::FnPtr, expected: rhai::Dynamic) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/skills/avi_script/modules.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn on_input(callback: rhai::FnPtr, expected: rhai::Dynamic) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/skills/avi_script/modules.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn confirm(callback: rhai::FnPtr) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/skills/avi_script/modules.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn cancel(callback: rhai::FnPtr) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prompt` [INFO] [stdout] --> src/skills/avi_script/modules.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn number_input(prompt: &str, callback: rhai::FnPtr) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/skills/avi_script/modules.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn number_input(prompt: &str, callback: rhai::FnPtr) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/skills/avi_script/modules.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get(file: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/skills/avi_script/modules.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn exists(file: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/skills/avi_script/modules.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn read_text(file: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/skills/avi_script/modules.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn read_json(file: &str) -> rhai::Map { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/skills/avi_script/modules.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn play(file: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/skills/avi_script/modules.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn volume(level: i64) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/skills/avi_script/modules.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn save(name: &str, value: rhai::Dynamic) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/skills/avi_script/modules.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn save(name: &str, value: rhai::Dynamic) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/skills/avi_script/modules.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn load(name: &str) -> rhai::Dynamic { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/skills/avi_script/modules.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn clear(name: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/skills/avi_script/modules.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn call(route: &str, method: &str, params: rhai::Map) -> rhai::Dynamic { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/skills/avi_script/modules.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn call(route: &str, method: &str, params: rhai::Map) -> rhai::Dynamic { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/skills/avi_script/modules.rs:116:44 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn call(route: &str, method: &str, params: rhai::Map) -> rhai::Dynamic { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/skills/avi_script/modules.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get(route: &str, params: rhai::Map) -> rhai::Dynamic { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/skills/avi_script/modules.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get(route: &str, params: rhai::Map) -> rhai::Dynamic { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/skills/avi_script/modules.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn post(route: &str, body: rhai::Map) -> rhai::Dynamic { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/skills/avi_script/modules.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn post(route: &str, body: rhai::Map) -> rhai::Dynamic { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/skills/avi_script/modules.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn emit(name: &str, payload: rhai::Map) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/skills/avi_script/modules.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn emit(name: &str, payload: rhai::Map) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/skills/avi_script/modules.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn listen(name: &str, callback: rhai::FnPtr) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/skills/avi_script/modules.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn listen(name: &str, callback: rhai::FnPtr) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mqtt` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mqtt = start_mqtt(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mqtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Stop` and `Reload` are never constructed [INFO] [stdout] --> src/broker/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum ControlMessage { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 8 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Reload(Config), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `control_tx` and `handle` are never read [INFO] [stdout] --> src/broker/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct EmbeddedBroker { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 13 | control_tx: Sender, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | handle: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stop` and `reload` are never used [INFO] [stdout] --> src/broker/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl EmbeddedBroker { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn reload(&self, new_config: Config) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/language/response/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/language/response/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Response { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 15 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_response` is never used [INFO] [stdout] --> src/language/response/mod.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn get_response( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register_script` and `list_available_scripts` are never used [INFO] [stdout] --> src/skills/avi_script/avi_librarymanager.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl AviScriptLibraryManager { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn register_script(&mut self, name: &str, content: &'static str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn list_available_scripts(&self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_to_int` is never used [INFO] [stdout] --> src/skills/avi_script/net/addr.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn convert_to_int(val: impl TryInto) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addr` is never used [INFO] [stdout] --> src/skills/avi_script/net/addr.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn addr(raw: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addr_with_port` is never used [INFO] [stdout] --> src/skills/avi_script/net/addr.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn addr_with_port(raw: &str, port: rhai::INT) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_ipv4` is never used [INFO] [stdout] --> src/skills/avi_script/net/addr.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn is_ipv4(addr: &mut SocketAddr) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_ipv6` is never used [INFO] [stdout] --> src/skills/avi_script/net/addr.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn is_ipv6(addr: &mut SocketAddr) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `port` is never used [INFO] [stdout] --> src/skills/avi_script/net/addr.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn port(addr: &mut SocketAddr) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_to_int` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn convert_to_int(val: impl TryInto) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedTcpStream` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub type SharedTcpStream = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tcp_connect` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn tcp_connect(addr: SocketAddr) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tcp_connect_str` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn tcp_connect_str( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tcp_connect_with_timeout` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn tcp_connect_with_timeout( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tcp_connect_with_timeout_str` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn tcp_connect_with_timeout_str( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shutdown` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn shutdown(stream: &mut SharedTcpStream) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_to_string` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn read_to_string( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_to_string_with_len` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn read_to_string_with_len( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_with_string` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn write_with_string( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedTcpListener` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub type SharedTcpListener = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tcp_listen` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn tcp_listen(addr: SocketAddr) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tcp_listen_str` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn tcp_listen_str( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accept` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn accept( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_to_blob_with_len` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn read_to_blob_with_len( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_tcp` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn read_from_tcp( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_tcp` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:233:16 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn write_to_tcp( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop_all` is never used [INFO] [stdout] --> src/skills/manager.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> SkillManager<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn stop_all(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `metadata` and `stop` are never used [INFO] [stdout] --> src/skills/skill.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 43 | impl<'a> Skill<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub(crate) fn metadata(&self) -> &SkillMetadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub(crate) fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `languages`, and `license` are never read [INFO] [stdout] --> src/skills/skill_metadata.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SkillMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub description: ImmutableString, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub languages: Array, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub license: ImmutableString, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "8ff5188837cbd67135ab21996d3fa1a0cfd1b86e3aaef51aaae5cba454d4f6f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ff5188837cbd67135ab21996d3fa1a0cfd1b86e3aaef51aaae5cba454d4f6f4", kill_on_drop: false }` [INFO] [stdout] 8ff5188837cbd67135ab21996d3fa1a0cfd1b86e3aaef51aaae5cba454d4f6f4 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2736b9bb4c0e3119531ecac44ec0f1bea934369ddbdc82ca240a919ea2bc18f5 [INFO] running `Command { std: "docker" "start" "-a" "2736b9bb4c0e3119531ecac44ec0f1bea934369ddbdc82ca240a919ea2bc18f5", kill_on_drop: false }` [INFO] [stderr] Compiling Avi-core v0.1.31 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `val_text` is never read [INFO] [stdout] --> src/intent/slot_extrator.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | let mut val_text = val.as_str().to_string(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/skills/avi_script/modules.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn say(key: &str, context: rhai::Map) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/skills/avi_script/modules.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn say(key: &str, context: rhai::Map) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/skills/avi_script/modules.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn text(message: &str) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/skills/avi_script/modules.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn translated(key: &str, context: rhai::Map) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/skills/avi_script/modules.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn translated(key: &str, context: rhai::Map) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/skills/avi_script/modules.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn question(key: &str, callback: rhai::FnPtr, context: rhai::Map, expected: rhai::Dynamic) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/skills/avi_script/modules.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn question(key: &str, callback: rhai::FnPtr, context: rhai::Map, expected: rhai::Dynamic) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/skills/avi_script/modules.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn question(key: &str, callback: rhai::FnPtr, context: rhai::Map, expected: rhai::Dynamic) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/skills/avi_script/modules.rs:20:75 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn question(key: &str, callback: rhai::FnPtr, context: rhai::Map, expected: rhai::Dynamic) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/skills/avi_script/modules.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn on_input(callback: rhai::FnPtr, expected: rhai::Dynamic) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/skills/avi_script/modules.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn on_input(callback: rhai::FnPtr, expected: rhai::Dynamic) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/skills/avi_script/modules.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn confirm(callback: rhai::FnPtr) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/skills/avi_script/modules.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn cancel(callback: rhai::FnPtr) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prompt` [INFO] [stdout] --> src/skills/avi_script/modules.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn number_input(prompt: &str, callback: rhai::FnPtr) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/skills/avi_script/modules.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn number_input(prompt: &str, callback: rhai::FnPtr) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/skills/avi_script/modules.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get(file: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/skills/avi_script/modules.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn exists(file: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/skills/avi_script/modules.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn read_text(file: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/skills/avi_script/modules.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn read_json(file: &str) -> rhai::Map { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/skills/avi_script/modules.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn play(file: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/skills/avi_script/modules.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn volume(level: i64) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/skills/avi_script/modules.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn save(name: &str, value: rhai::Dynamic) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/skills/avi_script/modules.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn save(name: &str, value: rhai::Dynamic) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/skills/avi_script/modules.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn load(name: &str) -> rhai::Dynamic { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/skills/avi_script/modules.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn clear(name: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/skills/avi_script/modules.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn call(route: &str, method: &str, params: rhai::Map) -> rhai::Dynamic { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/skills/avi_script/modules.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn call(route: &str, method: &str, params: rhai::Map) -> rhai::Dynamic { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/skills/avi_script/modules.rs:116:44 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn call(route: &str, method: &str, params: rhai::Map) -> rhai::Dynamic { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/skills/avi_script/modules.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get(route: &str, params: rhai::Map) -> rhai::Dynamic { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/skills/avi_script/modules.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get(route: &str, params: rhai::Map) -> rhai::Dynamic { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/skills/avi_script/modules.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn post(route: &str, body: rhai::Map) -> rhai::Dynamic { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/skills/avi_script/modules.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn post(route: &str, body: rhai::Map) -> rhai::Dynamic { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/skills/avi_script/modules.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn emit(name: &str, payload: rhai::Map) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/skills/avi_script/modules.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn emit(name: &str, payload: rhai::Map) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/skills/avi_script/modules.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn listen(name: &str, callback: rhai::FnPtr) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/skills/avi_script/modules.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn listen(name: &str, callback: rhai::FnPtr) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mqtt` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mqtt = start_mqtt(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mqtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Stop` and `Reload` are never constructed [INFO] [stdout] --> src/broker/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum ControlMessage { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 8 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Reload(Config), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `control_tx` and `handle` are never read [INFO] [stdout] --> src/broker/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct EmbeddedBroker { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 13 | control_tx: Sender, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | handle: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stop` and `reload` are never used [INFO] [stdout] --> src/broker/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl EmbeddedBroker { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn reload(&self, new_config: Config) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/language/response/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/language/response/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Response { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 15 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_response` is never used [INFO] [stdout] --> src/language/response/mod.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn get_response( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register_script` and `list_available_scripts` are never used [INFO] [stdout] --> src/skills/avi_script/avi_librarymanager.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl AviScriptLibraryManager { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn register_script(&mut self, name: &str, content: &'static str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn list_available_scripts(&self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_to_int` is never used [INFO] [stdout] --> src/skills/avi_script/net/addr.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn convert_to_int(val: impl TryInto) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addr` is never used [INFO] [stdout] --> src/skills/avi_script/net/addr.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn addr(raw: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addr_with_port` is never used [INFO] [stdout] --> src/skills/avi_script/net/addr.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn addr_with_port(raw: &str, port: rhai::INT) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_ipv4` is never used [INFO] [stdout] --> src/skills/avi_script/net/addr.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn is_ipv4(addr: &mut SocketAddr) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_ipv6` is never used [INFO] [stdout] --> src/skills/avi_script/net/addr.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn is_ipv6(addr: &mut SocketAddr) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `port` is never used [INFO] [stdout] --> src/skills/avi_script/net/addr.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn port(addr: &mut SocketAddr) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_to_int` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn convert_to_int(val: impl TryInto) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedTcpStream` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub type SharedTcpStream = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tcp_connect` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn tcp_connect(addr: SocketAddr) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tcp_connect_str` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn tcp_connect_str( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tcp_connect_with_timeout` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn tcp_connect_with_timeout( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tcp_connect_with_timeout_str` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn tcp_connect_with_timeout_str( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shutdown` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn shutdown(stream: &mut SharedTcpStream) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_to_string` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn read_to_string( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_to_string_with_len` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn read_to_string_with_len( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_with_string` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn write_with_string( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedTcpListener` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub type SharedTcpListener = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tcp_listen` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn tcp_listen(addr: SocketAddr) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tcp_listen_str` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn tcp_listen_str( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accept` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn accept( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_to_blob_with_len` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn read_to_blob_with_len( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_tcp` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn read_from_tcp( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_tcp` is never used [INFO] [stdout] --> src/skills/avi_script/net/tcp.rs:233:16 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn write_to_tcp( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop_all` is never used [INFO] [stdout] --> src/skills/manager.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> SkillManager<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn stop_all(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `metadata` and `stop` are never used [INFO] [stdout] --> src/skills/skill.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 43 | impl<'a> Skill<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub(crate) fn metadata(&self) -> &SkillMetadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub(crate) fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `languages`, and `license` are never read [INFO] [stdout] --> src/skills/skill_metadata.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SkillMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub description: ImmutableString, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub languages: Array, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub license: ImmutableString, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "2736b9bb4c0e3119531ecac44ec0f1bea934369ddbdc82ca240a919ea2bc18f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2736b9bb4c0e3119531ecac44ec0f1bea934369ddbdc82ca240a919ea2bc18f5", kill_on_drop: false }` [INFO] [stdout] 2736b9bb4c0e3119531ecac44ec0f1bea934369ddbdc82ca240a919ea2bc18f5