sway-core 0.28.0

Sway core language.
Documentation
Build #656563 2022-10-25T13:39:44.002815+00:00
# rustc version
rustc 1.66.0-nightly (758f19645 2022-10-24)# docs.rs version
docsrs 0.6.0 (5eb7632 2022-10-16)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/sway-core-0.28.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/sway-core-0.28.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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221024-1.66.0-nightly-758f19645\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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\"" "-j3" "--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] d15d99a21d9af277b9addbc5784c0c24b6fc2f9d78283b262e3601e6191eceed
[INFO] running `Command { std: "docker" "start" "-a" "d15d99a21d9af277b9addbc5784c0c24b6fc2f9d78283b262e3601e6191eceed", kill_on_drop: false }`
[INFO] [stderr]  Documenting sway-core v0.28.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `crate::semantic_analysis::TyAstNode`
[INFO] [stderr]   --> src/control_flow_analysis/mod.rs:25:20
[INFO] [stderr]    |
[INFO] [stderr] 25 | //! A node is any [crate::semantic_analysis::TyAstNode], with some
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `TyAstNode` in module `semantic_analysis`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `crate::semantic_analysis::TyAstNodeContent`
[INFO] [stderr]   --> src/control_flow_analysis/mod.rs:26:6
[INFO] [stderr]    |
[INFO] [stderr] 26 | //! [crate::semantic_analysis::TyAstNodeContent]. # # # Dominating nodes
[INFO] [stderr]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `TyAstNodeContent` in module `semantic_analysis`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `declaration_engine` links to private item `declaration_engine::DeclarationEngine`
[INFO] [stderr]  --> src/declaration_engine/mod.rs:3:29
[INFO] [stderr]   |
[INFO] [stderr] 3 | //! The [DeclarationEngine](declaration_engine::DeclarationEngine) allows the compiler to add a layer of
[INFO] [stderr]   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]   |
[INFO] [stderr]   = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr]   = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `declaration_engine` links to private item `declaration_engine::DeclarationEngine`
[INFO] [stderr]  --> src/declaration_engine/mod.rs:6:63
[INFO] [stderr]   |
[INFO] [stderr] 6 | //! As an interface, you can think of the [DeclarationEngine](declaration_engine::DeclarationEngine)
[INFO] [stderr]   |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]   |
[INFO] [stderr]   = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `declaration_engine` links to private item `declaration_id::DeclarationId`
[INFO] [stderr]  --> src/declaration_engine/mod.rs:7:39
[INFO] [stderr]   |
[INFO] [stderr] 7 | //! as a mapping from [DeclarationId](declaration_id::DeclarationId) to
[INFO] [stderr]   |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]   |
[INFO] [stderr]   = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `declaration_engine` links to private item `declaration_wrapper::DeclarationWrapper`
[INFO] [stderr]  --> src/declaration_engine/mod.rs:8:26
[INFO] [stderr]   |
[INFO] [stderr] 8 | //! [DeclarationWrapper](declaration_wrapper::DeclarationWrapper). When a
[INFO] [stderr]   |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]   |
[INFO] [stderr]   = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `declaration_engine` links to private item `declaration_wrapper::DeclarationWrapper`
[INFO] [stderr]  --> src/declaration_engine/mod.rs:9:26
[INFO] [stderr]   |
[INFO] [stderr] 9 | //! [DeclarationWrapper](declaration_wrapper::DeclarationWrapper) is inserted into the
[INFO] [stderr]   |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]   |
[INFO] [stderr]   = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `declaration_engine` links to private item `declaration_engine::DeclarationEngine`
[INFO] [stderr]   --> src/declaration_engine/mod.rs:10:25
[INFO] [stderr]    |
[INFO] [stderr] 10 | //! [DeclarationEngine](declaration_engine::DeclarationEngine), a [DeclarationId](declaration_id::DeclarationId)
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]    |
[INFO] [stderr]    = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `declaration_engine` links to private item `declaration_id::DeclarationId`
[INFO] [stderr]   --> src/declaration_engine/mod.rs:10:83
[INFO] [stderr]    |
[INFO] [stderr] 10 | //! [DeclarationEngine](declaration_engine::DeclarationEngine), a [DeclarationId](declaration_id::DeclarationId)
[INFO] [stderr]    |                                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]    |
[INFO] [stderr]    = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `declaration_engine` links to private item `declaration_engine::DeclarationEngine`
[INFO] [stderr]   --> src/declaration_engine/mod.rs:13:75
[INFO] [stderr]    |
[INFO] [stderr] 13 | //! Monomorphized copies of declarations are added to [DeclarationEngine](declaration_engine::DeclarationEngine).
[INFO] [stderr]    |                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]    |
[INFO] [stderr]    = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `AstNodeContent::ReturnStatement`
[INFO] [stderr]   --> src/language/parsed/mod.rs:54:60
[INFO] [stderr]    |
[INFO] [stderr] 54 |     /// An implicit return expression is different from a [AstNodeContent::ReturnStatement] because
[INFO] [stderr]    |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the enum `AstNodeContent` has no variant or associated item named `ReturnStatement`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Purity::Impure`
[INFO] [stderr]  --> src/language/purity.rs:2:58
[INFO] [stderr]   |
[INFO] [stderr] 2 | /// or could potentially access contract storage, it is [Purity::Impure]. If a function does not utilize any
[INFO] [stderr]   |                                                          ^^^^^^^^^^^^^^ the enum `Purity` has no variant or associated item named `Impure`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SwayParseTree`
[INFO] [stderr]   --> src/lib.rs:44:86
[INFO] [stderr]    |
[INFO] [stderr] 44 | /// Given an input `Arc<str>` and an optional [BuildConfig], parse the input into a [SwayParseTree].
[INFO] [stderr]    |                                                                                      ^^^^^^^^^^^^^ no item named `SwayParseTree` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `sway-core` (lib doc) generated 13 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.45s
[INFO] running `Command { std: "docker" "inspect" "d15d99a21d9af277b9addbc5784c0c24b6fc2f9d78283b262e3601e6191eceed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d15d99a21d9af277b9addbc5784c0c24b6fc2f9d78283b262e3601e6191eceed", kill_on_drop: false }`
[INFO] [stdout] d15d99a21d9af277b9addbc5784c0c24b6fc2f9d78283b262e3601e6191eceed