[INFO] fetching crate bing-rs 0.0.4... [INFO] checking bing-rs-0.0.4 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate bing-rs 0.0.4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate bing-rs 0.0.4 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chan-signal v0.3.3 [INFO] [stderr] Downloaded coreaudio-rs v0.9.1 [INFO] [stderr] Downloaded chan v0.1.23 [INFO] [stderr] Downloaded bit-set v0.4.0 [INFO] [stderr] Downloaded ct-logs v0.4.0 [INFO] [stderr] Downloaded bindgen v0.56.0 [INFO] [stderr] Downloaded cpal v0.8.2 [INFO] [stderr] Downloaded alsa-sys v0.1.2 [INFO] [stderr] Downloaded tokio-rustls v0.7.2 [INFO] [stderr] Downloaded hyper-rustls v0.14.0 [INFO] [stderr] Downloaded coreaudio-sys v0.2.8 [INFO] [stderr] Downloaded stdweb v0.1.3 [INFO] [stderr] Downloaded serde_derive v1.0.58 [INFO] [stderr] Downloaded ws v0.7.9 [INFO] [stderr] Downloaded cbindgen v0.6.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e069b81b306b18dd02ff556d4700838c0efeffef497bc98c0e8f7a25ca9e343 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7e069b81b306b18dd02ff556d4700838c0efeffef497bc98c0e8f7a25ca9e343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e069b81b306b18dd02ff556d4700838c0efeffef497bc98c0e8f7a25ca9e343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e069b81b306b18dd02ff556d4700838c0efeffef497bc98c0e8f7a25ca9e343", kill_on_drop: false }` [INFO] [stdout] 7e069b81b306b18dd02ff556d4700838c0efeffef497bc98c0e8f7a25ca9e343 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ace61d52ca4b1cce05c617e362ea053d1db83836c7317942a08476d6b13f9f80 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ace61d52ca4b1cce05c617e362ea053d1db83836c7317942a08476d6b13f9f80", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Checking bit-set v0.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [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 futures-cpupool v0.1.8 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking chan v0.1.23 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking chan-signal v0.3.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Compiling rand v0.8.3 [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 tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking sct v0.4.0 [INFO] [stderr] Checking webpki v0.18.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking ct-logs v0.4.0 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking rustls v0.13.1 [INFO] [stderr] Checking webpki-roots v0.15.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking ws v0.7.9 [INFO] [stderr] Compiling serde_derive v1.0.58 [INFO] [stderr] Checking tokio-rustls v0.7.2 [INFO] [stderr] Checking hyper-rustls v0.14.0 [INFO] [stderr] Checking serde_json v1.0.64 [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] [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] [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] [INFO] [stdout] warning: attribute should be applied to a function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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] [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] [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] [INFO] [stdout] warning: attribute should be applied to a function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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 function 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: `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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "ace61d52ca4b1cce05c617e362ea053d1db83836c7317942a08476d6b13f9f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ace61d52ca4b1cce05c617e362ea053d1db83836c7317942a08476d6b13f9f80", kill_on_drop: false }` [INFO] [stdout] ace61d52ca4b1cce05c617e362ea053d1db83836c7317942a08476d6b13f9f80