[INFO] fetching crate solana-feature-gate-interface 3.0.0... [INFO] checking solana-feature-gate-interface-3.0.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate solana-feature-gate-interface 3.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate solana-feature-gate-interface 3.0.0 [INFO] finished tweaking crates.io crate solana-feature-gate-interface 3.0.0 [INFO] tweaked toml for crates.io crate solana-feature-gate-interface 3.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate solana-feature-gate-interface 3.0.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate solana-feature-gate-interface 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ba9637bbc6989ffcb449e6a02ac55930d3ba77bea62499ffae83edd078aa477 [INFO] running `Command { std: "docker" "start" "-a" "6ba9637bbc6989ffcb449e6a02ac55930d3ba77bea62499ffae83edd078aa477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ba9637bbc6989ffcb449e6a02ac55930d3ba77bea62499ffae83edd078aa477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ba9637bbc6989ffcb449e6a02ac55930d3ba77bea62499ffae83edd078aa477", kill_on_drop: false }` [INFO] [stdout] 6ba9637bbc6989ffcb449e6a02ac55930d3ba77bea62499ffae83edd078aa477 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 594e5b90cb8c8eb23a0be208944c06002460c7c6edc6088b0c8a560fa78b577c [INFO] running `Command { std: "docker" "start" "-a" "594e5b90cb8c8eb23a0be208944c06002460c7c6edc6088b0c8a560fa78b577c", kill_on_drop: false }` [INFO] [stderr] Checking five8_core v0.1.1 [INFO] [stderr] Checking solana-atomic-u64 v3.0.0 [INFO] [stderr] Checking solana-sanitize v3.0.0 [INFO] [stderr] Checking solana-program-error v3.0.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking five8 v0.2.1 [INFO] [stderr] Checking five8_const v0.1.3 [INFO] [stderr] Checking solana-hash v3.0.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking solana-sha256-hasher v3.0.0 [INFO] [stderr] Checking solana-address v1.0.0 [INFO] [stderr] Checking solana-pubkey v3.0.0 [INFO] [stderr] Checking solana-sdk-ids v3.0.0 [INFO] [stderr] Checking solana-feature-gate-interface v3.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]: failed to resolve: use of undeclared type `ProgramError` [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]: failed to resolve: use of undeclared type `ProgramError` [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]: failed to resolve: use of unresolved module or unlinked crate `bincode` [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]: failed to resolve: use of unresolved module or unlinked crate `bincode` [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]: failed to resolve: use of unresolved module or unlinked crate `bincode` [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]: failed to resolve: use of undeclared type `AccountInfo` [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]: failed to resolve: use of undeclared type `AccountInfo` [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]: failed to resolve: use of undeclared type `AccountInfo` [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]: failed to resolve: use of undeclared type `AccountSharedData` [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:21:29 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] ... [INFO] [stdout] 21 | state::{create_account, from_account, to_account}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountSharedData` [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:21:29 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] ... [INFO] [stdout] 21 | state::{create_account, from_account, to_account}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountSharedData` [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:21:29 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] ... [INFO] [stdout] 21 | 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" "594e5b90cb8c8eb23a0be208944c06002460c7c6edc6088b0c8a560fa78b577c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "594e5b90cb8c8eb23a0be208944c06002460c7c6edc6088b0c8a560fa78b577c", kill_on_drop: false }` [INFO] [stdout] 594e5b90cb8c8eb23a0be208944c06002460c7c6edc6088b0c8a560fa78b577c