[INFO] fetching crate safecoin-budget-program 1.6.18... [INFO] testing safecoin-budget-program-1.6.18 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate safecoin-budget-program 1.6.18 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate safecoin-budget-program 1.6.18 [INFO] finished tweaking crates.io crate safecoin-budget-program 1.6.18 [INFO] tweaked toml for crates.io crate safecoin-budget-program 1.6.18 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate safecoin-budget-program 1.6.18 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 365 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 2fd9e932b81d76164be5aa67dddf9f029c65ee44086beb3e5ce7fc46de5c8814 [INFO] running `Command { std: "docker" "start" "-a" "2fd9e932b81d76164be5aa67dddf9f029c65ee44086beb3e5ce7fc46de5c8814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fd9e932b81d76164be5aa67dddf9f029c65ee44086beb3e5ce7fc46de5c8814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd9e932b81d76164be5aa67dddf9f029c65ee44086beb3e5ce7fc46de5c8814", kill_on_drop: false }` [INFO] [stdout] 2fd9e932b81d76164be5aa67dddf9f029c65ee44086beb3e5ce7fc46de5c8814 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 04b3590e671d14f1b8ca93e7c95da65e4703ff160063104eb2a92f95a5a8bfb3 [INFO] running `Command { std: "docker" "start" "-a" "04b3590e671d14f1b8ca93e7c95da65e4703ff160063104eb2a92f95a5a8bfb3", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling safecoin-frozen-abi-macro v1.14.17 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling safecoin-frozen-abi v1.14.17 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling safecoin-sdk v1.14.17 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling safecoin-logger v1.14.17 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling safecoin-program v1.14.17 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling safecoin-sdk-macro v1.14.17 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling safecoin-budget-program v1.6.18 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `solana_sdk::process_instruction` [INFO] [stdout] --> src/budget_processor.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | process_instruction::InvokeContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `process_instruction` in `solana_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::id` [INFO] [stdout] --> src/budget_instruction.rs:1:65 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{budget_expr::BudgetExpr, budget_state::BudgetState, id}; [INFO] [stdout] | ^^ no `id` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `declare_program` in `solana_sdk` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | solana_sdk::declare_program!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `declare_program` in `solana_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::budget_processor::process_instruction` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::budget_processor::process_instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `solana_sdk::keyed_account::next_keyed_account`: Please use keyed_account_at_index instead [INFO] [stdout] --> src/budget_processor.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | keyed_account::{next_keyed_account, KeyedAccount}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `solana_sdk::keyed_account::KeyedAccount`: Please use BorrowedAccount instead of KeyedAccount [INFO] [stdout] --> src/budget_processor.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | keyed_account::{next_keyed_account, KeyedAccount}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `solana_sdk::keyed_account::KeyedAccount`: Please use BorrowedAccount instead of KeyedAccount [INFO] [stdout] --> src/budget_processor.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | witness_keyed_account: &KeyedAccount, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `solana_sdk::keyed_account::KeyedAccount`: Please use BorrowedAccount instead of KeyedAccount [INFO] [stdout] --> src/budget_processor.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | contract_keyed_account: &KeyedAccount, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `solana_sdk::keyed_account::KeyedAccount`: Please use BorrowedAccount instead of KeyedAccount [INFO] [stdout] --> src/budget_processor.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | to_keyed_account: Result<&KeyedAccount, InstructionError>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `solana_sdk::keyed_account::KeyedAccount`: Please use BorrowedAccount instead of KeyedAccount [INFO] [stdout] --> src/budget_processor.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | witness_keyed_account: &KeyedAccount, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `solana_sdk::keyed_account::KeyedAccount`: Please use BorrowedAccount instead of KeyedAccount [INFO] [stdout] --> src/budget_processor.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | contract_keyed_account: &KeyedAccount, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `solana_sdk::keyed_account::KeyedAccount`: Please use BorrowedAccount instead of KeyedAccount [INFO] [stdout] --> src/budget_processor.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | to_keyed_account: Result<&KeyedAccount, InstructionError>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `solana_sdk::keyed_account::KeyedAccount`: Please use BorrowedAccount instead of KeyedAccount [INFO] [stdout] --> src/budget_processor.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | witness_keyed_account: &KeyedAccount, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `solana_sdk::keyed_account::KeyedAccount`: Please use BorrowedAccount instead of KeyedAccount [INFO] [stdout] --> src/budget_processor.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | contract_keyed_account: &KeyedAccount, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `solana_sdk::keyed_account::KeyedAccount`: Please use BorrowedAccount instead of KeyedAccount [INFO] [stdout] --> src/budget_processor.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | to_keyed_account: Result<&KeyedAccount, InstructionError>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `solana_sdk::keyed_account::KeyedAccount`: Please use BorrowedAccount instead of KeyedAccount [INFO] [stdout] --> src/budget_processor.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | keyed_accounts: &[KeyedAccount], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `solana_sdk::keyed_account::next_keyed_account`: Please use keyed_account_at_index instead [INFO] [stdout] --> src/budget_processor.rs:130:42 [INFO] [stdout] | [INFO] [stdout] 130 | let contract_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `solana_sdk::keyed_account::next_keyed_account`: Please use keyed_account_at_index instead [INFO] [stdout] --> src/budget_processor.rs:134:46 [INFO] [stdout] | [INFO] [stdout] 134 | let contract_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `solana_sdk::keyed_account::next_keyed_account`: Please use keyed_account_at_index instead [INFO] [stdout] --> src/budget_processor.rs:157:41 [INFO] [stdout] | [INFO] [stdout] 157 | let witness_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `solana_sdk::keyed_account::next_keyed_account`: Please use keyed_account_at_index instead [INFO] [stdout] --> src/budget_processor.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | let contract_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `solana_sdk::keyed_account::next_keyed_account`: Please use keyed_account_at_index instead [INFO] [stdout] --> src/budget_processor.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | next_keyed_account(keyed_accounts_iter), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `solana_sdk::keyed_account::next_keyed_account`: Please use keyed_account_at_index instead [INFO] [stdout] --> src/budget_processor.rs:187:41 [INFO] [stdout] | [INFO] [stdout] 187 | let witness_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `solana_sdk::keyed_account::next_keyed_account`: Please use keyed_account_at_index instead [INFO] [stdout] --> src/budget_processor.rs:188:42 [INFO] [stdout] | [INFO] [stdout] 188 | let contract_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `solana_sdk::keyed_account::next_keyed_account`: Please use keyed_account_at_index instead [INFO] [stdout] --> src/budget_processor.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | next_keyed_account(keyed_accounts_iter), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `solana_sdk::keyed_account::next_keyed_account`: Please use keyed_account_at_index instead [INFO] [stdout] --> src/budget_processor.rs:216:41 [INFO] [stdout] | [INFO] [stdout] 216 | let witness_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `solana_sdk::keyed_account::next_keyed_account`: Please use keyed_account_at_index instead [INFO] [stdout] --> src/budget_processor.rs:217:42 [INFO] [stdout] | [INFO] [stdout] 217 | let contract_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `solana_sdk::keyed_account::next_keyed_account`: Please use keyed_account_at_index instead [INFO] [stdout] --> src/budget_processor.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | next_keyed_account(keyed_accounts_iter), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `safecoin-budget-program` (lib) due to 3 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "04b3590e671d14f1b8ca93e7c95da65e4703ff160063104eb2a92f95a5a8bfb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04b3590e671d14f1b8ca93e7c95da65e4703ff160063104eb2a92f95a5a8bfb3", kill_on_drop: false }` [INFO] [stdout] 04b3590e671d14f1b8ca93e7c95da65e4703ff160063104eb2a92f95a5a8bfb3