cranelift-codegen 0.104.2

Low-level code generator library
Documentation
Build #1143120 2024-02-28T23:27:28.501567+00:00
# rustc version
rustc 1.78.0-nightly (ef324565d 2024-02-27)
# docs.rs version
docsrs 0.6.0 (51849e8d 2024-02-21)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/cranelift-codegen-0.104.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/cranelift-codegen-0.104.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240227-1.78.0-nightly-ef324565d\", \"--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] [stdout] f99bb57eba389e357c7a6ec68ec1da3fc2b59023b645ee38f817a38d46f896c8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f99bb57eba389e357c7a6ec68ec1da3fc2b59023b645ee38f817a38d46f896c8", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting cranelift-codegen v0.104.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: public documentation for `VCodeConstants` links to private item `VCodeConstant`
[INFO] [stderr]     --> src/machinst/vcode.rs:1660:55
[INFO] [stderr]      |
[INFO] [stderr] 1660 | /// [VCodeConstants.insert]; an intermediate handle, [VCodeConstant], tracks what constants are
[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 `keys` links to private item `VCodeConstant`
[INFO] [stderr]     --> src/machinst/vcode.rs:1726:27
[INFO] [stderr]      |
[INFO] [stderr] 1726 |     /// Iterate over the [VCodeConstant] keys inserted in this structure.
[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 `iter` links to private item `VCodeConstant`
[INFO] [stderr]     --> src/machinst/vcode.rs:1731:27
[INFO] [stderr]      |
[INFO] [stderr] 1731 |     /// Iterate over the [VCodeConstant] keys and the data (as a byte slice) inserted in this
[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: this URL is not a hyperlink
[INFO] [stderr]    --> src/binemit/mod.rs:100:9
[INFO] [stderr]     |
[INFO] [stderr] 100 |     /// https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#procedure-calls
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#procedure-calls>`
[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: this URL is not a hyperlink
[INFO] [stderr]    --> src/binemit/mod.rs:106:9
[INFO] [stderr]     |
[INFO] [stderr] 106 |     /// https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#global-dynamic
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#global-dynamic>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/binemit/mod.rs:112:9
[INFO] [stderr]     |
[INFO] [stderr] 112 |     /// https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#pc-relative-symbol-addresses
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#pc-relative-symbol-addresses>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/binemit/mod.rs:118:9
[INFO] [stderr]     |
[INFO] [stderr] 118 |     /// https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#pc-relative-symbol-addresses
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#pc-relative-symbol-addresses>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/ir/constant.rs:169:73
[INFO] [stderr]     |
[INFO] [stderr] 169 | /// Maintains the mapping between a constant handle (i.e.  [`Constant`](crate::ir::Constant)) and
[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] 169 | /// Maintains the mapping between a constant handle (i.e.  [`Constant`]) and
[INFO] [stderr]     |                                                            ~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/ir/constant.rs:170:47
[INFO] [stderr]     |
[INFO] [stderr] 170 | /// its constant data (i.e.  [`ConstantData`](crate::ir::ConstantData)).
[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] 170 | /// its constant data (i.e.  [`ConstantData`]).
[INFO] [stderr]     |                              ~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/ir/entities.rs:177:36
[INFO] [stderr]     |
[INFO] [stderr] 177 | /// A `GlobalValue` is a [`Value`](Value) that will be live across the entire
[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] 177 | /// A `GlobalValue` is a [`Value`] that will be live across the entire
[INFO] [stderr]     |                          ~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `cranelift-codegen` (lib doc) generated 10 warnings (run `cargo fix --lib -p cranelift-codegen` to apply 4 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.11s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/cranelift_codegen/index.html
[INFO] running `Command { std: "docker" "inspect" "f99bb57eba389e357c7a6ec68ec1da3fc2b59023b645ee38f817a38d46f896c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f99bb57eba389e357c7a6ec68ec1da3fc2b59023b645ee38f817a38d46f896c8", kill_on_drop: false }`
[INFO] [stdout] f99bb57eba389e357c7a6ec68ec1da3fc2b59023b645ee38f817a38d46f896c8