[INFO] fetching crate bing-rs 0.0.4... [INFO] testing bing-rs-0.0.4 against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] extracting crate bing-rs 0.0.4 into /workspace/builds/worker-24/source [INFO] validating manifest of crates.io crate bing-rs 0.0.4 on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "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-24/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aded362a8f3a6f70a09bcffacfda77fc484c4846251bf4a4580dd4c5e87bf8e0 [INFO] running `Command { std: "docker" "start" "-a" "aded362a8f3a6f70a09bcffacfda77fc484c4846251bf4a4580dd4c5e87bf8e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aded362a8f3a6f70a09bcffacfda77fc484c4846251bf4a4580dd4c5e87bf8e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aded362a8f3a6f70a09bcffacfda77fc484c4846251bf4a4580dd4c5e87bf8e0", kill_on_drop: false }` [INFO] [stdout] aded362a8f3a6f70a09bcffacfda77fc484c4846251bf4a4580dd4c5e87bf8e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2a5de6a0c5bd0007560cd9ce50e3facf36936917256d914a9525430f5fc8628 [INFO] running `Command { std: "docker" "start" "-a" "d2a5de6a0c5bd0007560cd9ce50e3facf36936917256d914a9525430f5fc8628", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling quote v0.6.13 [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] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.28.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling serde_derive v1.0.58 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling sct v0.4.0 [INFO] [stderr] Compiling webpki v0.18.1 [INFO] [stderr] Compiling ct-logs v0.4.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling rustls v0.13.1 [INFO] [stderr] Compiling webpki-roots v0.15.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling ws v0.7.9 [INFO] [stderr] Compiling tokio-rustls v0.7.2 [INFO] [stderr] Compiling 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: 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] | ^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - handler: Arc>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - handler: Arc>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 - handler: Arc>, [INFO] [stdout] 94 + handler: Arc>, [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] = 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 24.47s [INFO] running `Command { std: "docker" "inspect" "d2a5de6a0c5bd0007560cd9ce50e3facf36936917256d914a9525430f5fc8628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2a5de6a0c5bd0007560cd9ce50e3facf36936917256d914a9525430f5fc8628", kill_on_drop: false }` [INFO] [stdout] d2a5de6a0c5bd0007560cd9ce50e3facf36936917256d914a9525430f5fc8628 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f6b8a9cd5e8f72098a5cc17d96e6bed63040dfeb77feccf71d63a26e1d1961d [INFO] running `Command { std: "docker" "start" "-a" "6f6b8a9cd5e8f72098a5cc17d96e6bed63040dfeb77feccf71d63a26e1d1961d", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling rand v0.3.23 [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] | ^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - handler: Arc>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - handler: Arc>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 - handler: Arc>, [INFO] [stdout] 94 + handler: Arc>, [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] = 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] Compiling chan v0.1.23 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling chan-signal v0.3.3 [INFO] [stderr] Compiling bing-rs v0.0.4 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - handler: Arc>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - handler: Arc>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 - handler: Arc>, [INFO] [stdout] 94 + handler: Arc>, [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] = 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 test [unoptimized + debuginfo] target(s) in 3.94s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/bing_rs-7814434b5d68b6a3) [INFO] running `Command { std: "docker" "inspect" "6f6b8a9cd5e8f72098a5cc17d96e6bed63040dfeb77feccf71d63a26e1d1961d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f6b8a9cd5e8f72098a5cc17d96e6bed63040dfeb77feccf71d63a26e1d1961d", kill_on_drop: false }` [INFO] [stdout] 6f6b8a9cd5e8f72098a5cc17d96e6bed63040dfeb77feccf71d63a26e1d1961d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5d82de3e876b19cddb436b603303db9ffb0c3d05e78b16ef8d5e7264be65051a [INFO] running `Command { std: "docker" "start" "-a" "5d82de3e876b19cddb436b603303db9ffb0c3d05e78b16ef8d5e7264be65051a", kill_on_drop: false }` [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/mod.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 35 | / pub struct Speech { [INFO] [stderr] 36 | | pub token: Arc>, [INFO] [stderr] 37 | | core: Rc>, [INFO] [stderr] 38 | | client: Rc>>, [INFO] [stderr] ... | [INFO] [stderr] 41 | | endpoint_id: String, [INFO] [stderr] 42 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/mod.rs:305:1 [INFO] [stderr] | [INFO] [stderr] 305 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 308 | / pub struct DetailedPhraseItem { [INFO] [stderr] 309 | | #[serde(rename = "Confidence")] [INFO] [stderr] 310 | | pub confidence: f64, [INFO] [stderr] 311 | | #[serde(rename = "Lexical")] [INFO] [stderr] ... | [INFO] [stderr] 318 | | pub display: String, [INFO] [stderr] 319 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/mod.rs:322:1 [INFO] [stderr] | [INFO] [stderr] 322 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 325 | / pub struct DetailedPhrase { [INFO] [stderr] 326 | | #[serde(rename = "RecognitionStatus")] [INFO] [stderr] 327 | | pub recognition_status: String, [INFO] [stderr] 328 | | #[serde(rename = "Offset")] [INFO] [stderr] ... | [INFO] [stderr] 333 | | pub nbest: Vec, [INFO] [stderr] 334 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/mod.rs:337:1 [INFO] [stderr] | [INFO] [stderr] 337 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 340 | / pub struct SimplePhrase { [INFO] [stderr] 341 | | #[serde(rename = "RecognitionStatus")] [INFO] [stderr] 342 | | pub recognition_status: String, [INFO] [stderr] 343 | | #[serde(rename = "DisplayText")] [INFO] [stderr] ... | [INFO] [stderr] 348 | | pub duration: f64, [INFO] [stderr] 349 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/mod.rs:352:1 [INFO] [stderr] | [INFO] [stderr] 352 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 355 | / pub struct SilencePhrase { [INFO] [stderr] 356 | | #[serde(rename = "RecognitionStatus")] [INFO] [stderr] 357 | | pub recognition_status: String, [INFO] [stderr] 358 | | #[serde(rename = "Offset")] [INFO] [stderr] ... | [INFO] [stderr] 361 | | pub duration: f64, [INFO] [stderr] 362 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/mod.rs:365:1 [INFO] [stderr] | [INFO] [stderr] 365 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 368 | / pub struct Hypothesis { [INFO] [stderr] 369 | | #[serde(rename = "Text")] [INFO] [stderr] 370 | | pub text: String, [INFO] [stderr] 371 | | #[serde(rename = "Offset")] [INFO] [stderr] ... | [INFO] [stderr] 374 | | pub duration: f64, [INFO] [stderr] 375 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/mod.rs:378:1 [INFO] [stderr] | [INFO] [stderr] 378 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 381 | / pub enum Phrase { [INFO] [stderr] 382 | | Simple(SimplePhrase), [INFO] [stderr] 383 | | Detailed(DetailedPhrase), [INFO] [stderr] 384 | | Silence(SilencePhrase), [INFO] [stderr] 385 | | Unknown, [INFO] [stderr] 386 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/c.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 12 | / pub struct BingSpeech { [INFO] [stderr] 13 | | handle: Speech, [INFO] [stderr] 14 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/c.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 17 | / pub struct BingSpeechWebsocket { [INFO] [stderr] 18 | | handle: Websocket, [INFO] [stderr] 19 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/c.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 22 | #[repr(C)] [INFO] [stderr] 23 | / pub struct BingSpeechWebsocketHandler { [INFO] [stderr] 24 | | on_turn_start: fn(), [INFO] [stderr] 25 | | on_turn_end: fn(), [INFO] [stderr] 26 | | on_speech_start: fn(), [INFO] [stderr] ... | [INFO] [stderr] 29 | | on_speech_phrase: fn(BingSpeechPhrase), [INFO] [stderr] 30 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/c.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 33 | #[repr(C)] [INFO] [stderr] 34 | / pub struct BingSpeechResult { [INFO] [stderr] 35 | | pub confidence: c_double, [INFO] [stderr] 36 | | pub lexical: *mut c_char, [INFO] [stderr] 37 | | pub itn: *mut c_char, [INFO] [stderr] 38 | | pub masked_itn: *mut c_char, [INFO] [stderr] 39 | | pub display: *mut c_char, [INFO] [stderr] 40 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/c.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 43 | #[repr(C)] [INFO] [stderr] 44 | / pub struct BingSpeechPhrase { [INFO] [stderr] 45 | | recognition_status: *mut c_char, [INFO] [stderr] 46 | | display_text: *mut c_char, [INFO] [stderr] 47 | | offset: c_double, [INFO] [stderr] ... | [INFO] [stderr] 50 | | nbest_count: c_int, [INFO] [stderr] 51 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/c.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 54 | #[repr(C)] [INFO] [stderr] 55 | / pub struct BingSpeechHypothesis { [INFO] [stderr] 56 | | text: *mut c_char, [INFO] [stderr] 57 | | offset: c_double, [INFO] [stderr] 58 | | duration: c_double, [INFO] [stderr] 59 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/c.rs:63:1 [INFO] [stderr] | [INFO] [stderr] 63 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 64 | #[repr(C)] [INFO] [stderr] 65 | / pub struct BingSpeechHandler { [INFO] [stderr] 66 | | c_handler: Arc>, [INFO] [stderr] 67 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/websocket.rs:308:1 [INFO] [stderr] | [INFO] [stderr] 308 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 311 | / pub struct ConfigPayload { [INFO] [stderr] 312 | | pub context: ConfigPayloadContext, [INFO] [stderr] 313 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/websocket.rs:315:1 [INFO] [stderr] | [INFO] [stderr] 315 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 318 | / pub struct ConfigPayloadContext { [INFO] [stderr] 319 | | pub system: ConfigPayloadContextSystem, [INFO] [stderr] 320 | | pub os: ConfigPayloadContextOs, [INFO] [stderr] 321 | | pub device: ConfigPayloadContextDevice, [INFO] [stderr] 322 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/websocket.rs:324:1 [INFO] [stderr] | [INFO] [stderr] 324 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 327 | / pub struct ConfigPayloadContextSystem { [INFO] [stderr] 328 | | pub version: String, [INFO] [stderr] 329 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/websocket.rs:331:1 [INFO] [stderr] | [INFO] [stderr] 331 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 334 | / pub struct ConfigPayloadContextOs { [INFO] [stderr] 335 | | pub platform: String, [INFO] [stderr] 336 | | pub name: String, [INFO] [stderr] 337 | | pub version: String, [INFO] [stderr] 338 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a free function, impl method or static [INFO] [stderr] --> src/speech/websocket.rs:340:1 [INFO] [stderr] | [INFO] [stderr] 340 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 343 | / pub struct ConfigPayloadContextDevice { [INFO] [stderr] 344 | | pub manufacturer: String, [INFO] [stderr] 345 | | pub model: String, [INFO] [stderr] 346 | | pub version: String, [INFO] [stderr] 347 | | } [INFO] [stderr] | |_- not a free function, impl method or static [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/speech/websocket.rs:43:24 [INFO] [stderr] | [INFO] [stderr] 43 | handler: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 43 - handler: Arc>, [INFO] [stderr] 43 + handler: Arc>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/speech/websocket.rs:50:24 [INFO] [stderr] | [INFO] [stderr] 50 | handler: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 50 - handler: Arc>, [INFO] [stderr] 50 + handler: Arc>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/speech/websocket.rs:94:28 [INFO] [stderr] | [INFO] [stderr] 94 | handler: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 94 - handler: Arc>, [INFO] [stderr] 94 + handler: Arc>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stderr] --> src/speech/c.rs:320:14 [INFO] [stderr] | [INFO] [stderr] 320 | handler: BingSpeechWebsocketHandler, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stderr] = note: this function pointer has Rust-specific calling convention [INFO] [stderr] [INFO] [stderr] warning: `bing-rs` (lib) generated 23 warnings [INFO] [stderr] warning: `bing-rs` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bing_rs-7814434b5d68b6a3) [INFO] [stderr] Doc-tests bing_rs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/speech/mod.rs - speech::Speech::new (line 49) ... FAILED [INFO] [stdout] test src/speech/mod.rs - speech::Speech::fetch_token (line 89) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/speech/mod.rs - speech::Speech::new (line 49) stdout ---- [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/speech/mod.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 6 | let speech = Speech::new("your_subscription_key").unwrap(); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `bing_rs::speech::Speech::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/speech/mod.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(subscription_key: &T) -> Result [INFO] [stdout] | ^ required by this bound in `bing_rs::speech::Speech::new` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/speech/mod.rs - speech::Speech::fetch_token (line 89) stdout ---- [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/speech/mod.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 6 | let speech = Speech::new("your_subscription_key").unwrap(); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `bing_rs::speech::Speech::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/speech/mod.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(subscription_key: &T) -> Result [INFO] [stdout] | ^ required by this bound in `bing_rs::speech::Speech::new` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/speech/mod.rs - speech::Speech::fetch_token (line 89) [INFO] [stdout] src/speech/mod.rs - speech::Speech::new (line 49) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "5d82de3e876b19cddb436b603303db9ffb0c3d05e78b16ef8d5e7264be65051a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d82de3e876b19cddb436b603303db9ffb0c3d05e78b16ef8d5e7264be65051a", kill_on_drop: false }` [INFO] [stdout] 5d82de3e876b19cddb436b603303db9ffb0c3d05e78b16ef8d5e7264be65051a