[INFO] fetching crate spherenet-sysvar 0.1.0... [INFO] checking spherenet-sysvar-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate spherenet-sysvar 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate spherenet-sysvar 0.1.0 [INFO] finished tweaking crates.io crate spherenet-sysvar 0.1.0 [INFO] tweaked toml for crates.io crate spherenet-sysvar 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spherenet-sysvar 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spherenet-sysvar 0.1.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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2390a8549e594ef05b3afd4c56e985b4d2c2e299c4660053ba71e86428efea2e [INFO] running `Command { std: "docker" "start" "-a" "2390a8549e594ef05b3afd4c56e985b4d2c2e299c4660053ba71e86428efea2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2390a8549e594ef05b3afd4c56e985b4d2c2e299c4660053ba71e86428efea2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2390a8549e594ef05b3afd4c56e985b4d2c2e299c4660053ba71e86428efea2e", kill_on_drop: false }` [INFO] [stdout] 2390a8549e594ef05b3afd4c56e985b4d2c2e299c4660053ba71e86428efea2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e9501bca62696b62c0e09cb712d3d7a0c7f1a168dedc0b936fca51acac9585c [INFO] running `Command { std: "docker" "start" "-a" "4e9501bca62696b62c0e09cb712d3d7a0c7f1a168dedc0b936fca51acac9585c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking solana-atomic-u64 v2.2.1 [INFO] [stderr] Checking solana-sanitize v2.2.1 [INFO] [stderr] Checking five8_core v0.1.1 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking solana-msg v2.2.1 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Checking five8_const v0.1.3 [INFO] [stderr] Checking solana-fee-calculator v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking solana-decode-error v2.2.1 [INFO] [stderr] Checking solana-program-memory v2.2.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking solana-pubkey v2.2.1 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking solana-sdk-ids v2.2.1 [INFO] [stderr] Checking solana-instruction v2.2.1 [INFO] [stderr] Checking solana-system-interface v1.0.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking solana-program-error v2.2.1 [INFO] [stderr] Checking solana-serialize-utils v2.2.1 [INFO] [stderr] Checking solana-sysvar-id v2.2.1 [INFO] [stderr] Checking solana-slot-history v2.2.1 [INFO] [stderr] Checking solana-account-info v2.2.1 [INFO] [stderr] Checking solana-program-entrypoint v2.2.1 [INFO] [stderr] Checking solana-instructions-sysvar v2.2.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [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 solana-clock v2.2.1 [INFO] [stderr] Checking solana-epoch-schedule v2.2.1 [INFO] [stderr] Checking solana-last-restart-slot v2.2.1 [INFO] [stderr] Checking solana-rent v2.2.1 [INFO] [stderr] Checking solana-stake-interface v1.2.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking solana-hash v2.2.1 [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 spherenet-sysvar v0.1.0 (/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] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 148 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 149 | /// A type that holds sysvar data. [INFO] [stdout] 150 | pub trait Sysvar: [INFO] [stdout] | ^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 95 | use { [INFO] [stdout] 96 | solana_account_info::AccountInfo, solana_program_error::ProgramError, [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:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | 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:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | 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:279:31 [INFO] [stdout] | [INFO] [stdout] 279 | 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:340:34 [INFO] [stdout] | [INFO] [stdout] 340 | 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 `spherenet-sysvar` (lib test) due to 17 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4e9501bca62696b62c0e09cb712d3d7a0c7f1a168dedc0b936fca51acac9585c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e9501bca62696b62c0e09cb712d3d7a0c7f1a168dedc0b936fca51acac9585c", kill_on_drop: false }` [INFO] [stdout] 4e9501bca62696b62c0e09cb712d3d7a0c7f1a168dedc0b936fca51acac9585c