[INFO] fetching crate solana-sysvar 2.2.2... [INFO] checking solana-sysvar-2.2.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate solana-sysvar 2.2.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate solana-sysvar 2.2.2 [INFO] finished tweaking crates.io crate solana-sysvar 2.2.2 [INFO] tweaked toml for crates.io crate solana-sysvar 2.2.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate solana-sysvar 2.2.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate solana-sysvar 2.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-frozen-abi-macro v2.2.1 [INFO] [stderr] Downloaded solana-frozen-abi v2.2.2 [INFO] [stderr] Downloaded serial_test v2.0.0 [INFO] [stderr] Downloaded serial_test_derive v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87ecde97b0f43f9840482c0b9c3f5d092cf86d7ee83ff6f955e28f7eaba05c2c [INFO] running `Command { std: "docker" "start" "-a" "87ecde97b0f43f9840482c0b9c3f5d092cf86d7ee83ff6f955e28f7eaba05c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87ecde97b0f43f9840482c0b9c3f5d092cf86d7ee83ff6f955e28f7eaba05c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87ecde97b0f43f9840482c0b9c3f5d092cf86d7ee83ff6f955e28f7eaba05c2c", kill_on_drop: false }` [INFO] [stdout] 87ecde97b0f43f9840482c0b9c3f5d092cf86d7ee83ff6f955e28f7eaba05c2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0819d01520d52016d1fb11e61c98a72d0b14221a94bcfa147874a0862540c2d5 [INFO] running `Command { std: "docker" "start" "-a" "0819d01520d52016d1fb11e61c98a72d0b14221a94bcfa147874a0862540c2d5", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking five8_core v0.1.1 [INFO] [stderr] Checking solana-sanitize v2.2.1 [INFO] [stderr] Checking solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking solana-msg v2.2.1 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking five8 v0.2.1 [INFO] [stderr] Checking five8_const v0.1.3 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking solana-fee-calculator v2.2.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking solana-decode-error v2.3.0 [INFO] [stderr] Checking solana-program-memory v2.2.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking solana-pubkey v2.4.0 [INFO] [stderr] Checking solana-sdk-ids v2.2.1 [INFO] [stderr] Checking solana-instruction v2.3.0 [INFO] [stderr] Checking solana-system-interface v1.0.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking solana-program-error v2.2.2 [INFO] [stderr] Checking solana-serialize-utils v2.2.1 [INFO] [stderr] Checking solana-sysvar-id v2.2.1 [INFO] [stderr] Checking solana-account-info v2.2.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking solana-slot-history v2.2.1 [INFO] [stderr] Checking solana-instructions-sysvar v2.2.2 [INFO] [stderr] Checking solana-program-entrypoint v2.2.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking solana-clock v2.2.2 [INFO] [stderr] Checking solana-rent v2.2.1 [INFO] [stderr] Checking solana-last-restart-slot v2.2.1 [INFO] [stderr] Checking solana-epoch-schedule v2.2.1 [INFO] [stderr] Checking solana-stake-interface v1.2.1 [INFO] [stderr] Checking solana-hash v2.3.0 [INFO] [stderr] Checking solana-slot-hashes v2.2.1 [INFO] [stderr] Checking solana-epoch-rewards v2.2.1 [INFO] [stderr] Checking solana-sha256-hasher v2.2.1 [INFO] [stderr] Checking solana-sysvar v2.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/lib.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | serde_derive::{Deserialize, Serialize}, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_derive`, use `cargo add serde_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Sysvar` in this scope [INFO] [stdout] --> src/lib.rs:274:10 [INFO] [stdout] | [INFO] [stdout] 274 | impl Sysvar for TestSysvar {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountInfo` [INFO] [stdout] --> src/lib.rs:308:32 [INFO] [stdout] | [INFO] [stdout] 308 | let mut account_info = AccountInfo::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountInfo` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 248 + use crate::slot_history::AccountInfo; [INFO] [stdout] | [INFO] [stdout] 248 + use solana_account_info::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | super::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/recent_blockhashes.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | bincode::serialized_size(&RecentBlockhashes(vec![entry; MAX_ENTRIES])).unwrap() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/slot_hashes.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | bincode::serialized_size( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/slot_hashes.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | bincode::serialize_into(&mut data[..], slot_hashes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PodSlotHashes` [INFO] [stdout] --> src/slot_hashes.rs:281:31 [INFO] [stdout] | [INFO] [stdout] 281 | let pod_slot_hashes = PodSlotHashes::fetch().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PodSlotHashes` [INFO] [stdout] | help: a struct with a similar name exists: `PodSlotHash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/slot_hashes.rs:342:34 [INFO] [stdout] | [INFO] [stdout] 342 | mock_get_sysvar_syscall(&bincode::serialize(&check_slot_hashes).unwrap()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/slot_history.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | bincode::serialized_size(&SlotHistory::default()).unwrap() as usize [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/stake_history.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | bincode::serialized_size(&stake_history).unwrap() as usize, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/stake_history.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | bincode::deserialize(&bincode::serialize(&stake_history).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/stake_history.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | bincode::deserialize(&bincode::serialize(&stake_history).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/stake_history.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | bincode::serialized_size(&epoch_entry).unwrap(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/stake_history.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | mock_get_sysvar_syscall(&bincode::serialize(&stake_history).unwrap()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/stake_history.rs:220:34 [INFO] [stdout] | [INFO] [stdout] 220 | mock_get_sysvar_syscall(&bincode::serialize(&stake_history).unwrap()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/stake_history.rs:239:34 [INFO] [stdout] | [INFO] [stdout] 239 | mock_get_sysvar_syscall(&bincode::serialize(&stake_history).unwrap()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/stake_history.rs:251:34 [INFO] [stdout] | [INFO] [stdout] 251 | mock_get_sysvar_syscall(&bincode::serialize(&stake_history).unwrap()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `solana-sysvar` (lib test) due to 17 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0819d01520d52016d1fb11e61c98a72d0b14221a94bcfa147874a0862540c2d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0819d01520d52016d1fb11e61c98a72d0b14221a94bcfa147874a0862540c2d5", kill_on_drop: false }` [INFO] [stdout] 0819d01520d52016d1fb11e61c98a72d0b14221a94bcfa147874a0862540c2d5