[INFO] fetching crate clone-solana-sysvar 2.2.1... [INFO] checking clone-solana-sysvar-2.2.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate clone-solana-sysvar 2.2.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate clone-solana-sysvar 2.2.1 [INFO] finished tweaking crates.io crate clone-solana-sysvar 2.2.1 [INFO] tweaked toml for crates.io crate clone-solana-sysvar 2.2.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate clone-solana-sysvar 2.2.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate clone-solana-sysvar 2.2.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test_derive v2.0.0 [INFO] [stderr] Downloaded serial_test v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23d2a3b0d9c5bccfdd50e2d9a41fad00a140fc1d47eea6f3bd4d643074696bff [INFO] running `Command { std: "docker" "start" "-a" "23d2a3b0d9c5bccfdd50e2d9a41fad00a140fc1d47eea6f3bd4d643074696bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23d2a3b0d9c5bccfdd50e2d9a41fad00a140fc1d47eea6f3bd4d643074696bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23d2a3b0d9c5bccfdd50e2d9a41fad00a140fc1d47eea6f3bd4d643074696bff", kill_on_drop: false }` [INFO] [stdout] 23d2a3b0d9c5bccfdd50e2d9a41fad00a140fc1d47eea6f3bd4d643074696bff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b44fb118c3ba989ae3b3577696d5a6fae8a769d79c202578d6e54a55c6a3c767 [INFO] running `Command { std: "docker" "start" "-a" "b44fb118c3ba989ae3b3577696d5a6fae8a769d79c202578d6e54a55c6a3c767", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking clone-solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking clone-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 version_check v0.9.5 [INFO] [stderr] Checking clone-solana-msg v2.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking five8_const v0.1.3 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking clone-solana-program-memory v2.2.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking clone-solana-fee-calculator v2.2.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking clone-solana-decode-error v2.2.1 [INFO] [stderr] Checking clone-solana-pubkey v2.2.1 [INFO] [stderr] Checking clone-solana-sdk-ids v2.2.1 [INFO] [stderr] Checking clone-solana-instruction v2.2.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking clone-solana-sysvar-id v2.2.1 [INFO] [stderr] Checking clone-solana-slot-history v2.2.1 [INFO] [stderr] Checking clone-solana-program-error v2.2.1 [INFO] [stderr] Checking clone-solana-serialize-utils v2.2.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking clone-solana-account-info v2.2.1 [INFO] [stderr] Checking clone-solana-system-interface v1.0.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking clone-solana-program-entrypoint v2.2.1 [INFO] [stderr] Checking clone-solana-instructions-sysvar 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 clone-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] Checking serial_test v2.0.0 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking clone-solana-clock v2.2.1 [INFO] [stderr] Checking clone-solana-last-restart-slot v2.2.1 [INFO] [stderr] Checking clone-solana-rent v2.2.1 [INFO] [stderr] Checking clone-solana-epoch-schedule v2.2.1 [INFO] [stderr] Checking clone-solana-stake-interface v1.2.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking clone-solana-hash v2.2.1 [INFO] [stderr] Checking clone-solana-epoch-rewards v2.2.1 [INFO] [stderr] Checking clone-solana-slot-hashes v2.2.1 [INFO] [stderr] Checking clone-solana-sha256-hasher v2.2.1 [INFO] [stderr] Checking clone-solana-sysvar v2.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/lib.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | 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:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | 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:310:32 [INFO] [stdout] | [INFO] [stdout] 310 | 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:32 [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 | clone_solana_account_info::AccountInfo, clone_solana_program_error::ProgramError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 250 + use crate::slot_history::AccountInfo; [INFO] [stdout] | [INFO] [stdout] 250 + use clone_solana_account_info::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | 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:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | 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:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | 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:285:31 [INFO] [stdout] | [INFO] [stdout] 285 | 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:346:34 [INFO] [stdout] | [INFO] [stdout] 346 | 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 `clone-solana-sysvar` (lib test) due to 17 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b44fb118c3ba989ae3b3577696d5a6fae8a769d79c202578d6e54a55c6a3c767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b44fb118c3ba989ae3b3577696d5a6fae8a769d79c202578d6e54a55c6a3c767", kill_on_drop: false }` [INFO] [stdout] b44fb118c3ba989ae3b3577696d5a6fae8a769d79c202578d6e54a55c6a3c767