Skip to content

Unclear ICE #312

Open
Open
@nazar-pc

Description

@nazar-pc

Example & Steps To Reproduce

I have pushed the code that triggers this into https://github.com/nazar-pc/abundance/tree/rust-gpu-ice

Reproduction:

cd crates/farmer/ab-proof-of-space-gpu
cargo build

cargo-gpu will attempt to build the crate according to manifest in crates/farmer/ab-proof-of-space-gpu/rust-gpu-workaround.

Things compiled before last commit, but adding ab-blake3+blake3 to dependencies somehow causes multiple issues it seems.

There seems to be a lot going wrong there 😬
Feel free to change issue title to something that makes more sense, I didn't know what to put there in this case.

System Info

Backtrace

Backtrace

   Compiling ab-proof-of-space-gpu v0.1.0 (/web/github/abundance/crates/farmer/ab-proof-of-space-gpu)
error: failed to run custom build command for `ab-proof-of-space-gpu v0.1.0 (/web/github/abundance/crates/farmer/ab-proof-of-space-gpu)`

Caused by:
  process didn't exit successfully: `/home/nazar-pc/.cache/cargo/target/debug/build/ab-proof-of-space-gpu-fc15fec78da04eb1/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=RUSTGPU_CODEGEN_ARGS
  cargo:rerun-if-env-changed=RUSTGPU_RUSTFLAGS
  cargo:rerun-if-env-changed=RUSTGPU_CARGOFLAGS
  cargo:rerun-if-env-changed=RUSTGPU_CODEGEN_ARGS
  cargo:rerun-if-env-changed=RUSTGPU_RUSTFLAGS
  cargo:rerun-if-env-changed=RUSTGPU_CARGOFLAGS

  --- stderr
      Blocking waiting for file lock on package cache
      Blocking waiting for file lock on package cache
      Blocking waiting for file lock on package cache
      Blocking waiting for file lock on package cache
      Blocking waiting for file lock on package cache
      Blocking waiting for file lock on package cache
      Blocking waiting for file lock on package cache
     Compiling compiler_builtins v0.1.138
     Compiling core v0.0.0 (/home/nazar-pc/.rustup/toolchains/nightly-2024-11-22-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
     Compiling shlex v1.3.0
     Compiling spirv-std-types v0.9.0 (https://github.com/Rust-GPU/rust-gpu?rev=f58374079a72ee1f73bf2a9bdaed435b5e44e20e#f5837407)
     Compiling compiler_builtins v0.1.138
     Compiling core v0.0.0 (/home/nazar-pc/.rustup/toolchains/nightly-2024-11-22-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
     Compiling shlex v1.3.0
     Compiling spirv-std-types v0.9.0 (https://github.com/Rust-GPU/rust-gpu?rev=f58374079a72ee1f73bf2a9bdaed435b5e44e20e#f5837407)
     Compiling libm v0.2.11
     Compiling num-traits v0.2.19
     Compiling libm v0.2.11
     Compiling num-traits v0.2.19
     Compiling spirv-std-macros v0.9.0 (https://github.com/Rust-GPU/rust-gpu?rev=f58374079a72ee1f73bf2a9bdaed435b5e44e20e#f5837407)
     Compiling spirv-std-macros v0.9.0 (https://github.com/Rust-GPU/rust-gpu?rev=f58374079a72ee1f73bf2a9bdaed435b5e44e20e#f5837407)
     Compiling cc v1.2.27
     Compiling cc v1.2.27
     Compiling blake3 v1.8.2
     Compiling blake3 v1.8.2
     Compiling rustc-std-workspace-core v1.99.0 (/home/nazar-pc/.rustup/toolchains/nightly-2024-11-22-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
     Compiling rustc-std-workspace-core v1.99.0 (/home/nazar-pc/.rustup/toolchains/nightly-2024-11-22-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
     Compiling cfg-if v1.0.1
     Compiling arrayvec v0.7.6
     Compiling constant_time_eq v0.3.1
     Compiling arrayref v0.3.9
     Compiling bitflags v1.3.2
     Compiling ab-chacha8 v0.1.0 (/web/github/abundance/crates/shared/ab-chacha8)
     Compiling arrayref v0.3.9
     Compiling cfg-if v1.0.1
     Compiling constant_time_eq v0.3.1
     Compiling arrayvec v0.7.6
     Compiling bitflags v1.3.2
     Compiling ab-chacha8 v0.1.0 (/web/github/abundance/crates/shared/ab-chacha8)
  error: internal compiler error: /home/nazar-pc/.cache/rust-gpu/codegen/https___github_com_Rust-GPU_rust-gpu+f5837407/target/release/build/rustc_codegen_spirv-0f45b6b0255d7c81/out/pqp_cg_ssa/src/mir/block.rs:956:29: intrinsic black_box must be overridden by codegen backend, but isn't
     --> /home/nazar-pc/.rustup/toolchains/nightly-2024-11-22-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/hint.rs:389:5
      |
  389 |     crate::intrinsics::black_box(dummy)
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  thread 'rustc' panicked at /home/nazar-pc/.cache/rust-gpu/codegen/https___github_com_Rust-GPU_rust-gpu+f5837407/target/release/build/rustc_codegen_spirv-0f45b6b0255d7c81/out/pqp_cg_ssa/src/mir/block.rs:956:29:
  Box<dyn Any>
  stack backtrace:
  error: internal compiler error: /home/nazar-pc/.cache/rust-gpu/codegen/https___github_com_Rust-GPU_rust-gpu+f5837407/target/release/build/rustc_codegen_spirv-0f45b6b0255d7c81/out/pqp_cg_ssa/src/mir/block.rs:956:29: intrinsic black_box must be overridden by codegen backend, but isn't
     --> /home/nazar-pc/.rustup/toolchains/nightly-2024-11-22-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/hint.rs:389:5
      |
  389 |     crate::intrinsics::black_box(dummy)
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  thread 'rustc' panicked at /home/nazar-pc/.cache/rust-gpu/codegen/https___github_com_Rust-GPU_rust-gpu+f5837407/target/release/build/rustc_codegen_spirv-0f45b6b0255d7c81/out/pqp_cg_ssa/src/mir/block.rs:956:29:
  Box<dyn Any>
  stack backtrace:
     0:     0x7f988408de1a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hd8481c197d699b4c
     1:     0x7f98848252bc - core::fmt::write::h9945ec9eeffbb1bb
     2:     0x7f9885c9e811 - std::io::Write::write_fmt::hefd1402662603e38
     3:     0x7f988408dc72 - std::sys::backtrace::BacktraceLock::print::hce1d7487240fbba2
     4:     0x7f988409014a - std::panicking::default_hook::{{closure}}::h2400c9b4e6572010
     5:     0x7f988408ffb0 - std::panicking::default_hook::hdf415425ecac667f
     6:     0x7f98831106f5 - std[1f70c0c4d3eb7a9a]::panicking::update_hook::<alloc[937e099bedf3bc63]::boxed::Box<rustc_driver_impl[a9bfa606507a03e7]::install_ice_hook::{closure#0}>>::{closure#0}
     7:     0x7f98831106f5 - std[1f70c0c4d3eb7a9a]::panicking::update_hook::<alloc[937e099bedf3bc63]::boxed::Box<rustc_driver_impl[a9bfa606507a03e7]::install_ice_hook::{closure#0}>>::{closure#0}
     8:     0x7f9884090828 - std::panicking::rust_panic_with_hook::h38ed64bcd39bd9c4
     9:     0x7f988314b1a1 - std[1f70c0c4d3eb7a9a]::panicking::begin_panic::<rustc_errors[9918349b93f4ea78]::ExplicitBug>::{closure#0}
    10:     0x7f988313e166 - std[1f70c0c4d3eb7a9a]::sys::backtrace::__rust_end_short_backtrace::<std[1f70c0c4d3eb7a9a]::panicking::begin_panic<rustc_errors[9918349b93f4ea78]::ExplicitBug>::{closure#0}, !>
    11:     0x7f9883139739 - std[1f70c0c4d3eb7a9a]::panicking::begin_panic::<rustc_errors[9918349b93f4ea78]::ExplicitBug>
    12:     0x7f98831550d1 - <rustc_errors[9918349b93f4ea78]::diagnostic::BugAbort as rustc_errors[9918349b93f4ea78]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
     0:     0x7f43c7c8de1a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hd8481c197d699b4c
     1:     0x7f43c84252bc - core::fmt::write::h9945ec9eeffbb1bb
     2:     0x7f43c989e811 - std::io::Write::write_fmt::hefd1402662603e38
     3:     0x7f43c7c8dc72 - std::sys::backtrace::BacktraceLock::print::hce1d7487240fbba2
     4:     0x7f43c7c9014a - std::panicking::default_hook::{{closure}}::h2400c9b4e6572010
     5:     0x7f43c7c8ffb0 - std::panicking::default_hook::hdf415425ecac667f
     6:     0x7f43c6d106f5 - std[1f70c0c4d3eb7a9a]::panicking::update_hook::<alloc[937e099bedf3bc63]::boxed::Box<rustc_driver_impl[a9bfa606507a03e7]::install_ice_hook::{closure#0}>>::{closure#0}
     7:     0x7f43c6d106f5 - std[1f70c0c4d3eb7a9a]::panicking::update_hook::<alloc[937e099bedf3bc63]::boxed::Box<rustc_driver_impl[a9bfa606507a03e7]::install_ice_hook::{closure#0}>>::{closure#0}
     8:     0x7f43c7c90828 - std::panicking::rust_panic_with_hook::h38ed64bcd39bd9c4
     9:     0x7f43c6d4b1a1 - std[1f70c0c4d3eb7a9a]::panicking::begin_panic::<rustc_errors[9918349b93f4ea78]::ExplicitBug>::{closure#0}
    10:     0x7f43c6d3e166 - std[1f70c0c4d3eb7a9a]::sys::backtrace::__rust_end_short_backtrace::<std[1f70c0c4d3eb7a9a]::panicking::begin_panic<rustc_errors[9918349b93f4ea78]::ExplicitBug>::{closure#0}, !>
    11:     0x7f43c6d39739 - std[1f70c0c4d3eb7a9a]::panicking::begin_panic::<rustc_errors[9918349b93f4ea78]::ExplicitBug>
    12:     0x7f43c6d550d1 - <rustc_errors[9918349b93f4ea78]::diagnostic::BugAbort as rustc_errors[9918349b93f4ea78]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
    13:     0x7f9874afc1e0 - rustc_errors::DiagCtxtHandle::span_bug::h872139acb2737d99
    13:     0x7f43b86fc1e0 - rustc_errors::DiagCtxtHandle::span_bug::h872139acb2737d99
    14:     0x7f43b8792b45 - rustc_middle::util::bug::opt_span_bug_fmt::{{closure}}::hf08b547720d59312
    14:     0x7f9874b92b45 - rustc_middle::util::bug::opt_span_bug_fmt::{{closure}}::hf08b547720d59312
    15:     0x7f43b8792a1b - rustc_middle::ty::context::tls::with_opt::{{closure}}::h7822566b5cb032e0
    16:     0x7f43b87929df - rustc_middle::ty::context::tls::with_context_opt::hdb20b8a052c4fcd7
    17:     0x7f43b8792a58 - rustc_middle::util::bug::span_bug_fmt::h39243cc9fd3a4886
    18:     0x7f43b873651a - rustc_codegen_spirv::maybe_pqp_cg_ssa::mir::block::<impl rustc_codegen_spirv::maybe_pqp_cg_ssa::mir::FunctionCx<Bx>>::codegen_terminator::hb5e4863f136ba77d
    15:     0x7f9874b92a1b - rustc_middle::ty::context::tls::with_opt::{{closure}}::h7822566b5cb032e0
    19:     0x7f43b874b7d8 - rustc_codegen_spirv::maybe_pqp_cg_ssa::mir::codegen_mir::hbcfa2e55e93aaac7
    16:     0x7f9874b929df - rustc_middle::ty::context::tls::with_context_opt::hdb20b8a052c4fcd7
    17:     0x7f9874b92a58 - rustc_middle::util::bug::span_bug_fmt::h39243cc9fd3a4886
    20:     0x7f43b88e2a3c - rustc_codegen_spirv::maybe_pqp_cg_ssa::base::codegen_instance::haf3a1e1f56c13a98
    18:     0x7f9874b3651a - rustc_codegen_spirv::maybe_pqp_cg_ssa::mir::block::<impl rustc_codegen_spirv::maybe_pqp_cg_ssa::mir::FunctionCx<Bx>>::codegen_terminator::hb5e4863f136ba77d  21:     0x7f43b867a11b - <rustc_middle::mir::mono::MonoItem as rustc_codegen_spirv::maybe_pqp_cg_ssa::mono_item::MonoItemExt>::define::hab458ce213973f28

    19:     0x7f9874b4b7d8 - rustc_codegen_spirv::maybe_pqp_cg_ssa::mir::codegen_mir::hbcfa2e55e93aaac7
    22:     0x7f43b88cefaa - <rustc_codegen_spirv::SpirvCodegenBackend as rustc_codegen_spirv::maybe_pqp_cg_ssa::traits::backend::ExtraBackendMethods>::compile_codegen_unit::{{closure}}::h4ae656622f2e74ce  20:     0x7f9874ce2a3c - rustc_codegen_spirv::maybe_pqp_cg_ssa::base::codegen_instance::haf3a1e1f56c13a98

    23:     0x7f43b88ce8c1 - <rustc_codegen_spirv::SpirvCodegenBackend as rustc_codegen_spirv::maybe_pqp_cg_ssa::traits::backend::ExtraBackendMethods>::compile_codegen_unit::hc9111b1d0534cf5f
    21:     0x7f9874a7a11b - <rustc_middle::mir::mono::MonoItem as rustc_codegen_spirv::maybe_pqp_cg_ssa::mono_item::MonoItemExt>::define::hab458ce213973f28
    22:     0x7f9874ccefaa - <rustc_codegen_spirv::SpirvCodegenBackend as rustc_codegen_spirv::maybe_pqp_cg_ssa::traits::backend::ExtraBackendMethods>::compile_codegen_unit::{{closure}}::h4ae656622f2e74ce
    24:     0x7f43b88cb429 - <rustc_codegen_spirv::SpirvCodegenBackend as rustc_codegen_spirv::maybe_pqp_cg_ssa::traits::backend::CodegenBackend>::codegen_crate::hba0351dd0c9113d9
    23:     0x7f9874cce8c1 - <rustc_codegen_spirv::SpirvCodegenBackend as rustc_codegen_spirv::maybe_pqp_cg_ssa::traits::backend::ExtraBackendMethods>::compile_codegen_unit::hc9111b1d0534cf5f
    24:     0x7f9874ccb429 - <rustc_codegen_spirv::SpirvCodegenBackend as rustc_codegen_spirv::maybe_pqp_cg_ssa::traits::backend::CodegenBackend>::codegen_crate::hba0351dd0c9113d9
    25:     0x7f43c94c89e7 - <rustc_interface[86febfefe44a6b5f]::queries::Linker>::codegen_and_build_linker
    25:     0x7f98858c89e7 - <rustc_interface[86febfefe44a6b5f]::queries::Linker>::codegen_and_build_linker
    26:     0x7f98856fcd08 - rustc_interface[86febfefe44a6b5f]::interface::run_compiler::<core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>, rustc_driver_impl[a9bfa606507a03e7]::run_compiler::{closure#0}>::{closure#1}  26:     0x7f43c92fcd08 - rustc_interface[86febfefe44a6b5f]::interface::run_compiler::<core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>, rustc_driver_impl[a9bfa606507a03e7]::run_compiler::{closure#0}>::{closure#1}

    27:     0x7f43c93438e0 - std[1f70c0c4d3eb7a9a]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[86febfefe44a6b5f]::util::run_in_thread_with_globals<rustc_interface[86febfefe44a6b5f]::util::run_in_thread_pool_with_globals<rustc_interface[86febfefe44a6b5f]::interface::run_compiler<core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>, rustc_driver_impl[a9bfa606507a03e7]::run_compiler::{closure#0}>::{closure#1}, core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>>::{closure#0}, core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>>  27:     0x7f98857438e0 - std[1f70c0c4d3eb7a9a]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[86febfefe44a6b5f]::util::run_in_thread_with_globals<rustc_interface[86febfefe44a6b5f]::util::run_in_thread_pool_with_globals<rustc_interface[86febfefe44a6b5f]::interface::run_compiler<core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>, rustc_driver_impl[a9bfa606507a03e7]::run_compiler::{closure#0}>::{closure#1}, core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>>::{closure#0}, core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>>

    28:     0x7f98857435fd - <<std[1f70c0c4d3eb7a9a]::thread::Builder>::spawn_unchecked_<rustc_interface[86febfefe44a6b5f]::util::run_in_thread_with_globals<rustc_interface[86febfefe44a6b5f]::util::run_in_thread_pool_with_globals<rustc_interface[86febfefe44a6b5f]::interface::run_compiler<core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>, rustc_driver_impl[a9bfa606507a03e7]::run_compiler::{closure#0}>::{closure#1}, core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>>::{closure#0}, core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>>::{closure#1} as core[951050f4e42de98c]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
    28:     0x7f43c93435fd - <<std[1f70c0c4d3eb7a9a]::thread::Builder>::spawn_unchecked_<rustc_interface[86febfefe44a6b5f]::util::run_in_thread_with_globals<rustc_interface[86febfefe44a6b5f]::util::run_in_thread_pool_with_globals<rustc_interface[86febfefe44a6b5f]::interface::run_compiler<core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>, rustc_driver_impl[a9bfa606507a03e7]::run_compiler::{closure#0}>::{closure#1}, core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>>::{closure#0}, core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[951050f4e42de98c]::result::Result<(), rustc_span[c13cdc7be66ecabc]::ErrorGuaranteed>>::{closure#1} as core[951050f4e42de98c]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
    29:     0x7f9885742db9 - std::sys::pal::unix::thread::Thread::new::thread_start::h57333c672c771005
    29:     0x7f43c9342db9 - std::sys::pal::unix::thread::Thread::new::thread_start::h57333c672c771005
    30:     0x7f987f69caa4 - start_thread
                                 at ./nptl/pthread_create.c:447:8
    31:     0x7f987f729c3c - clone3
                                 at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
    32:                0x0 - <unknown>

    30:     0x7f43c329caa4 - start_thread
                                 at ./nptl/pthread_create.c:447:8
    31:     0x7f43c3329c3c - clone3
                                 at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
    32:                0x0 - <unknown>

  note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

  note: please make sure that you have updated to the latest nightly

  note: please attach the file at `/home/nazar-pc/.cache/cargo/registry/src/index.crates.io-6f17d22bba15001f/constant_time_eq-0.3.1/rustc-ice-2025-07-01T16_04_33-2299188.txt` to your bug report

  note: compiler flags: --crate-type lib -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -Z unstable-options -Z codegen-backend=/home/nazar-pc/.cache/rust-gpu/codegen/https___github_com_Rust-GPU_rust-gpu+f5837407/librustc_codegen_spirv.so -Z binary-dep-depinfo -C symbol-mangling-version=v0 -Z crate-attr=feature(register_tool) -Z crate-attr=register_tool(rust_gpu) -C overflow-checks=off -C debug-assertions=off -Z inline-mir=off -Z mir-enable-passes=-GVN -C llvm-args=--spirv-metadata=name-variables

  note: some of the compiler flags provided by cargo are hidden

  query stack during panic:
  end of query stack

  note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

  note: please make sure that you have updated to the latest nightly

  note: please attach the file at `/home/nazar-pc/.cache/cargo/registry/src/index.crates.io-6f17d22bba15001f/constant_time_eq-0.3.1/rustc-ice-2025-07-01T16_04_33-2299209.txt` to your bug report

  note: compiler flags: --crate-type lib -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -Z unstable-options -Z codegen-backend=/home/nazar-pc/.cache/rust-gpu/codegen/https___github_com_Rust-GPU_rust-gpu+f5837407/librustc_codegen_spirv.so -Z binary-dep-depinfo -C symbol-mangling-version=v0 -Z crate-attr=feature(register_tool) -Z crate-attr=register_tool(rust_gpu) -C overflow-checks=off -C debug-assertions=off -Z inline-mir=off -Z mir-enable-passes=-GVN -C llvm-args=--spirv-metadata=name-variables -C target-feature=+Int64

  note: some of the compiler flags provided by cargo are hidden

  query stack during panic:
  end of query stack

  note: we would appreciate a bug report: https://github.com/rust-gpu/rust-gpu/issues/new

  note: please make sure that you have updated to the latest nightly

  note: please attach the file at `/home/nazar-pc/.cache/cargo/registry/src/index.crates.io-6f17d22bba15001f/constant_time_eq-0.3.1/rustc-ice-2025-07-01T16_04_33-2299188.txt` to your bug report

  note: compiler flags: --crate-type lib -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -Z unstable-options -Z codegen-backend=/home/nazar-pc/.cache/rust-gpu/codegen/https___github_com_Rust-GPU_rust-gpu+f5837407/librustc_codegen_spirv.so -Z binary-dep-depinfo -C symbol-mangling-version=v0 -Z crate-attr=feature(register_tool) -Z crate-attr=register_tool(rust_gpu) -C overflow-checks=off -C debug-assertions=off -Z inline-mir=off -Z mir-enable-passes=-GVN -C llvm-args=--spirv-metadata=name-variables

  note: some of the compiler flags provided by cargo are hidden

  query stack during panic:
  end of query stack
  note: `rust-gpu` version `0.9.0`

  note: we would appreciate a bug report: https://github.com/rust-gpu/rust-gpu/issues/new

  note: please make sure that you have updated to the latest nightly

  note: please attach the file at `/home/nazar-pc/.cache/cargo/registry/src/index.crates.io-6f17d22bba15001f/constant_time_eq-0.3.1/rustc-ice-2025-07-01T16_04_33-2299209.txt` to your bug report

  note: compiler flags: --crate-type lib -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -Z unstable-options -Z codegen-backend=/home/nazar-pc/.cache/rust-gpu/codegen/https___github_com_Rust-GPU_rust-gpu+f5837407/librustc_codegen_spirv.so -Z binary-dep-depinfo -C symbol-mangling-version=v0 -Z crate-attr=feature(register_tool) -Z crate-attr=register_tool(rust_gpu) -C overflow-checks=off -C debug-assertions=off -Z inline-mir=off -Z mir-enable-passes=-GVN -C llvm-args=--spirv-metadata=name-variables -C target-feature=+Int64

  note: some of the compiler flags provided by cargo are hidden

  query stack during panic:
  end of query stack
  note: `rust-gpu` version `0.9.0`

  error: could not compile `constant_time_eq` (lib)

  Caused by:
    process didn't exit successfully: `/home/nazar-pc/.rustup/toolchains/nightly-2024-11-22-x86_64-unknown-linux-gnu/bin/rustc --crate-name constant_time_eq --edition=2021 /home/nazar-pc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/constant_time_eq-0.3.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("count_instructions_test"))' -C metadata=e3e3f6d558f7be8c -C extra-filename=-e3e3f6d558f7be8c --out-dir /home/nazar-pc/.cache/cargo/target/debug/build/ab-proof-of-space-gpu-3fafae7ddfdfd411/out/u32/spirv-unknown-vulkan1.2/debug/deps --target /home/nazar-pc/.cache/rust-gpu/codegen/https___github_com_Rust-GPU_rust-gpu+f5837407/target-specs/spirv-unknown-vulkan1.2.json -L dependency=/home/nazar-pc/.cache/cargo/target/debug/build/ab-proof-of-space-gpu-3fafae7ddfdfd411/out/u32/spirv-unknown-vulkan1.2/debug/deps -L dependency=/home/nazar-pc/.cache/cargo/target/debug/build/ab-proof-of-space-gpu-3fafae7ddfdfd411/out/u32/debug/deps --extern 'noprelude:compiler_builtins=/home/nazar-pc/.cache/cargo/target/debug/build/ab-proof-of-space-gpu-3fafae7ddfdfd411/out/u32/spirv-unknown-vulkan1.2/debug/deps/libcompiler_builtins-2067bccf3951f2c9.rmeta' --extern 'noprelude:core=/home/nazar-pc/.cache/cargo/target/debug/build/ab-proof-of-space-gpu-3fafae7ddfdfd411/out/u32/spirv-unknown-vulkan1.2/debug/deps/libcore-1a686ca5d40cafed.rmeta' -Z unstable-options --cap-lints allow -Zcodegen-backend=/home/nazar-pc/.cache/rust-gpu/codegen/https___github_com_Rust-GPU_rust-gpu+f5837407/librustc_codegen_spirv.so -Zbinary-dep-depinfo -Csymbol-mangling-version=v0 '-Zcrate-attr=feature(register_tool)' '-Zcrate-attr=register_tool(rust_gpu)' -Coverflow-checks=off -Cdebug-assertions=off -Zinline-mir=off -Zmir-enable-passes=-GVN -Cllvm-args=--spirv-metadata=name-variables` (exit status: 101)
  warning: build failed, waiting for other jobs to finish...
  error: could not compile `constant_time_eq` (lib)

  Caused by:
    process didn't exit successfully: `/home/nazar-pc/.rustup/toolchains/nightly-2024-11-22-x86_64-unknown-linux-gnu/bin/rustc --crate-name constant_time_eq --edition=2021 /home/nazar-pc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/constant_time_eq-0.3.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("count_instructions_test"))' -C metadata=e3e3f6d558f7be8c -C extra-filename=-e3e3f6d558f7be8c --out-dir /home/nazar-pc/.cache/cargo/target/debug/build/ab-proof-of-space-gpu-3fafae7ddfdfd411/out/u64/spirv-unknown-vulkan1.2/debug/deps --target /home/nazar-pc/.cache/rust-gpu/codegen/https___github_com_Rust-GPU_rust-gpu+f5837407/target-specs/spirv-unknown-vulkan1.2.json -L dependency=/home/nazar-pc/.cache/cargo/target/debug/build/ab-proof-of-space-gpu-3fafae7ddfdfd411/out/u64/spirv-unknown-vulkan1.2/debug/deps -L dependency=/home/nazar-pc/.cache/cargo/target/debug/build/ab-proof-of-space-gpu-3fafae7ddfdfd411/out/u64/debug/deps --extern 'noprelude:compiler_builtins=/home/nazar-pc/.cache/cargo/target/debug/build/ab-proof-of-space-gpu-3fafae7ddfdfd411/out/u64/spirv-unknown-vulkan1.2/debug/deps/libcompiler_builtins-2067bccf3951f2c9.rmeta' --extern 'noprelude:core=/home/nazar-pc/.cache/cargo/target/debug/build/ab-proof-of-space-gpu-3fafae7ddfdfd411/out/u64/spirv-unknown-vulkan1.2/debug/deps/libcore-1a686ca5d40cafed.rmeta' -Z unstable-options --cap-lints allow -Zcodegen-backend=/home/nazar-pc/.cache/rust-gpu/codegen/https___github_com_Rust-GPU_rust-gpu+f5837407/librustc_codegen_spirv.so -Zbinary-dep-depinfo -Csymbol-mangling-version=v0 '-Zcrate-attr=feature(register_tool)' '-Zcrate-attr=register_tool(rust_gpu)' -Coverflow-checks=off -Cdebug-assertions=off -Zinline-mir=off -Zmir-enable-passes=-GVN -Cllvm-args=--spirv-metadata=name-variables -Ctarget-feature=+Int64` (exit status: 101)
  warning: build failed, waiting for other jobs to finish...
  error: memset on structs not implemented yet
     --> /home/nazar-pc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/blake3-1.8.2/src/lib.rs:552:17
      |
  552 |                 self.buf = [0; BLOCK_LEN];
      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^

  error: memset on structs not implemented yet
     --> /home/nazar-pc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/blake3-1.8.2/src/lib.rs:552:17
      |
  552 |                 self.buf = [0; BLOCK_LEN];
      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^

  error: could not compile `blake3` (lib) due to 1 previous error
  error: could not compile `blake3` (lib) due to 1 previous error
  Error: BuildFailed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions