cryptix-ecc 0.1.0

A library containing ecc related traits
Documentation

Build #2060095 2025-04-30 23:33:12

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.88.0-nightly (74509131e 2025-04-29)

# docs.rs version docsrs 0.6.0 (ee9a3fe6 2025-03-28)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/cryptix-ecc-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/cryptix-ecc-0.1.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250429-1.88.0-nightly-74509131e\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 84d9170cd3ec9a3f4acb2c4cc0c86b2c5818af060fd861bffe4ec9adc6e1b881 [INFO] running `Command { std: "docker" "start" "-a" "84d9170cd3ec9a3f4acb2c4cc0c86b2c5818af060fd861bffe4ec9adc6e1b881", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking cryptix-bigint v0.1.0 [INFO] [stderr] error[E0635]: unknown feature `const_slice_index` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cryptix-bigint-0.1.0/src/lib.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | #![feature(const_slice_index)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0635]: unknown feature `const_bigint_helper_methods` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cryptix-bigint-0.1.0/src/lib.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | #![feature(const_bigint_helper_methods)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: internal compiler error: compiler/rustc_const_eval/src/check_consts/qualifs.rs:359:13: expected ConstKind::Param or ConstKind::Value here, found UnevaluatedConst { def: DefId(0:289 ~ cryptix_bigint[bb0c]::utils::{impl#2}::from_bytes::{constant#0}), args: [T/#0, LEN/#1] } [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_const_eval/src/check_consts/qualifs.rs:359:13: [INFO] [stderr] Box<dyn Any> [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7fc0cff69f33 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h940a15c10b74a984 [INFO] [stderr] 1: 0x7fc0d06059c7 - core::fmt::write::h27d0d067a83bb98d [INFO] [stderr] 2: 0x7fc0d1a4ce91 - std::io::Write::write_fmt::h8c0aa2ff96715802 [INFO] [stderr] 3: 0x7fc0cff69d92 - std::sys::backtrace::BacktraceLock::print::hbd895996714cfb75 [INFO] [stderr] 4: 0x7fc0cff6dbda - std::panicking::default_hook::{{closure}}::hf8bfd53a7aa014c9 [INFO] [stderr] 5: 0x7fc0cff6d75f - std::panicking::default_hook::h779fae0b10bfc65a [INFO] [stderr] 6: 0x7fc0cefa8cb3 - std[684fc9da43124e0c]::panicking::update_hook::<alloc[df1b7aef73f2726f]::boxed::Box<rustc_driver_impl[b177b346234fa389]::install_ice_hook::{closure#1}>>::{closure#0} [INFO] [stderr] 7: 0x7fc0cff6e453 - std::panicking::rust_panic_with_hook::h0e4edc55fd8a33ac [INFO] [stderr] 8: 0x7fc0cefe4d31 - std[684fc9da43124e0c]::panicking::begin_panic::<rustc_errors[29648644055d24fa]::ExplicitBug>::{closure#0} [INFO] [stderr] 9: 0x7fc0cefd8d66 - std[684fc9da43124e0c]::sys::backtrace::__rust_end_short_backtrace::<std[684fc9da43124e0c]::panicking::begin_panic<rustc_errors[29648644055d24fa]::ExplicitBug>::{closure#0}, !> [INFO] [stderr] 10: 0x7fc0cefd5419 - std[684fc9da43124e0c]::panicking::begin_panic::<rustc_errors[29648644055d24fa]::ExplicitBug> [INFO] [stderr] 11: 0x7fc0cefef4b1 - <rustc_errors[29648644055d24fa]::diagnostic::BugAbort as rustc_errors[29648644055d24fa]::diagnostic::EmissionGuarantee>::emit_producing_guarantee [INFO] [stderr] 12: 0x7fc0cf64933a - rustc_middle[8ab0ab91ca03a2f2]::util::bug::opt_span_bug_fmt::<rustc_span[933243e9cf7e508d]::span_encoding::Span>::{closure#0} [INFO] [stderr] 13: 0x7fc0cf621b8a - rustc_middle[8ab0ab91ca03a2f2]::ty::context::tls::with_opt::<rustc_middle[8ab0ab91ca03a2f2]::util::bug::opt_span_bug_fmt<rustc_span[933243e9cf7e508d]::span_encoding::Span>::{closure#0}, !>::{closure#0} [INFO] [stderr] 14: 0x7fc0cf6219fb - rustc_middle[8ab0ab91ca03a2f2]::ty::context::tls::with_context_opt::<rustc_middle[8ab0ab91ca03a2f2]::ty::context::tls::with_opt<rustc_middle[8ab0ab91ca03a2f2]::util::bug::opt_span_bug_fmt<rustc_span[933243e9cf7e508d]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 15: 0x7fc0cc8a00a0 - rustc_middle[8ab0ab91ca03a2f2]::util::bug::bug_fmt [INFO] [stderr] 16: 0x7fc0d223b0ef - rustc_const_eval[22d9a6e89e240774]::check_consts::qualifs::in_operand::<rustc_const_eval[22d9a6e89e240774]::check_consts::qualifs::HasMutInterior, <rustc_const_eval[22d9a6e89e240774]::check_consts::resolver::TransferFunction<rustc_const_eval[22d9a6e89e240774]::check_consts::qualifs::HasMutInterior> as rustc_middle[8ab0ab91ca03a2f2]::mir::visit::Visitor>::visit_assign::{closure#0}>.cold [INFO] [stderr] 17: 0x7fc0d137ad74 - <rustc_const_eval[22d9a6e89e240774]::check_consts::resolver::FlowSensitiveAnalysis<rustc_const_eval[22d9a6e89e240774]::check_consts::qualifs::HasMutInterior> as rustc_mir_dataflow[481cda6a348e4c8a]::framework::Analysis>::apply_primary_statement_effect [INFO] [stderr] 18: 0x7fc0d1373389 - <rustc_const_eval[22d9a6e89e240774]::check_consts::check::Qualifs>::has_mut_interior [INFO] [stderr] 19: 0x7fc0d1372a29 - rustc_mir_transform[725ac123b1b343ff]::mir_const_qualif [INFO] [stderr] 20: 0x7fc0d1372765 - rustc_query_impl[939c91760624a63f]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[939c91760624a63f]::query_impl::mir_const_qualif::dynamic_query::{closure#2}::{closure#0}, rustc_middle[8ab0ab91ca03a2f2]::query::erase::Erased<[u8; 4usize]>> [INFO] [stderr] 21: 0x7fc0d1371bc0 - rustc_query_system[6953a25049fa90fd]::query::plumbing::try_execute_query::<rustc_query_impl[939c91760624a63f]::DynamicConfig<rustc_query_system[6953a25049fa90fd]::query::caches::DefIdCache<rustc_middle[8ab0ab91ca03a2f2]::query::erase::Erased<[u8; 4usize]>>, false, false, false>, rustc_query_impl[939c91760624a63f]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x7fc0d1371926 - rustc_query_impl[939c91760624a63f]::query_impl::mir_const_qualif::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x7fc0cdabb7b9 - rustc_mir_transform[725ac123b1b343ff]::mir_promoted [INFO] [stderr] 24: 0x7fc0d0b08152 - rustc_query_impl[939c91760624a63f]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[939c91760624a63f]::query_impl::mir_promoted::dynamic_query::{closure#2}::{closure#0}, rustc_middle[8ab0ab91ca03a2f2]::query::erase::Erased<[u8; 16usize]>> [INFO] [stderr] 25: 0x7fc0d0b083fc - rustc_query_system[6953a25049fa90fd]::query::plumbing::try_execute_query::<rustc_query_impl[939c91760624a63f]::DynamicConfig<rustc_data_structures[901d3a984fee3e28]::vec_cache::VecCache<rustc_span[933243e9cf7e508d]::def_id::LocalDefId, rustc_middle[8ab0ab91ca03a2f2]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[6953a25049fa90fd]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[939c91760624a63f]::plumbing::QueryCtxt, false> [INFO] [stderr] 26: 0x7fc0d0b07f8b - rustc_query_impl[939c91760624a63f]::query_impl::mir_promoted::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x7fc0d17d905d - rustc_borrowck[ef1e1e20659a26b2]::mir_borrowck [INFO] [stderr] 28: 0x7fc0d17d8f99 - rustc_query_impl[939c91760624a63f]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[939c91760624a63f]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[8ab0ab91ca03a2f2]::query::erase::Erased<[u8; 8usize]>> [INFO] [stderr] 29: 0x7fc0d08fb9ac - rustc_query_system[6953a25049fa90fd]::query::plumbing::try_execute_query::<rustc_query_impl[939c91760624a63f]::DynamicConfig<rustc_data_structures[901d3a984fee3e28]::vec_cache::VecCache<rustc_span[933243e9cf7e508d]::def_id::LocalDefId, rustc_middle[8ab0ab91ca03a2f2]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[6953a25049fa90fd]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[939c91760624a63f]::plumbing::QueryCtxt, false> [INFO] [stderr] 30: 0x7fc0d08fb34b - rustc_query_impl[939c91760624a63f]::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 31: 0x7fc0d101b89c - rustc_interface[6e6d2aa8af6dbcb9]::passes::run_required_analyses [INFO] [stderr] 32: 0x7fc0d14c225e - rustc_interface[6e6d2aa8af6dbcb9]::passes::analysis [INFO] [stderr] 33: 0x7fc0d14c2233 - rustc_query_impl[939c91760624a63f]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[939c91760624a63f]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[8ab0ab91ca03a2f2]::query::erase::Erased<[u8; 0usize]>> [INFO] [stderr] 34: 0x7fc0d14c7d3d - rustc_query_system[6953a25049fa90fd]::query::plumbing::try_execute_query::<rustc_query_impl[939c91760624a63f]::DynamicConfig<rustc_query_system[6953a25049fa90fd]::query::caches::SingleCache<rustc_middle[8ab0ab91ca03a2f2]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[939c91760624a63f]::plumbing::QueryCtxt, false> [INFO] [stderr] 35: 0x7fc0d14c7a38 - rustc_query_impl[939c91760624a63f]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 36: 0x7fc0d15373fe - rustc_interface[6e6d2aa8af6dbcb9]::passes::create_and_enter_global_ctxt::<core[7a8de144660bd3c7]::option::Option<rustc_interface[6e6d2aa8af6dbcb9]::queries::Linker>, rustc_driver_impl[b177b346234fa389]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 37: 0x7fc0d16a2c94 - rustc_interface[6e6d2aa8af6dbcb9]::interface::run_compiler::<(), rustc_driver_impl[b177b346234fa389]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 38: 0x7fc0d16812b4 - std[684fc9da43124e0c]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[6e6d2aa8af6dbcb9]::util::run_in_thread_with_globals<rustc_interface[6e6d2aa8af6dbcb9]::util::run_in_thread_pool_with_globals<rustc_interface[6e6d2aa8af6dbcb9]::interface::run_compiler<(), rustc_driver_impl[b177b346234fa389]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 39: 0x7fc0d16816f4 - <<std[684fc9da43124e0c]::thread::Builder>::spawn_unchecked_<rustc_interface[6e6d2aa8af6dbcb9]::util::run_in_thread_with_globals<rustc_interface[6e6d2aa8af6dbcb9]::util::run_in_thread_pool_with_globals<rustc_interface[6e6d2aa8af6dbcb9]::interface::run_compiler<(), rustc_driver_impl[b177b346234fa389]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[7a8de144660bd3c7]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 40: 0x7fc0d1682aeb - std::sys::pal::unix::thread::Thread::new::thread_start::h207790545876e46f [INFO] [stderr] 41: 0x7fc0cb48aaa4 - <unknown> [INFO] [stderr] 42: 0x7fc0cb517a34 - clone [INFO] [stderr] 43: 0x0 - <unknown> [INFO] [stderr] [INFO] [stderr] note: using internal features is not supported and expected to cause internal compiler errors when used incorrectly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cryptix-bigint-0.1.0/rustc-ice-2025-04-30T23_33_12-15.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.88.0-nightly (74509131e 2025-04-29) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [mir_const_qualif] const checking `utils::<impl at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cryptix-bigint-0.1.0/src/utils.rs:28:1: 31:29>::from_bytes` [INFO] [stderr] #1 [mir_promoted] promoting constants in MIR for `utils::<impl at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cryptix-bigint-0.1.0/src/utils.rs:28:1: 31:29>::from_bytes` [INFO] [stderr] ... and 2 other queries... use `env RUST_BACKTRACE=1` to see the full query stack [INFO] [stderr] For more information about this error, try `rustc --explain E0635`. [INFO] [stderr] error: could not compile `cryptix-bigint` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "84d9170cd3ec9a3f4acb2c4cc0c86b2c5818af060fd861bffe4ec9adc6e1b881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84d9170cd3ec9a3f4acb2c4cc0c86b2c5818af060fd861bffe4ec9adc6e1b881", kill_on_drop: false }` [INFO] [stdout] 84d9170cd3ec9a3f4acb2c4cc0c86b2c5818af060fd861bffe4ec9adc6e1b881