[INFO] fetching crate solana-sysvar 3.0.0... [INFO] testing solana-sysvar-3.0.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate solana-sysvar 3.0.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate solana-sysvar 3.0.0 [INFO] finished tweaking crates.io crate solana-sysvar 3.0.0 [INFO] tweaked toml for crates.io crate solana-sysvar 3.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate solana-sysvar 3.0.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate solana-sysvar 3.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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca7fe25926f8129182ae6ebc48eb812b0512846ea14221ab5e840b96626c4ff9 [INFO] running `Command { std: "docker" "start" "-a" "ca7fe25926f8129182ae6ebc48eb812b0512846ea14221ab5e840b96626c4ff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca7fe25926f8129182ae6ebc48eb812b0512846ea14221ab5e840b96626c4ff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca7fe25926f8129182ae6ebc48eb812b0512846ea14221ab5e840b96626c4ff9", kill_on_drop: false }` [INFO] [stdout] ca7fe25926f8129182ae6ebc48eb812b0512846ea14221ab5e840b96626c4ff9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a732925e36246358d6f0c24080e5e44f79eb844925e46f064ecabea776701794 [INFO] running `Command { std: "docker" "start" "-a" "a732925e36246358d6f0c24080e5e44f79eb844925e46f064ecabea776701794", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling five8_core v0.1.1 [INFO] [stderr] Compiling solana-sanitize v3.0.0 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling solana-atomic-u64 v3.0.0 [INFO] [stderr] Compiling solana-program-error v3.0.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling solana-program-memory v3.0.0 [INFO] [stderr] Compiling solana-define-syscall v3.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling solana-msg v3.0.0 [INFO] [stderr] Compiling five8 v0.2.1 [INFO] [stderr] Compiling five8_const v0.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling solana-fee-calculator v3.0.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling solana-instruction-error v2.0.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling solana-sdk-macro v3.0.0 [INFO] [stderr] Compiling solana-hash v3.0.0 [INFO] [stderr] Compiling solana-sha256-hasher v3.0.0 [INFO] [stderr] Compiling solana-address v1.0.0 [INFO] [stderr] Compiling solana-pubkey v3.0.0 [INFO] [stderr] Compiling solana-sdk-ids v3.0.0 [INFO] [stderr] Compiling solana-account-info v3.0.0 [INFO] [stderr] Compiling solana-instruction v3.0.0 [INFO] [stderr] Compiling solana-program-entrypoint v3.0.0 [INFO] [stderr] Compiling solana-sysvar-id v3.0.0 [INFO] [stderr] Compiling solana-epoch-schedule v3.0.0 [INFO] [stderr] Compiling solana-clock v3.0.0 [INFO] [stderr] Compiling solana-slot-hashes v3.0.0 [INFO] [stderr] Compiling solana-epoch-rewards v3.0.0 [INFO] [stderr] Compiling solana-last-restart-slot v3.0.0 [INFO] [stderr] Compiling solana-rent v3.0.0 [INFO] [stderr] Compiling solana-slot-history v3.0.0 [INFO] [stderr] Compiling solana-sysvar v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.58s [INFO] running `Command { std: "docker" "inspect" "a732925e36246358d6f0c24080e5e44f79eb844925e46f064ecabea776701794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a732925e36246358d6f0c24080e5e44f79eb844925e46f064ecabea776701794", kill_on_drop: false }` [INFO] [stdout] a732925e36246358d6f0c24080e5e44f79eb844925e46f064ecabea776701794 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2cef6d6a929297f580ac5fa68f186207aebb89c686d61983d12e100449716a1 [INFO] running `Command { std: "docker" "start" "-a" "d2cef6d6a929297f580ac5fa68f186207aebb89c686d61983d12e100449716a1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [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 test-case-core v3.3.1 [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 test-case v3.3.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling solana-hash v3.0.0 [INFO] [stderr] Compiling serial_test v2.0.0 [INFO] [stderr] Compiling solana-sha256-hasher v3.0.0 [INFO] [stderr] Compiling solana-address v1.0.0 [INFO] [stderr] Compiling solana-pubkey v3.0.0 [INFO] [stderr] Compiling solana-sdk-ids v3.0.0 [INFO] [stderr] Compiling solana-account-info v3.0.0 [INFO] [stderr] Compiling solana-instruction v3.0.0 [INFO] [stderr] Compiling solana-sysvar-id v3.0.0 [INFO] [stderr] Compiling solana-program-entrypoint v3.0.0 [INFO] [stderr] Compiling solana-epoch-schedule v3.0.0 [INFO] [stderr] Compiling solana-rent v3.0.0 [INFO] [stderr] Compiling solana-clock v3.0.0 [INFO] [stderr] Compiling solana-epoch-rewards v3.0.0 [INFO] [stderr] Compiling solana-slot-history v3.0.0 [INFO] [stderr] Compiling solana-last-restart-slot v3.0.0 [INFO] [stderr] Compiling solana-slot-hashes v3.0.0 [INFO] [stderr] Compiling solana-sysvar v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/lib.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | 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:246:10 [INFO] [stdout] | [INFO] [stdout] 246 | 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]: failed to resolve: use of undeclared type `AccountInfo` [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | 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] 220 + use crate::slot_history::AccountInfo; [INFO] [stdout] | [INFO] [stdout] 220 + use solana_account_info::AccountInfo; [INFO] [stdout] | [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: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]: failed to resolve: use of unresolved module or unlinked crate `bincode` [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]: failed to resolve: use of unresolved module or unlinked crate `bincode` [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]: failed to resolve: use of undeclared type `PodSlotHashes` [INFO] [stdout] --> src/slot_hashes.rs:231:31 [INFO] [stdout] | [INFO] [stdout] 231 | 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_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 [INFO] running `Command { std: "docker" "inspect" "d2cef6d6a929297f580ac5fa68f186207aebb89c686d61983d12e100449716a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2cef6d6a929297f580ac5fa68f186207aebb89c686d61983d12e100449716a1", kill_on_drop: false }` [INFO] [stdout] d2cef6d6a929297f580ac5fa68f186207aebb89c686d61983d12e100449716a1