[INFO] cloning repository https://github.com/geom3trik/tuix_waveform_viewer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/geom3trik/tuix_waveform_viewer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeom3trik%2Ftuix_waveform_viewer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeom3trik%2Ftuix_waveform_viewer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 942f5a97a83048cd60f873d2262186e7a95af241 [INFO] testing geom3trik/tuix_waveform_viewer against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeom3trik%2Ftuix_waveform_viewer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/geom3trik/tuix_waveform_viewer on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/geom3trik/tuix_waveform_viewer [INFO] finished tweaking git repo https://github.com/geom3trik/tuix_waveform_viewer [INFO] tweaked toml for git repo https://github.com/geom3trik/tuix_waveform_viewer written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/geom3trik/tuix_waveform_viewer 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/glowcoil/basedrop.git` [INFO] [stderr] Updating git repository `https://github.com/femtovg/femtovg` [INFO] [stderr] Updating git repository `https://github.com/ruuda/hound.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/geom3trik/tuix` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-egl v0.28.3 [INFO] [stderr] Downloaded lru v0.5.3 [INFO] [stderr] Downloaded rgb v0.8.25 [INFO] [stderr] Downloaded unicode-script v0.5.2 [INFO] [stderr] Downloaded standback v0.2.15 [INFO] [stderr] Downloaded imgref v1.7.1 [INFO] [stderr] Downloaded ringbuf v0.2.3 [INFO] [stderr] Downloaded unicode-general-category v0.2.0 [INFO] [stderr] Downloaded rustybuzz v0.3.0 [INFO] [stderr] Downloaded unicode-ccc v0.1.0 [INFO] [stderr] Downloaded native-dialog v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66ef4bf29425f575a6c713657d6b60b39984604d4dcc491874566455e279f505 [INFO] running `Command { std: "docker" "start" "-a" "66ef4bf29425f575a6c713657d6b60b39984604d4dcc491874566455e279f505", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66ef4bf29425f575a6c713657d6b60b39984604d4dcc491874566455e279f505", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ef4bf29425f575a6c713657d6b60b39984604d4dcc491874566455e279f505", kill_on_drop: false }` [INFO] [stdout] 66ef4bf29425f575a6c713657d6b60b39984604d4dcc491874566455e279f505 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b341bc2d40fedcebc623bdbed54205161d411ce6a25234a7a6c44762f65f6dad [INFO] running `Command { std: "docker" "start" "-a" "b341bc2d40fedcebc623bdbed54205161d411ce6a25234a7a6c44762f65f6dad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling nom v6.1.0 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling unicode-general-category v0.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling bytemuck v1.5.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling weezl v0.1.4 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling wayland-client v0.28.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling wayland-protocols v0.28.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Compiling ttf-parser v0.9.0 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling unicode-script v0.5.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling unicode-ccc v0.1.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling dtoa-short v0.3.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling rgb v0.8.25 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling generational-arena v0.2.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling imgref v1.7.1 [INFO] [stderr] Compiling glow v0.7.2 [INFO] [stderr] Compiling lru v0.5.3 [INFO] [stderr] Compiling rustybuzz v0.3.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling keyboard-types v0.5.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling cpal v0.13.1 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling basedrop v0.1.0 (https://github.com/glowcoil/basedrop.git#435dba1a) [INFO] [stderr] Compiling hound v3.4.0 (https://github.com/ruuda/hound.git#fa88d577) [INFO] [stderr] Compiling ringbuf v0.2.3 [INFO] [stderr] Compiling wayland-commons v0.28.3 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling image v0.23.13 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling wayland-cursor v0.28.3 [INFO] [stderr] Compiling wayland-egl v0.28.3 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling native-dialog v0.5.4 [INFO] [stderr] Compiling alsa v0.4.3 [INFO] [stderr] Compiling femtovg v0.1.1 (https://github.com/femtovg/femtovg?branch=master#9ba9422b) [INFO] [stderr] Compiling tuix_core v0.1.0 (https://github.com/geom3trik/tuix?rev=b21984d82aa5ef6b1cb3349ae0f07386a04b410f#b21984d8) [INFO] [stderr] Compiling smithay-client-toolkit v0.12.2 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling tuix_glutin v0.1.0 (https://github.com/geom3trik/tuix?rev=b21984d82aa5ef6b1cb3349ae0f07386a04b410f#b21984d8) [INFO] [stderr] Compiling tuix v0.1.0 (https://github.com/geom3trik/tuix?rev=b21984d82aa5ef6b1cb3349ae0f07386a04b410f#b21984d8) [INFO] [stderr] Compiling wav_viewer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `I24` and `Sample` [INFO] [stdout] --> src/main.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | use dasp_sample::{Sample, I24}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:1551:22 [INFO] [stdout] | [INFO] [stdout] 1551 | for n in (first..last+1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1551 - for n in (first..last+1) { [INFO] [stdout] 1551 + for n in first..last+1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | let (mut player, mut controller) = sample_player(&gc); [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 variable: `entity` [INFO] [stdout] --> src/main.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | entity: Entity, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_button` [INFO] [stdout] --> src/main.rs:665:17 [INFO] [stdout] | [INFO] [stdout] 665 | let loop_button = Checkbox::new(true) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `volume_slider` [INFO] [stdout] --> src/main.rs:695:13 [INFO] [stdout] | [INFO] [stdout] 695 | let volume_slider = Slider::new() [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_volume_slider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:1536:21 [INFO] [stdout] | [INFO] [stdout] 1536 | if let Some(file) = self.controller.file.as_ref() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_axis_width` [INFO] [stdout] --> src/main.rs:1540:17 [INFO] [stdout] | [INFO] [stdout] 1540 | let time_axis_width = state.data.get_width(self.time_axis); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_axis_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:1814:28 [INFO] [stdout] | [INFO] [stdout] 1814 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/main.rs:1814:47 [INFO] [stdout] | [INFO] [stdout] 1814 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:1814:63 [INFO] [stdout] | [INFO] [stdout] 1814 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ICON_MAGNET` is never used [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const ICON_MAGNET: &str = "\u{e7a1}"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time_label`, `value_label`, `collector`, and `scrollbar` are never read [INFO] [stdout] --> src/main.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct AppWidget { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 215 | time_label: Entity, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 216 | value_label: Entity, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | collector: Collector, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | scrollbar: Entity, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sample_rate` is never read [INFO] [stdout] --> src/audio_stream.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PlaybackContext<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 8 | pub buffer_size: usize, [INFO] [stdout] 9 | pub sample_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample_player.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | Scrub(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | Scrub(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | stream.play(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = stream.play(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b341bc2d40fedcebc623bdbed54205161d411ce6a25234a7a6c44762f65f6dad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b341bc2d40fedcebc623bdbed54205161d411ce6a25234a7a6c44762f65f6dad", kill_on_drop: false }` [INFO] [stdout] b341bc2d40fedcebc623bdbed54205161d411ce6a25234a7a6c44762f65f6dad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01b4592ca54c2a553964f13a173a08059c7f472d8ac5097eb0fa8c8b529df77a [INFO] running `Command { std: "docker" "start" "-a" "01b4592ca54c2a553964f13a173a08059c7f472d8ac5097eb0fa8c8b529df77a", kill_on_drop: false }` [INFO] [stderr] Compiling wav_viewer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `I24` and `Sample` [INFO] [stdout] --> src/main.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | use dasp_sample::{Sample, I24}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:1551:22 [INFO] [stdout] | [INFO] [stdout] 1551 | for n in (first..last+1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1551 - for n in (first..last+1) { [INFO] [stdout] 1551 + for n in first..last+1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | let (mut player, mut controller) = sample_player(&gc); [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 variable: `entity` [INFO] [stdout] --> src/main.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | entity: Entity, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_button` [INFO] [stdout] --> src/main.rs:665:17 [INFO] [stdout] | [INFO] [stdout] 665 | let loop_button = Checkbox::new(true) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `volume_slider` [INFO] [stdout] --> src/main.rs:695:13 [INFO] [stdout] | [INFO] [stdout] 695 | let volume_slider = Slider::new() [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_volume_slider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:1536:21 [INFO] [stdout] | [INFO] [stdout] 1536 | if let Some(file) = self.controller.file.as_ref() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_axis_width` [INFO] [stdout] --> src/main.rs:1540:17 [INFO] [stdout] | [INFO] [stdout] 1540 | let time_axis_width = state.data.get_width(self.time_axis); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_axis_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:1814:28 [INFO] [stdout] | [INFO] [stdout] 1814 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/main.rs:1814:47 [INFO] [stdout] | [INFO] [stdout] 1814 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:1814:63 [INFO] [stdout] | [INFO] [stdout] 1814 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ICON_MAGNET` is never used [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const ICON_MAGNET: &str = "\u{e7a1}"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time_label`, `value_label`, `collector`, and `scrollbar` are never read [INFO] [stdout] --> src/main.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct AppWidget { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 215 | time_label: Entity, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 216 | value_label: Entity, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | collector: Collector, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | scrollbar: Entity, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sample_rate` is never read [INFO] [stdout] --> src/audio_stream.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PlaybackContext<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 8 | pub buffer_size: usize, [INFO] [stdout] 9 | pub sample_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample_player.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | Scrub(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | Scrub(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | stream.play(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = stream.play(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "01b4592ca54c2a553964f13a173a08059c7f472d8ac5097eb0fa8c8b529df77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01b4592ca54c2a553964f13a173a08059c7f472d8ac5097eb0fa8c8b529df77a", kill_on_drop: false }` [INFO] [stdout] 01b4592ca54c2a553964f13a173a08059c7f472d8ac5097eb0fa8c8b529df77a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4db5f6057fbdd3f787f12cecfc10d57d25995c2310ed651f0be2033e96491892 [INFO] running `Command { std: "docker" "start" "-a" "4db5f6057fbdd3f787f12cecfc10d57d25995c2310ed651f0be2033e96491892", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::cmp::Ordering` [INFO] [stderr] --> src/main.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | use std::cmp::Ordering; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `I24` and `Sample` [INFO] [stderr] --> src/main.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | use dasp_sample::{Sample, I24}; [INFO] [stderr] | ^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/main.rs:1551:22 [INFO] [stderr] | [INFO] [stderr] 1551 | for n in (first..last+1) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1551 - for n in (first..last+1) { [INFO] [stderr] 1551 + for n in first..last+1 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:93:22 [INFO] [stderr] | [INFO] [stderr] 93 | let (mut player, mut controller) = sample_player(&gc); [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 variable: `entity` [INFO] [stderr] --> src/main.rs:344:9 [INFO] [stderr] | [INFO] [stderr] 344 | entity: Entity, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `loop_button` [INFO] [stderr] --> src/main.rs:665:17 [INFO] [stderr] | [INFO] [stderr] 665 | let loop_button = Checkbox::new(true) [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `volume_slider` [INFO] [stderr] --> src/main.rs:695:13 [INFO] [stderr] | [INFO] [stderr] 695 | let volume_slider = Slider::new() [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_volume_slider` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file` [INFO] [stderr] --> src/main.rs:1536:21 [INFO] [stderr] | [INFO] [stderr] 1536 | if let Some(file) = self.controller.file.as_ref() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time_axis_width` [INFO] [stderr] --> src/main.rs:1540:17 [INFO] [stderr] | [INFO] [stderr] 1540 | let time_axis_width = state.data.get_width(self.time_axis); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_axis_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/main.rs:1814:28 [INFO] [stderr] | [INFO] [stderr] 1814 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entity` [INFO] [stderr] --> src/main.rs:1814:47 [INFO] [stderr] | [INFO] [stderr] 1814 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/main.rs:1814:63 [INFO] [stderr] | [INFO] [stderr] 1814 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: constant `ICON_MAGNET` is never used [INFO] [stderr] --> src/main.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | const ICON_MAGNET: &str = "\u{e7a1}"; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `time_label`, `value_label`, `collector`, and `scrollbar` are never read [INFO] [stderr] --> src/main.rs:215:5 [INFO] [stderr] | [INFO] [stderr] 194 | pub struct AppWidget { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 215 | time_label: Entity, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 216 | value_label: Entity, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 231 | collector: Collector, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 239 | scrollbar: Entity, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `sample_rate` is never read [INFO] [stderr] --> src/audio_stream.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct PlaybackContext<'a> { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 8 | pub buffer_size: usize, [INFO] [stderr] 9 | pub sample_rate: f64, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/sample_player.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | Scrub(f64), [INFO] [stderr] | ----- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 15 | Scrub(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | stream.play(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 103 | let _ = stream.play(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `wav_viewer` (bin "wav_viewer" test) generated 17 warnings (run `cargo fix --bin "wav_viewer" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wav_viewer-2fffb98c5ee7f60a) [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" "4db5f6057fbdd3f787f12cecfc10d57d25995c2310ed651f0be2033e96491892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db5f6057fbdd3f787f12cecfc10d57d25995c2310ed651f0be2033e96491892", kill_on_drop: false }` [INFO] [stdout] 4db5f6057fbdd3f787f12cecfc10d57d25995c2310ed651f0be2033e96491892