[INFO] cloning repository https://github.com/shuntia/chalaxata-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shuntia/chalaxata-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshuntia%2Fchalaxata-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshuntia%2Fchalaxata-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80c349308062514a1d5e49dc3ef6cd2a2cb103c8 [INFO] building shuntia/chalaxata-rs against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshuntia%2Fchalaxata-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shuntia/chalaxata-rs [INFO] finished tweaking git repo https://github.com/shuntia/chalaxata-rs [INFO] tweaked toml for git repo https://github.com/shuntia/chalaxata-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shuntia/chalaxata-rs on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shuntia/chalaxata-rs 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_core v1.0.224 [INFO] [stderr] Downloaded cobs v0.3.0 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded phf_generator v0.12.1 [INFO] [stderr] Downloaded phf_macros v0.12.1 [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded serde v1.0.224 [INFO] [stderr] Downloaded postcard v1.1.3 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded serde_derive v1.0.224 [INFO] [stderr] Downloaded fontdue v0.9.3 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded macroquad v0.4.14 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 657b942758fc2eccc544784e266d116f2b9740d8ce055f2377b2f0b3415284bb [INFO] running `Command { std: "docker" "start" "-a" "657b942758fc2eccc544784e266d116f2b9740d8ce055f2377b2f0b3415284bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "657b942758fc2eccc544784e266d116f2b9740d8ce055f2377b2f0b3415284bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "657b942758fc2eccc544784e266d116f2b9740d8ce055f2377b2f0b3415284bb", kill_on_drop: false }` [INFO] [stdout] 657b942758fc2eccc544784e266d116f2b9740d8ce055f2377b2f0b3415284bb [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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 7578b826760ef915e310357fbb36f45b22412488ca2387b98ff9864d1c7d804e [INFO] running `Command { std: "docker" "start" "-a" "7578b826760ef915e310357fbb36f45b22412488ca2387b98ff9864d1c7d804e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling serde_core v1.0.224 [INFO] [stderr] Compiling serde v1.0.224 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling phf_generator v0.12.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling rodio v0.20.1 [INFO] [stderr] Compiling serde_derive v1.0.224 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling phf_macros v0.12.1 [INFO] [stderr] Compiling phf v0.12.1 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling postcard v1.1.3 [INFO] [stderr] Compiling chalaxata-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `consts::*`, `note::Harmonym`, and `score::NoteDuration` [INFO] [stdout] --> src/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | chord::Chord, consts::*, note::Harmonym, playable::PlayableChord, score::NoteDuration, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Score`, `consts::*`, and `parse_harmonym` [INFO] [stdout] --> src/bin/short_piece.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | consts::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 3 | note::{Harmonym, parse_harmonym}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | playable::SAMPLE_RATE, [INFO] [stdout] 5 | score::{NoteDuration, Score}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OutputStream`, `Sink`, and `Source` [INFO] [stdout] --> src/bin/short_piece.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use rodio::{OutputStream, Sink, Source}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/bin/short_piece.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NoteEvent` is never used [INFO] [stdout] --> src/bin/short_piece.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type NoteEvent = (NoteDuration, Harmonym); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frames` is never used [INFO] [stdout] --> src/bin/short_piece.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn frames(secs: f64) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pitch_units` is never used [INFO] [stdout] --> src/bin/short_piece.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn pitch_units(h: Harmonym) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pitch_range` is never used [INFO] [stdout] --> src/bin/short_piece.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn pitch_range(events: &[NoteEvent]) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/main.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Vec264 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 181 | x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 182 | y: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Vec264` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `App` is never constructed [INFO] [stdout] --> src/app/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct App { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `const_log2` is never used [INFO] [stdout] --> src/consts.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub const fn const_log2(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_line_color` is never used [INFO] [stdout] --> src/consts.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_line_color(dim: u64) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OCTAVE` is never used [INFO] [stdout] --> src/consts.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const OCTAVE: f64 = 1.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AH` is never used [INFO] [stdout] --> src/consts.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const AH: f64 = 0.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHY` is never used [INFO] [stdout] --> src/consts.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const CHY: f64 = const_log2(3.0 / 2.0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LY` is never used [INFO] [stdout] --> src/consts.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const LY: f64 = const_log2(5.0 / 4.0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MY` is never used [INFO] [stdout] --> src/consts.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const MY: f64 = const_log2(7.0 / 4.0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZY` is never used [INFO] [stdout] --> src/consts.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const ZY: f64 = const_log2(11.0 / 4.0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEF_SCALE_X` is never used [INFO] [stdout] --> src/consts.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const DEF_SCALE_X: f64 = 0.005; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEF_SCALE_Y` is never used [INFO] [stdout] --> src/consts.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const DEF_SCALE_Y: f64 = -400.; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionData` is never constructed [INFO] [stdout] --> src/data.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SessionData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sine`, `Square`, and `Saw` are never constructed [INFO] [stdout] --> src/playable.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub enum Waveform { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 168 | Sine, [INFO] [stdout] | ^^^^ [INFO] [stdout] 169 | Square, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 170 | Saw, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Waveform` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Score` is never constructed [INFO] [stdout] --> src/score.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Score { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `push`, `new`, and `prepare` are never used [INFO] [stdout] --> src/score.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Score { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 24 | pub fn push(&mut self, note: (NoteDuration, Harmonym)) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn prepare(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoteDuration` is never constructed [INFO] [stdout] --> src/score.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct NoteDuration { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.11s [INFO] running `Command { std: "docker" "inspect" "7578b826760ef915e310357fbb36f45b22412488ca2387b98ff9864d1c7d804e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7578b826760ef915e310357fbb36f45b22412488ca2387b98ff9864d1c7d804e", kill_on_drop: false }` [INFO] [stdout] 7578b826760ef915e310357fbb36f45b22412488ca2387b98ff9864d1c7d804e [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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] dd9a64b9b4aade2617d9831dd1b5e9a528be076c47ddac03576d45c56f9efde4 [INFO] running `Command { std: "docker" "start" "-a" "dd9a64b9b4aade2617d9831dd1b5e9a528be076c47ddac03576d45c56f9efde4", kill_on_drop: false }` [INFO] [stderr] Compiling chalaxata-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `consts::*`, `note::Harmonym`, and `score::NoteDuration` [INFO] [stdout] --> src/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | chord::Chord, consts::*, note::Harmonym, playable::PlayableChord, score::NoteDuration, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Score`, `consts::*`, and `parse_harmonym` [INFO] [stdout] --> src/bin/short_piece.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | consts::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 3 | note::{Harmonym, parse_harmonym}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | playable::SAMPLE_RATE, [INFO] [stdout] 5 | score::{NoteDuration, Score}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OutputStream`, `Sink`, and `Source` [INFO] [stdout] --> src/bin/short_piece.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use rodio::{OutputStream, Sink, Source}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/bin/short_piece.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NoteEvent` is never used [INFO] [stdout] --> src/bin/short_piece.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type NoteEvent = (NoteDuration, Harmonym); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frames` is never used [INFO] [stdout] --> src/bin/short_piece.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn frames(secs: f64) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pitch_units` is never used [INFO] [stdout] --> src/bin/short_piece.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn pitch_units(h: Harmonym) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pitch_range` is never used [INFO] [stdout] --> src/bin/short_piece.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn pitch_range(events: &[NoteEvent]) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/main.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Vec264 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 181 | x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 182 | y: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Vec264` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `App` is never constructed [INFO] [stdout] --> src/app/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct App { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `const_log2` is never used [INFO] [stdout] --> src/consts.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub const fn const_log2(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_line_color` is never used [INFO] [stdout] --> src/consts.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_line_color(dim: u64) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OCTAVE` is never used [INFO] [stdout] --> src/consts.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const OCTAVE: f64 = 1.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AH` is never used [INFO] [stdout] --> src/consts.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const AH: f64 = 0.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHY` is never used [INFO] [stdout] --> src/consts.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const CHY: f64 = const_log2(3.0 / 2.0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LY` is never used [INFO] [stdout] --> src/consts.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const LY: f64 = const_log2(5.0 / 4.0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MY` is never used [INFO] [stdout] --> src/consts.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const MY: f64 = const_log2(7.0 / 4.0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZY` is never used [INFO] [stdout] --> src/consts.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const ZY: f64 = const_log2(11.0 / 4.0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEF_SCALE_X` is never used [INFO] [stdout] --> src/consts.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const DEF_SCALE_X: f64 = 0.005; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEF_SCALE_Y` is never used [INFO] [stdout] --> src/consts.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const DEF_SCALE_Y: f64 = -400.; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionData` is never constructed [INFO] [stdout] --> src/data.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SessionData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sine`, `Square`, and `Saw` are never constructed [INFO] [stdout] --> src/playable.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub enum Waveform { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 168 | Sine, [INFO] [stdout] | ^^^^ [INFO] [stdout] 169 | Square, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 170 | Saw, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Waveform` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Score` is never constructed [INFO] [stdout] --> src/score.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Score { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `push`, `new`, and `prepare` are never used [INFO] [stdout] --> src/score.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Score { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 24 | pub fn push(&mut self, note: (NoteDuration, Harmonym)) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn prepare(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoteDuration` is never constructed [INFO] [stdout] --> src/score.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct NoteDuration { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "dd9a64b9b4aade2617d9831dd1b5e9a528be076c47ddac03576d45c56f9efde4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd9a64b9b4aade2617d9831dd1b5e9a528be076c47ddac03576d45c56f9efde4", kill_on_drop: false }` [INFO] [stdout] dd9a64b9b4aade2617d9831dd1b5e9a528be076c47ddac03576d45c56f9efde4