[INFO] updating cached repository https://github.com/tehsis/rust-piano [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftehsis%2Frust-piano" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tehsis/rust-piano on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "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 work/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/tehsis/rust-piano already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/nicklan/rimd.git` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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-09-28" "build" "--frozen"` [INFO] [stdout] 6b2ebbdae0a9b36c1ab52fd49e7e8bd2225206588d07f0a39965c0a42690066f [INFO] running `"docker" "start" "-a" "6b2ebbdae0a9b36c1ab52fd49e7e8bd2225206588d07f0a39965c0a42690066f"` [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(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" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.rust_piano.eobgxpak-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419" "/opt/rustwide/target/debug/deps/rust_piano-3fb35c2f228fb419.3wjggv6v3d9z3mur.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-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libportmidi-d59d0edc93510103.rlib" "/opt/rustwide/target/debug/deps/libserial-6aab0a0ecae7b5f4.rlib" "/opt/rustwide/target/debug/deps/libioctl_rs-8f78cf4008f1bf7d.rlib" "/opt/rustwide/target/debug/deps/libtermios-b059d535d71993c0.rlib" "/opt/rustwide/target/debug/deps/liblibc-9f7a5de25bd5699b.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-db812c66f862af4c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e7871a21575d5ff7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-2f2c581bc0d759e6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-35731cabc05dc8a0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-36477394541292db.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-8b706b170c1272d8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-801dbb3043ccf581.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-a32aa66ce6f72b21.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-d00ea3bfb2bb6c00.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d2c6ebe88c3e113c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-df74f62f6bb60621.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2170473575daeedb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1a08089bbddc4f51.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2019-09-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f8f562e5472ad5c3.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" "6b2ebbdae0a9b36c1ab52fd49e7e8bd2225206588d07f0a39965c0a42690066f"` [INFO] running `"docker" "rm" "-f" "6b2ebbdae0a9b36c1ab52fd49e7e8bd2225206588d07f0a39965c0a42690066f"` [INFO] [stdout] 6b2ebbdae0a9b36c1ab52fd49e7e8bd2225206588d07f0a39965c0a42690066f