[INFO] cloning repository https://github.com/tehsis/rust-piano
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tehsis/rust-piano" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftehsis%2Frust-piano", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftehsis%2Frust-piano'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c3756d0d06fa81253501295e9dfa8ee302f69808
[INFO] testing tehsis/rust-piano against beta-2020-08-29 for beta-1.47-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftehsis%2Frust-piano" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tehsis/rust-piano on toolchain beta-2020-08-29
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tehsis/rust-piano
[INFO] finished tweaking git repo https://github.com/tehsis/rust-piano
[INFO] tweaked toml for git repo https://github.com/tehsis/rust-piano written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/tehsis/rust-piano already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/nicklan/rimd.git`
[INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/nicklan/rimd.git`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ioctl-rs v0.1.6
[INFO] [stderr]   Downloaded serial v0.3.4
[INFO] [stderr]   Downloaded portmidi v0.2.5
[INFO] [stderr]   Downloaded termios v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 582d82e5693e8b94acc54484b6cee0b58fd2071516c9d82f1d68bc5c9825c57d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "582d82e5693e8b94acc54484b6cee0b58fd2071516c9d82f1d68bc5c9825c57d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "582d82e5693e8b94acc54484b6cee0b58fd2071516c9d82f1d68bc5c9825c57d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "582d82e5693e8b94acc54484b6cee0b58fd2071516c9d82f1d68bc5c9825c57d", kill_on_drop: false }`
[INFO] [stdout] 582d82e5693e8b94acc54484b6cee0b58fd2071516c9d82f1d68bc5c9825c57d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 87a5f7cc8637bd4104bcdf46b98ce8b73f041ce880f7182ca692f9774c4a7cf3
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "87a5f7cc8637bd4104bcdf46b98ce8b73f041ce880f7182ca692f9774c4a7cf3", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling byteorder v0.4.2
[INFO] [stderr]    Compiling portmidi v0.2.5
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling termios v0.2.2
[INFO] [stderr]    Compiling ioctl-rs v0.1.6
[INFO] [stderr]    Compiling serial v0.3.4
[INFO] [stderr]    Compiling num-complex v0.1.43
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling enum_primitive v0.1.1
[INFO] [stderr]    Compiling num-bigint v0.1.44
[INFO] [stderr]    Compiling num-rational v0.1.42
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling rimd v0.0.1 (https://github.com/nicklan/rimd.git#ff1bddeb)
[INFO] [stderr]    Compiling rust-piano v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     try!(port.reconfigure(&|settings| {
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         try!(settings.set_baud_rate(serial::Baud9600));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 |     try!(port.set_timeout(Duration::from_millis(3000)));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     try!(port.write(&color_vec[..]));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |       1 ... 4 => {
[INFO] [stdout]    |         ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/main.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |       5 ... 8 => {
[INFO] [stdout]    |         ^^^ help: use `..=` for an inclusive range
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `force`
[INFO] [stdout]   --> src/main.rs:38:51
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn interact<T: SerialPort>(port: &mut T, num: u8, force: u8) -> io::Result<()> {
[INFO] [stdout]    |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_force`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut color: String;
[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] error: linking with `cc` failed: exit code: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.rust_piano.6xdc8v0d-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70" "/opt/rustwide/target/debug/deps/rust_piano-20ec0c2e52225b70.4sj2l87a18ypa573.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libportmidi-046895930e442a62.rlib" "/opt/rustwide/target/debug/deps/libserial-5be2cc3e539ad2bc.rlib" "/opt/rustwide/target/debug/deps/libioctl_rs-7a313f5a65c54a33.rlib" "/opt/rustwide/target/debug/deps/libtermios-68fe06eb73ffc0d9.rlib" "/opt/rustwide/target/debug/deps/liblibc-7dba4e1b4f61a69e.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-b5ad74bd84224810.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-26a1f571fc41e545.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f5a491ac3f4cef4e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-c201d25add2f427a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-24b3eaf3b9f39a4d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-4755f99fa32ed4f2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e694316d0b3e45e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-ea5311801a274ea7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c40b74d63d88a7bb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-07451f79951e780d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5b411645fa399254.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-d76bc972648498d6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b37fb9c9975d4585.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-493e2cd31ebb4e0f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-727cdf2b6a468113.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-cf4d442d877ea2f4.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-08-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8868cbc5d314613c.rlib" "-Wl,-Bdynamic" "-lportmidi" "-lc" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lportmidi
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-piano`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "87a5f7cc8637bd4104bcdf46b98ce8b73f041ce880f7182ca692f9774c4a7cf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87a5f7cc8637bd4104bcdf46b98ce8b73f041ce880f7182ca692f9774c4a7cf3", kill_on_drop: false }`
[INFO] [stdout] 87a5f7cc8637bd4104bcdf46b98ce8b73f041ce880f7182ca692f9774c4a7cf3
