[INFO] cloning repository https://github.com/joshmarinacci/idealos_audioservice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshmarinacci/idealos_audioservice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshmarinacci%2Fidealos_audioservice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshmarinacci%2Fidealos_audioservice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a644edf58cabe43dcbe32f56126e3a3f6714f21 [INFO] testing joshmarinacci/idealos_audioservice against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshmarinacci%2Fidealos_audioservice" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joshmarinacci/idealos_audioservice on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joshmarinacci/idealos_audioservice [INFO] finished tweaking git repo https://github.com/joshmarinacci/idealos_audioservice [INFO] tweaked toml for git repo https://github.com/joshmarinacci/idealos_audioservice written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/joshmarinacci/idealos_audioservice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_enum_derive v0.5.2 [INFO] [stderr] Downloaded websocket-base v0.26.2 [INFO] [stderr] Downloaded num_enum v0.5.2 [INFO] [stderr] Downloaded websocket v0.26.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d23a26b1de29858f133a7e4a6f722a6619434762e6b906ff26ad02bb5589e4a [INFO] running `Command { std: "docker" "start" "-a" "2d23a26b1de29858f133a7e4a6f722a6619434762e6b906ff26ad02bb5589e4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d23a26b1de29858f133a7e4a6f722a6619434762e6b906ff26ad02bb5589e4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d23a26b1de29858f133a7e4a6f722a6619434762e6b906ff26ad02bb5589e4a", kill_on_drop: false }` [INFO] [stdout] 2d23a26b1de29858f133a7e4a6f722a6619434762e6b906ff26ad02bb5589e4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 921db2a4de905d3bfc818537f66a41b18fb32cee8210c488918304729e455fad [INFO] running `Command { std: "docker" "start" "-a" "921db2a4de905d3bfc818537f66a41b18fb32cee8210c488918304729e455fad", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cpal v0.13.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling alsa v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling websocket-base v0.26.2 [INFO] [stderr] Compiling websocket v0.26.2 [INFO] [stderr] Compiling rodio v0.14.0 [INFO] [stderr] Compiling audiotest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `source::Source` [INFO] [stdout] --> src/main.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use rodio::{Decoder, OutputStream, source::Source, Sink}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut client = ClientBuilder::new(name) [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / sender.send_message(&OwnedMessage::Text(json!(AudioMessage { [INFO] [stdout] 39 | | id: "".to_string(), [INFO] [stdout] 40 | | type_: "AUDIO".to_string(), [INFO] [stdout] 41 | | command: "connected".to_string(), [INFO] [stdout] 42 | | resource: "audio".to_string() [INFO] [stdout] 43 | | }).to_string())); [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | / sender.send_message(&OwnedMessage::Text(json!(AudioMessage { [INFO] [stdout] 75 | | id: "".to_string(), [INFO] [stdout] 76 | | type_: "AUDIO".to_string(), [INFO] [stdout] 77 | | command: "played".to_string(), [INFO] [stdout] 78 | | resource: ID.to_string() [INFO] [stdout] 79 | | }).to_string())); [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | ... sender.send_message(&OwnedMessage::Text(json!(msg).to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | ... sender.send_message(&OwnedMessage::Text(json!(msg).to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.13s [INFO] running `Command { std: "docker" "inspect" "921db2a4de905d3bfc818537f66a41b18fb32cee8210c488918304729e455fad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "921db2a4de905d3bfc818537f66a41b18fb32cee8210c488918304729e455fad", kill_on_drop: false }` [INFO] [stdout] 921db2a4de905d3bfc818537f66a41b18fb32cee8210c488918304729e455fad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97087f21d610a2d3a250090b39fef4692498da006ddf7f484007604c27b705e7 [INFO] running `Command { std: "docker" "start" "-a" "97087f21d610a2d3a250090b39fef4692498da006ddf7f484007604c27b705e7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling audiotest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `source::Source` [INFO] [stdout] --> src/main.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use rodio::{Decoder, OutputStream, source::Source, Sink}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut client = ClientBuilder::new(name) [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / sender.send_message(&OwnedMessage::Text(json!(AudioMessage { [INFO] [stdout] 39 | | id: "".to_string(), [INFO] [stdout] 40 | | type_: "AUDIO".to_string(), [INFO] [stdout] 41 | | command: "connected".to_string(), [INFO] [stdout] 42 | | resource: "audio".to_string() [INFO] [stdout] 43 | | }).to_string())); [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | / sender.send_message(&OwnedMessage::Text(json!(AudioMessage { [INFO] [stdout] 75 | | id: "".to_string(), [INFO] [stdout] 76 | | type_: "AUDIO".to_string(), [INFO] [stdout] 77 | | command: "played".to_string(), [INFO] [stdout] 78 | | resource: ID.to_string() [INFO] [stdout] 79 | | }).to_string())); [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | ... sender.send_message(&OwnedMessage::Text(json!(msg).to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | ... sender.send_message(&OwnedMessage::Text(json!(msg).to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "97087f21d610a2d3a250090b39fef4692498da006ddf7f484007604c27b705e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97087f21d610a2d3a250090b39fef4692498da006ddf7f484007604c27b705e7", kill_on_drop: false }` [INFO] [stdout] 97087f21d610a2d3a250090b39fef4692498da006ddf7f484007604c27b705e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1c3198e7836edecf22c8c8cf550b9ceeac645022699b628c8f57ba45e0832f0e [INFO] running `Command { std: "docker" "start" "-a" "1c3198e7836edecf22c8c8cf550b9ceeac645022699b628c8f57ba45e0832f0e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `source::Source` [INFO] [stderr] --> src/main.rs:3:36 [INFO] [stderr] | [INFO] [stderr] 3 | use rodio::{Decoder, OutputStream, source::Source, Sink}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | let mut client = ClientBuilder::new(name) [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | / sender.send_message(&OwnedMessage::Text(json!(AudioMessage { [INFO] [stderr] 39 | | id: "".to_string(), [INFO] [stderr] 40 | | type_: "AUDIO".to_string(), [INFO] [stderr] 41 | | command: "connected".to_string(), [INFO] [stderr] 42 | | resource: "audio".to_string() [INFO] [stderr] 43 | | }).to_string())); [INFO] [stderr] | |_________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:74:25 [INFO] [stderr] | [INFO] [stderr] 74 | / sender.send_message(&OwnedMessage::Text(json!(AudioMessage { [INFO] [stderr] 75 | | id: "".to_string(), [INFO] [stderr] 76 | | type_: "AUDIO".to_string(), [INFO] [stderr] 77 | | command: "played".to_string(), [INFO] [stderr] 78 | | resource: ID.to_string() [INFO] [stderr] 79 | | }).to_string())); [INFO] [stderr] | |_________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | ... sender.send_message(&OwnedMessage::Text(json!(msg).to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:105:29 [INFO] [stderr] | [INFO] [stderr] 105 | ... sender.send_message(&OwnedMessage::Text(json!(msg).to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `audiotest` (bin "audiotest" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/audiotest-f7778d7337f0aed9) [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] running `Command { std: "docker" "inspect" "1c3198e7836edecf22c8c8cf550b9ceeac645022699b628c8f57ba45e0832f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c3198e7836edecf22c8c8cf550b9ceeac645022699b628c8f57ba45e0832f0e", kill_on_drop: false }` [INFO] [stdout] 1c3198e7836edecf22c8c8cf550b9ceeac645022699b628c8f57ba45e0832f0e