[INFO] fetching crate solana-feature-gate-interface 2.2.2... [INFO] checking solana-feature-gate-interface-2.2.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate solana-feature-gate-interface 2.2.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate solana-feature-gate-interface 2.2.2 [INFO] finished tweaking crates.io crate solana-feature-gate-interface 2.2.2 [INFO] tweaked toml for crates.io crate solana-feature-gate-interface 2.2.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate solana-feature-gate-interface 2.2.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate solana-feature-gate-interface 2.2.2 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-pubkey v2.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7e1b64644311e7699d80b6db016aceeeb5d9f933cb2746f732042e08a6bcf4d [INFO] running `Command { std: "docker" "start" "-a" "a7e1b64644311e7699d80b6db016aceeeb5d9f933cb2746f732042e08a6bcf4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7e1b64644311e7699d80b6db016aceeeb5d9f933cb2746f732042e08a6bcf4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7e1b64644311e7699d80b6db016aceeeb5d9f933cb2746f732042e08a6bcf4d", kill_on_drop: false }` [INFO] [stdout] a7e1b64644311e7699d80b6db016aceeeb5d9f933cb2746f732042e08a6bcf4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f32498e1e1256ce54b2b1f360cde9c4ee8ebc82ba43f8edec7095ccb64d14a5e [INFO] running `Command { std: "docker" "start" "-a" "f32498e1e1256ce54b2b1f360cde9c4ee8ebc82ba43f8edec7095ccb64d14a5e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking five8_core v0.1.1 [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_const v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking solana-decode-error v2.2.1 [INFO] [stderr] Checking solana-pubkey v2.3.0 [INFO] [stderr] Checking solana-sdk-ids v2.2.1 [INFO] [stderr] Checking solana-feature-gate-interface v2.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/lib.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | let key = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 100 + use solana_pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/lib.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | &Pubkey::new_unique(), // Wrong owner [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 100 + use solana_pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/lib.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | &Pubkey::new_unique(), // Wrong owner [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 100 + use solana_pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/lib.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | 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/lib.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | 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/lib.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | 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 `Feature` in the current scope [INFO] [stdout] --> src/lib.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Feature { [INFO] [stdout] | ------------------ function or associated item `from_account_info` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 140 | Feature::from_account_info(&AccountInfo::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Feature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountInfo` [INFO] [stdout] --> src/lib.rs:140:41 [INFO] [stdout] | [INFO] [stdout] 140 | 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 `Feature` in the current scope [INFO] [stdout] --> src/lib.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Feature { [INFO] [stdout] | ------------------ function or associated item `from_account_info` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 153 | Feature::from_account_info(&AccountInfo::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Feature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountInfo` [INFO] [stdout] --> src/lib.rs:153:41 [INFO] [stdout] | [INFO] [stdout] 153 | 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 `ProgramError` [INFO] [stdout] --> src/lib.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | Err(ProgramError::InvalidAccountData), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_account_info` found for struct `Feature` in the current scope [INFO] [stdout] --> src/lib.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Feature { [INFO] [stdout] | ------------------ function or associated item `from_account_info` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 166 | Feature::from_account_info(&AccountInfo::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Feature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountInfo` [INFO] [stdout] --> src/lib.rs:166:41 [INFO] [stdout] | [INFO] [stdout] 166 | 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 `ProgramError` [INFO] [stdout] --> src/lib.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | Err(ProgramError::InvalidAccountOwner), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountSharedData` [INFO] [stdout] --> src/lib.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | 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/lib.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | from_account(&AccountSharedData::new(42, Feature::size_of(), &id())), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountSharedData` [INFO] [stdout] --> src/lib.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | 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/lib.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | from_account(&AccountSharedData::new( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountSharedData` [INFO] [stdout] --> src/lib.rs:195:27 [INFO] [stdout] | [INFO] [stdout] 195 | 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/lib.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | from_account(&AccountSharedData::new( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [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 20 previous errors [INFO] running `Command { std: "docker" "inspect" "f32498e1e1256ce54b2b1f360cde9c4ee8ebc82ba43f8edec7095ccb64d14a5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f32498e1e1256ce54b2b1f360cde9c4ee8ebc82ba43f8edec7095ccb64d14a5e", kill_on_drop: false }` [INFO] [stdout] f32498e1e1256ce54b2b1f360cde9c4ee8ebc82ba43f8edec7095ccb64d14a5e