[INFO] fetching crate solana-feature-gate-interface 4.0.0... [INFO] testing solana-feature-gate-interface-4.0.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate solana-feature-gate-interface 4.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate solana-feature-gate-interface 4.0.0 [INFO] finished tweaking crates.io crate solana-feature-gate-interface 4.0.0 [INFO] tweaked toml for crates.io crate solana-feature-gate-interface 4.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate solana-feature-gate-interface 4.0.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate solana-feature-gate-interface 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-rent v4.0.0 [INFO] [stderr] Downloaded solana-account v4.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcee8b5d25c7cf20779faaaea72a82bbf103e130cff524ce4be7999dee35f88e [INFO] running `Command { std: "docker" "start" "-a" "dcee8b5d25c7cf20779faaaea72a82bbf103e130cff524ce4be7999dee35f88e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcee8b5d25c7cf20779faaaea72a82bbf103e130cff524ce4be7999dee35f88e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcee8b5d25c7cf20779faaaea72a82bbf103e130cff524ce4be7999dee35f88e", kill_on_drop: false }` [INFO] [stdout] dcee8b5d25c7cf20779faaaea72a82bbf103e130cff524ce4be7999dee35f88e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 636f2553fdd24694433c131fb80032052b601ae0c84468e88195287047c6c438 [INFO] running `Command { std: "docker" "start" "-a" "636f2553fdd24694433c131fb80032052b601ae0c84468e88195287047c6c438", kill_on_drop: false }` [INFO] [stderr] Compiling five8_core v1.0.0 [INFO] [stderr] Compiling five8 v1.0.0 [INFO] [stderr] Compiling five8_const v1.0.0 [INFO] [stderr] Compiling solana-address v2.2.0 [INFO] [stderr] Compiling solana-sdk-ids v3.1.0 [INFO] [stderr] Compiling solana-pubkey v4.1.0 [INFO] [stderr] Compiling solana-feature-gate-interface v4.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "636f2553fdd24694433c131fb80032052b601ae0c84468e88195287047c6c438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "636f2553fdd24694433c131fb80032052b601ae0c84468e88195287047c6c438", kill_on_drop: false }` [INFO] [stdout] 636f2553fdd24694433c131fb80032052b601ae0c84468e88195287047c6c438 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9070db7c6c2edb6833065a3896d211457f8e39b91b802fd541e06e74bffda8ef [INFO] running `Command { std: "docker" "start" "-a" "9070db7c6c2edb6833065a3896d211457f8e39b91b802fd541e06e74bffda8ef", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling solana-atomic-u64 v3.0.1 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling solana-address v2.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling solana-sdk-ids v3.1.0 [INFO] [stderr] Compiling solana-pubkey v4.1.0 [INFO] [stderr] Compiling solana-feature-gate-interface v4.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stdout] error[E0425]: cannot find function `id` in this scope [INFO] [stdout] --> src/state.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | &id(), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 60 + use crate::id; [INFO] [stdout] | [INFO] [stdout] 60 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 60 + use solana_sdk_ids::address_lookup_table::id; [INFO] [stdout] | [INFO] [stdout] 60 + use solana_sdk_ids::bpf_loader::id; [INFO] [stdout] | [INFO] [stdout] = and 30 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `id` in this scope [INFO] [stdout] --> src/state.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | &id(), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 60 + use crate::id; [INFO] [stdout] | [INFO] [stdout] 60 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 60 + use solana_sdk_ids::address_lookup_table::id; [INFO] [stdout] | [INFO] [stdout] 60 + use solana_sdk_ids::bpf_loader::id; [INFO] [stdout] | [INFO] [stdout] = and 30 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ProgramError` in this scope [INFO] [stdout] --> src/state.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | Err(ProgramError::InvalidAccountData), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 60 + use solana_program_error::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ProgramError` in this scope [INFO] [stdout] --> src/state.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | Err(ProgramError::InvalidAccountOwner), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 60 + use solana_program_error::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `id` in this scope [INFO] [stdout] --> src/state.rs:140:75 [INFO] [stdout] | [INFO] [stdout] 140 | from_account(&AccountSharedData::new(42, Feature::size_of(), &id())), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 60 + use crate::id; [INFO] [stdout] | [INFO] [stdout] 60 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 60 + use solana_sdk_ids::address_lookup_table::id; [INFO] [stdout] | [INFO] [stdout] 60 + use solana_sdk_ids::bpf_loader::id; [INFO] [stdout] | [INFO] [stdout] = and 30 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `id` in this scope [INFO] [stdout] --> src/state.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | &id() [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 60 + use crate::id; [INFO] [stdout] | [INFO] [stdout] 60 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 60 + use solana_sdk_ids::address_lookup_table::id; [INFO] [stdout] | [INFO] [stdout] 60 + use solana_sdk_ids::bpf_loader::id; [INFO] [stdout] | [INFO] [stdout] = and 30 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `bincode` in this scope [INFO] [stdout] --> src/state.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | bincode::serialized_size(&feature).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/state.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | Feature::size_of() >= bincode::serialized_size(&Feature::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]: cannot find module or crate `bincode` in this scope [INFO] [stdout] --> src/state.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | bincode::serialized_size(feature).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[E0599]: no function or associated item named `from_account_info` found for struct `state::Feature` in the current scope [INFO] [stdout] --> src/state.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Feature { [INFO] [stdout] | ------------------ function or associated item `from_account_info` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 100 | Feature::from_account_info(&AccountInfo::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `state::Feature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/state.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | Feature::from_account_info(&AccountInfo::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_account_info` found for struct `state::Feature` in the current scope [INFO] [stdout] --> src/state.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Feature { [INFO] [stdout] | ------------------ function or associated item `from_account_info` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 112 | Feature::from_account_info(&AccountInfo::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `state::Feature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/state.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | Feature::from_account_info(&AccountInfo::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_account_info` found for struct `state::Feature` in the current scope [INFO] [stdout] --> src/state.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Feature { [INFO] [stdout] | ------------------ function or associated item `from_account_info` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | Feature::from_account_info(&AccountInfo::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `state::Feature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/state.rs:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | Feature::from_account_info(&AccountInfo::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AccountSharedData` in this scope [INFO] [stdout] --> src/state.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | from_account(&AccountSharedData::new(42, Feature::size_of(), &id())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AccountSharedData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_account` in this scope [INFO] [stdout] --> src/state.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | from_account(&AccountSharedData::new(42, Feature::size_of(), &id())), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] ... [INFO] [stdout] 25 | state::{create_account, from_account, to_account}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AccountSharedData` in this scope [INFO] [stdout] --> src/state.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | from_account(&AccountSharedData::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AccountSharedData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_account` in this scope [INFO] [stdout] --> src/state.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | from_account(&AccountSharedData::new( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] ... [INFO] [stdout] 25 | state::{create_account, from_account, to_account}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AccountSharedData` in this scope [INFO] [stdout] --> src/state.rs:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | from_account(&AccountSharedData::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AccountSharedData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_account` in this scope [INFO] [stdout] --> src/state.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | from_account(&AccountSharedData::new( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] ... [INFO] [stdout] 25 | state::{create_account, from_account, to_account}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `solana-feature-gate-interface` (lib test) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "9070db7c6c2edb6833065a3896d211457f8e39b91b802fd541e06e74bffda8ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9070db7c6c2edb6833065a3896d211457f8e39b91b802fd541e06e74bffda8ef", kill_on_drop: false }` [INFO] [stdout] 9070db7c6c2edb6833065a3896d211457f8e39b91b802fd541e06e74bffda8ef