[INFO] fetching crate solana-storage-program 1.0.24... [INFO] checking solana-storage-program-1.0.24 against master#0dce3f606e05cffab7361c132a399d3550ab0df8 for pr-78376 [INFO] extracting crate solana-storage-program 1.0.24 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate solana-storage-program 1.0.24 on toolchain 0dce3f606e05cffab7361c132a399d3550ab0df8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee2cac0baaf88428685449d6c7310b0021352aaa9d20919625dbfb470d7597d2 [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" "ee2cac0baaf88428685449d6c7310b0021352aaa9d20919625dbfb470d7597d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee2cac0baaf88428685449d6c7310b0021352aaa9d20919625dbfb470d7597d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee2cac0baaf88428685449d6c7310b0021352aaa9d20919625dbfb470d7597d2", kill_on_drop: false }` [INFO] [stdout] ee2cac0baaf88428685449d6c7310b0021352aaa9d20919625dbfb470d7597d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15959e81910813dd99f9d951bb1eb440308a9bf8eb0ec3d3cf664086223caa9f [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" "15959e81910813dd99f9d951bb1eb440308a9bf8eb0ec3d3cf664086223caa9f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking ed25519 v1.0.3 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling solana-sdk-macro v1.4.3 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking jobserver v0.1.21 [INFO] [stderr] Checking backtrace v0.3.54 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking cc v1.0.49 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking solana-logger v1.4.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking solana-frozen-abi v1.4.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio v0.2.22 [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 tokio-fs v0.1.7 [INFO] [stderr] Compiling ring v0.16.12 [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] Checking tokio v0.1.22 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Checking solana-program v1.4.3 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking hyper v0.13.8 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.8 [INFO] [stderr] Checking solana-crate-features v1.4.3 [INFO] [stderr] Checking solana-sdk v1.4.3 [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[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[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] 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 `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: 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] 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] For more information about an error, try `rustc --explain E0599`. [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] [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" "15959e81910813dd99f9d951bb1eb440308a9bf8eb0ec3d3cf664086223caa9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15959e81910813dd99f9d951bb1eb440308a9bf8eb0ec3d3cf664086223caa9f", kill_on_drop: false }` [INFO] [stdout] 15959e81910813dd99f9d951bb1eb440308a9bf8eb0ec3d3cf664086223caa9f