[INFO] updating cached repository https://github.com/kpp/test_ocl [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1b9d5bdedcc5820ac6251a586ce5db892d28afb8 [INFO] testing kpp/test_ocl against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpp%2Ftest_ocl" "work/builds/worker-4/source"` [INFO] [stderr] Cloning into 'work/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kpp/test_ocl on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/kpp/test_ocl [INFO] finished tweaking git repo https://github.com/kpp/test_ocl [INFO] tweaked toml for git repo https://github.com/kpp/test_ocl written to work/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/kpp/test_ocl already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 46100d3be2583b7e7157de815b9cc1b22cdca003b61b94d6dc6f9525448571b7 [INFO] running `"docker" "start" "-a" "46100d3be2583b7e7157de815b9cc1b22cdca003b61b94d6dc6f9525448571b7"` [INFO] [stderr] Compiling nodrop v0.1.13 [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 failure v0.1.5 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling crossbeam v0.7.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling qutex v0.2.3 [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/rustwide/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] = 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/rustwide/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] = 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/rustwide/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] = 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/rustwide/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] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling test_ocl v0.1.0 (/opt/rustwide/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/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.test_ocl.buihs7j0-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1" "/opt/rustwide/target/debug/deps/test_ocl-9c5f2a6b8f6853e1.58w7mk4hrdpgqaxp.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/backtrace-sys-a5f13d556ea8d17b/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libocl-2d8c2d1118ff3173.rlib" "/opt/rustwide/target/debug/deps/libqutex-accaa7f3e20fc286.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-2895e0e73429f982.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-bbd8f02002d38d98.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-5b1f5d7fa8933653.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-cfaeb06d11ba9748.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-92398f9153eb5bb6.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-a2691d0d4fd384c4.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-5d24109de20616f8.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-eb3783781a55ffc1.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-9e2d427305b91d55.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-806f5cf8273b470a.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-a8932dfb6e636d3c.rlib" "/opt/rustwide/target/debug/deps/libnodrop-001b361c700f19db.rlib" "/opt/rustwide/target/debug/deps/libocl_core-39827458ace2eceb.rlib" "/opt/rustwide/target/debug/deps/libcl_sys-900597464f1bfa4c.rlib" "/opt/rustwide/target/debug/deps/libocl_core_vector-2e7fb4b2243d90cc.rlib" "/opt/rustwide/target/debug/deps/libnum-04e70d95cc85a6aa.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-9cd753f9c5fc0426.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-1721ef46e488e556.rlib" "/opt/rustwide/target/debug/deps/librand-cb2be5954fcf4278.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-137c0b3741b25e6e.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-831b7a63f4a82751.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-a744b291460fc1d4.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-32acd8f7efa22e3e.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-1ec1fbd32a90f12d.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-9560aff786ed1dd9.rlib" "/opt/rustwide/target/debug/deps/libbitflags-ac824a210725bad3.rlib" "/opt/rustwide/target/debug/deps/libfailure-2aeba553f286d19c.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-d198538dc7b50383.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-3e21b390df58509f.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-ad9e178ccf1178bb.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-32eaf08e5545e331.rlib" "/opt/rustwide/target/debug/deps/liblibc-9c0ba3c961a62e27.rlib" "/opt/rustwide/target/debug/deps/libfutures-f5d036c0b5cd400d.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-ddcddfd3b781861a.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-12ce12f1efc08aa3.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5d3cd1b3ddab72e4.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-f8222943dfd167e2.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-0cd00b2d3108cd48.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-485c05ba6ce1b438.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-63e6b1072426ba59.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-a421aff1d43911ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3deef8ef4fe80dff.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f65a176f0586269e.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ad46d4080f4d7e57.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-da6c590582bf0885.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-837ca740df32db0a.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-db27c965e824589f.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-68a4f8466685ed76.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" "46100d3be2583b7e7157de815b9cc1b22cdca003b61b94d6dc6f9525448571b7"` [INFO] running `"docker" "rm" "-f" "46100d3be2583b7e7157de815b9cc1b22cdca003b61b94d6dc6f9525448571b7"` [INFO] [stdout] 46100d3be2583b7e7157de815b9cc1b22cdca003b61b94d6dc6f9525448571b7