Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs.rs build fail for 0.83.0 #1386

Open
littledivy opened this issue Jan 8, 2024 · 0 comments
Open

docs.rs build fail for 0.83.0 #1386

littledivy opened this issue Jan 8, 2024 · 0 comments

Comments

@littledivy
Copy link
Member

littledivy commented Jan 8, 2024

https://docs.rs/crate/v8/0.83.0/builds

We seem to be hitting an ICE:

[INFO] [stderr] 
[INFO] [stderr] error: internal compiler error: no errors encountered even though `span_delayed_bug` issued
[INFO] [stderr] 
[INFO] [stderr] error: internal compiler error: Impl DefId(2:2424 ~ core[25a4]::borrow::{impl#0}) was matchable against Obligation(predicate=Binder { value: TraitPredicate(<cppgc::Member<_> as std::borrow::Borrow<_>>, polarity:Positive), bound_vars: [] }, depth=2) but now is not
[INFO] [stderr]   |
[INFO] [stderr]   = note: delayed at compiler/rustc_trait_selection/src/traits/select/mod.rs:2433:45
[INFO] [stderr]              0: <rustc_errors::DiagCtxtInner>::emit_diagnostic_without_consuming
[INFO] [stderr]              1: <rustc_errors::DiagCtxt>::emit_diagnostic_without_consuming
[INFO] [stderr]              2: <rustc_errors::DiagCtxt>::emit_diagnostic
[INFO] [stderr]              3: <rustc_errors::DiagCtxt>::span_delayed_bug::<rustc_span::span_encoding::Span, alloc::string::String>
[INFO] [stderr]              4: <rustc_trait_selection::traits::select::SelectionContext>::confirm_candidate
[INFO] [stderr]              5: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_candidate
[INFO] [stderr]              6: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
[INFO] [stderr]              7: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_candidate
[INFO] [stderr]              8: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
[INFO] [stderr]              9: <rustc_trait_selection::traits::select::SelectionContext>::evaluation_probe::<<rustc_trait_selection::traits::select::SelectionContext>::evaluate_root_obligation::{closure#0}>
[INFO] [stderr]             10: rustc_traits::evaluate_obligation::evaluate_obligation
[INFO] [stderr]             11: rustc_query_impl::plumbing::__rust_begin_short_backtrace::<rustc_query_impl::query_impl::evaluate_obligation::dynamic_query::{closure#2}::{closure#0}, rustc_middle::query::erase::Erased<[u8; 2]>>
[INFO] [stderr]             12: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::DefaultCache<rustc_type_ir::canonical::Canonical<rustc_middle::ty::context::TyCtxt, rustc_middle::ty::ParamEnvAnd<rustc_middle::ty::Predicate>>, rustc_middle::query::erase::Erased<[u8; 2]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false>
[INFO] [stderr]             13: rustc_query_impl::query_impl::evaluate_obligation::get_query_non_incr::__rust_end_short_backtrace
[INFO] [stderr]             14: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
[INFO] [stderr]             15: rustdoc::clean::utils::get_auto_trait_and_blanket_impls
[INFO] [stderr]             16: <rustdoc::passes::collect_trait_impls::SyntheticImplCollector as rustdoc::visit::DocVisitor>::visit_item
[INFO] [stderr]             17: <rustdoc::passes::collect_trait_impls::SyntheticImplCollector as rustdoc::visit::DocVisitor>::visit_item
[INFO] [stderr]             18: <rustdoc::passes::collect_trait_impls::SyntheticImplCollector as rustdoc::visit::DocVisitor>::visit_item
[INFO] [stderr]             19: rustdoc::passes::collect_trait_impls::collect_trait_impls
[INFO] [stderr]             20: rustdoc::core::run_global_ctxt
[INFO] [stderr]             21: rustdoc::main_args::{closure#1}::{closure#0}::{closure#0}
[INFO] [stderr]             22: rustc_interface::interface::run_compiler::<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustdoc::main_args::{closure#1}>::{closure#0}
[INFO] [stderr]             23: std::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustdoc::main_args::{closure#1}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>
[INFO] [stderr]             24: <<std::thread::Builder>::spawn_unchecked_<rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustdoc::main_args::{closure#1}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr]             25: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
[INFO] [stderr]                        at /rustc/595bc6f00369475047538fdae1ff8cea692ac385/library/alloc/src/boxed.rs:2016:9
[INFO] [stderr]             26: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
[INFO] [stderr]                        at /rustc/595bc6f00369475047538fdae1ff8cea692ac385/library/alloc/src/boxed.rs:2016:9
[INFO] [stderr]             27: std::sys::unix::thread::Thread::new::thread_start
[INFO] [stderr]                        at /rustc/595bc6f00369475047538fdae1ff8cea692ac385/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stderr]             28: <unknown>
[INFO] [stderr]             29: __clone
[INFO] [stderr]           
[INFO] [stderr] 
[INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-rustdoc&template=ice.md
[INFO] [stderr] 
[INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2024-01-06T12_14_48-8.txt`: Read-only file system (os error 30)
[INFO] [stderr] 
[INFO] [stderr] note: rustc 1.77.0-nightly (595bc6f00 2024-01-05) running on x86_64-unknown-linux-gnu
[INFO] [stderr] 
[INFO] [stderr] note: compiler flags: --crate-type lib -Z unstable-options -Z unstable-options
[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] end of query stack
[INFO] [stderr] warning: `v8` (lib doc) generated 46 warnings (run `cargo fix --lib -p v8` to apply 18 suggestions)
[INFO] [stderr] error: could not document `v8`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type lib --crate-name v8 src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --cfg 'feature="default"' --cfg 'feature="use_custom_libcxx"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=409412d6e9d7438e -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libbitflags-ee4c4d55de3b5e66.rmeta --extern once_cell=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libonce_cell-c7b76f42d673aef1.rmeta --extern-html-root-url 'bitflags=https://docs.rs/bitflags/2.4.1/x86_64-unknown-linux-gnu' --extern-html-root-url 'once_cell=https://docs.rs/once_cell/1.19.0/x86_64-unknown-linux-gnu' -Zunstable-options -Z unstable-options --emit=invocation-specific --resource-suffix -20240105-1.77.0-nightly-595bc6f00 --static-root-path /-/rustdoc.static/ --cap-lints warn --extern-html-root-takes-precedence --crate-version 0.83.0` (exit status: 101)
[INFO] running `Command { std: "docker" "inspect" "3bceae32c1563ad46e0c47ede4bd32b19f2df9b8754e155960fd7ceae333f1f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bceae32c1563ad46e0c47ede4bd32b19f2df9b8754e155960fd7ceae333f1f9", kill_on_drop: false }`
[INFO] [stdout] 3bceae32c1563ad46e0c47ede4bd32b19f2df9b8754e155960fd7ceae333f1f9
Available RAM 6 GB
Maximum rustdoc execution time 15 minutes
Maximum size of a build log 100 kB
Network access blocked
Maximum number of build targets 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant