[INFO] fetching crate solana-sysvar 4.0.0... [INFO] testing solana-sysvar-4.0.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate solana-sysvar 4.0.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate solana-sysvar 4.0.0 [INFO] finished tweaking crates.io crate solana-sysvar 4.0.0 [INFO] tweaked toml for crates.io crate solana-sysvar 4.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate solana-sysvar 4.0.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate solana-sysvar 4.0.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2311b2644a25db621a8e7f7d3c1daf8eb451ec176292a88e0865dfbf3c1524e7 [INFO] running `Command { std: "docker" "start" "-a" "2311b2644a25db621a8e7f7d3c1daf8eb451ec176292a88e0865dfbf3c1524e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2311b2644a25db621a8e7f7d3c1daf8eb451ec176292a88e0865dfbf3c1524e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2311b2644a25db621a8e7f7d3c1daf8eb451ec176292a88e0865dfbf3c1524e7", kill_on_drop: false }` [INFO] [stdout] 2311b2644a25db621a8e7f7d3c1daf8eb451ec176292a88e0865dfbf3c1524e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a5ba77984ae84f6a17894bffe075c259c6d81a998f5a7aeaf91cc7fce2db4a5 [INFO] running `Command { std: "docker" "start" "-a" "9a5ba77984ae84f6a17894bffe075c259c6d81a998f5a7aeaf91cc7fce2db4a5", kill_on_drop: false }` [INFO] [stderr] Compiling solana-program-error v3.0.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling solana-atomic-u64 v3.0.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling solana-program-memory v3.1.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling solana-define-syscall v4.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling solana-address v2.1.0 [INFO] [stderr] Compiling solana-instruction-error v2.1.0 [INFO] [stderr] Compiling solana-fee-calculator v3.0.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling solana-sdk-ids v3.1.0 [INFO] [stderr] Compiling solana-pubkey v4.0.0 [INFO] [stderr] Compiling solana-account-info v3.1.0 [INFO] [stderr] Compiling solana-instruction v3.1.0 [INFO] [stderr] Compiling solana-program-entrypoint v3.1.1 [INFO] [stderr] Compiling solana-sysvar-id v3.1.0 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling solana-slot-history v3.0.0 [INFO] [stderr] Compiling solana-sdk-macro v3.0.0 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling solana-epoch-schedule v3.0.0 [INFO] [stderr] Compiling solana-rent v4.0.0 [INFO] [stderr] Compiling solana-clock v3.0.0 [INFO] [stderr] Compiling solana-last-restart-slot v3.0.0 [INFO] [stderr] Compiling solana-hash v4.1.0 [INFO] [stderr] Compiling solana-hash v3.1.0 [INFO] [stderr] Compiling solana-slot-hashes v3.0.0 [INFO] [stderr] Compiling solana-epoch-rewards v3.0.0 [INFO] [stderr] Compiling solana-sysvar v4.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.98s [INFO] running `Command { std: "docker" "inspect" "9a5ba77984ae84f6a17894bffe075c259c6d81a998f5a7aeaf91cc7fce2db4a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a5ba77984ae84f6a17894bffe075c259c6d81a998f5a7aeaf91cc7fce2db4a5", kill_on_drop: false }` [INFO] [stdout] 9a5ba77984ae84f6a17894bffe075c259c6d81a998f5a7aeaf91cc7fce2db4a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c6952ec5cb7a65c5ffcd730272b3f80cfea02832197808ca4516d04f1c0c74b [INFO] running `Command { std: "docker" "start" "-a" "8c6952ec5cb7a65c5ffcd730272b3f80cfea02832197808ca4516d04f1c0c74b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling solana-msg v3.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling solana-sdk-macro v3.0.0 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling serial_test v2.0.0 [INFO] [stderr] Compiling solana-clock v3.0.0 [INFO] [stderr] Compiling solana-last-restart-slot v3.0.0 [INFO] [stderr] Compiling solana-epoch-schedule v3.0.0 [INFO] [stderr] Compiling solana-rent v4.0.0 [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling solana-hash v4.1.0 [INFO] [stderr] Compiling solana-hash v3.1.0 [INFO] [stderr] Compiling solana-sha256-hasher v3.1.0 [INFO] [stderr] Compiling solana-slot-hashes v3.0.0 [INFO] [stderr] Compiling solana-epoch-rewards v3.0.0 [INFO] [stderr] Compiling solana-sysvar v4.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/lib.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | 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 `SysvarSerialize` in this scope [INFO] [stdout] --> src/lib.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | impl SysvarSerialize for TestSysvar {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 129 | /// A type that holds sysvar data. [INFO] [stdout] 130 | pub trait SysvarSerialize: [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/lib.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | AccountInfo::new(&key, false, true, &mut lamports, &mut data, &owner, false); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountInfo` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 87 | use {solana_account_info::AccountInfo, solana_sysvar_id::SysvarId}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 281 + use crate::slot_history::AccountInfo; [INFO] [stdout] | [INFO] [stdout] 281 + use solana_account_info::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `crate::Sysvar`, `serial_test::serial`, and `super::*` [INFO] [stdout] --> src/epoch_rewards.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 178 | use {super::*, crate::Sysvar, serial_test::serial}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `crate::Sysvar` and `serial_test::serial` [INFO] [stdout] --> src/epoch_schedule.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | use {super::*, crate::Sysvar, serial_test::serial}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `crate::Sysvar`, `serial_test::serial`, and `super::*` [INFO] [stdout] --> src/rent.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | use {super::*, crate::Sysvar, serial_test::serial}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `bincode` in this scope [INFO] [stdout] --> src/recent_blockhashes.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | 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]: cannot find module or crate `bincode` in this scope [INFO] [stdout] --> src/slot_hashes.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | 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]: cannot find module or crate `bincode` in this scope [INFO] [stdout] --> src/slot_hashes.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | 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]: cannot find type `PodSlotHashes` in this scope [INFO] [stdout] --> src/slot_hashes.rs:231:31 [INFO] [stdout] | [INFO] [stdout] 231 | let pod_slot_hashes = PodSlotHashes::fetch().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PodSlotHashes` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 231 - let pod_slot_hashes = PodSlotHashes::fetch().unwrap(); [INFO] [stdout] 231 + let pod_slot_hashes = PodSlotHash::fetch().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `bincode` in this scope [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] 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 8 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8c6952ec5cb7a65c5ffcd730272b3f80cfea02832197808ca4516d04f1c0c74b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c6952ec5cb7a65c5ffcd730272b3f80cfea02832197808ca4516d04f1c0c74b", kill_on_drop: false }` [INFO] [stdout] 8c6952ec5cb7a65c5ffcd730272b3f80cfea02832197808ca4516d04f1c0c74b