[INFO] cloning repository https://github.com/swan-benoit/LApiQuiChante [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swan-benoit/LApiQuiChante" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswan-benoit%2FLApiQuiChante", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswan-benoit%2FLApiQuiChante'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c92f6c1c85a0d35d0178cb5daadc54eb688c1745 [INFO] checking swan-benoit/LApiQuiChante against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswan-benoit%2FLApiQuiChante" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swan-benoit/LApiQuiChante on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/swan-benoit/LApiQuiChante [INFO] finished tweaking git repo https://github.com/swan-benoit/LApiQuiChante [INFO] tweaked toml for git repo https://github.com/swan-benoit/LApiQuiChante written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/swan-benoit/LApiQuiChante 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58cea283a8af4bee47281a61855bc158779168f929c578a2339dccc8044cb52e [INFO] running `Command { std: "docker" "start" "-a" "58cea283a8af4bee47281a61855bc158779168f929c578a2339dccc8044cb52e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58cea283a8af4bee47281a61855bc158779168f929c578a2339dccc8044cb52e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58cea283a8af4bee47281a61855bc158779168f929c578a2339dccc8044cb52e", kill_on_drop: false }` [INFO] [stdout] 58cea283a8af4bee47281a61855bc158779168f929c578a2339dccc8044cb52e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcd491392b3a7916767be5cd48e2cfa55751bc813abf3215e655ac6d8f299be9 [INFO] running `Command { std: "docker" "start" "-a" "fcd491392b3a7916767be5cd48e2cfa55751bc813abf3215e655ac6d8f299be9", kill_on_drop: false }` [INFO] [stderr] Checking LApiQuiChante v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::domain::music_theory::keys::keys::keys::Key` [INFO] [stdout] --> src/domain/music_theory/keys/keys_test.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::domain::music_theory::keys::keys::keys::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/domain/music_theory/keys/keys_test.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod keys_test { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chord` is never constructed [INFO] [stdout] --> src/domain/music_theory/chords/chords.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Chord { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_notes`, and `get_formula` are never used [INFO] [stdout] --> src/domain/music_theory/chords/chords.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 12 | impl Chord { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(root: Note, chord_type: ChordType) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get_notes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_formula(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChordType` is never used [INFO] [stdout] --> src/domain/music_theory/chords/chords.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum ChordType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/domain/music_theory/intervals/intervals.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum IntervalType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 10 | Unisson, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Second, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Third, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Fourth, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | Fifth, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | Sixth, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Seventh, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntervalType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Minor`, `Major`, `Diminished`, `Augmented`, and `Perfect` are never constructed [INFO] [stdout] --> src/domain/music_theory/intervals/intervals.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Quality { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 21 | Minor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | Major, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | Diminished, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | Augmented, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | Perfect, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Quality` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_score`, and `get_degree_value` are never used [INFO] [stdout] --> src/domain/music_theory/intervals/intervals.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 28 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 29 | pub fn new(interval_type: IntervalType, quality: Quality) -> Interval { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_score(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn get_degree_value(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to` and `new` are never used [INFO] [stdout] --> src/domain/music_theory/notes/notes.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 16 | impl Note { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 17 | pub(crate) fn to(&self, interval: Interval) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn new(key: Key, alteration: Alteration, octave: i32) -> Note { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_score` is never used [INFO] [stdout] --> src/domain/music_theory/notes/notes.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 30 | impl Note { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 31 | pub fn get_score(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_notes_from_score` is never used [INFO] [stdout] --> src/domain/music_theory/notes/notes.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_notes_from_score(score: i32) -> PossibleNotes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_note` is never used [INFO] [stdout] --> src/domain/music_theory/notes/notes.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_note(score: i32, alteration: Alteration) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/domain/music_theory/notes/notes.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 91 | impl PossibleNotes { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 92 | pub fn new(notes: Vec) -> PossibleNotes { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn get(&self, target: Key) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DoubleSharp`, `Sharp`, `Natural`, `Flat`, and `DoubleFlat` are never constructed [INFO] [stdout] --> src/domain/music_theory/notes/notes.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub enum Alteration { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 108 | DoubleSharp, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 109 | Sharp, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 110 | Natural, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 111 | Flat, [INFO] [stdout] | ^^^^ [INFO] [stdout] 112 | DoubleFlat, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Alteration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scale` is never constructed [INFO] [stdout] --> src/domain/music_theory/scales/scales.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Scale { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_notes`, and `get_steps` are never used [INFO] [stdout] --> src/domain/music_theory/scales/scales.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 14 | impl Scale { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(scale_type: ScaleType, note: Note) -> Scale { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_notes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_steps(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ScaleType` is never used [INFO] [stdout] --> src/domain/music_theory/scales/scales.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum ScaleType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_key` is never used [INFO] [stdout] --> src/domain/music_theory/keys/keys.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_key(posistion: i32) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "fcd491392b3a7916767be5cd48e2cfa55751bc813abf3215e655ac6d8f299be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcd491392b3a7916767be5cd48e2cfa55751bc813abf3215e655ac6d8f299be9", kill_on_drop: false }` [INFO] [stdout] fcd491392b3a7916767be5cd48e2cfa55751bc813abf3215e655ac6d8f299be9