dragon_lair_utils 0.1.0

this package have basic utilities for CasperLabs Dragon Lair Contract
Build #583171 2022-06-27T14:17:49.217204+00:00
# rustc version
rustc 1.64.0-nightly (c80c4b8fd 2022-06-26)
# docs.rs version
docsrs 0.6.0 (1ce3fd8 2022-06-22)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/dragon_lair_utils-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/dragon_lair_utils-0.1.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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/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\", \"-20220626-1.64.0-nightly-c80c4b8fd\", \"--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] e191bcad0bd495f04a5d2e7dd49036f1133e1b0df34a2a0be5159c08d8735ee5
[INFO] running `Command { std: "docker" "start" "-a" "e191bcad0bd495f04a5d2e7dd49036f1133e1b0df34a2a0be5159c08d8735ee5", kill_on_drop: false }`
[INFO] [stderr]     Checking casperlabs-contract-utils v0.1.0
[INFO] [stderr] error[E0432]: unresolved import `core::lazy::OnceCell`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casperlabs-contract-utils-0.1.0/src/contract_storage.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use core::lazy::OnceCell;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ no `OnceCell` in `lazy`
[INFO] [stderr] 
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casperlabs-contract-utils-0.1.0/src/contract_storage.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | #[derive(Default)]
[INFO] [stderr]    |          ------- in this derive macro expansion
[INFO] [stderr] 12 | pub struct OnChainContractStorage {
[INFO] [stderr] 13 |     call_stack: OnceCell<Vec<CallStackElement>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stderr]    |
[INFO] [stderr]    = note: cannot satisfy `_: Default`
[INFO] [stderr]    = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0283, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0283`.
[INFO] [stderr] error: could not compile `casperlabs-contract-utils` due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "e191bcad0bd495f04a5d2e7dd49036f1133e1b0df34a2a0be5159c08d8735ee5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e191bcad0bd495f04a5d2e7dd49036f1133e1b0df34a2a0be5159c08d8735ee5", kill_on_drop: false }`
[INFO] [stdout] e191bcad0bd495f04a5d2e7dd49036f1133e1b0df34a2a0be5159c08d8735ee5