garando_syntax2 0.1.0

Backport of libsyntax

Build #1522422 2024-11-11 23:14:42

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.84.0-nightly (143ce0920 2024-11-10)

# docs.rs version docsrs 0.6.0 (36c721fb 2024-11-06)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/garando_syntax2-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/garando_syntax2-0.1.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241110-1.84.0-nightly-143ce0920\", \"--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] 46b9f01debb48f61671b7263402dc4f085776e699211b80d5166eefe0f98ed3c [INFO] running `Command { std: "docker" "start" "-a" "46b9f01debb48f61671b7263402dc4f085776e699211b80d5166eefe0f98ed3c", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting garando_syntax2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0275]: overflow evaluating the requirement `std::ptr::Unique<ast::Pat>: std::panic::RefUnwindSafe` [INFO] [stderr] | [INFO] [stderr] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`garando_syntax2`) [INFO] [stderr] note: required because it appears within the type `std::boxed::Box<ast::Pat>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/boxed.rs:230:12 [INFO] [stderr] note: required because it appears within the type `ptr::P<ast::Pat>` [INFO] [stderr] --> src/ptr.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct P<T: ?Sized> { [INFO] [stderr] | ^ [INFO] [stderr] note: required because it appears within the type `ast::Local` [INFO] [stderr] --> src/ast.rs:755:12 [INFO] [stderr] | [INFO] [stderr] 755 | pub struct Local { [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: required because it appears within the type `*const ast::Local` [INFO] [stderr] note: required because it appears within the type `std::ptr::NonNull<ast::Local>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/ptr/non_null.rs:71:12 [INFO] [stderr] note: required because it appears within the type `std::ptr::Unique<ast::Local>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/ptr/unique.rs:37:12 [INFO] [stderr] note: required because it appears within the type `std::boxed::Box<ast::Local>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/boxed.rs:230:12 [INFO] [stderr] note: required because it appears within the type `ptr::P<ast::Local>` [INFO] [stderr] --> src/ptr.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct P<T: ?Sized> { [INFO] [stderr] | ^ [INFO] [stderr] note: required because it appears within the type `ast::StmtKind` [INFO] [stderr] --> src/ast.rs:723:10 [INFO] [stderr] | [INFO] [stderr] 723 | pub enum StmtKind { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] note: required because it appears within the type `ast::Stmt` [INFO] [stderr] --> src/ast.rs:692:12 [INFO] [stderr] | [INFO] [stderr] 692 | pub struct Stmt { [INFO] [stderr] | ^^^^ [INFO] [stderr] note: required because it appears within the type `std::marker::PhantomData<ast::Stmt>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/marker.rs:753:12 [INFO] [stderr] note: required because it appears within the type `alloc::raw_vec::RawVec<ast::Stmt>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/raw_vec.rs:76:19 [INFO] [stderr] note: required because it appears within the type `std::vec::Vec<ast::Stmt>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/vec/mod.rs:397:12 [INFO] [stderr] note: required because it appears within the type `ast::Block` [INFO] [stderr] --> src/ast.rs:439:12 [INFO] [stderr] | [INFO] [stderr] 439 | pub struct Block { [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: required because it appears within the type `*const ast::Block` [INFO] [stderr] note: required because it appears within the type `std::ptr::NonNull<ast::Block>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/ptr/non_null.rs:71:12 [INFO] [stderr] note: required because it appears within the type `std::ptr::Unique<ast::Block>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/ptr/unique.rs:37:12 [INFO] [stderr] note: required because it appears within the type `std::boxed::Box<ast::Block>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/boxed.rs:230:12 [INFO] [stderr] note: required because it appears within the type `ptr::P<ast::Block>` [INFO] [stderr] --> src/ptr.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct P<T: ?Sized> { [INFO] [stderr] | ^ [INFO] [stderr] note: required because it appears within the type `ast::ExprKind` [INFO] [stderr] --> src/ast.rs:831:10 [INFO] [stderr] | [INFO] [stderr] 831 | pub enum ExprKind { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] note: required because it appears within the type `ast::Expr` [INFO] [stderr] --> src/ast.rs:808:12 [INFO] [stderr] | [INFO] [stderr] 808 | pub struct Expr { [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: required because it appears within the type `*const ast::Expr` [INFO] [stderr] note: required because it appears within the type `std::ptr::NonNull<ast::Expr>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/ptr/non_null.rs:71:12 [INFO] [stderr] note: required because it appears within the type `std::ptr::Unique<ast::Expr>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/ptr/unique.rs:37:12 [INFO] [stderr] note: required because it appears within the type `std::boxed::Box<ast::Expr>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/boxed.rs:230:12 [INFO] [stderr] note: required because it appears within the type `ptr::P<ast::Expr>` [INFO] [stderr] --> src/ptr.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct P<T: ?Sized> { [INFO] [stderr] | ^ [INFO] [stderr] note: required because it appears within the type `ast::TyKind` [INFO] [stderr] --> src/ast.rs:1330:10 [INFO] [stderr] | [INFO] [stderr] 1330 | pub enum TyKind { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] note: required because it appears within the type `ast::Ty` [INFO] [stderr] --> src/ast.rs:1308:12 [INFO] [stderr] | [INFO] [stderr] 1308 | pub struct Ty { [INFO] [stderr] | ^^ [INFO] [stderr] = note: required because it appears within the type `*const ast::Ty` [INFO] [stderr] note: required because it appears within the type `std::ptr::NonNull<ast::Ty>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/ptr/non_null.rs:71:12 [INFO] [stderr] note: required because it appears within the type `std::ptr::Unique<ast::Ty>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/ptr/unique.rs:37:12 [INFO] [stderr] note: required because it appears within the type `std::boxed::Box<ast::Ty>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/boxed.rs:230:12 [INFO] [stderr] note: required because it appears within the type `ptr::P<ast::Ty>` [INFO] [stderr] --> src/ptr.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct P<T: ?Sized> { [INFO] [stderr] | ^ [INFO] [stderr] note: required because it appears within the type `std::marker::PhantomData<ptr::P<ast::Ty>>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/marker.rs:753:12 [INFO] [stderr] note: required because it appears within the type `alloc::raw_vec::RawVec<ptr::P<ast::Ty>>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/raw_vec.rs:76:19 [INFO] [stderr] note: required because it appears within the type `std::vec::Vec<ptr::P<ast::Ty>>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/vec/mod.rs:397:12 [INFO] [stderr] note: required because it appears within the type `ast::AngleBracketedParameterData` [INFO] [stderr] --> src/ast.rs:162:12 [INFO] [stderr] | [INFO] [stderr] 162 | pub struct AngleBracketedParameterData { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: required because it appears within the type `ast::PathParameters` [INFO] [stderr] --> src/ast.rs:153:10 [INFO] [stderr] | [INFO] [stderr] 153 | pub enum PathParameters { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] = note: required because it appears within the type `*const ast::PathParameters` [INFO] [stderr] note: required because it appears within the type `std::ptr::NonNull<ast::PathParameters>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/ptr/non_null.rs:71:12 [INFO] [stderr] note: required because it appears within the type `std::ptr::Unique<ast::PathParameters>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/ptr/unique.rs:37:12 [INFO] [stderr] note: required because it appears within the type `std::boxed::Box<ast::PathParameters>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/boxed.rs:230:12 [INFO] [stderr] note: required because it appears within the type `ptr::P<ast::PathParameters>` [INFO] [stderr] --> src/ptr.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct P<T: ?Sized> { [INFO] [stderr] | ^ [INFO] [stderr] note: required because it appears within the type `std::option::Option<ptr::P<ast::PathParameters>>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/option.rs:571:10 [INFO] [stderr] note: required because it appears within the type `ast::PathSegment` [INFO] [stderr] --> src/ast.rs:116:12 [INFO] [stderr] | [INFO] [stderr] 116 | pub struct PathSegment { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] note: required because it appears within the type `std::marker::PhantomData<ast::PathSegment>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/marker.rs:753:12 [INFO] [stderr] note: required because it appears within the type `alloc::raw_vec::RawVec<ast::PathSegment>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/raw_vec.rs:76:19 [INFO] [stderr] note: required because it appears within the type `std::vec::Vec<ast::PathSegment>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/vec/mod.rs:397:12 [INFO] [stderr] note: required because it appears within the type `ast::Path` [INFO] [stderr] --> src/ast.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct Path { [INFO] [stderr] | ^^^^ [INFO] [stderr] note: required because it appears within the type `ast::Attribute` [INFO] [stderr] --> src/ast.rs:1684:12 [INFO] [stderr] | [INFO] [stderr] 1684 | pub struct Attribute { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] note: required because it appears within the type `std::marker::PhantomData<ast::Attribute>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/marker.rs:753:12 [INFO] [stderr] note: required because it appears within the type `alloc::raw_vec::RawVec<ast::Attribute>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/raw_vec.rs:76:19 [INFO] [stderr] note: required because it appears within the type `std::vec::Vec<ast::Attribute>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/vec/mod.rs:397:12 [INFO] [stderr] note: required because it appears within the type `ast::Item` [INFO] [stderr] --> src/ast.rs:1816:12 [INFO] [stderr] | [INFO] [stderr] 1816 | pub struct Item { [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: required because it appears within the type `*const ast::Item` [INFO] [stderr] note: required because it appears within the type `std::ptr::NonNull<ast::Item>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/ptr/non_null.rs:71:12 [INFO] [stderr] note: required because it appears within the type `std::ptr::Unique<ast::Item>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/ptr/unique.rs:37:12 [INFO] [stderr] note: required because it appears within the type `std::boxed::Box<ast::Item>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/boxed.rs:230:12 [INFO] [stderr] note: required because it appears within the type `ptr::P<ast::Item>` [INFO] [stderr] --> src/ptr.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct P<T: ?Sized> { [INFO] [stderr] | ^ [INFO] [stderr] note: required because it appears within the type `parse::token::Nonterminal` [INFO] [stderr] --> src/parse/token.rs:362:10 [INFO] [stderr] | [INFO] [stderr] 362 | pub enum Nonterminal { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] = note: required for `std::rc::Rc<parse::token::Nonterminal>` to implement `std::panic::RefUnwindSafe` [INFO] [stderr] note: required because it appears within the type `parse::token::Token` [INFO] [stderr] --> src/parse/token.rs:124:10 [INFO] [stderr] | [INFO] [stderr] 124 | pub enum Token { [INFO] [stderr] | ^^^^^ [INFO] [stderr] note: required because it appears within the type `tokenstream::TokenTree` [INFO] [stderr] --> src/tokenstream.rs:93:10 [INFO] [stderr] | [INFO] [stderr] 93 | pub enum TokenTree { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] note: required because it appears within the type `tokenstream::TokenStreamKind` [INFO] [stderr] --> src/tokenstream.rs:159:6 [INFO] [stderr] | [INFO] [stderr] 159 | enum TokenStreamKind { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] note: required because it appears within the type `tokenstream::TokenStream` [INFO] [stderr] --> src/tokenstream.rs:154:12 [INFO] [stderr] | [INFO] [stderr] 154 | pub struct TokenStream { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] = note: required because it appears within the type `[tokenstream::TokenStream]` [INFO] [stderr] = note: required because it appears within the type `*const [tokenstream::TokenStream]` [INFO] [stderr] note: required because it appears within the type `std::ptr::NonNull<[tokenstream::TokenStream]>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/ptr/non_null.rs:71:12 [INFO] [stderr] note: required because it appears within the type `std::ptr::Unique<[tokenstream::TokenStream]>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/ptr/unique.rs:37:12 [INFO] [stderr] note: required because it appears within the type `std::boxed::Box<[tokenstream::TokenStream]>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/boxed.rs:230:12 [INFO] [stderr] = note: required for `std::rc::Rc<std::boxed::Box<[tokenstream::TokenStream]>>` to implement `std::panic::UnwindSafe` [INFO] [stderr] note: required because it appears within the type `util::rc_slice::RcSlice<tokenstream::TokenStream>` [INFO] [stderr] --> src/util/rc_slice.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct RcSlice<T> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] note: required because it appears within the type `std::option::Option<util::rc_slice::RcSlice<tokenstream::TokenStream>>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/core/src/option.rs:571:10 [INFO] [stderr] note: required because it appears within the type `tokenstream::ThinTokenStream` [INFO] [stderr] --> src/tokenstream.rs:362:12 [INFO] [stderr] | [INFO] [stderr] 362 | pub struct ThinTokenStream(Option<RcSlice<TokenStream>>); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] note: required because it appears within the type `ast::Mac_` [INFO] [stderr] --> src/ast.rs:1002:12 [INFO] [stderr] | [INFO] [stderr] 1002 | pub struct Mac_ { [INFO] [stderr] | ^^^^ [INFO] [stderr] note: required because it appears within the type `codemap::Spanned<ast::Mac_>` [INFO] [stderr] --> src/codemap.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct Spanned<T> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] note: required because it appears within the type `ast::PatKind` [INFO] [stderr] --> src/ast.rs:520:10 [INFO] [stderr] | [INFO] [stderr] 520 | pub enum PatKind { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] note: required because it appears within the type `ast::Pat` [INFO] [stderr] --> src/ast.rs:449:12 [INFO] [stderr] | [INFO] [stderr] 449 | pub struct Pat { [INFO] [stderr] | ^^^ [INFO] [stderr] = note: required for `std::ptr::Unique<ast::Pat>` to implement `std::panic::UnwindSafe` [INFO] [stderr] note: required because it appears within the type `std::boxed::Box<ast::Pat>` [INFO] [stderr] --> /rustc/143ce0920a2307b19831160a01f06f107610f1b2/library/alloc/src/boxed.rs:230:12 [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0275`. [INFO] [stderr] error: could not document `garando_syntax2` [INFO] running `Command { std: "docker" "inspect" "46b9f01debb48f61671b7263402dc4f085776e699211b80d5166eefe0f98ed3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46b9f01debb48f61671b7263402dc4f085776e699211b80d5166eefe0f98ed3c", kill_on_drop: false }` [INFO] [stdout] 46b9f01debb48f61671b7263402dc4f085776e699211b80d5166eefe0f98ed3c