[INFO] cloning repository https://github.com/euwbah/thirty_one_from_twelve [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/euwbah/thirty_one_from_twelve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuwbah%2Fthirty_one_from_twelve", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuwbah%2Fthirty_one_from_twelve'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31385dda617fa8488178ae8ed7e8035b96770c9f [INFO] testing euwbah/thirty_one_from_twelve against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuwbah%2Fthirty_one_from_twelve" "/workspace/builds/worker-110/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-110/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/euwbah/thirty_one_from_twelve on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/euwbah/thirty_one_from_twelve [INFO] finished tweaking git repo https://github.com/euwbah/thirty_one_from_twelve [INFO] tweaked toml for git repo https://github.com/euwbah/thirty_one_from_twelve written to /workspace/builds/worker-110/source/Cargo.toml [INFO] crate git repo https://github.com/euwbah/thirty_one_from_twelve already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87a4a14970dd689448614ce8a93bfb973fb2e8c5d50f619624d1cd1510abbd0a [INFO] running `Command { std: "docker" "start" "-a" "87a4a14970dd689448614ce8a93bfb973fb2e8c5d50f619624d1cd1510abbd0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87a4a14970dd689448614ce8a93bfb973fb2e8c5d50f619624d1cd1510abbd0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87a4a14970dd689448614ce8a93bfb973fb2e8c5d50f619624d1cd1510abbd0a", kill_on_drop: false }` [INFO] [stdout] 87a4a14970dd689448614ce8a93bfb973fb2e8c5d50f619624d1cd1510abbd0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35cf0565b0b9cc97af263eaf389b01ff5cd1aebb0075d7e3b621bfdeb12a7408 [INFO] running `Command { std: "docker" "start" "-a" "35cf0565b0b9cc97af263eaf389b01ff5cd1aebb0075d7e3b621bfdeb12a7408", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling memalloc v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nix v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling alsa v0.2.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling midir v0.6.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling midly v0.4.0 [INFO] [stderr] Compiling thirty_one_from_twelve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Note`, `Pitch31` [INFO] [stdout] --> src/processor.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::theory::{Note, Pitch31}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TSPitch` [INFO] [stdout] --> src/processor.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::tonal_space::{TSPitch, TonalSpace}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RemAssign` [INFO] [stdout] --> src/theory.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, RemAssign}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active_notes` [INFO] [stdout] --> src/processor.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut active_notes: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_active_notes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/processor.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | if let EventKind::Midi {channel, message} = ev { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `channel: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/processor.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | MidiMessage::NoteOff {key, vel} => { [INFO] [stdout] | ^^^ help: try ignoring the field: `key: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vel` [INFO] [stdout] --> src/processor.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | MidiMessage::NoteOff {key, vel} => { [INFO] [stdout] | ^^^ help: try ignoring the field: `vel: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `controller` [INFO] [stdout] --> src/processor.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | MidiMessage::Controller {controller, value} => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `controller: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/processor.rs:46:54 [INFO] [stdout] | [INFO] [stdout] 46 | MidiMessage::Controller {controller, value} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/processor.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn convert_to_31(key: u7, vel: u7, tonal_space: &mut TonalSpace) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vel` [INFO] [stdout] --> src/processor.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn convert_to_31(key: u7, vel: u7, tonal_space: &mut TonalSpace) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tonal_space` [INFO] [stdout] --> src/processor.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn convert_to_31(key: u7, vel: u7, tonal_space: &mut TonalSpace) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tonal_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/processor.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut active_notes: HashMap = HashMap::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/processor.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | while let Some(mut raw) = rx.recv().unwrap() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/theory.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let note = capts.name("note").unwrap().as_str().to_lowercase().as_str(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 97 | match note { [INFO] [stdout] | ---- borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:76 [INFO] [stdout] | [INFO] [stdout] 52 | let _conn_in = midi_in.connect(&in_port, "midir-forward", move |stamp, mut message, _| { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thirty_one_from_twelve` due to 2 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "35cf0565b0b9cc97af263eaf389b01ff5cd1aebb0075d7e3b621bfdeb12a7408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35cf0565b0b9cc97af263eaf389b01ff5cd1aebb0075d7e3b621bfdeb12a7408", kill_on_drop: false }` [INFO] [stdout] 35cf0565b0b9cc97af263eaf389b01ff5cd1aebb0075d7e3b621bfdeb12a7408