sway-ir 0.34.0

Sway intermediate representation.
Documentation
Build #734148 2023-02-01T12:58:03.441061+00:00
# rustc version
rustc 1.69.0-nightly (dc1d9d50f 2023-01-31)# docs.rs version
docsrs 0.6.0 (3b562799 2023-01-23)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/sway-ir-0.34.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/sway-ir-0.34.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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/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\", \"-20230131-1.69.0-nightly-dc1d9d50f\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--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\"" "-Zrustdoc-scrape-examples" "-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] 8358cf249d4c2e37dcb98aabc1657819fd2d4324a27c48e801438ddde0c27339
[INFO] running `Command { std: "docker" "start" "-a" "8358cf249d4c2e37dcb98aabc1657819fd2d4324a27c48e801438ddde0c27339", 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.34.0 (/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:64:37
[INFO] [stderr]    |
[INFO] [stderr] 64 | /// - 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:64:55
[INFO] [stderr]    |
[INFO] [stderr] 64 | /// - 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]   |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/FuelLabs/sway/issues/855>`
[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] 
[INFO] [stderr] warning: unclosed HTML tag `Type`
[INFO] [stderr]    --> src/irtype.rs:316:35
[INFO] [stderr]     |
[INFO] [stderr] 316 | /// 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] 316 | /// A helper to check if an `Option<Type>` value is of a particular Type.
[INFO] [stderr]     |                             +            +
[INFO] [stderr] 
[INFO] [stderr] warning: `sway-ir` (lib doc) generated 7 warnings (run `cargo fix --lib -p sway-ir` to apply 1 suggestion)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.62s
[INFO] running `Command { std: "docker" "inspect" "8358cf249d4c2e37dcb98aabc1657819fd2d4324a27c48e801438ddde0c27339", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8358cf249d4c2e37dcb98aabc1657819fd2d4324a27c48e801438ddde0c27339", kill_on_drop: false }`
[INFO] [stdout] 8358cf249d4c2e37dcb98aabc1657819fd2d4324a27c48e801438ddde0c27339