[INFO] updating cached repository patrickod/barcode-rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/patrickod/barcode-rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/patrickod/barcode-rust" "work/ex/beta-1.38-1/sources/1.37.0/gh/patrickod/barcode-rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/patrickod/barcode-rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/patrickod/barcode-rust" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/patrickod/barcode-rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/patrickod/barcode-rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 27b930ed82def7dde32bdd28592586d569ae6223 [INFO] sha for GitHub repo patrickod/barcode-rust: 27b930ed82def7dde32bdd28592586d569ae6223 [INFO] validating manifest of patrickod/barcode-rust 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 patrickod/barcode-rust 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 patrickod/barcode-rust [INFO] finished frobbing patrickod/barcode-rust [INFO] frobbed toml for patrickod/barcode-rust written to work/ex/beta-1.38-1/sources/1.37.0/gh/patrickod/barcode-rust/Cargo.toml [INFO] started frobbing patrickod/barcode-rust [INFO] finished frobbing patrickod/barcode-rust [INFO] frobbed toml for patrickod/barcode-rust written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/patrickod/barcode-rust/Cargo.toml [INFO] crate patrickod/barcode-rust 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/patrickod/barcode-rust/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] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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] [stderr] Blocking waiting for file lock on package cache [INFO] testing patrickod/barcode-rust 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-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/patrickod/barcode-rust:/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] c8232d4170ab5d741e4e98e1839d09b1f5c9bb1c44afd59d882f2c6376588bf5 [INFO] running `"docker" "start" "-a" "c8232d4170ab5d741e4e98e1839d09b1f5c9bb1c44afd59d882f2c6376588bf5"` [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling enum_primitive v0.0.2 [INFO] [stderr] Compiling scanner v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/parse.rs:29:17 [INFO] [stderr] | [INFO] [stderr] 29 | stdout.write(c.to_string().as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/parse.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | stdout.write(key.to_char().as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/parse.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | stdout.flush(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `scanner::libevdev::Libevdev` which is not FFI-safe: this struct has no fields [INFO] [stderr] --> src/bin/scanner.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | fn libevdev_new() -> *mut Libevdev; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(improper_ctypes)] on by default [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `scanner::libevdev::Libevdev` which is not FFI-safe: this struct has no fields [INFO] [stderr] --> src/bin/scanner.rs:19:29 [INFO] [stderr] | [INFO] [stderr] 19 | fn libevdev_set_fd(dev: *mut Libevdev, fd: i32) -> i32; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `scanner::libevdev::Libevdev` which is not FFI-safe: this struct has no fields [INFO] [stderr] --> src/bin/scanner.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | fn libevdev_next_event(dev: *mut Libevdev, flag: u32, ev: *mut InputEvent) -> i32; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `scanner::libevdev::Libevdev` which is not FFI-safe: this struct has no fields [INFO] [stderr] --> src/bin/scanner.rs:21:27 [INFO] [stderr] | [INFO] [stderr] 21 | fn libevdev_free(dev: *mut Libevdev); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `scanner::libevdev::Libevdev` which is not FFI-safe: this struct has no fields [INFO] [stderr] --> src/bin/scanner.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | fn libevdev_grab(dev: *mut Libevdev, grab: u32) -> i32; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider adding a member to this struct [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/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.scanner.7xil7xy9-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74" "/opt/crater/target/debug/deps/scanner-f22431f3f74c5d74.2usdvb6jqdf4k6ge.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" "-levdev" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libscanner-57d6840875471f9a.rlib" "/opt/crater/target/debug/deps/liblibc-aafb0c5c9e710352.rlib" "/opt/crater/target/debug/deps/libbitflags-30e4567f15b8e3e5.rlib" "/opt/crater/target/debug/deps/libenum_primitive-81f7568e6abf34d8.rlib" "/opt/crater/target/debug/deps/libnum-0e9f759aa65b8e36.rlib" "/opt/crater/target/debug/deps/libnum_rational-ed146bf810c32f27.rlib" "/opt/crater/target/debug/deps/libnum_bigint-7bc3214fb2bb296f.rlib" "/opt/crater/target/debug/deps/librand-a2977b71a5d1a0ed.rlib" "/opt/crater/target/debug/deps/liblibc-d019039477cac03b.rlib" "/opt/crater/target/debug/deps/libnum_complex-ac224157af133aa0.rlib" "/opt/crater/target/debug/deps/librustc_serialize-cc29b8ffd74fbfca.rlib" "/opt/crater/target/debug/deps/libnum_iter-57feada7344bf204.rlib" "/opt/crater/target/debug/deps/libnum_integer-0d16bf15ee871835.rlib" "/opt/crater/target/debug/deps/libnum_traits-99be000a39d37ff1.rlib" "/opt/crater/target/debug/deps/libgetopts-274885dc2e574855.rlib" "/opt/crater/target/debug/deps/libunicode_width-854b98bbb65b7690.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" "-lc" "-lm" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -levdev [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 `scanner`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c8232d4170ab5d741e4e98e1839d09b1f5c9bb1c44afd59d882f2c6376588bf5"` [INFO] running `"docker" "rm" "-f" "c8232d4170ab5d741e4e98e1839d09b1f5c9bb1c44afd59d882f2c6376588bf5"` [INFO] [stdout] c8232d4170ab5d741e4e98e1839d09b1f5c9bb1c44afd59d882f2c6376588bf5