[INFO] updating cached repository c0gent/ocl-segfault [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/c0gent/ocl-segfault [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/c0gent/ocl-segfault" "work/ex/beta-1.38-1/sources/1.37.0/gh/c0gent/ocl-segfault"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/c0gent/ocl-segfault'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/c0gent/ocl-segfault" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/c0gent/ocl-segfault"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/c0gent/ocl-segfault'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 698e6b28edfa12de3f4044574573ef4a4c6b6d35 [INFO] sha for GitHub repo c0gent/ocl-segfault: 698e6b28edfa12de3f4044574573ef4a4c6b6d35 [INFO] validating manifest of c0gent/ocl-segfault 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 c0gent/ocl-segfault 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 c0gent/ocl-segfault [INFO] finished frobbing c0gent/ocl-segfault [INFO] frobbed toml for c0gent/ocl-segfault written to work/ex/beta-1.38-1/sources/1.37.0/gh/c0gent/ocl-segfault/Cargo.toml [INFO] started frobbing c0gent/ocl-segfault [INFO] finished frobbing c0gent/ocl-segfault [INFO] frobbed toml for c0gent/ocl-segfault written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/c0gent/ocl-segfault/Cargo.toml [INFO] crate c0gent/ocl-segfault 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 c0gent/ocl-segfault against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/c0gent/ocl-segfault:/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 3c956ca97f13e9a59d9ed53227ce1c1edc59f5e0066a6bd34941d30222e0fd84 [INFO] running `"docker" "start" "-a" "3c956ca97f13e9a59d9ed53227ce1c1edc59f5e0066a6bd34941d30222e0fd84"` [INFO] [stderr] Compiling cl-sys v0.4.1 (https://github.com/cogciprocate/ocl#1e103b2f) [INFO] [stderr] Compiling ocl-core v0.9.0 (https://github.com/cogciprocate/ocl#1e103b2f) [INFO] [stderr] Compiling qutex v0.2.1 [INFO] [stderr] Compiling ocl-core-vector v0.1.0 (https://github.com/cogciprocate/ocl#1e103b2f) [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling ocl v0.18.0 (https://github.com/cogciprocate/ocl#1e103b2f) [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/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/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] = note: for more information, try `rustc --explain E0729` [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/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/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] = note: for more information, try `rustc --explain E0729` [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/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/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] = note: for more information, try `rustc --explain E0729` [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/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/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] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling ocl-segfault 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/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.ocl_segfault.d03fpz80-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122" "/opt/crater/target/debug/deps/ocl_segfault-6c794d7ba3a2f122.416p11jk3i1zwgne.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-4101916840cec155/out" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libocl-7c91b81e923cad34.rlib" "/opt/crater/target/debug/deps/libqutex-d9aa6d091c83bf29.rlib" "/opt/crater/target/debug/deps/libcrossbeam-b7feb6e2b32da9c7.rlib" "/opt/crater/target/debug/deps/libnodrop-77b1df44365c6506.rlib" "/opt/crater/target/debug/deps/libocl_core-2954faef606bac2e.rlib" "/opt/crater/target/debug/deps/libcl_sys-288f28d81544bccf.rlib" "/opt/crater/target/debug/deps/libocl_core_vector-03da01b7010e9718.rlib" "/opt/crater/target/debug/deps/libnum_complex-cfb6abb62956e0e9.rlib" "/opt/crater/target/debug/deps/librustc_serialize-fc0a027b4489f806.rlib" "/opt/crater/target/debug/deps/libenum_primitive-e71c2f42361ed219.rlib" "/opt/crater/target/debug/deps/libnum_traits-30783087853720ad.rlib" "/opt/crater/target/debug/deps/libbitflags-9f040734986e226a.rlib" "/opt/crater/target/debug/deps/libfailure-dd9764ad898938c9.rlib" "/opt/crater/target/debug/deps/libbacktrace-8bb69588e316be20.rlib" "/opt/crater/target/debug/deps/libbacktrace_sys-2029bacbcee69b9f.rlib" "/opt/crater/target/debug/deps/librustc_demangle-6c846ebe94ea55f9.rlib" "/opt/crater/target/debug/deps/libcfg_if-009022f74140c129.rlib" "/opt/crater/target/debug/deps/liblibc-9543c9559dc5df0d.rlib" "/opt/crater/target/debug/deps/libfutures-52593fd28aa0bbc1.rlib" "/opt/crater/target/debug/deps/libnum_traits-21fe451f10806df6.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1d6d86bd078a28e9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e9721e46a424e2a9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-c07193698f282147.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6da45690f3863086.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-690797036dd27680.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d3896ccbfd8eda2b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7cccc3739e3d7623.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5e9ba178a513cd29.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-5ca9f83bf63d1f4b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bba1c7ef9e950882.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e23c9de62012deb5.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-9b59dffdcd513d5d.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-17392340ab2e4a97.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ac21508a81e3f7f3.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-segfault`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3c956ca97f13e9a59d9ed53227ce1c1edc59f5e0066a6bd34941d30222e0fd84"` [INFO] running `"docker" "rm" "-f" "3c956ca97f13e9a59d9ed53227ce1c1edc59f5e0066a6bd34941d30222e0fd84"` [INFO] [stdout] 3c956ca97f13e9a59d9ed53227ce1c1edc59f5e0066a6bd34941d30222e0fd84