rgb-std 0.10.9

RGB standard library for working with smart contracts on Bitcoin & Lightning
Documentation
Build #2071915 2025-05-03 21:24:02

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.88.0-nightly (4824c2bb7 2025-05-02)

# docs.rs version docsrs 0.6.0 (ee9a3fe6 2025-03-28)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rgb-std-0.10.9/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rgb-std-0.10.9/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "all" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250502-1.88.0-nightly-4824c2bb7\", \"--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] 00828cdf22c0b1761701635057ffb936aebb3dab502396235b7e8a8df419749f [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" "00828cdf22c0b1761701635057ffb936aebb3dab502396235b7e8a8df419749f", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking strict_encoding v2.6.2 [INFO] [stderr] error[E0599]: no function or associated item named `with` found for struct `types::VariantError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/stl.rs:90:10 [INFO] [stderr] | [INFO] [stderr] 90 | #[derive(StrictType, StrictEncode, StrictDecode)] [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `VariantError<_>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct VariantError<V: Debug + Display>(pub Option<TypeName>, pub V); [INFO] [stderr] | ------------------------------------------- function or associated item `with` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `types::VariantError<_>` consider using one of the following associated functions: [INFO] [stderr] types::VariantError::<V>::typed [INFO] [stderr] types::VariantError::<V>::untyped [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn typed(name: impl Into<TypeName>, val: V) -> Self { VariantError(Some(name.into()), val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub fn untyped(val: V) -> Self { VariantError(None, val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `Element` [INFO] [stderr] = note: this error originates in the derive macro `StrictType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with` found for struct `types::VariantError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/stl.rs:138:10 [INFO] [stderr] | [INFO] [stderr] 138 | #[derive(StrictType, StrictEncode, StrictDecode)] [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `VariantError<_>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct VariantError<V: Debug + Display>(pub Option<TypeName>, pub V); [INFO] [stderr] | ------------------------------------------- function or associated item `with` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `types::VariantError<_>` consider using one of the following associated functions: [INFO] [stderr] types::VariantError::<V>::typed [INFO] [stderr] types::VariantError::<V>::untyped [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn typed(name: impl Into<TypeName>, val: V) -> Self { VariantError(Some(name.into()), val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub fn untyped(val: V) -> Self { VariantError(None, val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `Element` [INFO] [stderr] = note: this error originates in the derive macro `StrictType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with` found for struct `types::VariantError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/stl.rs:194:10 [INFO] [stderr] | [INFO] [stderr] 194 | #[derive(StrictType, StrictEncode, StrictDecode)] [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `VariantError<_>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct VariantError<V: Debug + Display>(pub Option<TypeName>, pub V); [INFO] [stderr] | ------------------------------------------- function or associated item `with` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `types::VariantError<_>` consider using one of the following associated functions: [INFO] [stderr] types::VariantError::<V>::typed [INFO] [stderr] types::VariantError::<V>::untyped [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn typed(name: impl Into<TypeName>, val: V) -> Self { VariantError(Some(name.into()), val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub fn untyped(val: V) -> Self { VariantError(None, val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `Element` [INFO] [stderr] = note: this error originates in the derive macro `StrictType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with` found for struct `types::VariantError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/stl.rs:596:22 [INFO] [stderr] | [INFO] [stderr] 596 | #[derive(StrictDumb, StrictType, StrictEncode, StrictDecode)] [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `VariantError<_>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct VariantError<V: Debug + Display>(pub Option<TypeName>, pub V); [INFO] [stderr] | ------------------------------------------- function or associated item `with` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `types::VariantError<_>` consider using one of the following associated functions: [INFO] [stderr] types::VariantError::<V>::typed [INFO] [stderr] types::VariantError::<V>::untyped [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn typed(name: impl Into<TypeName>, val: V) -> Self { VariantError(Some(name.into()), val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub fn untyped(val: V) -> Self { VariantError(None, val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `Element` [INFO] [stderr] = note: this error originates in the derive macro `StrictType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with` found for struct `types::VariantError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/stl.rs:656:22 [INFO] [stderr] | [INFO] [stderr] 656 | #[derive(StrictDumb, StrictType, StrictEncode, StrictDecode)] [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `VariantError<_>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct VariantError<V: Debug + Display>(pub Option<TypeName>, pub V); [INFO] [stderr] | ------------------------------------------- function or associated item `with` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `types::VariantError<_>` consider using one of the following associated functions: [INFO] [stderr] types::VariantError::<V>::typed [INFO] [stderr] types::VariantError::<V>::untyped [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn typed(name: impl Into<TypeName>, val: V) -> Self { VariantError(Some(name.into()), val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub fn untyped(val: V) -> Self { VariantError(None, val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `Element` [INFO] [stderr] = note: this error originates in the derive macro `StrictType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with` found for struct `types::VariantError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/stl.rs:716:22 [INFO] [stderr] | [INFO] [stderr] 716 | #[derive(StrictDumb, StrictType, StrictEncode, StrictDecode)] [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `VariantError<_>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct VariantError<V: Debug + Display>(pub Option<TypeName>, pub V); [INFO] [stderr] | ------------------------------------------- function or associated item `with` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `types::VariantError<_>` consider using one of the following associated functions: [INFO] [stderr] types::VariantError::<V>::typed [INFO] [stderr] types::VariantError::<V>::untyped [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn typed(name: impl Into<TypeName>, val: V) -> Self { VariantError(Some(name.into()), val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub fn untyped(val: V) -> Self { VariantError(None, val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `Element` [INFO] [stderr] = note: this error originates in the derive macro `StrictType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with` found for struct `types::VariantError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/stl.rs:828:22 [INFO] [stderr] | [INFO] [stderr] 828 | #[derive(StrictDumb, StrictType, StrictEncode, StrictDecode)] [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `VariantError<_>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct VariantError<V: Debug + Display>(pub Option<TypeName>, pub V); [INFO] [stderr] | ------------------------------------------- function or associated item `with` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `types::VariantError<_>` consider using one of the following associated functions: [INFO] [stderr] types::VariantError::<V>::typed [INFO] [stderr] types::VariantError::<V>::untyped [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn typed(name: impl Into<TypeName>, val: V) -> Self { VariantError(Some(name.into()), val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub fn untyped(val: V) -> Self { VariantError(None, val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `Element` [INFO] [stderr] = note: this error originates in the derive macro `StrictType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with` found for struct `types::VariantError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/stl.rs:856:22 [INFO] [stderr] | [INFO] [stderr] 856 | #[derive(StrictDumb, StrictType, StrictEncode, StrictDecode)] [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `VariantError<_>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct VariantError<V: Debug + Display>(pub Option<TypeName>, pub V); [INFO] [stderr] | ------------------------------------------- function or associated item `with` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `types::VariantError<_>` consider using one of the following associated functions: [INFO] [stderr] types::VariantError::<V>::typed [INFO] [stderr] types::VariantError::<V>::untyped [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn typed(name: impl Into<TypeName>, val: V) -> Self { VariantError(Some(name.into()), val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub fn untyped(val: V) -> Self { VariantError(None, val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `Element` [INFO] [stderr] = note: this error originates in the derive macro `StrictType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with` found for struct `types::VariantError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/stl.rs:897:22 [INFO] [stderr] | [INFO] [stderr] 897 | #[derive(StrictDumb, StrictType, StrictEncode, StrictDecode)] [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `VariantError<_>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct VariantError<V: Debug + Display>(pub Option<TypeName>, pub V); [INFO] [stderr] | ------------------------------------------- function or associated item `with` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `types::VariantError<_>` consider using one of the following associated functions: [INFO] [stderr] types::VariantError::<V>::typed [INFO] [stderr] types::VariantError::<V>::untyped [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn typed(name: impl Into<TypeName>, val: V) -> Self { VariantError(Some(name.into()), val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub fn untyped(val: V) -> Self { VariantError(None, val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `Element` [INFO] [stderr] = note: this error originates in the derive macro `StrictType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with` found for struct `types::VariantError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/stl.rs:938:22 [INFO] [stderr] | [INFO] [stderr] 938 | #[derive(StrictDumb, StrictType, StrictEncode, StrictDecode)] [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `VariantError<_>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct VariantError<V: Debug + Display>(pub Option<TypeName>, pub V); [INFO] [stderr] | ------------------------------------------- function or associated item `with` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `types::VariantError<_>` consider using one of the following associated functions: [INFO] [stderr] types::VariantError::<V>::typed [INFO] [stderr] types::VariantError::<V>::untyped [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn typed(name: impl Into<TypeName>, val: V) -> Self { VariantError(Some(name.into()), val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub fn untyped(val: V) -> Self { VariantError(None, val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `Element` [INFO] [stderr] = note: this error originates in the derive macro `StrictType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with` found for struct `types::VariantError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/stl.rs:1018:22 [INFO] [stderr] | [INFO] [stderr] 1018 | #[derive(StrictDumb, StrictType, StrictEncode, StrictDecode)] [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `VariantError<_>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct VariantError<V: Debug + Display>(pub Option<TypeName>, pub V); [INFO] [stderr] | ------------------------------------------- function or associated item `with` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `types::VariantError<_>` consider using one of the following associated functions: [INFO] [stderr] types::VariantError::<V>::typed [INFO] [stderr] types::VariantError::<V>::untyped [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn typed(name: impl Into<TypeName>, val: V) -> Self { VariantError(Some(name.into()), val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub fn untyped(val: V) -> Self { VariantError(None, val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `Element` [INFO] [stderr] = note: this error originates in the derive macro `StrictType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with` found for struct `types::VariantError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/stl.rs:1150:22 [INFO] [stderr] | [INFO] [stderr] 1150 | #[derive(StrictDumb, StrictType, StrictEncode, StrictDecode)] [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `VariantError<_>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct VariantError<V: Debug + Display>(pub Option<TypeName>, pub V); [INFO] [stderr] | ------------------------------------------- function or associated item `with` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `types::VariantError<_>` consider using one of the following associated functions: [INFO] [stderr] types::VariantError::<V>::typed [INFO] [stderr] types::VariantError::<V>::untyped [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn typed(name: impl Into<TypeName>, val: V) -> Self { VariantError(Some(name.into()), val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub fn untyped(val: V) -> Self { VariantError(None, val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `Element` [INFO] [stderr] = note: this error originates in the derive macro `StrictType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with` found for struct `types::VariantError` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/stl.rs:1285:22 [INFO] [stderr] | [INFO] [stderr] 1285 | #[derive(StrictDumb, StrictType, StrictEncode, StrictDecode)] [INFO] [stderr] | ^^^^^^^^^^ function or associated item not found in `VariantError<_>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct VariantError<V: Debug + Display>(pub Option<TypeName>, pub V); [INFO] [stderr] | ------------------------------------------- function or associated item `with` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `types::VariantError<_>` consider using one of the following associated functions: [INFO] [stderr] types::VariantError::<V>::typed [INFO] [stderr] types::VariantError::<V>::untyped [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strict_encoding-2.6.2/src/types.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn typed(name: impl Into<TypeName>, val: V) -> Self { VariantError(Some(name.into()), val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub fn untyped(val: V) -> Self { VariantError(None, val) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `with`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `Element` [INFO] [stderr] = note: this error originates in the derive macro `StrictType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: could not compile `strict_encoding` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "00828cdf22c0b1761701635057ffb936aebb3dab502396235b7e8a8df419749f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00828cdf22c0b1761701635057ffb936aebb3dab502396235b7e8a8df419749f", kill_on_drop: false }` [INFO] [stdout] 00828cdf22c0b1761701635057ffb936aebb3dab502396235b7e8a8df419749f