sway-types 0.22.1

Sway core types.
Documentation
Build #621006 2022-09-01T03:19:49.293626+00:00
# rustc version
rustc 1.65.0-nightly (9243168fa 2022-08-31)# docs.rs version
docsrs 0.6.0 (b0f5bb8 2022-08-27)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/sway-types-0.22.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/sway-types-0.22.1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/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\", \"-20220831-1.65.0-nightly-9243168fa\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "-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] f8dfb0d96d97dbbc4cbca1a1529620a5d20a861d20d9ad05c57f080cc3b49c5f
[INFO] running `Command { std: "docker" "start" "-a" "f8dfb0d96d97dbbc4cbca1a1529620a5d20a861d20d9ad05c57f080cc3b49c5f", kill_on_drop: false }`
[INFO] [stderr]  Documenting sway-types v0.22.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `StorageSlot`
[INFO] [stderr]   --> src/state.rs:10:17
[INFO] [stderr]    |
[INFO] [stderr] 10 | /// The actual [StorageSlot] is calculated as the sha256 hash of the domain separator
[INFO] [stderr]    |                 ^^^^^^^^^^^ no item named `StorageSlot` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `sway_utils::constants::STORAGE_DOMAIN_SEPARATOR`
[INFO] [stderr]   --> src/state.rs:11:6
[INFO] [stderr]    |
[INFO] [stderr] 11 | /// [sway_utils::constants::STORAGE_DOMAIN_SEPARATOR] concatenated with the index.
[INFO] [stderr]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `sway_utils` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `StorageSlot`
[INFO] [stderr]   --> src/state.rs:13:20
[INFO] [stderr]    |
[INFO] [stderr] 13 | /// Here, `foo`'s [StorageSlot] is `sha256(format!("{}{}", STORAGE_DOMAIN_SEPARATOR, 0))` or
[INFO] [stderr]    |                    ^^^^^^^^^^^ no item named `StorageSlot` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `StorageSlot`
[INFO] [stderr]   --> src/state.rs:16:14
[INFO] [stderr]    |
[INFO] [stderr] 16 | /// `bar`'s [StorageSlot] is `sha256(format!("{}{}", STORAGE_DOMAIN_SEPARATOR, 1))` or
[INFO] [stderr]    |              ^^^^^^^^^^^ no item named `StorageSlot` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: Rust code block is empty
[INFO] [stderr]  --> src/state.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 |   /// ```
[INFO] [stderr]   |  _____^
[INFO] [stderr] 5 | | //// storage {
[INFO] [stderr] 6 | | ////   foo: u32 = 0,
[INFO] [stderr] 7 | | ////   bar: u32 = 0,
[INFO] [stderr] 8 | | //// }
[INFO] [stderr] 9 | | /// ```
[INFO] [stderr]   | |_______^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default
[INFO] [stderr] help: mark blocks that do not contain Rust code as text
[INFO] [stderr]   |
[INFO] [stderr] 4 | /// ```text
[INFO] [stderr]   |        ++++
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/lib.rs:355:5
[INFO] [stderr]     |
[INFO] [stderr] 355 | /// https://github.com/FuelLabs/fuel-specs/blob/master/specs/protocol/abi.md
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/FuelLabs/fuel-specs/blob/master/specs/protocol/abi.md>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: `sway-types` (lib doc) generated 6 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.25s
[INFO] running `Command { std: "docker" "inspect" "f8dfb0d96d97dbbc4cbca1a1529620a5d20a861d20d9ad05c57f080cc3b49c5f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8dfb0d96d97dbbc4cbca1a1529620a5d20a861d20d9ad05c57f080cc3b49c5f", kill_on_drop: false }`
[INFO] [stdout] f8dfb0d96d97dbbc4cbca1a1529620a5d20a861d20d9ad05c57f080cc3b49c5f