[INFO] cloning repository https://github.com/efebaykaraa/audio-streamer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/efebaykaraa/audio-streamer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefebaykaraa%2Faudio-streamer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefebaykaraa%2Faudio-streamer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3647dad2e1c02da284f66f9c625a54ca9bfb8d7 [INFO] testing efebaykaraa/audio-streamer against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefebaykaraa%2Faudio-streamer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/efebaykaraa/audio-streamer [INFO] finished tweaking git repo https://github.com/efebaykaraa/audio-streamer [INFO] tweaked toml for git repo https://github.com/efebaykaraa/audio-streamer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/efebaykaraa/audio-streamer on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/efebaykaraa/audio-streamer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc34f41746ed98433e2eb02676713c04ab83f79d017fc4460ed2ba07b41bbdd2 [INFO] running `Command { std: "docker" "start" "-a" "dc34f41746ed98433e2eb02676713c04ab83f79d017fc4460ed2ba07b41bbdd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc34f41746ed98433e2eb02676713c04ab83f79d017fc4460ed2ba07b41bbdd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc34f41746ed98433e2eb02676713c04ab83f79d017fc4460ed2ba07b41bbdd2", kill_on_drop: false }` [INFO] [stdout] dc34f41746ed98433e2eb02676713c04ab83f79d017fc4460ed2ba07b41bbdd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] e2b703020f3e13824c145804e0fe6565c4bfb58164ea196047a0aa90b4a0b2af [INFO] running `Command { std: "docker" "start" "-a" "e2b703020f3e13824c145804e0fe6565c4bfb58164ea196047a0aa90b4a0b2af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling ab_glyph v0.2.31 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling accesskit v0.12.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling accesskit_consumer v0.16.1 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling async-once-cell v0.5.4 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling web-time v0.2.4 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling gethostname v1.0.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling ecolor v0.24.1 [INFO] [stderr] Compiling emath v0.24.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling epaint v0.24.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling arboard v3.6.1 [INFO] [stderr] Compiling egui v0.24.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling zvariant v3.15.2 [INFO] [stderr] Compiling webbrowser v0.8.15 [INFO] [stderr] Compiling egui_glow v0.24.1 [INFO] [stderr] Compiling zbus_names v2.6.1 [INFO] [stderr] Compiling zbus v3.15.2 [INFO] [stderr] Compiling atspi-common v0.3.0 [INFO] [stderr] Compiling atspi-proxies v0.3.0 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling atspi-connection v0.3.0 [INFO] [stderr] Compiling atspi v0.19.0 [INFO] [stderr] Compiling accesskit_unix v0.6.2 [INFO] [stderr] Compiling accesskit_winit v0.15.0 [INFO] [stderr] Compiling egui-winit v0.24.1 [INFO] [stderr] Compiling eframe v0.24.1 [INFO] [stderr] Compiling audio-streamer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `sources` [INFO] [stdout] --> src/audio.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get_best_source_index(sources: &[AudioSource]) -> usize { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sources` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut app = Self { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut sources = self.sources.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/gui.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network_test_result` is never read [INFO] [stdout] --> src/gui.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct AudioStreamerApp { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | network_test_result: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `test_network_connectivity` and `generate_test_tone` are never used [INFO] [stdout] --> src/gui.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl AudioStreamerApp { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | fn test_network_connectivity(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn generate_test_tone(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "e2b703020f3e13824c145804e0fe6565c4bfb58164ea196047a0aa90b4a0b2af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2b703020f3e13824c145804e0fe6565c4bfb58164ea196047a0aa90b4a0b2af", kill_on_drop: false }` [INFO] [stdout] e2b703020f3e13824c145804e0fe6565c4bfb58164ea196047a0aa90b4a0b2af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] ff20a0d2905f166a4fc724682c264e0fa71b03ac5ef651210282d7220faaa89e [INFO] running `Command { std: "docker" "start" "-a" "ff20a0d2905f166a4fc724682c264e0fa71b03ac5ef651210282d7220faaa89e", kill_on_drop: false }` [INFO] [stderr] Compiling audio-streamer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `sources` [INFO] [stdout] --> src/audio.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get_best_source_index(sources: &[AudioSource]) -> usize { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sources` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut app = Self { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut sources = self.sources.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/gui.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network_test_result` is never read [INFO] [stdout] --> src/gui.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct AudioStreamerApp { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | network_test_result: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `test_network_connectivity` and `generate_test_tone` are never used [INFO] [stdout] --> src/gui.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl AudioStreamerApp { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | fn test_network_connectivity(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn generate_test_tone(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.17s [INFO] running `Command { std: "docker" "inspect" "ff20a0d2905f166a4fc724682c264e0fa71b03ac5ef651210282d7220faaa89e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff20a0d2905f166a4fc724682c264e0fa71b03ac5ef651210282d7220faaa89e", kill_on_drop: false }` [INFO] [stdout] ff20a0d2905f166a4fc724682c264e0fa71b03ac5ef651210282d7220faaa89e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] c4d3defdfe9ee4b4a4c881ad06bf187773761fdf95e526f018f9709adcbb5d6d [INFO] running `Command { std: "docker" "start" "-a" "c4d3defdfe9ee4b4a4c881ad06bf187773761fdf95e526f018f9709adcbb5d6d", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `sources` [INFO] [stderr] --> src/audio.rs:107:30 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn get_best_source_index(sources: &[AudioSource]) -> usize { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sources` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/gui.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | let mut app = Self { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/gui.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | let mut sources = self.sources.lock().unwrap(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame` [INFO] [stderr] --> src/gui.rs:238:47 [INFO] [stderr] | [INFO] [stderr] 238 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stderr] [INFO] [stderr] warning: field `network_test_result` is never read [INFO] [stderr] --> src/gui.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 53 | pub struct AudioStreamerApp { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 64 | network_test_result: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `test_network_connectivity` and `generate_test_tone` are never used [INFO] [stderr] --> src/gui.rs:136:8 [INFO] [stderr] | [INFO] [stderr] 67 | impl AudioStreamerApp { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 136 | fn test_network_connectivity(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 212 | fn generate_test_tone(&mut self) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `audio-streamer` (bin "audio-streamer" test) generated 6 warnings (run `cargo fix --bin "audio-streamer" -p audio-streamer --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/audio-streamer/2d0cb83dcbefeff4/deps/audio_streamer-2d0cb83dcbefeff4) [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" "c4d3defdfe9ee4b4a4c881ad06bf187773761fdf95e526f018f9709adcbb5d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4d3defdfe9ee4b4a4c881ad06bf187773761fdf95e526f018f9709adcbb5d6d", kill_on_drop: false }` [INFO] [stdout] c4d3defdfe9ee4b4a4c881ad06bf187773761fdf95e526f018f9709adcbb5d6d