[INFO] fetching crate solana-feature-gate-interface 3.0.0... [INFO] testing solana-feature-gate-interface-3.0.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate solana-feature-gate-interface 3.0.0 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate solana-feature-gate-interface 3.0.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f555b0d093d007b07b48f4ff38ecb2aa4c7eb21b06b1cc0220308034bc4d3c01 [INFO] running `Command { std: "docker" "start" "-a" "f555b0d093d007b07b48f4ff38ecb2aa4c7eb21b06b1cc0220308034bc4d3c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f555b0d093d007b07b48f4ff38ecb2aa4c7eb21b06b1cc0220308034bc4d3c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f555b0d093d007b07b48f4ff38ecb2aa4c7eb21b06b1cc0220308034bc4d3c01", kill_on_drop: false }` [INFO] [stdout] f555b0d093d007b07b48f4ff38ecb2aa4c7eb21b06b1cc0220308034bc4d3c01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a089cc133706a9075496fc909d54c19c8001ae5fa58c8c1a70462de752926d8 [INFO] running `Command { std: "docker" "start" "-a" "2a089cc133706a9075496fc909d54c19c8001ae5fa58c8c1a70462de752926d8", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling five8_core v0.1.1 [INFO] [stderr] Compiling solana-sanitize v3.0.0 [INFO] [stderr] Compiling solana-atomic-u64 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 3.23s [INFO] running `Command { std: "docker" "inspect" "2a089cc133706a9075496fc909d54c19c8001ae5fa58c8c1a70462de752926d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a089cc133706a9075496fc909d54c19c8001ae5fa58c8c1a70462de752926d8", kill_on_drop: false }` [INFO] [stdout] 2a089cc133706a9075496fc909d54c19c8001ae5fa58c8c1a70462de752926d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d8326e71dbc40be27d4449ef6540abae753659b42ec890e50b9f739fcc96062 [INFO] running `Command { std: "docker" "start" "-a" "0d8326e71dbc40be27d4449ef6540abae753659b42ec890e50b9f739fcc96062", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling syn v1.0.109 [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" "0d8326e71dbc40be27d4449ef6540abae753659b42ec890e50b9f739fcc96062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d8326e71dbc40be27d4449ef6540abae753659b42ec890e50b9f739fcc96062", kill_on_drop: false }` [INFO] [stdout] 0d8326e71dbc40be27d4449ef6540abae753659b42ec890e50b9f739fcc96062