[INFO] cloning repository https://github.com/PixelDust22/ktxtool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PixelDust22/ktxtool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPixelDust22%2Fktxtool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPixelDust22%2Fktxtool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adb731c17d3e9f6557d6fd9adeff401b785ceaa2 [INFO] building PixelDust22/ktxtool against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPixelDust22%2Fktxtool" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PixelDust22/ktxtool [INFO] finished tweaking git repo https://github.com/PixelDust22/ktxtool [INFO] tweaked toml for git repo https://github.com/PixelDust22/ktxtool written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PixelDust22/ktxtool on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PixelDust22/ktxtool 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9db252b28c34998084d233f70a7da20b1a13c62de9153790d687a4ee593642df [INFO] running `Command { std: "docker" "start" "-a" "9db252b28c34998084d233f70a7da20b1a13c62de9153790d687a4ee593642df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9db252b28c34998084d233f70a7da20b1a13c62de9153790d687a4ee593642df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9db252b28c34998084d233f70a7da20b1a13c62de9153790d687a4ee593642df", kill_on_drop: false }` [INFO] [stdout] 9db252b28c34998084d233f70a7da20b1a13c62de9153790d687a4ee593642df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] fe611fb0215eeaf215029479ba1a4b345e5e7cb9af62f052d303cb9fa714f775 [INFO] running `Command { std: "docker" "start" "-a" "fe611fb0215eeaf215029479ba1a4b345e5e7cb9af62f052d303cb9fa714f775", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling zerocopy v0.8.28 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling aligned v0.4.2 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling pxfm v0.1.25 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling zune-core v0.5.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling gif v0.14.0 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling zune-jpeg v0.5.5 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling moxcms v0.7.9 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.28 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling ravif v0.12.0 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling testaa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut texture: *mut sys::KtxTexture2 = std::ptr::null_mut(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut texture: *mut sys::KtxTexture2 = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_path` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let input_path = std::path::Path::new(&args.input); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoStorage` is never constructed [INFO] [stdout] --> src/sys.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum KtxTextureCreateStorageEnum { [INFO] [stdout] | --------------------------- variant in this enum [INFO] [stdout] 85 | /// Don't allocate any image storage. [INFO] [stdout] 86 | NoStorage = 0, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<17 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libclap-4b15e7a1e618253d,libclap_builder-d54bff6b189b38cd,libstrsim-e512297c5f919e18,libanstream-a1abdfe8c41d81b6,libanstyle_query-ae207f1031c525f4,libis_terminal_polyfill-6d471cc8df50af12,libcolorchoice-b271fc8e70ab819f,libanstyle_parse-31a2135f17b38bcb,libutf8parse-9c3910e1de91e7db,libclap_lex-56fb693823703334,libanstyle-67f17fd5ef03cfeb,libash-0c79e944e720ca49,libimage-795ca0229355c8a6,libimage_webp-456c6b411c062862,libqoi-d9e900946fc8713b,libmoxcms-fda6abf55339ad02,libpxfm-a8f053170ada6f4e,libtiff-aed1004ad5127c21,libfax-68a06878de8e4fbe,libzune_jpeg-a5e4269c9b595cd1,libzune_core-c9d6b46af9a16ea1,libpng-a4ce58d66ddb31e7,libbitflags-cb1b0ccdfba1243b,libflate2-bcc15a3e54a73a21,libfdeflate-1973eda695894699,libcrc32fast-c19ce4228a5bbdd7,libexr-7434aceaeb6f0d1e,libminiz_oxide-add2caca990dcbb8,libzune_inflate-4f6364a931a8fa91,libsimd_adler32-f60c9d1329d503cc,libbit_field-1b1fe46526644e0f,liblebe-64dd0a848b1230bc,libhalf-0e97739f865a13eb,libzerocopy-ed1430533eb3a52e,libsmallvec-e66260ff59480183,libzune_jpeg-c31f6fc3faff65dc,libzune_core-44a2a577f02f4f31,libgif-bc4d9b97412263ba,libcolor_quant-8e07a515e6ff48c0,libweezl-328140ee69eae7c4,libbyteorder_lite-f317906bf7af921d,libravif-deff0d698319b1d4,libloop9-c2ebc3b788fca6e3,libavif_serialize-e2c753fa50bed5fb,libquick_error-d37b5d841d8d4609,librgb-3252a83092c79dac,librav1e-3a0fd66d0e83acfd,libprofiling-8ad485d2e79894d3,libav_scenechange-1186fdd9221afe1e,liby4m-7d25c1b72af94550,librayon-0faf6c6f6efed892,librayon_core-0a57f306f376f56d,libcrossbeam_deque-f2a195995adbe5a1,libcrossbeam_epoch-cfc6ee721375722d,libcrossbeam_utils-a2bafd6ea59dbe61,libaligned-054af547e3b04e88,libas_slice-17e84ea064893648,libstable_deref_trait-6539a6fb24da91f5,libav1_grain-70d349fe17861b1c,liblog-1a8c89b4b809341d,libnom-2c84582914bc9f40,libmemchr-7415f7f53c525d15,libnum_rational-3741abc1032b1396,libnum_bigint-7b1ced0447e57518,libnum_integer-b0b5b3d187c85bd5,libanyhow-adb37054aa5ff02e,libmaybe_rayon-f0f554d0f6e6f8cf,libcfg_if-d6bc76d3bc4619c0,libv_frame-ffb386ccc42674bc,libarrayvec-3479bafa2f0dc825,libaligned_vec-9d3420888b4bc29c,libequator-3d1afd0b0b1df7e7,libthiserror-43db0ffc0d020e4f,libbitstream_io-2481d35283eeedb2,libitertools-1df223c73233ceb2,libeither-8cfc6f6241a869c1,libimgref-e1cc35e76f523840,libbytemuck-64558e758bffb654,libnum_traits-45af302fc8c6f88b}.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" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/testaa-903cbf62c74b344f.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/testaa-903cbf62c74b344f.testaa.876d30f006785f3b-cgu.14.rcgu.o: undefined symbol: ktxTexture2_Create [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/testaa-903cbf62c74b344f.testaa.876d30f006785f3b-cgu.14.rcgu.o: undefined symbol: ktxTexture2_Destroy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `testaa` (bin "testaa") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fe611fb0215eeaf215029479ba1a4b345e5e7cb9af62f052d303cb9fa714f775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe611fb0215eeaf215029479ba1a4b345e5e7cb9af62f052d303cb9fa714f775", kill_on_drop: false }` [INFO] [stdout] fe611fb0215eeaf215029479ba1a4b345e5e7cb9af62f052d303cb9fa714f775