[INFO] updating cached repository https://github.com/tehsis/rust-piano
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] c3756d0d06fa81253501295e9dfa8ee302f69808
[INFO] testing tehsis/rust-piano against beta-2019-12-18 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftehsis%2Frust-piano" "/workspace/builds/worker-10/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tehsis/rust-piano on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-10/source/Cargo.toml
[INFO] crate git repo https://github.com/tehsis/rust-piano already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/nicklan/rimd.git`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-12-18" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 62cc896233bd4b7af2a40ca60227dbf14454b9c3efb3e7e1720ed6a5d77ffe81
[INFO] running `"docker" "start" "-a" "62cc896233bd4b7af2a40ca60227dbf14454b9c3efb3e7e1720ed6a5d77ffe81"`
[INFO] [stderr]    Compiling portmidi v0.2.4
[INFO] [stderr]    Compiling termios v0.2.2
[INFO] [stderr]    Compiling ioctl-rs v0.1.6
[INFO] [stderr]    Compiling rimd v0.0.1 (https://github.com/nicklan/rimd.git#ff1bddeb)
[INFO] [stderr]    Compiling serial v0.3.4
[INFO] [stderr]    Compiling rust-piano v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 |     try!(port.reconfigure(&|settings| {
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:40:9
[INFO] [stderr]    |
[INFO] [stderr] 40 |         try!(settings.set_baud_rate(serial::Baud9600));
[INFO] [stderr]    |         ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:66:5
[INFO] [stderr]    |
[INFO] [stderr] 66 |     try!(port.set_timeout(Duration::from_millis(3000)));
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:72:5
[INFO] [stderr]    |
[INFO] [stderr] 72 |     try!(port.write(&color_vec[..]));
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/main.rs:51:9
[INFO] [stderr]    |
[INFO] [stderr] 51 |       1 ... 4 => {
[INFO] [stderr]    |         ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/main.rs:55:9
[INFO] [stderr]    |
[INFO] [stderr] 55 |       5 ... 8 => {
[INFO] [stderr]    |         ^^^ help: use `..=` for an inclusive range
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io::prelude`
[INFO] [stderr]   --> src/main.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::io::prelude::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `force`
[INFO] [stderr]   --> src/main.rs:38:51
[INFO] [stderr]    |
[INFO] [stderr] 38 | fn interact<T: SerialPort>(port: &mut T, num: u8, force: u8) -> io::Result<()> {
[INFO] [stderr]    |                                                   ^^^^^ help: consider prefixing with an underscore: `_force`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:48:9
[INFO] [stderr]    |
[INFO] [stderr] 48 |     let mut color: String;
[INFO] [stderr]    |         ----^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: linking with `cc` failed: exit code: 1
[INFO] [stderr]   |
[INFO] [stderr]   = note: "cc" "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.rust_piano.alu37k1z-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44" "/opt/rustwide/target/debug/deps/rust_piano-e661f96f0ecabe44.5ait0bxofkyy6hqa.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libportmidi-bb0f36bcfffaa824.rlib" "/opt/rustwide/target/debug/deps/libserial-a2c0f612c623ebc8.rlib" "/opt/rustwide/target/debug/deps/libioctl_rs-704b5f9888b560e0.rlib" "/opt/rustwide/target/debug/deps/libtermios-927e72d067f88c1a.rlib" "/opt/rustwide/target/debug/deps/liblibc-f88d14611a96125d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7882f892cab5695c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-3d65e6e850b6c09a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d01d95add7352f76.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-46038aa60235f99d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-ba5e04369163dd11.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-19f3ae3a51c7f899.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-f5a18c28566b3caa.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-0d009c2d84e5e4a6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-ac5bc51eb08d8fb3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-c7cdcfc98a06f06b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-71b49e751ac5899d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2366809f8143ef00.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-06e04ed5a2763f6d.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2019-12-18-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-75092100d328cc67.rlib" "-Wl,-Bdynamic" "-lportmidi" "-lc" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[INFO] [stderr]   = note: /usr/bin/ld: cannot find -lportmidi
[INFO] [stderr]           collect2: error: ld returned 1 exit status
[INFO] [stderr]           
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `rust-piano`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "62cc896233bd4b7af2a40ca60227dbf14454b9c3efb3e7e1720ed6a5d77ffe81"`
[INFO] running `"docker" "rm" "-f" "62cc896233bd4b7af2a40ca60227dbf14454b9c3efb3e7e1720ed6a5d77ffe81"`
[INFO] [stdout] 62cc896233bd4b7af2a40ca60227dbf14454b9c3efb3e7e1720ed6a5d77ffe81
