[INFO] updating cached repository GabrielMajeri/ocl-exercises-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/GabrielMajeri/ocl-exercises-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/GabrielMajeri/ocl-exercises-rs" "work/ex/beta-1.37-6/sources/1.36.0/gh/GabrielMajeri/ocl-exercises-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/GabrielMajeri/ocl-exercises-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/GabrielMajeri/ocl-exercises-rs" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/GabrielMajeri/ocl-exercises-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/GabrielMajeri/ocl-exercises-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8ca6cd8c6733ca54c951d51cd54fce747bc52ddb [INFO] sha for GitHub repo GabrielMajeri/ocl-exercises-rs: 8ca6cd8c6733ca54c951d51cd54fce747bc52ddb [INFO] validating manifest of GabrielMajeri/ocl-exercises-rs on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of GabrielMajeri/ocl-exercises-rs on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing GabrielMajeri/ocl-exercises-rs [INFO] finished frobbing GabrielMajeri/ocl-exercises-rs [INFO] frobbed toml for GabrielMajeri/ocl-exercises-rs written to work/ex/beta-1.37-6/sources/1.36.0/gh/GabrielMajeri/ocl-exercises-rs/Cargo.toml [INFO] started frobbing GabrielMajeri/ocl-exercises-rs [INFO] finished frobbing GabrielMajeri/ocl-exercises-rs [INFO] frobbed toml for GabrielMajeri/ocl-exercises-rs written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/GabrielMajeri/ocl-exercises-rs/Cargo.toml [INFO] crate GabrielMajeri/ocl-exercises-rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing GabrielMajeri/ocl-exercises-rs against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/GabrielMajeri/ocl-exercises-rs:/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.36.0" "build" "--frozen"` [INFO] [stdout] 7262efda466e21e16c6e198da55b9c1c1d435ed27f3fa4a77d3255aa236a49f1 [INFO] running `"docker" "start" "-a" "7262efda466e21e16c6e198da55b9c1c1d435ed27f3fa4a77d3255aa236a49f1"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling cl-sys v0.4.1 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling ocl-exercises v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Compiling ocl-core v0.9.0 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling qutex v0.2.1 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling number_prefix v0.2.8 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling ocl-core-vector v0.1.0 [INFO] [stderr] Compiling ocl v0.18.0 [INFO] [stderr] warning[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/ocl-0.18.0/src/standard/buffer.rs:1609:13 [INFO] [stderr] | [INFO] [stderr] 1606 | let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?; [INFO] [stderr] | ---- mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 1609 | &self.cmd.buffer.obj_core, true, flags, offset, len, ewait, enew)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 1614 | queue.clone())) [INFO] [stderr] | ----- mutable borrow later used here [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] [INFO] [stderr] warning[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/ocl-0.18.0/src/standard/buffer.rs:1613:57 [INFO] [stderr] | [INFO] [stderr] 1606 | let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?; [INFO] [stderr] | ---- mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 1613 | Ok(MemMap::new(mm_core, len, None, unmap_event, self.cmd.buffer.obj_core.clone(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stderr] 1614 | queue.clone())) [INFO] [stderr] | ----- mutable borrow later used here [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] [INFO] [stderr] warning[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/ocl-0.18.0/src/standard/buffer.rs:1635:13 [INFO] [stderr] | [INFO] [stderr] 1630 | let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?; [INFO] [stderr] | ---- mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 1635 | &self.cmd.buffer.obj_core, false, flags, offset, len, ewait, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 1646 | self.cmd.buffer.obj_core.clone(), queue.clone(), /*is_mapped*/)) [INFO] [stderr] | ----- mutable borrow later used here [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] [INFO] [stderr] warning[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/ocl-0.18.0/src/standard/buffer.rs:1646:13 [INFO] [stderr] | [INFO] [stderr] 1630 | let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?; [INFO] [stderr] | ---- mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 1646 | self.cmd.buffer.obj_core.clone(), queue.clone(), /*is_mapped*/)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ ----- mutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | immutable borrow occurs here [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] [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.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.ocl_exercises.9hl92sin-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f" "/opt/crater/target/debug/deps/ocl_exercises-fc58f60978797a4f.3tnjdierbk40a09f.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "lib" "-L" "/opt/crater/target/debug/build/backtrace-sys-a319999372d36614/out/.libs" "-L" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libfloat_cmp-d75b26dc8dde1c54.rlib" "/opt/crater/target/debug/deps/libnumber_prefix-f814b246198f8971.rlib" "/opt/crater/target/debug/deps/libocl-9bfce210810b4473.rlib" "/opt/crater/target/debug/deps/libqutex-56969ae5b7ca8df7.rlib" "/opt/crater/target/debug/deps/libcrossbeam-afeb664edf309719.rlib" "/opt/crater/target/debug/deps/libnodrop-8a7d8c0bc1ccbc8a.rlib" "/opt/crater/target/debug/deps/libocl_core-a840e85e192c4e27.rlib" "/opt/crater/target/debug/deps/libcl_sys-03454869d23786d1.rlib" "/opt/crater/target/debug/deps/libocl_core_vector-ea797e3b733cdc46.rlib" "/opt/crater/target/debug/deps/libnum-8535036f793fa578.rlib" "/opt/crater/target/debug/deps/libnum_rational-9f1e0e7d827e3dc8.rlib" "/opt/crater/target/debug/deps/libnum_bigint-f07dfdc09b414911.rlib" "/opt/crater/target/debug/deps/librand-03c23d22d3e9361a.rlib" "/opt/crater/target/debug/deps/libnum_iter-cfd0efa0e6c2d090.rlib" "/opt/crater/target/debug/deps/libnum_integer-50d7a6250a012600.rlib" "/opt/crater/target/debug/deps/libnum_complex-cd9fa07c78b9e761.rlib" "/opt/crater/target/debug/deps/librustc_serialize-04f5d71c016b4cf1.rlib" "/opt/crater/target/debug/deps/libenum_primitive-5495e5436a5b52d4.rlib" "/opt/crater/target/debug/deps/libnum_traits-5cf4ba334e4be5fa.rlib" "/opt/crater/target/debug/deps/libbitflags-4f5a5af30acbcb25.rlib" "/opt/crater/target/debug/deps/libfailure-5f5ee780511d81da.rlib" "/opt/crater/target/debug/deps/libbacktrace-3d87170437bdacc1.rlib" "/opt/crater/target/debug/deps/libbacktrace_sys-d1eb159c30b119ca.rlib" "/opt/crater/target/debug/deps/librustc_demangle-41e8dff878cb0ed6.rlib" "/opt/crater/target/debug/deps/libcfg_if-966e280784642e7d.rlib" "/opt/crater/target/debug/deps/liblibc-69fb33ee0a761606.rlib" "/opt/crater/target/debug/deps/libfutures-0bd0e6e2b113adb8.rlib" "/opt/crater/target/debug/deps/libnum_traits-05dccce16f429b25.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9895e8982b0a79e7.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-57306b8ed3378a0e.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-54463ae5adae3649.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d99667b199a9875a.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-51f4300e102199f5.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-b3ccf1f7737a6a91.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-157c37a3ceb78853.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-505bcee45aafb736.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c29abd529ba4452b.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-895383a3232f6572.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5594cb4f559bc761.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-38e90baf978bc428.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lOpenCL" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lOpenCL [INFO] [stderr] /usr/bin/ld: cannot find -lOpenCL [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 `ocl-exercises`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7262efda466e21e16c6e198da55b9c1c1d435ed27f3fa4a77d3255aa236a49f1"` [INFO] running `"docker" "rm" "-f" "7262efda466e21e16c6e198da55b9c1c1d435ed27f3fa4a77d3255aa236a49f1"` [INFO] [stdout] 7262efda466e21e16c6e198da55b9c1c1d435ed27f3fa4a77d3255aa236a49f1