[INFO] fetching crate solana-feature-gate-interface 3.0.0... [INFO] testing solana-feature-gate-interface-3.0.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate solana-feature-gate-interface 3.0.0 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate solana-feature-gate-interface 3.0.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b4a89f8f98032588545699feb8ac16c03521657a94a3a17b19ccbc9e58f75a6 [INFO] running `Command { std: "docker" "start" "-a" "0b4a89f8f98032588545699feb8ac16c03521657a94a3a17b19ccbc9e58f75a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b4a89f8f98032588545699feb8ac16c03521657a94a3a17b19ccbc9e58f75a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b4a89f8f98032588545699feb8ac16c03521657a94a3a17b19ccbc9e58f75a6", kill_on_drop: false }` [INFO] [stdout] 0b4a89f8f98032588545699feb8ac16c03521657a94a3a17b19ccbc9e58f75a6 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fbfb77607747b7410f88ef6dadd4c4654291661f4379ce50600349e90c254ae [INFO] running `Command { std: "docker" "start" "-a" "3fbfb77607747b7410f88ef6dadd4c4654291661f4379ce50600349e90c254ae", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling five8_core v0.1.1 [INFO] [stderr] Compiling solana-atomic-u64 v3.0.0 [INFO] [stderr] Compiling solana-sanitize v3.0.0 [INFO] [stderr] Compiling solana-program-error v3.0.0 [INFO] [stderr] Compiling five8 v0.2.1 [INFO] [stderr] Compiling five8_const v0.1.3 [INFO] [stderr] Compiling solana-hash v3.0.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling solana-sha256-hasher v3.0.0 [INFO] [stderr] Compiling solana-address v1.0.0 [INFO] [stderr] Compiling solana-pubkey v3.0.0 [INFO] [stderr] Compiling solana-sdk-ids v3.0.0 [INFO] [stderr] Compiling solana-feature-gate-interface v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.91s [INFO] running `Command { std: "docker" "inspect" "3fbfb77607747b7410f88ef6dadd4c4654291661f4379ce50600349e90c254ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fbfb77607747b7410f88ef6dadd4c4654291661f4379ce50600349e90c254ae", kill_on_drop: false }` [INFO] [stdout] 3fbfb77607747b7410f88ef6dadd4c4654291661f4379ce50600349e90c254ae [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4760b953728c260152892386bbb7ba9f94b40d7fb6a3b6fef06a6cdcaeda1b33 [INFO] running `Command { std: "docker" "start" "-a" "4760b953728c260152892386bbb7ba9f94b40d7fb6a3b6fef06a6cdcaeda1b33", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [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 quote v1.0.38 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling solana-feature-gate-interface v3.0.0 (/opt/rustwide/workdir) [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" "4760b953728c260152892386bbb7ba9f94b40d7fb6a3b6fef06a6cdcaeda1b33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4760b953728c260152892386bbb7ba9f94b40d7fb6a3b6fef06a6cdcaeda1b33", kill_on_drop: false }` [INFO] [stdout] 4760b953728c260152892386bbb7ba9f94b40d7fb6a3b6fef06a6cdcaeda1b33