[INFO] fetching crate bing-rs 0.0.4... [INFO] checking bing-rs-0.0.4 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate bing-rs 0.0.4 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate bing-rs 0.0.4 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bing-rs 0.0.4 [INFO] finished tweaking crates.io crate bing-rs 0.0.4 [INFO] tweaked toml for crates.io crate bing-rs 0.0.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 219 packages [INFO] [stderr] Adding alsa-sys v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding base64 v0.9.3 (latest: v0.22.0) [INFO] [stderr] Adding bit-set v0.4.0 (latest: v0.5.3) [INFO] [stderr] Adding bit-vec v0.4.4 (latest: v0.6.3) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding cbindgen v0.6.8 (latest: v0.26.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding core-foundation-sys v0.5.1 (latest: v0.8.6) [INFO] [stderr] Adding coreaudio-rs v0.9.1 (latest: v0.11.3) [INFO] [stderr] Adding cpal v0.8.2 (latest: v0.15.3) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (latest: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.8.2 (latest: v0.9.18) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (latest: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (latest: v0.8.19) [INFO] [stderr] Adding ct-logs v0.4.0 (latest: v0.9.0) [INFO] [stderr] Adding env_logger v0.5.13 (latest: v0.11.3) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding h2 v0.1.26 (latest: v0.4.4) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding http v0.1.21 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.1.0 (latest: v1.0.0) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding hyper v0.12.36 (latest: v1.2.0) [INFO] [stderr] Adding hyper-rustls v0.14.0 (latest: v0.27.0) [INFO] [stderr] Adding hyper-tls v0.3.2 (latest: v0.6.0) [INFO] [stderr] Adding idna v0.1.5 (latest: v0.5.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding itoa v0.4.8 (latest: v1.0.11) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.4.0) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding lock_api v0.3.4 (latest: v0.4.11) [INFO] [stderr] Adding memoffset v0.5.6 (latest: v0.9.1) [INFO] [stderr] Adding mio v0.6.23 (latest: v0.8.11) [INFO] [stderr] Adding miow v0.2.2 (latest: v0.6.0) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding parking_lot v0.9.0 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot_core v0.6.3 (latest: v0.9.9) [INFO] [stderr] Adding percent-encoding v1.0.1 (latest: v2.3.1) [INFO] [stderr] Adding proc-macro2 v0.3.8 (latest: v1.0.79) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.79) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quote v0.5.2 (latest: v1.0.35) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.35) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.1) [INFO] [stderr] Adding ring v0.13.5 (latest: v0.17.8) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding rustls v0.13.1 (latest: v0.23.4) [INFO] [stderr] Adding scoped-tls v0.1.2 (latest: v1.0.1) [INFO] [stderr] Adding sct v0.4.0 (latest: v0.7.1) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding serde v1.0.102 (latest: v1.0.197) [INFO] [stderr] Adding serde_derive v1.0.58 (latest: v1.0.197) [INFO] [stderr] Adding serde_json v1.0.99 (latest: v1.0.115) [INFO] [stderr] Adding sha1 v0.6.1 (latest: v0.10.6) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding stdweb v0.1.3 (latest: v0.4.20) [INFO] [stderr] Adding string v0.2.1 (latest: v0.3.0) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v0.13.11 (latest: v2.0.58) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.58) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding tokio v0.1.22 (latest: v1.37.0) [INFO] [stderr] Adding tokio-rustls v0.7.2 (latest: v0.26.0) [INFO] [stderr] Adding toml v0.4.10 (latest: v0.8.12) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [INFO] [stderr] Adding untrusted v0.6.2 (latest: v0.9.0) [INFO] [stderr] Adding url v1.7.2 (latest: v2.5.0) [INFO] [stderr] Adding uuid v0.6.5 (latest: v1.8.0) [INFO] [stderr] Adding want v0.2.0 (latest: v0.3.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding webpki v0.18.1 (latest: v0.22.4) [INFO] [stderr] Adding webpki-roots v0.15.0 (latest: v0.26.1) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] [stderr] Adding ws v0.7.9 (latest: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ws v0.7.9 [INFO] [stderr] Downloaded quote v0.5.2 [INFO] [stderr] Downloaded untrusted v0.6.2 [INFO] [stderr] Downloaded proc-macro2 v0.3.8 [INFO] [stderr] Downloaded scoped-tls v0.1.2 [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] [stderr] Downloaded bit-vec v0.4.4 [INFO] [stderr] Downloaded chan v0.1.23 [INFO] [stderr] Downloaded cbindgen v0.6.8 [INFO] [stderr] Downloaded webpki v0.18.1 [INFO] [stderr] Downloaded webpki-roots v0.15.0 [INFO] [stderr] Downloaded rustls v0.13.1 [INFO] [stderr] Downloaded syn v0.13.11 [INFO] [stderr] Downloaded serde_json v1.0.99 [INFO] [stderr] Downloaded chan-signal v0.3.3 [INFO] [stderr] Downloaded ct-logs v0.4.0 [INFO] [stderr] Downloaded sct v0.4.0 [INFO] [stderr] Downloaded tokio-rustls v0.7.2 [INFO] [stderr] Downloaded hyper-rustls v0.14.0 [INFO] [stderr] Downloaded bit-set v0.4.0 [INFO] [stderr] Downloaded ring v0.13.5 [INFO] [stderr] Downloaded serde_derive v1.0.58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bc1d9aee0381a15c5366053bb09db683ecc8af117186c33402644330f096798 [INFO] running `Command { std: "docker" "start" "-a" "9bc1d9aee0381a15c5366053bb09db683ecc8af117186c33402644330f096798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bc1d9aee0381a15c5366053bb09db683ecc8af117186c33402644330f096798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bc1d9aee0381a15c5366053bb09db683ecc8af117186c33402644330f096798", kill_on_drop: false }` [INFO] [stdout] 9bc1d9aee0381a15c5366053bb09db683ecc8af117186c33402644330f096798 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a44cda8dbad0fbe88d1fb044f34e43d65efcfd93f7f9b1ddabace1441e31856d [INFO] running `Command { std: "docker" "start" "-a" "a44cda8dbad0fbe88d1fb044f34e43d65efcfd93f7f9b1ddabace1441e31856d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking bit-set v0.4.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking chan v0.1.23 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking openssl v0.10.64 [INFO] [stderr] Checking chan-signal v0.3.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking hyper v0.12.36 [INFO] [stderr] Compiling serde_derive v1.0.58 [INFO] [stderr] Checking sct v0.4.0 [INFO] [stderr] Checking webpki v0.18.1 [INFO] [stderr] Checking ct-logs v0.4.0 [INFO] [stderr] Checking rustls v0.13.1 [INFO] [stderr] Checking webpki-roots v0.15.0 [INFO] [stderr] Checking backtrace v0.3.71 [INFO] [stderr] Checking ws v0.7.9 [INFO] [stderr] Checking tokio-rustls v0.7.2 [INFO] [stderr] Checking hyper-rustls v0.14.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling cbindgen v0.6.8 [INFO] [stderr] Compiling bing-rs v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/speech/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Send` is imported redundantly [INFO] [stdout] --> src/speech/c.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::marker::Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Send` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/speech/c.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use speech::*; [INFO] [stdout] | --------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/speech/c.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use speech::*; [INFO] [stdout] | --------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/speech/websocket.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use speech::*; [INFO] [stdout] | --------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/speech/websocket.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use speech::*; [INFO] [stdout] | --------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `thread` is imported redundantly [INFO] [stdout] --> src/speech/websocket.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use speech::*; [INFO] [stdout] | --------- the item `thread` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ws` is imported redundantly [INFO] [stdout] --> src/speech/websocket.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ws; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate ws; [INFO] [stdout] | ---------------- the item `ws` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/speech/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/speech/websocket.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | [INFO] [stdout] 10 | use speech::*; [INFO] [stdout] | --------- the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Send` is imported redundantly [INFO] [stdout] --> src/speech/c.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::marker::Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Send` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/speech/c.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use speech::*; [INFO] [stdout] | --------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/speech/c.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use speech::*; [INFO] [stdout] | --------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/speech/websocket.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use speech::*; [INFO] [stdout] | --------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/speech/websocket.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use speech::*; [INFO] [stdout] | --------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `thread` is imported redundantly [INFO] [stdout] --> src/speech/websocket.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use speech::*; [INFO] [stdout] | --------- the item `thread` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ws` is imported redundantly [INFO] [stdout] --> src/speech/websocket.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ws; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate ws; [INFO] [stdout] | ---------------- the item `ws` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/speech/websocket.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | [INFO] [stdout] 10 | use speech::*; [INFO] [stdout] | --------- the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | / pub struct Speech { [INFO] [stdout] 36 | | pub token: Arc>, [INFO] [stdout] 37 | | core: Rc>, [INFO] [stdout] 38 | | client: Rc>>, [INFO] [stdout] ... | [INFO] [stdout] 41 | | endpoint_id: String, [INFO] [stdout] 42 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/mod.rs:305:1 [INFO] [stdout] | [INFO] [stdout] 305 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | / pub struct DetailedPhraseItem { [INFO] [stdout] 309 | | #[serde(rename = "Confidence")] [INFO] [stdout] 310 | | pub confidence: f64, [INFO] [stdout] 311 | | #[serde(rename = "Lexical")] [INFO] [stdout] ... | [INFO] [stdout] 318 | | pub display: String, [INFO] [stdout] 319 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/mod.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 322 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | / pub struct DetailedPhrase { [INFO] [stdout] 326 | | #[serde(rename = "RecognitionStatus")] [INFO] [stdout] 327 | | pub recognition_status: String, [INFO] [stdout] 328 | | #[serde(rename = "Offset")] [INFO] [stdout] ... | [INFO] [stdout] 333 | | pub nbest: Vec, [INFO] [stdout] 334 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/mod.rs:337:1 [INFO] [stdout] | [INFO] [stdout] 337 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | / pub struct SimplePhrase { [INFO] [stdout] 341 | | #[serde(rename = "RecognitionStatus")] [INFO] [stdout] 342 | | pub recognition_status: String, [INFO] [stdout] 343 | | #[serde(rename = "DisplayText")] [INFO] [stdout] ... | [INFO] [stdout] 348 | | pub duration: f64, [INFO] [stdout] 349 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/mod.rs:352:1 [INFO] [stdout] | [INFO] [stdout] 352 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | / pub struct SilencePhrase { [INFO] [stdout] 356 | | #[serde(rename = "RecognitionStatus")] [INFO] [stdout] 357 | | pub recognition_status: String, [INFO] [stdout] 358 | | #[serde(rename = "Offset")] [INFO] [stdout] ... | [INFO] [stdout] 361 | | pub duration: f64, [INFO] [stdout] 362 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/mod.rs:365:1 [INFO] [stdout] | [INFO] [stdout] 365 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | / pub struct Hypothesis { [INFO] [stdout] 369 | | #[serde(rename = "Text")] [INFO] [stdout] 370 | | pub text: String, [INFO] [stdout] 371 | | #[serde(rename = "Offset")] [INFO] [stdout] ... | [INFO] [stdout] 374 | | pub duration: f64, [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/mod.rs:378:1 [INFO] [stdout] | [INFO] [stdout] 378 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | / pub enum Phrase { [INFO] [stdout] 382 | | Simple(SimplePhrase), [INFO] [stdout] 383 | | Detailed(DetailedPhrase), [INFO] [stdout] 384 | | Silence(SilencePhrase), [INFO] [stdout] 385 | | Unknown, [INFO] [stdout] 386 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/c.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | / pub struct BingSpeech { [INFO] [stdout] 13 | | handle: Speech, [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/c.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | / pub struct BingSpeechWebsocket { [INFO] [stdout] 18 | | handle: Websocket, [INFO] [stdout] 19 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/c.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | #[repr(C)] [INFO] [stdout] 23 | / pub struct BingSpeechWebsocketHandler { [INFO] [stdout] 24 | | on_turn_start: fn(), [INFO] [stdout] 25 | | on_turn_end: fn(), [INFO] [stdout] 26 | | on_speech_start: fn(), [INFO] [stdout] ... | [INFO] [stdout] 29 | | on_speech_phrase: fn(BingSpeechPhrase), [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/c.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | #[repr(C)] [INFO] [stdout] 34 | / pub struct BingSpeechResult { [INFO] [stdout] 35 | | pub confidence: c_double, [INFO] [stdout] 36 | | pub lexical: *mut c_char, [INFO] [stdout] 37 | | pub itn: *mut c_char, [INFO] [stdout] 38 | | pub masked_itn: *mut c_char, [INFO] [stdout] 39 | | pub display: *mut c_char, [INFO] [stdout] 40 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/c.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 43 | #[repr(C)] [INFO] [stdout] 44 | / pub struct BingSpeechPhrase { [INFO] [stdout] 45 | | recognition_status: *mut c_char, [INFO] [stdout] 46 | | display_text: *mut c_char, [INFO] [stdout] 47 | | offset: c_double, [INFO] [stdout] ... | [INFO] [stdout] 50 | | nbest_count: c_int, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/c.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 54 | #[repr(C)] [INFO] [stdout] 55 | / pub struct BingSpeechHypothesis { [INFO] [stdout] 56 | | text: *mut c_char, [INFO] [stdout] 57 | | offset: c_double, [INFO] [stdout] 58 | | duration: c_double, [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/c.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 64 | #[repr(C)] [INFO] [stdout] 65 | / pub struct BingSpeechHandler { [INFO] [stdout] 66 | | c_handler: Arc>, [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/websocket.rs:308:1 [INFO] [stdout] | [INFO] [stdout] 308 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | / pub struct ConfigPayload { [INFO] [stdout] 312 | | pub context: ConfigPayloadContext, [INFO] [stdout] 313 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/websocket.rs:315:1 [INFO] [stdout] | [INFO] [stdout] 315 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | / pub struct ConfigPayloadContext { [INFO] [stdout] 319 | | pub system: ConfigPayloadContextSystem, [INFO] [stdout] 320 | | pub os: ConfigPayloadContextOs, [INFO] [stdout] 321 | | pub device: ConfigPayloadContextDevice, [INFO] [stdout] 322 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | / pub struct Speech { [INFO] [stdout] 36 | | pub token: Arc>, [INFO] [stdout] 37 | | core: Rc>, [INFO] [stdout] 38 | | client: Rc>>, [INFO] [stdout] ... | [INFO] [stdout] 41 | | endpoint_id: String, [INFO] [stdout] 42 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/websocket.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | / pub struct ConfigPayloadContextSystem { [INFO] [stdout] 328 | | pub version: String, [INFO] [stdout] 329 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/websocket.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 331 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | / pub struct ConfigPayloadContextOs { [INFO] [stdout] 335 | | pub platform: String, [INFO] [stdout] 336 | | pub name: String, [INFO] [stdout] 337 | | pub version: String, [INFO] [stdout] 338 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/mod.rs:305:1 [INFO] [stdout] | [INFO] [stdout] 305 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | / pub struct DetailedPhraseItem { [INFO] [stdout] 309 | | #[serde(rename = "Confidence")] [INFO] [stdout] 310 | | pub confidence: f64, [INFO] [stdout] 311 | | #[serde(rename = "Lexical")] [INFO] [stdout] ... | [INFO] [stdout] 318 | | pub display: String, [INFO] [stdout] 319 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/websocket.rs:340:1 [INFO] [stdout] | [INFO] [stdout] 340 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | / pub struct ConfigPayloadContextDevice { [INFO] [stdout] 344 | | pub manufacturer: String, [INFO] [stdout] 345 | | pub model: String, [INFO] [stdout] 346 | | pub version: String, [INFO] [stdout] 347 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/mod.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 322 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | / pub struct DetailedPhrase { [INFO] [stdout] 326 | | #[serde(rename = "RecognitionStatus")] [INFO] [stdout] 327 | | pub recognition_status: String, [INFO] [stdout] 328 | | #[serde(rename = "Offset")] [INFO] [stdout] ... | [INFO] [stdout] 333 | | pub nbest: Vec, [INFO] [stdout] 334 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/mod.rs:337:1 [INFO] [stdout] | [INFO] [stdout] 337 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | / pub struct SimplePhrase { [INFO] [stdout] 341 | | #[serde(rename = "RecognitionStatus")] [INFO] [stdout] 342 | | pub recognition_status: String, [INFO] [stdout] 343 | | #[serde(rename = "DisplayText")] [INFO] [stdout] ... | [INFO] [stdout] 348 | | pub duration: f64, [INFO] [stdout] 349 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/mod.rs:352:1 [INFO] [stdout] | [INFO] [stdout] 352 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | / pub struct SilencePhrase { [INFO] [stdout] 356 | | #[serde(rename = "RecognitionStatus")] [INFO] [stdout] 357 | | pub recognition_status: String, [INFO] [stdout] 358 | | #[serde(rename = "Offset")] [INFO] [stdout] ... | [INFO] [stdout] 361 | | pub duration: f64, [INFO] [stdout] 362 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/mod.rs:365:1 [INFO] [stdout] | [INFO] [stdout] 365 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | / pub struct Hypothesis { [INFO] [stdout] 369 | | #[serde(rename = "Text")] [INFO] [stdout] 370 | | pub text: String, [INFO] [stdout] 371 | | #[serde(rename = "Offset")] [INFO] [stdout] ... | [INFO] [stdout] 374 | | pub duration: f64, [INFO] [stdout] 375 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/mod.rs:378:1 [INFO] [stdout] | [INFO] [stdout] 378 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | / pub enum Phrase { [INFO] [stdout] 382 | | Simple(SimplePhrase), [INFO] [stdout] 383 | | Detailed(DetailedPhrase), [INFO] [stdout] 384 | | Silence(SilencePhrase), [INFO] [stdout] 385 | | Unknown, [INFO] [stdout] 386 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/speech/websocket.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | handler: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | handler: Arc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/speech/websocket.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | handler: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | handler: Arc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/c.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | / pub struct BingSpeech { [INFO] [stdout] 13 | | handle: Speech, [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/c.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | / pub struct BingSpeechWebsocket { [INFO] [stdout] 18 | | handle: Websocket, [INFO] [stdout] 19 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/c.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | #[repr(C)] [INFO] [stdout] 23 | / pub struct BingSpeechWebsocketHandler { [INFO] [stdout] 24 | | on_turn_start: fn(), [INFO] [stdout] 25 | | on_turn_end: fn(), [INFO] [stdout] 26 | | on_speech_start: fn(), [INFO] [stdout] ... | [INFO] [stdout] 29 | | on_speech_phrase: fn(BingSpeechPhrase), [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/c.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | #[repr(C)] [INFO] [stdout] 34 | / pub struct BingSpeechResult { [INFO] [stdout] 35 | | pub confidence: c_double, [INFO] [stdout] 36 | | pub lexical: *mut c_char, [INFO] [stdout] 37 | | pub itn: *mut c_char, [INFO] [stdout] 38 | | pub masked_itn: *mut c_char, [INFO] [stdout] 39 | | pub display: *mut c_char, [INFO] [stdout] 40 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/c.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 43 | #[repr(C)] [INFO] [stdout] 44 | / pub struct BingSpeechPhrase { [INFO] [stdout] 45 | | recognition_status: *mut c_char, [INFO] [stdout] 46 | | display_text: *mut c_char, [INFO] [stdout] 47 | | offset: c_double, [INFO] [stdout] ... | [INFO] [stdout] 50 | | nbest_count: c_int, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/c.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 54 | #[repr(C)] [INFO] [stdout] 55 | / pub struct BingSpeechHypothesis { [INFO] [stdout] 56 | | text: *mut c_char, [INFO] [stdout] 57 | | offset: c_double, [INFO] [stdout] 58 | | duration: c_double, [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/c.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 64 | #[repr(C)] [INFO] [stdout] 65 | / pub struct BingSpeechHandler { [INFO] [stdout] 66 | | c_handler: Arc>, [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/websocket.rs:308:1 [INFO] [stdout] | [INFO] [stdout] 308 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | / pub struct ConfigPayload { [INFO] [stdout] 312 | | pub context: ConfigPayloadContext, [INFO] [stdout] 313 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/websocket.rs:315:1 [INFO] [stdout] | [INFO] [stdout] 315 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | / pub struct ConfigPayloadContext { [INFO] [stdout] 319 | | pub system: ConfigPayloadContextSystem, [INFO] [stdout] 320 | | pub os: ConfigPayloadContextOs, [INFO] [stdout] 321 | | pub device: ConfigPayloadContextDevice, [INFO] [stdout] 322 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/websocket.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | / pub struct ConfigPayloadContextSystem { [INFO] [stdout] 328 | | pub version: String, [INFO] [stdout] 329 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/websocket.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 331 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | / pub struct ConfigPayloadContextOs { [INFO] [stdout] 335 | | pub platform: String, [INFO] [stdout] 336 | | pub name: String, [INFO] [stdout] 337 | | pub version: String, [INFO] [stdout] 338 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/speech/websocket.rs:340:1 [INFO] [stdout] | [INFO] [stdout] 340 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | / pub struct ConfigPayloadContextDevice { [INFO] [stdout] 344 | | pub manufacturer: String, [INFO] [stdout] 345 | | pub model: String, [INFO] [stdout] 346 | | pub version: String, [INFO] [stdout] 347 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/speech/websocket.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | handler: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | handler: Arc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/speech/websocket.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | handler: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | handler: Arc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/speech/websocket.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | handler: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 | handler: Arc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/speech/websocket.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | handler: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 | handler: Arc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/speech/c.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | Box::from_raw(bing_speech); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = Box::from_raw(bing_speech); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/speech/c.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | Box::from_raw(bing_speech); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = Box::from_raw(bing_speech); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stdout] --> src/speech/c.rs:320:14 [INFO] [stdout] | [INFO] [stdout] 320 | handler: BingSpeechWebsocketHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stdout] --> src/speech/c.rs:320:14 [INFO] [stdout] | [INFO] [stdout] 320 | handler: BingSpeechWebsocketHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/speech/c.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | Box::from_raw(c_websocket); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 375 | let _ = Box::from_raw(c_websocket); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/speech/c.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | Box::from_raw(c_websocket); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 375 | let _ = Box::from_raw(c_websocket); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.47s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.13.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "a44cda8dbad0fbe88d1fb044f34e43d65efcfd93f7f9b1ddabace1441e31856d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a44cda8dbad0fbe88d1fb044f34e43d65efcfd93f7f9b1ddabace1441e31856d", kill_on_drop: false }` [INFO] [stdout] a44cda8dbad0fbe88d1fb044f34e43d65efcfd93f7f9b1ddabace1441e31856d