[INFO] fetching crate solana-storage-program 1.0.24... [INFO] checking solana-storage-program-1.0.24 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate solana-storage-program 1.0.24 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate solana-storage-program 1.0.24 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate solana-storage-program 1.0.24 [INFO] finished tweaking crates.io crate solana-storage-program 1.0.24 [INFO] tweaked toml for crates.io crate solana-storage-program 1.0.24 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 585f0784e3f5cec6015cbd8acb98842db57d056ef8f0a9763b0af3acdb9d1fec [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" "585f0784e3f5cec6015cbd8acb98842db57d056ef8f0a9763b0af3acdb9d1fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "585f0784e3f5cec6015cbd8acb98842db57d056ef8f0a9763b0af3acdb9d1fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "585f0784e3f5cec6015cbd8acb98842db57d056ef8f0a9763b0af3acdb9d1fec", kill_on_drop: false }` [INFO] [stdout] 585f0784e3f5cec6015cbd8acb98842db57d056ef8f0a9763b0af3acdb9d1fec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c712a4c14be6812f8bdbad0eb593e4a5cde5ae9de772d1daeee3439d8c819e05 [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" "c712a4c14be6812f8bdbad0eb593e4a5cde5ae9de772d1daeee3439d8c819e05", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking signature v1.3.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.5.14 [INFO] [stderr] Compiling solana-frozen-abi v1.5.14 [INFO] [stderr] Compiling solana-program v1.5.14 [INFO] [stderr] Compiling solana-sdk v1.5.14 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking syn v1.0.63 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking solana-logger v1.5.14 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling solana-sdk-macro v1.5.14 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking ed25519 v1.0.3 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking pbkdf2 v0.6.0 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Checking borsh v0.8.2 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking solana-crate-features v1.5.14 [INFO] [stderr] Checking solana-storage-program v1.0.24 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `solana_sdk::account::KeyedAccount` [INFO] [stdout] --> src/storage_contract.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | account::{Account, KeyedAccount}, [INFO] [stdout] | ^^^^^^^^^^^^ no `KeyedAccount` in `account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_sdk::account::KeyedAccount` [INFO] [stdout] --> src/storage_processor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | account::KeyedAccount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `KeyedAccount` in `account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sysvar` [INFO] [stdout] --> src/storage_processor.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | sysvar::{clock::Clock, rewards::Rewards, Sysvar}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_sdk::account::KeyedAccount` [INFO] [stdout] --> src/storage_contract.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | account::{Account, KeyedAccount}, [INFO] [stdout] | ^^^^^^^^^^^^ no `KeyedAccount` in `account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_sdk::account::KeyedAccount` [INFO] [stdout] --> src/storage_processor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | account::KeyedAccount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `KeyedAccount` in `account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `solana_sdk::account::create_keyed_accounts`, `solana_sdk::account::KeyedAccount`, `solana_sdk::clock::DEFAULT_SLOTS_PER_SEGMENT` [INFO] [stdout] --> src/storage_processor.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | account::{create_keyed_accounts, Account, KeyedAccount}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ no `KeyedAccount` in `account` [INFO] [stdout] | | [INFO] [stdout] | no `create_keyed_accounts` in `account` [INFO] [stdout] 117 | clock::DEFAULT_SLOTS_PER_SEGMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DEFAULT_SLOTS_PER_SEGMENT` in `clock` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 116 | account::{create_account, Account, KeyedAccount}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 117 | clock::DEFAULT_SLOTS_PER_EPOCH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sysvar` [INFO] [stdout] --> src/storage_processor.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | sysvar::{clock::Clock, rewards::Rewards, Sysvar}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sysvar` [INFO] [stdout] --> src/storage_processor.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | Sysvar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_rewards_pool` found for mutable reference `&mut GenesisConfig` in the current scope [INFO] [stdout] --> src/rewards_pools.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | genesis_config.add_rewards_pool(pubkey, create_rewards_pool()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut GenesisConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_rewards_pool` found for mutable reference `&mut solana_sdk::genesis_config::GenesisConfig` in the current scope [INFO] [stdout] --> src/rewards_pools.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | genesis_config.add_rewards_pool(pubkey, create_rewards_pool()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut solana_sdk::genesis_config::GenesisConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `segment` on type `Clock` [INFO] [stdout] --> src/storage_contract.rs:180:41 [INFO] [stdout] | [INFO] [stdout] 180 | let current_segment = clock.segment; [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `slot`, `epoch_start_timestamp`, `epoch`, `leader_schedule_epoch`, `unix_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `segment` on type `Clock` [INFO] [stdout] --> src/storage_contract.rs:180:41 [INFO] [stdout] | [INFO] [stdout] 180 | let current_segment = clock.segment; [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `slot`, `epoch_start_timestamp`, `epoch`, `leader_schedule_epoch`, `unix_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `segment` on type `Clock` [INFO] [stdout] --> src/storage_contract.rs:256:73 [INFO] [stdout] | [INFO] [stdout] 256 | debug!("advertise new segment: {} orig: {}", segment, clock.segment); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `slot`, `epoch_start_timestamp`, `epoch`, `leader_schedule_epoch`, `unix_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `segment` on type `Clock` [INFO] [stdout] --> src/storage_contract.rs:256:73 [INFO] [stdout] | [INFO] [stdout] 256 | debug!("advertise new segment: {} orig: {}", segment, clock.segment); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `slot`, `epoch_start_timestamp`, `epoch`, `leader_schedule_epoch`, `unix_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `segment` on type `Clock` [INFO] [stdout] --> src/storage_contract.rs:257:60 [INFO] [stdout] | [INFO] [stdout] 257 | if segment < *state_segment || segment > clock.segment { [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `slot`, `epoch_start_timestamp`, `epoch`, `leader_schedule_epoch`, `unix_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `segment` on type `Clock` [INFO] [stdout] --> src/storage_contract.rs:257:60 [INFO] [stdout] | [INFO] [stdout] 257 | if segment < *state_segment || segment > clock.segment { [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `slot`, `epoch_start_timestamp`, `epoch`, `leader_schedule_epoch`, `unix_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `storage_point_value` on type `Rewards` [INFO] [stdout] --> src/storage_contract.rs:387:47 [INFO] [stdout] | [INFO] [stdout] 387 | check_redeemable(credits, rewards.storage_point_value, rewards_pool, owner)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `validator_point_value`, `unused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `storage_point_value` on type `Rewards` [INFO] [stdout] --> src/storage_contract.rs:404:47 [INFO] [stdout] | [INFO] [stdout] 404 | check_redeemable(credits, rewards.storage_point_value, rewards_pool, owner)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `validator_point_value`, `unused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `storage_point_value` on type `Rewards` [INFO] [stdout] --> src/storage_contract.rs:387:47 [INFO] [stdout] | [INFO] [stdout] 387 | check_redeemable(credits, rewards.storage_point_value, rewards_pool, owner)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `validator_point_value`, `unused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `storage_point_value` on type `Rewards` [INFO] [stdout] --> src/storage_contract.rs:404:47 [INFO] [stdout] | [INFO] [stdout] 404 | check_redeemable(credits, rewards.storage_point_value, rewards_pool, owner)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `validator_point_value`, `unused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::pubkey::Pubkey::new_rand`: Please use 'Pubkey::new_unique' instead [INFO] [stdout] --> src/storage_instruction.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | bincode::serialized_size(&AccountMeta::new(Pubkey::new_rand(), false)).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::pubkey::Pubkey::new_rand`: Please use 'Pubkey::new_unique' instead [INFO] [stdout] --> src/storage_instruction.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | bincode::serialized_size(&AccountMeta::new(Pubkey::new_rand(), false)).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_keyed_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | let clock = Clock::from_keyed_account(&rest[0])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_keyed_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | let clock = Clock::from_keyed_account(&rest[0])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_keyed_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | let clock = Clock::from_keyed_account(&rest[0])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_keyed_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | let clock = Clock::from_keyed_account(&rest[0])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_keyed_account` found for struct `Rewards` in the current scope [INFO] [stdout] --> src/storage_processor.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | let rewards = Rewards::from_keyed_account(&rewards[0])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Rewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_keyed_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | let clock = Clock::from_keyed_account(&clock[0])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_keyed_account` found for struct `Rewards` in the current scope [INFO] [stdout] --> src/storage_processor.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | let rewards = Rewards::from_keyed_account(&rewards[0])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Rewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_keyed_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | let clock = Clock::from_keyed_account(&clock[0])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_keyed_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | let clock = Clock::from_keyed_account(&clock[0])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::pubkey::Pubkey::new_rand`: Please use 'Pubkey::new_unique' instead [INFO] [stdout] --> src/storage_processor.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | let account_owner = Pubkey::new_rand(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::pubkey::Pubkey::new_rand`: Please use 'Pubkey::new_unique' instead [INFO] [stdout] --> src/storage_processor.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | let pubkey = Pubkey::new_rand(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_keyed_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | let clock = Clock::from_keyed_account(&clock[0])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | / solana_sdk::declare_program!( [INFO] [stdout] 9 | | "Storage111111111111111111111111111111111111", [INFO] [stdout] 10 | | solana_storage_program, [INFO] [stdout] 11 | | process_instruction [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ expected 3 arguments [INFO] [stdout] 12 | | ); [INFO] [stdout] | | - [INFO] [stdout] | |__| [INFO] [stdout] | supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/storage_processor.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn process_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | _program_id: &Pubkey, [INFO] [stdout] | -------------------- [INFO] [stdout] 15 | keyed_accounts: &[KeyedAccount], [INFO] [stdout] | ------------------------------- [INFO] [stdout] 16 | data: &[u8], [INFO] [stdout] | ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:173:50 [INFO] [stdout] | [INFO] [stdout] 173 | let mut clock_account = Clock::default().create_account(1); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `to_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | Clock::to_account( [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Clock` has no field named `segment` [INFO] [stdout] --> src/storage_processor.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | segment: 2, [INFO] [stdout] | ^^^^^^^ `Clock` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `slot`, `epoch_start_timestamp`, `epoch`, `leader_schedule_epoch`, `unix_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::pubkey::Pubkey::new_rand`: Please use 'Pubkey::new_unique' instead [INFO] [stdout] --> src/storage_processor.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | let pubkey = Pubkey::new_rand(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::pubkey::Pubkey::new_rand`: Please use 'Pubkey::new_unique' instead [INFO] [stdout] --> src/storage_processor.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 196 | let pubkey = Pubkey::new_rand(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `solana-storage-program` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `create_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:200:59 [INFO] [stdout] | [INFO] [stdout] 200 | let clock_account = RefCell::new(Clock::default().create_account(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::pubkey::Pubkey::new_rand`: Please use 'Pubkey::new_unique' instead [INFO] [stdout] --> src/storage_processor.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | let pubkey = Pubkey::new_rand(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:225:50 [INFO] [stdout] | [INFO] [stdout] 225 | let mut clock_account = Clock::default().create_account(1); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `to_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:226:16 [INFO] [stdout] | [INFO] [stdout] 226 | Clock::to_account( [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Clock` has no field named `segment` [INFO] [stdout] --> src/storage_processor.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | segment: 1, [INFO] [stdout] | ^^^^^^^ `Clock` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `slot`, `epoch_start_timestamp`, `epoch`, `leader_schedule_epoch`, `unix_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::pubkey::Pubkey::new_rand`: Please use 'Pubkey::new_unique' instead [INFO] [stdout] --> src/storage_processor.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | let pubkey = Pubkey::new_rand(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::pubkey::Pubkey::new_rand`: Please use 'Pubkey::new_unique' instead [INFO] [stdout] --> src/storage_processor.rs:265:29 [INFO] [stdout] | [INFO] [stdout] 265 | let account_owner = Pubkey::new_rand(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::pubkey::Pubkey::new_rand`: Please use 'Pubkey::new_unique' instead [INFO] [stdout] --> src/storage_processor.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | let pubkey = Pubkey::new_rand(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:284:50 [INFO] [stdout] | [INFO] [stdout] 284 | let mut clock_account = Clock::default().create_account(1); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `to_account` found for struct `Clock` in the current scope [INFO] [stdout] --> src/storage_processor.rs:285:16 [INFO] [stdout] | [INFO] [stdout] 285 | Clock::to_account( [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Clock` has no field named `segment` [INFO] [stdout] --> src/storage_processor.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | segment: 1, [INFO] [stdout] | ^^^^^^^ `Clock` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `slot`, `epoch_start_timestamp`, `epoch`, `leader_schedule_epoch`, `unix_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | / solana_sdk::declare_program!( [INFO] [stdout] 9 | | "Storage111111111111111111111111111111111111", [INFO] [stdout] 10 | | solana_storage_program, [INFO] [stdout] 11 | | process_instruction [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ expected 3 arguments [INFO] [stdout] 12 | | ); [INFO] [stdout] | | - [INFO] [stdout] | |__| [INFO] [stdout] | supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/storage_processor.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn process_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | _program_id: &Pubkey, [INFO] [stdout] | -------------------- [INFO] [stdout] 15 | keyed_accounts: &[KeyedAccount], [INFO] [stdout] | ------------------------------- [INFO] [stdout] 16 | data: &[u8], [INFO] [stdout] | ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0560, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c712a4c14be6812f8bdbad0eb593e4a5cde5ae9de772d1daeee3439d8c819e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c712a4c14be6812f8bdbad0eb593e4a5cde5ae9de772d1daeee3439d8c819e05", kill_on_drop: false }` [INFO] [stdout] c712a4c14be6812f8bdbad0eb593e4a5cde5ae9de772d1daeee3439d8c819e05