spirt 0.4.0

Shader-focused IR to target, transform and translate from.
Documentation
Build #1382786 2024-10-07T09:30:24.577195+00:00
# rustc version
rustc 1.83.0-nightly (55a22d2a6 2024-10-06)# docs.rs version
docsrs 0.6.0 (d5a37845 2024-09-24)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/spirt-0.4.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/spirt-0.4.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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"--document-private-items\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241006-1.83.0-nightly-55a22d2a6\", \"--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] 823652bff5855f0dbaac1ea0e6c3f47f09c11412503dff6870e5953d57d76d14
[INFO] running `Command { std: "docker" "start" "-a" "823652bff5855f0dbaac1ea0e6c3f47f09c11412503dff6870e5953d57d76d14", kill_on_drop: false }`
[INFO] [stderr]     Scraping spirt v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting spirt v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `LineOp::interpret_with`
[INFO] [stderr]    --> src/print/pretty.rs:792:12
[INFO] [stderr]     |
[INFO] [stderr] 792 | /// (see [`LineOp::interpret_with`]).
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^ the enum `LineOp` has no variant or associated item named `interpret_with`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `transform`
[INFO] [stderr]   --> src/transform.rs:83:23
[INFO] [stderr]    |
[INFO] [stderr] 83 | /// Helper type for [`transform!`] - not public as it's easy to misuse.
[INFO] [stderr]    |                       ^^^^^^^^^^ no item named `transform` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `transform` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Attr::QPtr`
[INFO] [stderr]   --> src/qptr/mod.rs:23:35
[INFO] [stderr]    |
[INFO] [stderr] 23 | /// `QPtr`-specific attributes ([`Attr::QPtr`]).
[INFO] [stderr]    |                                   ^^^^^^^^^^ no item named `Attr` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `DataInstKind::QPtr`
[INFO] [stderr]    --> src/qptr/mod.rs:139:35
[INFO] [stderr]     |
[INFO] [stderr] 139 | /// `QPtr`-specific operations ([`DataInstKind::QPtr`]).
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^ no item named `DataInstKind` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:283:43
[INFO] [stderr]     |
[INFO] [stderr] 283 | /// Interned handle for an [`AttrSetDef`](crate::AttrSetDef)
[INFO] [stderr]     |                             ------------  ^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                             |
[INFO] [stderr]     |                             because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr]     = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 283 | /// Interned handle for an [`AttrSetDef`]
[INFO] [stderr]     |                            ~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:284:24
[INFO] [stderr]     |
[INFO] [stderr] 284 | /// (a set of [`Attr`](crate::Attr)s).
[INFO] [stderr]     |                ------  ^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                |
[INFO] [stderr]     |                because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 284 | /// (a set of [`Attr`]s).
[INFO] [stderr]     |               ~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:455:39
[INFO] [stderr]     |
[INFO] [stderr] 455 | /// Interned handle for a [`TypeDef`](crate::TypeDef).
[INFO] [stderr]     |                            ---------  ^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                            |
[INFO] [stderr]     |                            because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 455 | /// Interned handle for a [`TypeDef`].
[INFO] [stderr]     |                           ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:511:40
[INFO] [stderr]     |
[INFO] [stderr] 511 | /// Interned handle for a [`ConstDef`](crate::ConstDef) (a constant value).
[INFO] [stderr]     |                            ----------  ^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                            |
[INFO] [stderr]     |                            because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 511 | /// Interned handle for a [`ConstDef`] (a constant value).
[INFO] [stderr]     |                           ~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:554:43
[INFO] [stderr]     |
[INFO] [stderr] 554 | /// Entity handle for a [`GlobalVarDecl`](crate::GlobalVarDecl) (a global variable).
[INFO] [stderr]     |                          ---------------  ^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                          |
[INFO] [stderr]     |                          because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 554 | /// Entity handle for a [`GlobalVarDecl`] (a global variable).
[INFO] [stderr]     |                         ~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:600:38
[INFO] [stderr]     |
[INFO] [stderr] 600 | /// Entity handle for a [`FuncDecl`](crate::FuncDecl) (a function).
[INFO] [stderr]     |                          ----------  ^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                          |
[INFO] [stderr]     |                          because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 600 | /// Entity handle for a [`FuncDecl`] (a function).
[INFO] [stderr]     |                         ~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:651:46
[INFO] [stderr]     |
[INFO] [stderr] 651 | /// Entity handle for a [`ControlRegionDef`](crate::ControlRegionDef)
[INFO] [stderr]     |                          ------------------  ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                          |
[INFO] [stderr]     |                          because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 651 | /// Entity handle for a [`ControlRegionDef`]
[INFO] [stderr]     |                         ~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:674:34
[INFO] [stderr]     |
[INFO] [stderr] 674 | ///   using [`cfg::ControlInst`](crate::cfg::ControlInst)s (as described by a
[INFO] [stderr]     |              ------------------  ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |              |
[INFO] [stderr]     |              because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 674 | ///   using [`cfg::ControlInst`]s (as described by a
[INFO] [stderr]     |             ~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:675:33
[INFO] [stderr]     |
[INFO] [stderr] 675 | ///   [`cfg::ControlFlowGraph`](crate::cfg::ControlFlowGraph))
[INFO] [stderr]     |        -----------------------  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |        |
[INFO] [stderr]     |        because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 675 | ///   [`cfg::ControlFlowGraph`])
[INFO] [stderr]     |       ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:699:22
[INFO] [stderr]     |
[INFO] [stderr] 699 | /// SPIR-T [`Value`](crate::Value)s follow "single static assignment" (SSA), just like SPIR-V:
[INFO] [stderr]     |             -------  ^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |             |
[INFO] [stderr]     |             because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 699 | /// SPIR-T [`Value`]s follow "single static assignment" (SSA), just like SPIR-V:
[INFO] [stderr]     |            ~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:701:79
[INFO] [stderr]     |
[INFO] [stderr] 701 | ///   of [`DataInst`]/[`ControlNode`], and "uses" of that value are [`Value`](crate::Value)s
[INFO] [stderr]     |                                                                      -------  ^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                                                      |
[INFO] [stderr]     |                                                                      because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 701 | ///   of [`DataInst`]/[`ControlNode`], and "uses" of that value are [`Value`]s
[INFO] [stderr]     |                                                                     ~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:708:70
[INFO] [stderr]     |
[INFO] [stderr] 708 | /// * dominance is simpler, so values defined in a [`ControlRegion`](crate::ControlRegion) can be used:
[INFO] [stderr]     |                                                     ---------------  ^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                                     |
[INFO] [stderr]     |                                                     because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 708 | /// * dominance is simpler, so values defined in a [`ControlRegion`] can be used:
[INFO] [stderr]     |                                                    ~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:711:71
[INFO] [stderr]     |
[INFO] [stderr] 711 | ///   * outside that region, but *only* if the parent [`ControlNode`](crate::ControlNode)
[INFO] [stderr]     |                                                        -------------  ^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                                        |
[INFO] [stderr]     |                                                        because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 711 | ///   * outside that region, but *only* if the parent [`ControlNode`]
[INFO] [stderr]     |                                                       ~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:714:69
[INFO] [stderr]     |
[INFO] [stderr] 714 | ///       execute (at least once) before the parent [`ControlNode`](crate::ControlNode)
[INFO] [stderr]     |                                                      -------------  ^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                                      |
[INFO] [stderr]     |                                                      because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 714 | ///       execute (at least once) before the parent [`ControlNode`]
[INFO] [stderr]     |                                                     ~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:727:57
[INFO] [stderr]     |
[INFO] [stderr] 727 | ///     representing phi nodes, as [`cfg::ControlInst`](crate::cfg::ControlInst)s
[INFO] [stderr]     |                                     ------------------  ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                     |
[INFO] [stderr]     |                                     because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 727 | ///     representing phi nodes, as [`cfg::ControlInst`]s
[INFO] [stderr]     |                                    ~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:731:58
[INFO] [stderr]     |
[INFO] [stderr] 731 | ///       as unstructured control-flow [`ControlRegion`](crate::ControlRegion)s
[INFO] [stderr]     |                                         ---------------  ^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                         |
[INFO] [stderr]     |                                         because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 731 | ///       as unstructured control-flow [`ControlRegion`]s
[INFO] [stderr]     |                                        ~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:767:44
[INFO] [stderr]     |
[INFO] [stderr] 767 | /// Entity handle for a [`ControlNodeDef`](crate::ControlNodeDef)
[INFO] [stderr]     |                          ----------------  ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                          |
[INFO] [stderr]     |                          because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 767 | /// Entity handle for a [`ControlNodeDef`]
[INFO] [stderr]     |                         ~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:858:41
[INFO] [stderr]     |
[INFO] [stderr] 858 | /// Entity handle for a [`DataInstDef`](crate::DataInstDef) (a leaf instruction).
[INFO] [stderr]     |                          -------------  ^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                          |
[INFO] [stderr]     |                          because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 858 | /// Entity handle for a [`DataInstDef`] (a leaf instruction).
[INFO] [stderr]     |                         ~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:875:47
[INFO] [stderr]     |
[INFO] [stderr] 875 | /// Interned handle for a [`DataInstFormDef`](crate::DataInstFormDef)
[INFO] [stderr]     |                            -----------------  ^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                            |
[INFO] [stderr]     |                            because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 875 | /// Interned handle for a [`DataInstFormDef`]
[INFO] [stderr]     |                           ~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:876:51
[INFO] [stderr]     |
[INFO] [stderr] 876 | /// (a "form", or "template", for [`DataInstDef`](crate::DataInstDef)s).
[INFO] [stderr]     |                                    -------------  ^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                    |
[INFO] [stderr]     |                                    because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 876 | /// (a "form", or "template", for [`DataInstDef`]s).
[INFO] [stderr]     |                                   ~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `spirt` (lib doc) generated 24 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.47s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/spirt/index.html
[INFO] running `Command { std: "docker" "inspect" "823652bff5855f0dbaac1ea0e6c3f47f09c11412503dff6870e5953d57d76d14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "823652bff5855f0dbaac1ea0e6c3f47f09c11412503dff6870e5953d57d76d14", kill_on_drop: false }`
[INFO] [stdout] 823652bff5855f0dbaac1ea0e6c3f47f09c11412503dff6870e5953d57d76d14