solana-sysvar 0.0.2

Solana sysvar account types
Build #1557434 2024-11-19T23:12:39.067713+00:00
# rustc version
rustc 1.84.0-nightly (03ee48451 2024-11-18)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/solana-sysvar-0.0.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/solana-sysvar-0.0.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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg=docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241118-1.84.0-nightly-03ee48451\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e2f2631aabd2fbe4bbf17a9322bc25d491d30ba470c57cc77285072aa657610a
[INFO] running `Command { std: "docker" "start" "-a" "e2f2631aabd2fbe4bbf17a9322bc25d491d30ba470c57cc77285072aa657610a", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting solana-sysvar v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0277]: the trait bound `solana_clock::Clock: solana_sysvar_id::SysvarId` is not satisfied because the trait comes from a different crate version
[INFO] [stderr]    --> src/clock.rs:133:17
[INFO] [stderr]     |
[INFO] [stderr] 133 | impl Sysvar for Clock {
[INFO] [stderr]     |                 ^^^^^ the trait `solana_sysvar_id::SysvarId` is not implemented for `solana_clock::Clock`
[INFO] [stderr]     |
[INFO] [stderr] help: trait impl with same name found
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-clock-2.1.1/src/sysvar.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | declare_sysvar_id!("SysvarC1ock11111111111111111111111111111111", Clock);
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: perhaps two different versions of crate `solana_sysvar_id` are being used?
[INFO] [stderr] note: there are multiple different versions of crate `solana_sysvar_id` in the dependency graph
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-sysvar-id-0.0.3/src/lib.rs:28:1
[INFO] [stderr]     |
[INFO] [stderr] 28  | pub trait SysvarId {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:97:5
[INFO] [stderr]     |
[INFO] [stderr] 97  |     solana_sysvar_id::SysvarId,
[INFO] [stderr]     |     ---------------- one version of crate `solana_sysvar_id` is used here, as a direct dependency of the current crate
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/clock.rs:128:5
[INFO] [stderr]     |
[INFO] [stderr] 128 |     solana_clock::Clock,
[INFO] [stderr]     |     ------------ one version of crate `solana_sysvar_id` is used here, as a dependency of crate `solana_clock`
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-clock-2.1.1/src/lib.rs:184:1
[INFO] [stderr]     |
[INFO] [stderr] 184 | pub struct Clock {
[INFO] [stderr]     | ---------------- this type doesn't implement the required trait
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-sysvar-id-2.1.1/src/lib.rs:25:1
[INFO] [stderr]     |
[INFO] [stderr] 25  | pub trait SysvarId {
[INFO] [stderr]     | ------------------ this is the found trait
[INFO] [stderr]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr]     = note: this error originates in the macro `declare_sysvar_id` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `solana_epoch_schedule::EpochSchedule: solana_sysvar_id::SysvarId` is not satisfied because the trait comes from a different crate version
[INFO] [stderr]    --> src/epoch_schedule.rs:131:17
[INFO] [stderr]     |
[INFO] [stderr] 131 | impl Sysvar for EpochSchedule {
[INFO] [stderr]     |                 ^^^^^^^^^^^^^ the trait `solana_sysvar_id::SysvarId` is not implemented for `solana_epoch_schedule::EpochSchedule`
[INFO] [stderr]     |
[INFO] [stderr] help: trait impl with same name found
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-epoch-schedule-2.1.1/src/sysvar.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | declare_sysvar_id!("SysvarEpochSchedu1e111111111111111111111111", EpochSchedule);
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: perhaps two different versions of crate `solana_sysvar_id` are being used?
[INFO] [stderr] note: there are multiple different versions of crate `solana_sysvar_id` in the dependency graph
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-sysvar-id-0.0.3/src/lib.rs:28:1
[INFO] [stderr]     |
[INFO] [stderr] 28  | pub trait SysvarId {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:97:5
[INFO] [stderr]     |
[INFO] [stderr] 97  |     solana_sysvar_id::SysvarId,
[INFO] [stderr]     |     ---------------- one version of crate `solana_sysvar_id` is used here, as a direct dependency of the current crate
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/clock.rs:128:5
[INFO] [stderr]     |
[INFO] [stderr] 128 |     solana_clock::Clock,
[INFO] [stderr]     |     ------------ one version of crate `solana_sysvar_id` is used here, as a dependency of crate `solana_clock`
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-epoch-schedule-2.1.1/src/lib.rs:56:1
[INFO] [stderr]     |
[INFO] [stderr] 56  | pub struct EpochSchedule {
[INFO] [stderr]     | ------------------------ this type doesn't implement the required trait
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-sysvar-id-2.1.1/src/lib.rs:25:1
[INFO] [stderr]     |
[INFO] [stderr] 25  | pub trait SysvarId {
[INFO] [stderr]     | ------------------ this is the found trait
[INFO] [stderr]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr]     = note: this error originates in the macro `declare_sysvar_id` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `solana_last_restart_slot::LastRestartSlot: solana_sysvar_id::SysvarId` is not satisfied because the trait comes from a different crate version
[INFO] [stderr]    --> src/last_restart_slot.rs:47:17
[INFO] [stderr]     |
[INFO] [stderr] 47  | impl Sysvar for LastRestartSlot {
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^ the trait `solana_sysvar_id::SysvarId` is not implemented for `solana_last_restart_slot::LastRestartSlot`
[INFO] [stderr]     |
[INFO] [stderr] help: trait impl with same name found
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-last-restart-slot-2.1.1/src/sysvar.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | / declare_sysvar_id!(
[INFO] [stderr] 4   | |     "SysvarLastRestartS1ot1111111111111111111111",
[INFO] [stderr] 5   | |     LastRestartSlot
[INFO] [stderr] 6   | | );
[INFO] [stderr]     | |_^
[INFO] [stderr]     = note: perhaps two different versions of crate `solana_sysvar_id` are being used?
[INFO] [stderr] note: there are multiple different versions of crate `solana_sysvar_id` in the dependency graph
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-sysvar-id-0.0.3/src/lib.rs:28:1
[INFO] [stderr]     |
[INFO] [stderr] 28  | pub trait SysvarId {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:97:5
[INFO] [stderr]     |
[INFO] [stderr] 97  |     solana_sysvar_id::SysvarId,
[INFO] [stderr]     |     ---------------- one version of crate `solana_sysvar_id` is used here, as a direct dependency of the current crate
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/clock.rs:128:5
[INFO] [stderr]     |
[INFO] [stderr] 128 |     solana_clock::Clock,
[INFO] [stderr]     |     ------------ one version of crate `solana_sysvar_id` is used here, as a dependency of crate `solana_clock`
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-last-restart-slot-2.1.1/src/lib.rs:15:1
[INFO] [stderr]     |
[INFO] [stderr] 15  | pub struct LastRestartSlot {
[INFO] [stderr]     | -------------------------- this type doesn't implement the required trait
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-sysvar-id-2.1.1/src/lib.rs:25:1
[INFO] [stderr]     |
[INFO] [stderr] 25  | pub trait SysvarId {
[INFO] [stderr]     | ------------------ this is the found trait
[INFO] [stderr]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr]     = note: this error originates in the macro `declare_sysvar_id` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `solana_rent::Rent: solana_sysvar_id::SysvarId` is not satisfied because the trait comes from a different crate version
[INFO] [stderr]    --> src/rent.rs:133:17
[INFO] [stderr]     |
[INFO] [stderr] 133 | impl Sysvar for Rent {
[INFO] [stderr]     |                 ^^^^ the trait `solana_sysvar_id::SysvarId` is not implemented for `solana_rent::Rent`
[INFO] [stderr]     |
[INFO] [stderr] help: trait impl with same name found
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-rent-2.1.1/src/sysvar.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | declare_sysvar_id!("SysvarRent111111111111111111111111111111111", Rent);
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: perhaps two different versions of crate `solana_sysvar_id` are being used?
[INFO] [stderr] note: there are multiple different versions of crate `solana_sysvar_id` in the dependency graph
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-sysvar-id-0.0.3/src/lib.rs:28:1
[INFO] [stderr]     |
[INFO] [stderr] 28  | pub trait SysvarId {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:97:5
[INFO] [stderr]     |
[INFO] [stderr] 97  |     solana_sysvar_id::SysvarId,
[INFO] [stderr]     |     ---------------- one version of crate `solana_sysvar_id` is used here, as a direct dependency of the current crate
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/clock.rs:128:5
[INFO] [stderr]     |
[INFO] [stderr] 128 |     solana_clock::Clock,
[INFO] [stderr]     |     ------------ one version of crate `solana_sysvar_id` is used here, as a dependency of crate `solana_clock`
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-rent-2.1.1/src/lib.rs:32:1
[INFO] [stderr]     |
[INFO] [stderr] 32  | pub struct Rent {
[INFO] [stderr]     | --------------- this type doesn't implement the required trait
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-sysvar-id-2.1.1/src/lib.rs:25:1
[INFO] [stderr]     |
[INFO] [stderr] 25  | pub trait SysvarId {
[INFO] [stderr]     | ------------------ this is the found trait
[INFO] [stderr]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr]     = note: this error originates in the macro `declare_sysvar_id` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `solana_slot_hashes::SlotHashes: solana_sysvar_id::SysvarId` is not satisfied because the trait comes from a different crate version
[INFO] [stderr]    --> src/slot_hashes.rs:65:17
[INFO] [stderr]     |
[INFO] [stderr] 65  | impl Sysvar for SlotHashes {
[INFO] [stderr]     |                 ^^^^^^^^^^ the trait `solana_sysvar_id::SysvarId` is not implemented for `solana_slot_hashes::SlotHashes`
[INFO] [stderr]     |
[INFO] [stderr] help: trait impl with same name found
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-slot-hashes-2.1.1/src/sysvar.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | declare_sysvar_id!("SysvarS1otHashes111111111111111111111111111", SlotHashes);
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: perhaps two different versions of crate `solana_sysvar_id` are being used?
[INFO] [stderr] note: there are multiple different versions of crate `solana_sysvar_id` in the dependency graph
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-sysvar-id-0.0.3/src/lib.rs:28:1
[INFO] [stderr]     |
[INFO] [stderr] 28  | pub trait SysvarId {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:97:5
[INFO] [stderr]     |
[INFO] [stderr] 97  |     solana_sysvar_id::SysvarId,
[INFO] [stderr]     |     ---------------- one version of crate `solana_sysvar_id` is used here, as a direct dependency of the current crate
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/clock.rs:128:5
[INFO] [stderr]     |
[INFO] [stderr] 128 |     solana_clock::Clock,
[INFO] [stderr]     |     ------------ one version of crate `solana_sysvar_id` is used here, as a dependency of crate `solana_clock`
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-slot-hashes-2.1.1/src/lib.rs:43:1
[INFO] [stderr]     |
[INFO] [stderr] 43  | pub struct SlotHashes(Vec<SlotHash>);
[INFO] [stderr]     | --------------------- this type doesn't implement the required trait
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-sysvar-id-2.1.1/src/lib.rs:25:1
[INFO] [stderr]     |
[INFO] [stderr] 25  | pub trait SysvarId {
[INFO] [stderr]     | ------------------ this is the found trait
[INFO] [stderr]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr]     = note: this error originates in the macro `declare_sysvar_id` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `solana_slot_history::SlotHistory: solana_sysvar_id::SysvarId` is not satisfied because the trait comes from a different crate version
[INFO] [stderr]    --> src/slot_history.rs:61:17
[INFO] [stderr]     |
[INFO] [stderr] 61  | impl Sysvar for SlotHistory {
[INFO] [stderr]     |                 ^^^^^^^^^^^ the trait `solana_sysvar_id::SysvarId` is not implemented for `solana_slot_history::SlotHistory`
[INFO] [stderr]     |
[INFO] [stderr] help: trait impl with same name found
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-slot-history-2.1.1/src/sysvar.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | declare_sysvar_id!("SysvarS1otHistory11111111111111111111111111", SlotHistory);
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: perhaps two different versions of crate `solana_sysvar_id` are being used?
[INFO] [stderr] note: there are multiple different versions of crate `solana_sysvar_id` in the dependency graph
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-sysvar-id-0.0.3/src/lib.rs:28:1
[INFO] [stderr]     |
[INFO] [stderr] 28  | pub trait SysvarId {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:97:5
[INFO] [stderr]     |
[INFO] [stderr] 97  |     solana_sysvar_id::SysvarId,
[INFO] [stderr]     |     ---------------- one version of crate `solana_sysvar_id` is used here, as a direct dependency of the current crate
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/clock.rs:128:5
[INFO] [stderr]     |
[INFO] [stderr] 128 |     solana_clock::Clock,
[INFO] [stderr]     |     ------------ one version of crate `solana_sysvar_id` is used here, as a dependency of crate `solana_clock`
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-slot-history-2.1.1/src/lib.rs:24:1
[INFO] [stderr]     |
[INFO] [stderr] 24  | pub struct SlotHistory {
[INFO] [stderr]     | ---------------------- this type doesn't implement the required trait
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-sysvar-id-2.1.1/src/lib.rs:25:1
[INFO] [stderr]     |
[INFO] [stderr] 25  | pub trait SysvarId {
[INFO] [stderr]     | ------------------ this is the found trait
[INFO] [stderr]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr]     = note: this error originates in the macro `declare_sysvar_id` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not document `solana-sysvar`
[INFO] running `Command { std: "docker" "inspect" "e2f2631aabd2fbe4bbf17a9322bc25d491d30ba470c57cc77285072aa657610a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2f2631aabd2fbe4bbf17a9322bc25d491d30ba470c57cc77285072aa657610a", kill_on_drop: false }`
[INFO] [stdout] e2f2631aabd2fbe4bbf17a9322bc25d491d30ba470c57cc77285072aa657610a