[INFO] updating cached repository kpp/test_ocl [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/kpp/test_ocl [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/kpp/test_ocl" "work/ex/beta-1.37-6/sources/1.36.0/gh/kpp/test_ocl"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/kpp/test_ocl'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/kpp/test_ocl" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/kpp/test_ocl"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/kpp/test_ocl'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1b9d5bdedcc5820ac6251a586ce5db892d28afb8 [INFO] sha for GitHub repo kpp/test_ocl: 1b9d5bdedcc5820ac6251a586ce5db892d28afb8 [INFO] validating manifest of kpp/test_ocl 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 kpp/test_ocl 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 kpp/test_ocl [INFO] finished frobbing kpp/test_ocl [INFO] frobbed toml for kpp/test_ocl written to work/ex/beta-1.37-6/sources/1.36.0/gh/kpp/test_ocl/Cargo.toml [INFO] started frobbing kpp/test_ocl [INFO] finished frobbing kpp/test_ocl [INFO] frobbed toml for kpp/test_ocl written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/kpp/test_ocl/Cargo.toml [INFO] crate kpp/test_ocl 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 kpp/test_ocl 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-1/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/kpp/test_ocl:/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] b34ce4bb44a744973955c4195e6d8cf8363c211f4046449d50465aaab022c13b [INFO] running `"docker" "start" "-a" "b34ce4bb44a744973955c4195e6d8cf8363c211f4046449d50465aaab022c13b"` [INFO] [stderr] Compiling cl-sys v0.4.2 [INFO] [stderr] Compiling ocl-core v0.11.1 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling crossbeam v0.7.1 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling qutex v0.2.3 [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.19.2 [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.19.2/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.19.2/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.19.2/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.19.2/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] Compiling test_ocl v0.1.0 (/opt/crater/workdir) [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/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.test_ocl.ckdy5kf2-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99" "/opt/crater/target/debug/deps/test_ocl-48f72bd413335a99.2cthisku3pv29q36.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/target/debug/build/backtrace-sys-7c8bf427e9144441/out" "-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/libocl-e8e9c71be1b373d7.rlib" "/opt/crater/target/debug/deps/libqutex-4e36de4c22fadee6.rlib" "/opt/crater/target/debug/deps/libcrossbeam-557ef92cad0763b8.rlib" "/opt/crater/target/debug/deps/libcrossbeam_queue-da0db7a083d49543.rlib" "/opt/crater/target/debug/deps/libcrossbeam_channel-45c00f92d93c8ae6.rlib" "/opt/crater/target/debug/deps/libsmallvec-00d14f3ddb609d61.rlib" "/opt/crater/target/debug/deps/libcrossbeam_deque-0d5cfb72b78300a3.rlib" "/opt/crater/target/debug/deps/libcrossbeam_epoch-6ea636d7951ed347.rlib" "/opt/crater/target/debug/deps/libscopeguard-f1a5efe88a6d7a2c.rlib" "/opt/crater/target/debug/deps/libmemoffset-97aaddce60f38adf.rlib" "/opt/crater/target/debug/deps/libcrossbeam_utils-bb2b9a56b4930d42.rlib" "/opt/crater/target/debug/deps/liblazy_static-35422c5bca3b6d90.rlib" "/opt/crater/target/debug/deps/libarrayvec-a885b20b40051405.rlib" "/opt/crater/target/debug/deps/libnodrop-90387833d719732c.rlib" "/opt/crater/target/debug/deps/libocl_core-d4c532c43cf3c06d.rlib" "/opt/crater/target/debug/deps/libcl_sys-fad59514593c5ee1.rlib" "/opt/crater/target/debug/deps/libocl_core_vector-c3c1bc5e603fafa6.rlib" "/opt/crater/target/debug/deps/libnum-e6e620a257bbbe2d.rlib" "/opt/crater/target/debug/deps/libnum_rational-97ec613c56d9d0a8.rlib" "/opt/crater/target/debug/deps/libnum_bigint-0189bba859509b6f.rlib" "/opt/crater/target/debug/deps/librand-d5c5cf9bdf8af86b.rlib" "/opt/crater/target/debug/deps/libnum_iter-826f20cb78fac559.rlib" "/opt/crater/target/debug/deps/libnum_integer-b3bd4602e5d1c829.rlib" "/opt/crater/target/debug/deps/libnum_complex-e97af5aaf71d4cb4.rlib" "/opt/crater/target/debug/deps/librustc_serialize-04f5d71c016b4cf1.rlib" "/opt/crater/target/debug/deps/libenum_primitive-1d3e788c07f03a0c.rlib" "/opt/crater/target/debug/deps/libnum_traits-617aac5e6c1afc08.rlib" "/opt/crater/target/debug/deps/libbitflags-6f632fff558bf385.rlib" "/opt/crater/target/debug/deps/libfailure-4f97cbda51dc5841.rlib" "/opt/crater/target/debug/deps/libbacktrace-5c0d20d565affa30.rlib" "/opt/crater/target/debug/deps/libbacktrace_sys-811c33c24c8be0d8.rlib" "/opt/crater/target/debug/deps/librustc_demangle-d6489bf3118003aa.rlib" "/opt/crater/target/debug/deps/libcfg_if-29b6f8db75d699b1.rlib" "/opt/crater/target/debug/deps/liblibc-350a43dfff55e8f8.rlib" "/opt/crater/target/debug/deps/libfutures-d59b03f0f80c49e9.rlib" "/opt/crater/target/debug/deps/libnum_traits-d1d041996ae7d877.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 `test_ocl`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b34ce4bb44a744973955c4195e6d8cf8363c211f4046449d50465aaab022c13b"` [INFO] running `"docker" "rm" "-f" "b34ce4bb44a744973955c4195e6d8cf8363c211f4046449d50465aaab022c13b"` [INFO] [stdout] b34ce4bb44a744973955c4195e6d8cf8363c211f4046449d50465aaab022c13b