[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.38-1/sources/1.37.0/gh/GabrielMajeri/ocl-exercises-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/gh/GabrielMajeri/ocl-exercises-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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.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 GabrielMajeri/ocl-exercises-rs 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 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.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/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.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 GabrielMajeri/ocl-exercises-rs 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/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.37.0" "build" "--frozen"` [INFO] [stdout] 8bc63f75e6b6f3a2d06b86ad08c4f1198dbb0dbc6008442d7220341d463a2592 [INFO] running `"docker" "start" "-a" "8bc63f75e6b6f3a2d06b86ad08c4f1198dbb0dbc6008442d7220341d463a2592"` [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 cfg-if v0.1.3 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling futures v0.1.21 [INFO] [stderr] Compiling ocl-exercises v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling ocl-core v0.9.0 [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 qutex v0.2.1 [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 backtrace v0.3.7 [INFO] [stderr] Compiling failure v0.1.1 [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] = 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/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] = 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/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] = 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/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] = note: for more information, try `rustc --explain E0729` [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/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.ocl_exercises.7jncsh5v-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a" "/opt/crater/target/debug/deps/ocl_exercises-f0eb5433573ea86a.2zse5q7q1iobe9ri.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-84169ba3b2918e72/out/.libs" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libfloat_cmp-7034b1b711f1404d.rlib" "/opt/crater/target/debug/deps/libnumber_prefix-84afc8a77cfd7599.rlib" "/opt/crater/target/debug/deps/libocl-8c2e56806e159b10.rlib" "/opt/crater/target/debug/deps/libqutex-eb0763b636703ede.rlib" "/opt/crater/target/debug/deps/libcrossbeam-059bd6b2f9ab096d.rlib" "/opt/crater/target/debug/deps/libnodrop-ebe102d76b342fed.rlib" "/opt/crater/target/debug/deps/libocl_core-3f242153657fec6e.rlib" "/opt/crater/target/debug/deps/libcl_sys-4b1da10562e95071.rlib" "/opt/crater/target/debug/deps/libocl_core_vector-329eff91b48369ea.rlib" "/opt/crater/target/debug/deps/libnum-a4be8125efd0f415.rlib" "/opt/crater/target/debug/deps/libnum_rational-f578c808eee28fe4.rlib" "/opt/crater/target/debug/deps/libnum_bigint-c2ca7a88261029b1.rlib" "/opt/crater/target/debug/deps/librand-e7c0917706e1ea21.rlib" "/opt/crater/target/debug/deps/libnum_iter-cc3ceec13174388c.rlib" "/opt/crater/target/debug/deps/libnum_integer-a61570dff754ed71.rlib" "/opt/crater/target/debug/deps/libnum_complex-f1a44add95cbc533.rlib" "/opt/crater/target/debug/deps/librustc_serialize-cc29b8ffd74fbfca.rlib" "/opt/crater/target/debug/deps/libenum_primitive-3f6cbce659785783.rlib" "/opt/crater/target/debug/deps/libnum_traits-d9e7b6b0790e9244.rlib" "/opt/crater/target/debug/deps/libbitflags-70a7e6d2f9d4aa58.rlib" "/opt/crater/target/debug/deps/libfailure-ebdedf6c7a0f2e97.rlib" "/opt/crater/target/debug/deps/libbacktrace-0e21a8cf504e465b.rlib" "/opt/crater/target/debug/deps/libbacktrace_sys-b045ffc5a632048b.rlib" "/opt/crater/target/debug/deps/librustc_demangle-89dc169db47dd685.rlib" "/opt/crater/target/debug/deps/libcfg_if-d2f9aadfe21168ff.rlib" "/opt/crater/target/debug/deps/liblibc-359335290a215031.rlib" "/opt/crater/target/debug/deps/libfutures-3661a280aa742451.rlib" "/opt/crater/target/debug/deps/libnum_traits-257ee21dd1df48d0.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" "-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" "8bc63f75e6b6f3a2d06b86ad08c4f1198dbb0dbc6008442d7220341d463a2592"` [INFO] running `"docker" "rm" "-f" "8bc63f75e6b6f3a2d06b86ad08c4f1198dbb0dbc6008442d7220341d463a2592"` [INFO] [stdout] 8bc63f75e6b6f3a2d06b86ad08c4f1198dbb0dbc6008442d7220341d463a2592