[INFO] updating cached repository andygrove/rust-avc [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/andygrove/rust-avc [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/andygrove/rust-avc" "work/ex/beta-1.38-1/sources/1.37.0/gh/andygrove/rust-avc"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/andygrove/rust-avc'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/andygrove/rust-avc" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/andygrove/rust-avc"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/andygrove/rust-avc'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0ba3e945e394e30286a6d28ae29e3475d25f3838 [INFO] sha for GitHub repo andygrove/rust-avc: 0ba3e945e394e30286a6d28ae29e3475d25f3838 [INFO] validating manifest of andygrove/rust-avc 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 andygrove/rust-avc 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 andygrove/rust-avc [INFO] finished frobbing andygrove/rust-avc [INFO] frobbed toml for andygrove/rust-avc written to work/ex/beta-1.38-1/sources/1.37.0/gh/andygrove/rust-avc/Cargo.toml [INFO] started frobbing andygrove/rust-avc [INFO] finished frobbing andygrove/rust-avc [INFO] frobbed toml for andygrove/rust-avc written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/andygrove/rust-avc/Cargo.toml [INFO] crate andygrove/rust-avc 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] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing andygrove/rust-avc 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-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/andygrove/rust-avc:/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] 16ffe6c4874a175fcd538788fe294a1038ec629fa4242b5859f8d4d565f574b9 [INFO] running `"docker" "start" "-a" "16ffe6c4874a175fcd538788fe294a1038ec629fa4242b5859f8d4d565f574b9"` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libc v0.2.15 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling getopts v0.2.14 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling num-traits v0.1.35 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.3.5 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] warning[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/getopts-0.2.14/src/lib.rs:1008:33 [INFO] [stderr] | [INFO] [stderr] 955 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stderr] | ---------------------------------------- borrow of `state` occurs here [INFO] [stderr] ... [INFO] [stderr] 959 | state = match (state, whitespace, limit) { [INFO] [stderr] | ----- borrow occurs due to use of `state` in closure [INFO] [stderr] ... [INFO] [stderr] 1008 | while cont && match state { B | C => true, A => false } { [INFO] [stderr] | ^ use of borrowed `state` [INFO] [stderr] 1009 | machine(&mut cont, (fake_i, ' ')); [INFO] [stderr] | ------- borrow later used here [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling yaml-rust v0.3.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling ioctl-rs v0.1.5 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling libsweep v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.32 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling serial v0.3.4 [INFO] [stderr] Compiling pulldown-cmark v0.0.3 [INFO] [stderr] Compiling num-iter v0.1.32 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling time v0.1.35 [INFO] [stderr] Compiling num v0.1.35 [INFO] [stderr] Compiling thread_local v0.2.6 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling tempdir v0.3.5 [INFO] [stderr] Compiling navigation v0.1.7 [INFO] [stderr] Compiling regex v0.1.75 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling skeptic v0.5.0 [INFO] [stderr] Compiling spidev v0.2.1 [INFO] [stderr] Compiling graceful v0.1.0 [INFO] [stderr] Compiling i2cdev v0.3.1 [INFO] [stderr] Compiling hmc5883l v1.0.2 [INFO] [stderr] Compiling sysfs_gpio v0.4.4 [INFO] [stderr] Compiling qik v1.2.3 [INFO] [stderr] Compiling avc v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `std::iter::FromIterator` [INFO] [stderr] --> src/gps.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::iter::FromIterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/compass.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc`, `Mutex` [INFO] [stderr] --> src/compass.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use std::sync::{Arc, Mutex}; [INFO] [stderr] | ^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/compass.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude` [INFO] [stderr] --> src/compass.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lidar.rs:36:29 [INFO] [stderr] | [INFO] [stderr] 36 | let mut first = (samples.first().unwrap().angle / 1000) as usize; [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] warning: variable does not need to be mutable [INFO] [stderr] --> src/lidar.rs:37:29 [INFO] [stderr] | [INFO] [stderr] 37 | let mut last = (samples.last().unwrap().angle / 1000) as usize; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [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/avc-093175e374b82f01.avc.4fsc9mpe-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/avc-093175e374b82f01.avc.4fsc9mpe-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/avc-093175e374b82f01" "/opt/crater/target/debug/deps/avc-093175e374b82f01.1cztl76057xzm8rn.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" "-lopencv_ffi" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/liblibsweep-0e90352e0369afcd.rlib" "/opt/crater/target/debug/deps/libgraceful-735daa8a40d6b129.rlib" "/opt/crater/target/debug/deps/libnix-82b65a00fb93210a.rlib" "/opt/crater/target/debug/deps/libhmc5883l-dae2c1711ddc515b.rlib" "/opt/crater/target/debug/deps/libi2cdev-b322c78b7cf9d063.rlib" "/opt/crater/target/debug/deps/libbitflags-b0c72cc86367f243.rlib" "/opt/crater/target/debug/deps/libbyteorder-6625e79c2e8ceba8.rlib" "/opt/crater/target/debug/deps/libyaml_rust-c1d5f264801dd4dd.rlib" "/opt/crater/target/debug/deps/libqik-21e6204d7db71ea5.rlib" "/opt/crater/target/debug/deps/libserial-7b2b824d8dccd7d8.rlib" "/opt/crater/target/debug/deps/libioctl_rs-554dbde44ceb0567.rlib" "/opt/crater/target/debug/deps/libtermios-5c4d39e51955cab0.rlib" "/opt/crater/target/debug/deps/libnavigation-c47592f9adf39e78.rlib" "/opt/crater/target/debug/deps/librand-69d595abdf492f7e.rlib" "/opt/crater/target/debug/deps/libchrono-c3bb5a555968bb5a.rlib" "/opt/crater/target/debug/deps/libnum-9581f79d92a2e645.rlib" "/opt/crater/target/debug/deps/libnum_iter-dd4dacae21aa9d0e.rlib" "/opt/crater/target/debug/deps/libnum_integer-6548994fbf0c84ea.rlib" "/opt/crater/target/debug/deps/libnum_traits-35c9269c34e8af12.rlib" "/opt/crater/target/debug/deps/libtime-67225341cf292a3a.rlib" "/opt/crater/target/debug/deps/libgetopts-3bb6411339ed505d.rlib" "/opt/crater/target/debug/deps/libsysfs_gpio-91b97fe70b4a4e85.rlib" "/opt/crater/target/debug/deps/libregex-da2d5c69c53d9d55.rlib" "/opt/crater/target/debug/deps/libutf8_ranges-7e19cf98379531b4.rlib" "/opt/crater/target/debug/deps/libregex_syntax-47d0833e0ddf426e.rlib" "/opt/crater/target/debug/deps/libthread_local-b253562847f829cf.rlib" "/opt/crater/target/debug/deps/libthread_id-b0669457ab0a982e.rlib" "/opt/crater/target/debug/deps/libaho_corasick-f52cb871fdfae5cd.rlib" "/opt/crater/target/debug/deps/libmemchr-c73fe86ac824a8fc.rlib" "/opt/crater/target/debug/deps/libnix-297eb8e694dd0640.rlib" "/opt/crater/target/debug/deps/liblibc-6b61cae58424e038.rlib" "/opt/crater/target/debug/deps/libvoid-03072202629d0c80.rlib" "/opt/crater/target/debug/deps/libcfg_if-55146e185022d321.rlib" "/opt/crater/target/debug/deps/libbitflags-9f030c7d282c894d.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" "-lsweep" "-lc" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lopencv_ffi [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 `avc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "16ffe6c4874a175fcd538788fe294a1038ec629fa4242b5859f8d4d565f574b9"` [INFO] running `"docker" "rm" "-f" "16ffe6c4874a175fcd538788fe294a1038ec629fa4242b5859f8d4d565f574b9"` [INFO] [stdout] 16ffe6c4874a175fcd538788fe294a1038ec629fa4242b5859f8d4d565f574b9