[INFO] fetching crate solana-storage-program 1.0.24... [INFO] checking solana-storage-program-1.0.24 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate solana-storage-program 1.0.24 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate solana-storage-program 1.0.24 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5ef13affe3ff8f386aa7c5c96182d5a452c2bd9cb9ccc5e33995da0acc68ff0 [INFO] running `Command { std: "docker" "start" "-a" "e5ef13affe3ff8f386aa7c5c96182d5a452c2bd9cb9ccc5e33995da0acc68ff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5ef13affe3ff8f386aa7c5c96182d5a452c2bd9cb9ccc5e33995da0acc68ff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5ef13affe3ff8f386aa7c5c96182d5a452c2bd9cb9ccc5e33995da0acc68ff0", kill_on_drop: false }` [INFO] [stdout] e5ef13affe3ff8f386aa7c5c96182d5a452c2bd9cb9ccc5e33995da0acc68ff0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd6c02fd45c7bf79c81dc0f865e19f106c388e0f1145315fec653a7ba5fc8069 [INFO] running `Command { std: "docker" "start" "-a" "cd6c02fd45c7bf79c81dc0f865e19f106c388e0f1145315fec653a7ba5fc8069", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.8 [INFO] [stderr] Compiling solana-frozen-abi v1.7.8 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling solana-program v1.7.8 [INFO] [stderr] Compiling solana-sdk v1.7.8 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio v1.9.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking cc v1.0.69 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking syn v0.15.44 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking solana-logger v1.7.8 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.7.8 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking futures-util v0.3.16 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking ed25519 v1.2.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Checking derivation-path v0.1.3 [INFO] [stderr] Checking pbkdf2 v0.6.0 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.1.1 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Checking solana-crate-features v1.7.8 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Checking borsh v0.9.1 [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] 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] 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] 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] 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[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[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[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: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: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 `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:60 [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:60 [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::instruction::Instruction::new`: Please use another Instruction constructor instead, such as `Instruction::new_with_bincode` [INFO] [stdout] --> src/storage_instruction.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | Instruction::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::instruction::Instruction::new`: Please use another Instruction constructor instead, such as `Instruction::new_with_bincode` [INFO] [stdout] --> src/storage_instruction.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | Instruction::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::instruction::Instruction::new`: Please use another Instruction constructor instead, such as `Instruction::new_with_bincode` [INFO] [stdout] --> src/storage_instruction.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | Instruction::new(id(), &storage_instruction, account_metas) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::instruction::Instruction::new`: Please use another Instruction constructor instead, such as `Instruction::new_with_bincode` [INFO] [stdout] --> src/storage_instruction.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | Instruction::new(id(), &storage_instruction, account_metas) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::instruction::Instruction::new`: Please use another Instruction constructor instead, such as `Instruction::new_with_bincode` [INFO] [stdout] --> src/storage_instruction.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | Instruction::new(id(), &storage_instruction, account_metas) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::instruction::Instruction::new`: Please use another Instruction constructor instead, such as `Instruction::new_with_bincode` [INFO] [stdout] --> src/storage_instruction.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | Instruction::new(id(), &storage_instruction, account_metas) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::instruction::Instruction::new`: Please use another Instruction constructor instead, such as `Instruction::new_with_bincode` [INFO] [stdout] --> src/storage_instruction.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | Instruction::new(id(), &storage_instruction, account_metas) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::instruction::Instruction::new`: Please use another Instruction constructor instead, such as `Instruction::new_with_bincode` [INFO] [stdout] --> src/storage_instruction.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | Instruction::new(id(), &storage_instruction, account_metas) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::instruction::Instruction::new`: Please use another Instruction constructor instead, such as `Instruction::new_with_bincode` [INFO] [stdout] --> src/storage_instruction.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | Instruction::new(id(), &storage_instruction, account_metas) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_sdk::instruction::Instruction::new`: Please use another Instruction constructor instead, such as `Instruction::new_with_bincode` [INFO] [stdout] --> src/storage_instruction.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | Instruction::new(id(), &storage_instruction, account_metas) [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: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 `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: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: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[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:37 [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:30 [INFO] [stdout] | [INFO] [stdout] 153 | 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: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:30 [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:30 [INFO] [stdout] | [INFO] [stdout] 196 | 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: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:30 [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:30 [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:37 [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:30 [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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:8:1 [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] 12 | | ); [INFO] [stdout] | |__^ expected slice `[u8]`, found trait object `dyn InvokeContext` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut dyn InvokeContext` [INFO] [stdout] = note: this error originates in the macro `solana_sdk::declare_program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0560, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `solana-storage-program` due to 26 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:8:1 [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] 12 | | ); [INFO] [stdout] | |__^ expected slice `[u8]`, found trait object `dyn InvokeContext` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut dyn InvokeContext` [INFO] [stdout] = note: this error originates in the macro `solana_sdk::declare_program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cd6c02fd45c7bf79c81dc0f865e19f106c388e0f1145315fec653a7ba5fc8069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd6c02fd45c7bf79c81dc0f865e19f106c388e0f1145315fec653a7ba5fc8069", kill_on_drop: false }` [INFO] [stdout] cd6c02fd45c7bf79c81dc0f865e19f106c388e0f1145315fec653a7ba5fc8069