[INFO] updating cached repository tehsis/rust-piano [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/tehsis/rust-piano [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/tehsis/rust-piano" "work/ex/beta-1.38-1/sources/1.37.0/gh/tehsis/rust-piano"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/tehsis/rust-piano'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/tehsis/rust-piano" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/tehsis/rust-piano"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/tehsis/rust-piano'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c3756d0d06fa81253501295e9dfa8ee302f69808 [INFO] sha for GitHub repo tehsis/rust-piano: c3756d0d06fa81253501295e9dfa8ee302f69808 [INFO] validating manifest of tehsis/rust-piano on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of tehsis/rust-piano on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing tehsis/rust-piano [INFO] finished frobbing tehsis/rust-piano [INFO] frobbed toml for tehsis/rust-piano written to work/ex/beta-1.38-1/sources/1.37.0/gh/tehsis/rust-piano/Cargo.toml [INFO] started frobbing tehsis/rust-piano [INFO] finished frobbing tehsis/rust-piano [INFO] frobbed toml for tehsis/rust-piano written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/tehsis/rust-piano/Cargo.toml [INFO] crate tehsis/rust-piano already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/tehsis/rust-piano/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/nicklan/rimd.git` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/nicklan/rimd.git` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing tehsis/rust-piano against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/tehsis/rust-piano:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 5b90bb348d030d1f1a66591b7d6d5cba559145b014d7aeac370d346d1ef349b6 [INFO] running `"docker" "start" "-a" "5b90bb348d030d1f1a66591b7d6d5cba559145b014d7aeac370d346d1ef349b6"` [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/crater/workdir) [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/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.rust_piano.30302fgh-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02" "/opt/crater/target/debug/deps/rust_piano-0da111df5965df02.xcxt597cptwe94u.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libportmidi-54eff49e96279aa5.rlib" "/opt/crater/target/debug/deps/libserial-f3bdb77ba91975d9.rlib" "/opt/crater/target/debug/deps/libioctl_rs-d8fc05366f04e471.rlib" "/opt/crater/target/debug/deps/libtermios-aaaeced554abb329.rlib" "/opt/crater/target/debug/deps/liblibc-d019039477cac03b.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.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" "5b90bb348d030d1f1a66591b7d6d5cba559145b014d7aeac370d346d1ef349b6"` [INFO] running `"docker" "rm" "-f" "5b90bb348d030d1f1a66591b7d6d5cba559145b014d7aeac370d346d1ef349b6"` [INFO] [stdout] 5b90bb348d030d1f1a66591b7d6d5cba559145b014d7aeac370d346d1ef349b6