[INFO] cloning repository https://github.com/rojer-98/opencl_practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rojer-98/opencl_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frojer-98%2Fopencl_practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frojer-98%2Fopencl_practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76c96f0d6a64b97ba69d406486ea0937b664457a [INFO] building rojer-98/opencl_practice/76c96f0d6a64b97ba69d406486ea0937b664457a against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frojer-98%2Fopencl_practice" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rojer-98/opencl_practice [INFO] finished tweaking git repo https://github.com/rojer-98/opencl_practice [INFO] tweaked toml for git repo https://github.com/rojer-98/opencl_practice written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rojer-98/opencl_practice on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rojer-98/opencl_practice 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded opencl-sys v0.2.8 [INFO] [stderr] Downloaded profiling-procmacros v1.0.15 [INFO] [stderr] Downloaded avif-serialize v0.8.1 [INFO] [stderr] Downloaded ravif v0.11.5 [INFO] [stderr] Downloaded built v0.7.1 [INFO] [stderr] Downloaded target-lexicon v0.12.14 [INFO] [stderr] Downloaded image-webp v0.1.1 [INFO] [stderr] Downloaded half v2.4.0 [INFO] [stderr] Downloaded cl3 v0.9.5 [INFO] [stderr] Downloaded bumpalo v3.15.4 [INFO] [stderr] Downloaded toml_edit v0.22.9 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.7 [INFO] [stderr] Downloaded rayon v1.9.0 [INFO] [stderr] Downloaded rspirv v0.12.0+sdk-1.3.268.0 [INFO] [stderr] Downloaded imgref v1.10.1 [INFO] [stderr] Downloaded toml v0.8.12 [INFO] [stderr] Downloaded zune-jpeg v0.4.11 [INFO] [stderr] Downloaded bitstream-io v2.2.0 [INFO] [stderr] Downloaded exr v1.72.0 [INFO] [stderr] Downloaded syn v2.0.53 [INFO] [stderr] Downloaded opencl3 v0.9.5 [INFO] [stderr] Downloaded cfg-expr v0.15.7 [INFO] [stderr] Downloaded image v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5578bfbdab7f5d160f04f96587b5e34ff0c36fe82428a6872abc4fe7061691c [INFO] running `Command { std: "docker" "start" "-a" "b5578bfbdab7f5d160f04f96587b5e34ff0c36fe82428a6872abc4fe7061691c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5578bfbdab7f5d160f04f96587b5e34ff0c36fe82428a6872abc4fe7061691c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5578bfbdab7f5d160f04f96587b5e34ff0c36fe82428a6872abc4fe7061691c", kill_on_drop: false }` [INFO] [stdout] b5578bfbdab7f5d160f04f96587b5e34ff0c36fe82428a6872abc4fe7061691c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] f927105cdb67226a99c3d4c8db05e84e9844ff78355aad4330838fa4e8f307c0 [INFO] running `Command { std: "docker" "start" "-a" "f927105cdb67226a99c3d4c8db05e84e9844ff78355aad4330838fa4e8f307c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling opencl-sys v0.2.8 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling bitstream-io v2.2.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rspirv v0.12.0+sdk-1.3.268.0 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling image-webp v0.1.1 [INFO] [stderr] Compiling cl3 v0.9.5 [INFO] [stderr] Compiling opencl3 v0.9.5 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling image v0.25.0 [INFO] [stderr] Compiling opencl_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/compile.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buffer`, `CL_BLOCKING`, `CL_MEM_READ_ONLY`, `CL_MEM_WRITE_ONLY`, `CL_NON_BLOCKING`, `ExecuteKernel`, `Kernel`, `cl_event`, and `cl_float` [INFO] [stdout] --> src/compile.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | kernel::{ExecuteKernel, Kernel}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 7 | memory::{Buffer, CL_MEM_READ_ONLY, CL_MEM_WRITE_ONLY}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | program::Program, [INFO] [stdout] 9 | types::{cl_event, cl_float, CL_BLOCKING, CL_NON_BLOCKING}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rspirv::binary::Assemble` [INFO] [stdout] --> src/compile.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rspirv::binary::Assemble; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernel_name` [INFO] [stdout] --> src/compile.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn compile(kernel_name: &str, source: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernel_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/compile.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let queue = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--allow-undefined" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<3 object files omitted>" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libimage-a405083919f9a800,libimage_webp-89b420012ff8382c,libqoi-85a75892d2e11daa,libpng-0b5e710b01c9c563,libfdeflate-50f0fe513a8b9967,libbitflags-15e3d67e03629ffa,libexr-6f62e316c409d8ec,libflume-e939dc25233aa915,libzune_inflate-4f6364a931a8fa91,libbit_field-39ff09f3d85c8db4,liblebe-e256e90670809203,libhalf-f5ba674cd7f28c27,libsmallvec-dd22fcde2487057b,libzune_jpeg-152720370b6f1ac1}.rlib" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libzune_core-c9d6b46af9a16ea1,libgif-232fa5c57545039d,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libravif-670b92d6a054430f,libloop9-983da33c45ba45ca,libavif_serialize-7526bf1d1d6129ff,librayon-3533bd2d30638045,librayon_core-596b789b3248fe04,libcrossbeam_deque-edfc9ac1b274ec38,libcrossbeam_epoch-8b329c916e80e0f6,libcrossbeam_utils-8a6fb6f51532af4f,libquick_error-d37b5d841d8d4609,librgb-57e35ec184ec6645,librav1e-78b3a7a387c833d4,libprofiling-16d578a20e915571,libav1_grain-c9bbbffeaca242b3,libnom-24337d43ce69fc7e,libmemchr-91991dd9826db106,libnum_rational-9df12fb464982600,libnum_bigint-1e117de7353f7ae4,libnum_integer-1c6a5898b32da7d2,libdebug_unreachable-1ef33346e67b87f3,libmaybe_rayon-f3de7c3a8791b8d2,libv_frame-9f70a43c0fbc7a01,libaligned_vec-af394f74d316650c,libarrayvec-904f3b6f9e9c772a,libbitstream_io-6ecdf5bbe4789bd0,libitertools-8fec089b6319076f,libeither-b6223a2c93d4ea08,liblog-03c1402355aa92f4,libimgref-2c2b2808b6648f83,libbytemuck-adce7e2b9662606d,libnum_traits-d716f2dfca76771f,libtiff-f83ad29d2ab894cd,libflate2-20c9052135599986,libminiz_oxide-2450c187032c446b,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-7eee6fe9ac3f34b0,libcfg_if-50b02a9e3502ecf2,libweezl-3bf0a72bfd157bf6,libjpeg_decoder-fd926ddf0abbe14e,librspirv-d8f9450aac16a85f,librustc_hash-a5d506436d1d3d05,libspirv-30668963bd550aa1,libbitflags-23dfb783786438a3,libopencl3-c96bfbd4c4c13294,libcl3-de6ecdf0bb3578e1,libthiserror-1a32517e220afadd,libopencl_sys-3259feb3a6cf122a,liblibc-5abfd0da628c8e2f,libanyhow-91db207a2fd0f632}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-l" "OpenCL" "-l" "OpenCL" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/opencl_practice-666521ba7ff3a213.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lOpenCL [INFO] [stdout] rust-lld: error: unable to find library -lOpenCL [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `opencl_practice` (bin "opencl_practice") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f927105cdb67226a99c3d4c8db05e84e9844ff78355aad4330838fa4e8f307c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f927105cdb67226a99c3d4c8db05e84e9844ff78355aad4330838fa4e8f307c0", kill_on_drop: false }` [INFO] [stdout] f927105cdb67226a99c3d4c8db05e84e9844ff78355aad4330838fa4e8f307c0