[INFO] fetching crate obrah 3.0.0... [INFO] testing obrah-3.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate obrah 3.0.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate obrah 3.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate obrah 3.0.0 [INFO] tweaked toml for crates.io crate obrah 3.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate obrah 3.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate obrah 3.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a23233a42259d910ed283eb7a17212159ef72e8cd1762b26d864a99462cb3e6 [INFO] running `Command { std: "docker" "start" "-a" "5a23233a42259d910ed283eb7a17212159ef72e8cd1762b26d864a99462cb3e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a23233a42259d910ed283eb7a17212159ef72e8cd1762b26d864a99462cb3e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a23233a42259d910ed283eb7a17212159ef72e8cd1762b26d864a99462cb3e6", kill_on_drop: false }` [INFO] [stdout] 5a23233a42259d910ed283eb7a17212159ef72e8cd1762b26d864a99462cb3e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 404230abac4638689af5b1fb5ed93ffb5cca5999812c9149106f418ee88d3a06 [INFO] running `Command { std: "docker" "start" "-a" "404230abac4638689af5b1fb5ed93ffb5cca5999812c9149106f418ee88d3a06", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling obwio v0.2.0 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling obrah v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: obrah@3.0.0: Environment variable OPENCL_SDK not set. Please set it to your OpenCL SDK path. [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "404230abac4638689af5b1fb5ed93ffb5cca5999812c9149106f418ee88d3a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "404230abac4638689af5b1fb5ed93ffb5cca5999812c9149106f418ee88d3a06", kill_on_drop: false }` [INFO] [stdout] 404230abac4638689af5b1fb5ed93ffb5cca5999812c9149106f418ee88d3a06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4438169b9d49f49f311e1451d3c085136189f04e47402960b033822252f4ce7 [INFO] running `Command { std: "docker" "start" "-a" "a4438169b9d49f49f311e1451d3c085136189f04e47402960b033822252f4ce7", kill_on_drop: false }` [INFO] [stderr] warning: obrah@3.0.0: Environment variable OPENCL_SDK not set. Please set it to your OpenCL SDK path. [INFO] [stderr] Compiling obrah v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc235E9S/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libobrah-63f0eab84303ade2,libobwio-0403f7a85a192f97}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc235E9S/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/get_gpus-9263231edc0fe2aa" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: clGetPlatformIDs [INFO] [stdout] >>> referenced by kernel.rs:58 (src/kernel.rs:58) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::kernel::get_devices::hd5062e2f8010ba3f) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] >>> referenced by kernel.rs:60 (src/kernel.rs:60) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::kernel::get_devices::hd5062e2f8010ba3f) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clGetDeviceIDs [INFO] [stdout] >>> referenced by kernel.rs:66 (src/kernel.rs:66) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::kernel::get_devices::hd5062e2f8010ba3f) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] >>> referenced by kernel.rs:74 (src/kernel.rs:74) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::kernel::get_devices::hd5062e2f8010ba3f) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clGetDeviceInfo [INFO] [stdout] >>> referenced by kernel.rs:84 (src/kernel.rs:84) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::kernel::get_devices::hd5062e2f8010ba3f) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] >>> referenced by kernel.rs:86 (src/kernel.rs:86) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::kernel::get_devices::hd5062e2f8010ba3f) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: obrah@3.0.0: Environment variable OPENCL_SDK not set. Please set it to your OpenCL SDK path. [INFO] [stderr] error: could not compile `obrah` (example "get_gpus") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: obrah@3.0.0: Environment variable OPENCL_SDK not set. Please set it to your OpenCL SDK path. [INFO] [stderr] error: could not compile `obrah` (example "add_one") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcUSarxt/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libobrah-63f0eab84303ade2,libobwio-0403f7a85a192f97}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcUSarxt/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/add_one-cc36188168edcd4d" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: clSetKernelArg [INFO] [stdout] >>> referenced by kernel.rs:108 (src/kernel.rs:108) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/add_one-cc36188168edcd4d.add_one.f0cf3f5ed27f69e-cgu.0.rcgu.o:(obrah::kernel::setarg_scalar::hbe2444b3764db37b) [INFO] [stdout] >>> referenced by kernel.rs:48 (src/kernel.rs:48) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::kernel::setarg::ha45aed3b436af0cc) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clCreateBuffer [INFO] [stdout] >>> referenced by data.rs:47 (src/data.rs:47) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::data::buffer_write::h68a0f06504e2638d) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clEnqueueWriteBuffer [INFO] [stdout] >>> referenced by data.rs:70 (src/data.rs:70) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::data::to_gpu::hc0e5c87e9f114911) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clReleaseMemObject [INFO] [stdout] >>> referenced by data.rs:125 (src/data.rs:125) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::data::cleanvar::ha74a71ad5d5be5fc) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clEnqueueReadBuffer [INFO] [stdout] >>> referenced by data.rs:92 (src/data.rs:92) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::data::from_gpu::hdd99a81fd57ffe97) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clEnqueueNDRangeKernel [INFO] [stdout] >>> referenced by kernel.rs:124 (src/kernel.rs:124) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::kernel::run_kernel::h75734f1bfc91d719) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clFinish [INFO] [stdout] >>> referenced by kernel.rs:135 (src/kernel.rs:135) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::kernel::run_kernel::h75734f1bfc91d719) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clCreateKernel [INFO] [stdout] >>> referenced by runtime.rs:74 (src/runtime.rs:74) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::Env::make_kernel::h29a72b5584472d9e) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clGetPlatformIDs [INFO] [stdout] >>> referenced by runtime.rs:110 (src/runtime.rs:110) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::setup::h62bd241a250cb338) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] >>> referenced by runtime.rs:113 (src/runtime.rs:113) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::setup::h62bd241a250cb338) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clGetDeviceIDs [INFO] [stdout] >>> referenced by runtime.rs:116 (src/runtime.rs:116) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::setup::h62bd241a250cb338) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] >>> referenced by runtime.rs:125 (src/runtime.rs:125) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::setup::h62bd241a250cb338) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clCreateContext [INFO] [stdout] >>> referenced by runtime.rs:138 (src/runtime.rs:138) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::setup::h62bd241a250cb338) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clCreateCommandQueue [INFO] [stdout] >>> referenced by runtime.rs:147 (src/runtime.rs:147) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::setup::h62bd241a250cb338) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clReleaseKernel [INFO] [stdout] >>> referenced by runtime.rs:214 (src/runtime.rs:214) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::cleanup::hda7e10699cee97bd) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clReleaseProgram [INFO] [stdout] >>> referenced by runtime.rs:215 (src/runtime.rs:215) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::cleanup::hda7e10699cee97bd) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clReleaseCommandQueue [INFO] [stdout] >>> referenced by runtime.rs:216 (src/runtime.rs:216) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::cleanup::hda7e10699cee97bd) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clReleaseContext [INFO] [stdout] >>> referenced by runtime.rs:217 (src/runtime.rs:217) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::cleanup::hda7e10699cee97bd) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clCreateProgramWithSource [INFO] [stdout] >>> referenced by runtime.rs:176 (src/runtime.rs:176) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::make_prog::h4df63bbbf8b33fdd) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clBuildProgram [INFO] [stdout] >>> referenced by runtime.rs:178 (src/runtime.rs:178) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::make_prog::h4df63bbbf8b33fdd) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: obrah@3.0.0: Environment variable OPENCL_SDK not set. Please set it to your OpenCL SDK path. [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcG43iVl/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libobrah-63f0eab84303ade2,libobwio-0403f7a85a192f97}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcG43iVl/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/vecadd-f246eb69958b79aa" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: clCreateBuffer [INFO] [stdout] >>> referenced by data.rs:47 (src/data.rs:47) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::data::buffer_write::h68a0f06504e2638d) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clEnqueueWriteBuffer [INFO] [stdout] >>> referenced by data.rs:70 (src/data.rs:70) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::data::to_gpu::hc0e5c87e9f114911) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clReleaseMemObject [INFO] [stdout] >>> referenced by data.rs:125 (src/data.rs:125) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::data::cleanvar::ha74a71ad5d5be5fc) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clEnqueueReadBuffer [INFO] [stdout] >>> referenced by data.rs:92 (src/data.rs:92) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::data::from_gpu::hdd99a81fd57ffe97) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clEnqueueNDRangeKernel [INFO] [stdout] >>> referenced by kernel.rs:124 (src/kernel.rs:124) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::kernel::run_kernel::h75734f1bfc91d719) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clFinish [INFO] [stdout] >>> referenced by kernel.rs:135 (src/kernel.rs:135) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::kernel::run_kernel::h75734f1bfc91d719) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clSetKernelArg [INFO] [stdout] >>> referenced by kernel.rs:48 (src/kernel.rs:48) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::kernel::setarg::ha45aed3b436af0cc) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clCreateKernel [INFO] [stdout] >>> referenced by runtime.rs:74 (src/runtime.rs:74) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::Env::make_kernel::h29a72b5584472d9e) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clGetPlatformIDs [INFO] [stdout] >>> referenced by runtime.rs:110 (src/runtime.rs:110) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::setup::h62bd241a250cb338) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] >>> referenced by runtime.rs:113 (src/runtime.rs:113) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::setup::h62bd241a250cb338) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clGetDeviceIDs [INFO] [stdout] >>> referenced by runtime.rs:116 (src/runtime.rs:116) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::setup::h62bd241a250cb338) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] >>> referenced by runtime.rs:125 (src/runtime.rs:125) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::setup::h62bd241a250cb338) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clCreateContext [INFO] [stdout] >>> referenced by runtime.rs:138 (src/runtime.rs:138) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::setup::h62bd241a250cb338) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clCreateCommandQueue [INFO] [stdout] >>> referenced by runtime.rs:147 (src/runtime.rs:147) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::setup::h62bd241a250cb338) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clReleaseKernel [INFO] [stdout] >>> referenced by runtime.rs:214 (src/runtime.rs:214) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::cleanup::hda7e10699cee97bd) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clReleaseProgram [INFO] [stdout] >>> referenced by runtime.rs:215 (src/runtime.rs:215) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::cleanup::hda7e10699cee97bd) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clReleaseCommandQueue [INFO] [stdout] >>> referenced by runtime.rs:216 (src/runtime.rs:216) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::cleanup::hda7e10699cee97bd) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clReleaseContext [INFO] [stdout] >>> referenced by runtime.rs:217 (src/runtime.rs:217) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::cleanup::hda7e10699cee97bd) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clCreateProgramWithSource [INFO] [stdout] >>> referenced by runtime.rs:176 (src/runtime.rs:176) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::make_prog::h4df63bbbf8b33fdd) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: clBuildProgram [INFO] [stdout] >>> referenced by runtime.rs:178 (src/runtime.rs:178) [INFO] [stdout] >>> obrah-63f0eab84303ade2.obrah.f58be5be83d7a6d1-cgu.0.rcgu.o:(obrah::runtime::make_prog::h4df63bbbf8b33fdd) in archive /opt/rustwide/target/debug/deps/libobrah-63f0eab84303ade2.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `obrah` (example "vecadd") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a4438169b9d49f49f311e1451d3c085136189f04e47402960b033822252f4ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4438169b9d49f49f311e1451d3c085136189f04e47402960b033822252f4ce7", kill_on_drop: false }` [INFO] [stdout] a4438169b9d49f49f311e1451d3c085136189f04e47402960b033822252f4ce7