sway-ir 0.66.5

Sway intermediate representation.
Documentation
Build #1558809 2024-11-20T22:43:30.755392+00:00
# rustc version
rustc 1.84.0-nightly (ee612c45f 2024-11-19)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/sway-ir-0.66.5/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/sway-ir-0.66.5/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\", \"-20241119-1.84.0-nightly-ee612c45f\", \"--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}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-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] 6fc4ac90950f61da098125537faf71d1727744abc8bf2d480e390eb9887d34fb
[INFO] running `Command { std: "docker" "start" "-a" "6fc4ac90950f61da098125537faf71d1727744abc8bf2d480e390eb9887d34fb", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting sway-ir v0.66.5 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `Type::Unit`
[INFO] [stderr]  --> src/irtype.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 | //! - [`Type::Unit`] is still a discrete type rather than an empty tuple.  This may change in the
[INFO] [stderr]   |         ^^^^^^^^^^ the struct `Type` has no field or associated item named `Unit`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Type::Union`
[INFO] [stderr]  --> src/irtype.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 6 | //! - [`Type::Union`] is a sum type which resembles a C union.  Each member of the union uses the
[INFO] [stderr]   |         ^^^^^^^^^^^ the struct `Type` has no field or associated item named `Union`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Aggregate`
[INFO] [stderr]  --> src/irtype.rs:9:7
[INFO] [stderr]   |
[INFO] [stderr] 9 | //! [`Aggregate`] is an abstract collection of [`Type`]s used for structs, unions and arrays,
[INFO] [stderr]   |       ^^^^^^^^^ no item named `Aggregate` in scope
[INFO] [stderr]   |
[INFO] [stderr]   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `always_inline`
[INFO] [stderr]    --> src/optimize/inline.rs:165:37
[INFO] [stderr]     |
[INFO] [stderr] 165 | /// - An attribute request, e.g., #[always_inline], #[never_inline].
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^ no item named `always_inline` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `never_inline`
[INFO] [stderr]    --> src/optimize/inline.rs:165:55
[INFO] [stderr]     |
[INFO] [stderr] 165 | /// - An attribute request, e.g., #[always_inline], #[never_inline].
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^ no item named `never_inline` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/instruction.rs:8:41
[INFO] [stderr]   |
[INFO] [stderr] 8 | //! the ASM blocks where possible. See: https://github.com/FuelLabs/sway/issues/855,
[INFO] [stderr]   |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]   = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]   |
[INFO] [stderr] 8 | //! the ASM blocks where possible. See: <https://github.com/FuelLabs/sway/issues/855>,
[INFO] [stderr]   |                                         +                                           +
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `Type`
[INFO] [stderr]    --> src/irtype.rs:602:35
[INFO] [stderr]     |
[INFO] [stderr] 602 | /// A helper to check if an Option<Type> value is of a particular Type.
[INFO] [stderr]     |                                   ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]     |
[INFO] [stderr] 602 | /// A helper to check if an `Option<Type>` value is of a particular Type.
[INFO] [stderr]     |                             +            +
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `DomTreeAnalysis`
[INFO] [stderr]   --> src/pass_manager.rs:88:47
[INFO] [stderr]    |
[INFO] [stderr] 88 |     /// Example analyses.get_analysis_result::<DomTreeAnalysis>(foo).
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]    |
[INFO] [stderr] 88 |     /// Example analyses.`get_analysis_result::<DomTreeAnalysis>`(foo).
[INFO] [stderr]    |                          +                                      +
[INFO] [stderr] 
[INFO] [stderr] warning: `sway-ir` (lib doc) generated 8 warnings (run `cargo fix --lib -p sway-ir` to apply 1 suggestion)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.50s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/sway_ir/index.html
[INFO] running `Command { std: "docker" "inspect" "6fc4ac90950f61da098125537faf71d1727744abc8bf2d480e390eb9887d34fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fc4ac90950f61da098125537faf71d1727744abc8bf2d480e390eb9887d34fb", kill_on_drop: false }`
[INFO] [stdout] 6fc4ac90950f61da098125537faf71d1727744abc8bf2d480e390eb9887d34fb