[INFO] fetching crate solana-storage-program 1.0.24... [INFO] checking solana-storage-program-1.0.24 against master#430feb24a46993e5073c1bb1b39da190d83fa2bf for pr-78363 [INFO] extracting crate solana-storage-program 1.0.24 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate solana-storage-program 1.0.24 on toolchain 430feb24a46993e5073c1bb1b39da190d83fa2bf [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "read-manifest" "--manifest-path" "Cargo.toml", 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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "metadata" "--no-deps" "--format-version=1", 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] 21656802ec24e76261add4e9b0f4677f81d3ea11077d313ebf5610ceaacdc2cb [INFO] running `Command { std: "docker" "start" "-a" "21656802ec24e76261add4e9b0f4677f81d3ea11077d313ebf5610ceaacdc2cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21656802ec24e76261add4e9b0f4677f81d3ea11077d313ebf5610ceaacdc2cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21656802ec24e76261add4e9b0f4677f81d3ea11077d313ebf5610ceaacdc2cb", kill_on_drop: false }` [INFO] [stdout] 21656802ec24e76261add4e9b0f4677f81d3ea11077d313ebf5610ceaacdc2cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13b5297fac41a61dfcf4742610b179938b9b2afa4df6e01ef601c4ffcc837ed7 [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" "13b5297fac41a61dfcf4742610b179938b9b2afa4df6e01ef601c4ffcc837ed7", kill_on_drop: false }` [INFO] [stderr] Checking solana-storage-program v1.0.24 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `solana_sdk::clock::DEFAULT_SLOTS_PER_SEGMENT` [INFO] [stdout] --> src/storage_processor.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | clock::DEFAULT_SLOTS_PER_SEGMENT, [INFO] [stdout] | ^^^^^^^------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `DEFAULT_SLOTS_PER_EPOCH` [INFO] [stdout] | no `DEFAULT_SLOTS_PER_SEGMENT` in `clock` [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`, `unused`, `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`, `unused`, `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`, `unused`, `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 `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`, `unused`, `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`, `unused`, `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`, `unused`, `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_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[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: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [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] 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_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[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`, `unused`, `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] [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[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`, `unused`, `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[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`, `unused`, `epoch`, `leader_schedule_epoch`, `unix_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0560, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "13b5297fac41a61dfcf4742610b179938b9b2afa4df6e01ef601c4ffcc837ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13b5297fac41a61dfcf4742610b179938b9b2afa4df6e01ef601c4ffcc837ed7", kill_on_drop: false }` [INFO] [stdout] 13b5297fac41a61dfcf4742610b179938b9b2afa4df6e01ef601c4ffcc837ed7