[INFO] fetching crate bing-rs 0.0.4... [INFO] checking bing-rs-0.0.4 against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] extracting crate bing-rs 0.0.4 into /workspace/builds/worker-35/source [INFO] validating manifest of crates.io crate bing-rs 0.0.4 on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "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-35/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8964e514d252c058cb43190235703ebd02c4201a3b01deb9333ef40b46143b3 [INFO] running `Command { std: "docker" "start" "-a" "b8964e514d252c058cb43190235703ebd02c4201a3b01deb9333ef40b46143b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8964e514d252c058cb43190235703ebd02c4201a3b01deb9333ef40b46143b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8964e514d252c058cb43190235703ebd02c4201a3b01deb9333ef40b46143b3", kill_on_drop: false }` [INFO] [stdout] b8964e514d252c058cb43190235703ebd02c4201a3b01deb9333ef40b46143b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbd551624b55c57c7be8dab98f6a05a885c6572bd73e907e87885ced4c347d08 [INFO] running `Command { std: "docker" "start" "-a" "bbd551624b55c57c7be8dab98f6a05a885c6572bd73e907e87885ced4c347d08", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling bitflags v1.3.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking bit-set v0.4.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Checking object v0.26.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking chan v0.1.23 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking chan-signal v0.3.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling serde_derive v1.0.58 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking ws v0.7.9 [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 tokio-rustls v0.7.2 [INFO] [stderr] Checking hyper-rustls v0.14.0 [INFO] [stderr] Checking serde_json v1.0.66 [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: 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] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [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] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + Send + Sync` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + Send + Sync` [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] [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] = note: `#[warn(unused_attributes)]` on by default [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/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/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] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [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] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + Send + Sync` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + Send + Sync` [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] [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] = note: `#[warn(unused_attributes)]` on by default [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/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/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: `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] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [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] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.63s [INFO] running `Command { std: "docker" "inspect" "bbd551624b55c57c7be8dab98f6a05a885c6572bd73e907e87885ced4c347d08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbd551624b55c57c7be8dab98f6a05a885c6572bd73e907e87885ced4c347d08", kill_on_drop: false }` [INFO] [stdout] bbd551624b55c57c7be8dab98f6a05a885c6572bd73e907e87885ced4c347d08