[INFO] updating cached repository https://github.com/Slimakanzer/RustLearning [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] d67fde7e6bfae169f924a7815220b16935e8b568 [INFO] testing Slimakanzer/RustLearning against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FSlimakanzer%2FRustLearning" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Slimakanzer/RustLearning 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/Slimakanzer/RustLearning [INFO] finished tweaking git repo https://github.com/Slimakanzer/RustLearning [INFO] tweaked toml for git repo https://github.com/Slimakanzer/RustLearning written to work/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Slimakanzer/RustLearning 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-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/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] 13f928044f2be571ffd084f57a2b0229b76ca8640e003a66f54b9f3be12c916b [INFO] running `"docker" "start" "-a" "13f928044f2be571ffd084f57a2b0229b76ca8640e003a66f54b9f3be12c916b"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling cl-sys v0.4.1 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling colorify v0.2.3 [INFO] [stderr] Compiling qutex v0.2.1 [INFO] [stderr] Compiling ocl-core v0.9.0 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling ocl-core-vector v0.1.0 [INFO] [stderr] Compiling backtrace v0.3.8 [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/rustwide/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/rustwide/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/rustwide/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/rustwide/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] Compiling rust_learning 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/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.rust_learning.3ysfbprs-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75" "/opt/rustwide/target/debug/deps/rust_learning-feec0a767e92df75.21nia5a7eepw1m0d.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-78d716eba9ca84fe/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/libcolorify-985b2da0cbbeb1aa.rlib" "/opt/rustwide/target/debug/deps/libocl-199d530389b820d3.rlib" "/opt/rustwide/target/debug/deps/libqutex-9a6bb7e6b9e5f983.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-db2b07964beaa07a.rlib" "/opt/rustwide/target/debug/deps/libnodrop-7dbbe7e07d4bd2c5.rlib" "/opt/rustwide/target/debug/deps/libocl_core-060d330ba57b39eb.rlib" "/opt/rustwide/target/debug/deps/libcl_sys-66c712b238924ebf.rlib" "/opt/rustwide/target/debug/deps/libocl_core_vector-328599a73b86d45f.rlib" "/opt/rustwide/target/debug/deps/libnum-4e8bbd3893e74b8a.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-c7e2b93d2f27b4bf.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-25d6b8e7b519a69b.rlib" "/opt/rustwide/target/debug/deps/librand-599611f383419b71.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-6f6a84bb8c42f538.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-d5f37bc14f28ea40.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-4fa0efd3628aa04d.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-32acd8f7efa22e3e.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-d9f6b6f806f424fe.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-437d2a4dc331c507.rlib" "/opt/rustwide/target/debug/deps/libbitflags-8880519ea1a29580.rlib" "/opt/rustwide/target/debug/deps/libfailure-f7f91925b7b707de.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-c1c5003895fa171a.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-898db1cbd554d67a.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-22cf4b1d16ee149b.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4b18511af80d0843.rlib" "/opt/rustwide/target/debug/deps/liblibc-78cd1346cba930e5.rlib" "/opt/rustwide/target/debug/deps/libfutures-caeb6910041e0fc9.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-f3eec732a46f379a.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 `rust_learning`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "13f928044f2be571ffd084f57a2b0229b76ca8640e003a66f54b9f3be12c916b"` [INFO] running `"docker" "rm" "-f" "13f928044f2be571ffd084f57a2b0229b76ca8640e003a66f54b9f3be12c916b"` [INFO] [stdout] 13f928044f2be571ffd084f57a2b0229b76ca8640e003a66f54b9f3be12c916b