[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] testing shuntia/chalaxata-rs against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshuntia%2Fchalaxata-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shuntia/chalaxata-rs on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded phf_generator v0.12.1 [INFO] [stderr] Downloaded hound v3.5.1 [INFO] [stderr] Downloaded phf_macros v0.12.1 [INFO] [stderr] Downloaded postcard v1.1.3 [INFO] [stderr] Downloaded serde_core v1.0.224 [INFO] [stderr] Downloaded serde_derive v1.0.224 [INFO] [stderr] Downloaded claxon v0.4.3 [INFO] [stderr] Downloaded serde v1.0.224 [INFO] [stderr] Downloaded bindgen v0.72.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d091e4a79b44a781707be5c0b88e35dfe78593a1611e1ddc68a54662b733a59 [INFO] running `Command { std: "docker" "start" "-a" "1d091e4a79b44a781707be5c0b88e35dfe78593a1611e1ddc68a54662b733a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d091e4a79b44a781707be5c0b88e35dfe78593a1611e1ddc68a54662b733a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d091e4a79b44a781707be5c0b88e35dfe78593a1611e1ddc68a54662b733a59", kill_on_drop: false }` [INFO] [stdout] 1d091e4a79b44a781707be5c0b88e35dfe78593a1611e1ddc68a54662b733a59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 025720f9f8c6c70a0f5d4d34f43c6ad88e9e6c4ca915d7ad9aa769000117f83d [INFO] running `Command { std: "docker" "start" "-a" "025720f9f8c6c70a0f5d4d34f43c6ad88e9e6c4ca915d7ad9aa769000117f83d", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling serde_core v1.0.224 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling serde v1.0.224 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling phf_generator v0.12.1 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling rodio v0.20.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling serde_derive v1.0.224 [INFO] [stderr] Compiling phf_macros v0.12.1 [INFO] [stderr] Compiling phf v0.12.1 [INFO] [stderr] Compiling macroquad v0.4.14 [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: `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: 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: 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 38.30s [INFO] running `Command { std: "docker" "inspect" "025720f9f8c6c70a0f5d4d34f43c6ad88e9e6c4ca915d7ad9aa769000117f83d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "025720f9f8c6c70a0f5d4d34f43c6ad88e9e6c4ca915d7ad9aa769000117f83d", kill_on_drop: false }` [INFO] [stdout] 025720f9f8c6c70a0f5d4d34f43c6ad88e9e6c4ca915d7ad9aa769000117f83d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f705ede4edf19c9b1991ffb0f27b0945dd3fcb6b69f5270c94077d2e2c3cf472 [INFO] running `Command { std: "docker" "start" "-a" "f705ede4edf19c9b1991ffb0f27b0945dd3fcb6b69f5270c94077d2e2c3cf472", kill_on_drop: false }` [INFO] [stderr] Compiling chalaxata-rs v0.1.0 (/opt/rustwide/workdir) [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: 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: 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.79s [INFO] running `Command { std: "docker" "inspect" "f705ede4edf19c9b1991ffb0f27b0945dd3fcb6b69f5270c94077d2e2c3cf472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f705ede4edf19c9b1991ffb0f27b0945dd3fcb6b69f5270c94077d2e2c3cf472", kill_on_drop: false }` [INFO] [stdout] f705ede4edf19c9b1991ffb0f27b0945dd3fcb6b69f5270c94077d2e2c3cf472 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 816f96d9f9662bdc9d9a0c44d38475b58179061515b136b3b155d0a483f427fd [INFO] running `Command { std: "docker" "start" "-a" "816f96d9f9662bdc9d9a0c44d38475b58179061515b136b3b155d0a483f427fd", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Score`, `consts::*`, and `parse_harmonym` [INFO] [stderr] --> src/bin/short_piece.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | consts::*, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 3 | note::{Harmonym, parse_harmonym}, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 4 | playable::SAMPLE_RATE, [INFO] [stderr] 5 | score::{NoteDuration, Score}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `OutputStream`, `Sink`, and `Source` [INFO] [stderr] --> src/bin/short_piece.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use rodio::{OutputStream, Sink, Source}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/bin/short_piece.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `NoteEvent` is never used [INFO] [stderr] --> src/bin/short_piece.rs:11:6 [INFO] [stderr] | [INFO] [stderr] 11 | type NoteEvent = (NoteDuration, Harmonym); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `frames` is never used [INFO] [stderr] --> src/bin/short_piece.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn frames(secs: f64) -> u64 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `pitch_units` is never used [INFO] [stderr] --> src/bin/short_piece.rs:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | fn pitch_units(h: Harmonym) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `pitch_range` is never used [INFO] [stderr] --> src/bin/short_piece.rs:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | fn pitch_range(events: &[NoteEvent]) -> (f64, f64) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `consts::*`, `note::Harmonym`, and `score::NoteDuration` [INFO] [stderr] --> src/main.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | chord::Chord, consts::*, note::Harmonym, playable::PlayableChord, score::NoteDuration, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `x` and `y` are never read [INFO] [stderr] --> src/main.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 180 | pub struct Vec264 { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 181 | x: f64, [INFO] [stderr] | ^ [INFO] [stderr] 182 | y: f64, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `Vec264` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `App` is never constructed [INFO] [stderr] --> src/app/mod.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct App { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `const_log2` is never used [INFO] [stderr] --> src/consts.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | pub const fn const_log2(x: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_line_color` is never used [INFO] [stderr] --> src/consts.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn get_line_color(dim: u64) -> Color { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `OCTAVE` is never used [INFO] [stderr] --> src/consts.rs:34:11 [INFO] [stderr] | [INFO] [stderr] 34 | pub const OCTAVE: f64 = 1.0; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `AH` is never used [INFO] [stderr] --> src/consts.rs:35:11 [INFO] [stderr] | [INFO] [stderr] 35 | pub const AH: f64 = 0.0; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CHY` is never used [INFO] [stderr] --> src/consts.rs:36:11 [INFO] [stderr] | [INFO] [stderr] 36 | pub const CHY: f64 = const_log2(3.0 / 2.0); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `LY` is never used [INFO] [stderr] --> src/consts.rs:37:11 [INFO] [stderr] | [INFO] [stderr] 37 | pub const LY: f64 = const_log2(5.0 / 4.0); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MY` is never used [INFO] [stderr] --> src/consts.rs:38:11 [INFO] [stderr] | [INFO] [stderr] 38 | pub const MY: f64 = const_log2(7.0 / 4.0); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ZY` is never used [INFO] [stderr] --> src/consts.rs:39:11 [INFO] [stderr] | [INFO] [stderr] 39 | pub const ZY: f64 = const_log2(11.0 / 4.0); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEF_SCALE_X` is never used [INFO] [stderr] --> src/consts.rs:40:11 [INFO] [stderr] | [INFO] [stderr] 40 | pub const DEF_SCALE_X: f64 = 0.005; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEF_SCALE_Y` is never used [INFO] [stderr] --> src/consts.rs:41:11 [INFO] [stderr] | [INFO] [stderr] 41 | pub const DEF_SCALE_Y: f64 = -400.; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SessionData` is never constructed [INFO] [stderr] --> src/data.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct SessionData { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Sine`, `Square`, and `Saw` are never constructed [INFO] [stderr] --> src/playable.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 167 | pub enum Waveform { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] 168 | Sine, [INFO] [stderr] | ^^^^ [INFO] [stderr] 169 | Square, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 170 | Saw, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Waveform` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Score` is never constructed [INFO] [stderr] --> src/score.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Score { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `push`, `new`, and `prepare` are never used [INFO] [stderr] --> src/score.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl Score { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 24 | pub fn push(&mut self, note: (NoteDuration, Harmonym)) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn prepare(&mut self) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NoteDuration` is never constructed [INFO] [stderr] --> src/score.rs:151:12 [INFO] [stderr] | [INFO] [stderr] 151 | pub struct NoteDuration { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `chalaxata-rs` (bin "short_piece" test) generated 7 warnings (run `cargo fix --bin "short_piece" -p chalaxata-rs --tests` to apply 3 suggestions) [INFO] [stderr] warning: `chalaxata-rs` (bin "chalaxata-rs" test) generated 18 warnings (run `cargo fix --bin "chalaxata-rs" -p chalaxata-rs --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chalaxata_rs-a787a992768a4df5) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chalaxata_rs-7eada085615cfa2d) [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] [stderr] Running unittests src/bin/short_piece.rs (/opt/rustwide/target/debug/deps/short_piece-e4cdcc212a8f1f4c) [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] [stderr] Doc-tests chalaxata_rs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "816f96d9f9662bdc9d9a0c44d38475b58179061515b136b3b155d0a483f427fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "816f96d9f9662bdc9d9a0c44d38475b58179061515b136b3b155d0a483f427fd", kill_on_drop: false }` [INFO] [stdout] 816f96d9f9662bdc9d9a0c44d38475b58179061515b136b3b155d0a483f427fd