[INFO] fetching crate solana-loader-v4-interface 2.2.1... [INFO] testing solana-loader-v4-interface-2.2.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate solana-loader-v4-interface 2.2.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate solana-loader-v4-interface 2.2.1 [INFO] finished tweaking crates.io crate solana-loader-v4-interface 2.2.1 [INFO] tweaked toml for crates.io crate solana-loader-v4-interface 2.2.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate solana-loader-v4-interface 2.2.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate solana-loader-v4-interface 2.2.1 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-frozen-abi v2.2.1 [INFO] [stderr] Downloaded solana-frozen-abi-macro v2.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc322ddb146be9b58e78d920b807a39685294f736345abb2b6b7632dc22d6456 [INFO] running `Command { std: "docker" "start" "-a" "dc322ddb146be9b58e78d920b807a39685294f736345abb2b6b7632dc22d6456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc322ddb146be9b58e78d920b807a39685294f736345abb2b6b7632dc22d6456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc322ddb146be9b58e78d920b807a39685294f736345abb2b6b7632dc22d6456", kill_on_drop: false }` [INFO] [stdout] dc322ddb146be9b58e78d920b807a39685294f736345abb2b6b7632dc22d6456 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7c17360538d09b9c08c5525115bacbef136dca1f7a7f2d797760ff5cca265726 [INFO] running `Command { std: "docker" "start" "-a" "7c17360538d09b9c08c5525115bacbef136dca1f7a7f2d797760ff5cca265726", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling five8_core v0.1.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling solana-sanitize v2.2.1 [INFO] [stderr] Compiling five8_const v0.1.3 [INFO] [stderr] Compiling solana-decode-error v2.2.1 [INFO] [stderr] Compiling solana-pubkey v2.2.1 [INFO] [stderr] Compiling solana-sdk-ids v2.2.1 [INFO] [stderr] Compiling solana-instruction v2.2.1 [INFO] [stderr] Compiling solana-loader-v4-interface v2.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.56s [INFO] running `Command { std: "docker" "inspect" "7c17360538d09b9c08c5525115bacbef136dca1f7a7f2d797760ff5cca265726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c17360538d09b9c08c5525115bacbef136dca1f7a7f2d797760ff5cca265726", kill_on_drop: false }` [INFO] [stdout] 7c17360538d09b9c08c5525115bacbef136dca1f7a7f2d797760ff5cca265726 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6324bd172c7e958d647f2e79880f91455dfc82010114b742acd10fbaec54044e [INFO] running `Command { std: "docker" "start" "-a" "6324bd172c7e958d647f2e79880f91455dfc82010114b742acd10fbaec54044e", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling solana-loader-v4-interface v2.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/instruction.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | let payer = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:299:23 [INFO] [stdout] | [INFO] [stdout] 299 | let program = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | let authority = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:301:25 [INFO] [stdout] | [INFO] [stdout] 301 | let recipient = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + use solana_pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `id` in this scope [INFO] [stdout] --> src/instruction.rs:316:45 [INFO] [stdout] | [INFO] [stdout] 316 | assert_eq!(instruction1.program_id, id()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 294 + use crate::instruction::tests::system_program::id; [INFO] [stdout] | [INFO] [stdout] 294 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 294 + use solana_sdk_ids::address_lookup_table::id; [INFO] [stdout] | [INFO] [stdout] 294 + 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 `Pubkey` [INFO] [stdout] --> src/instruction.rs:331:23 [INFO] [stdout] | [INFO] [stdout] 331 | let program = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | let authority = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + use solana_pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/instruction.rs:333:27 [INFO] [stdout] | [INFO] [stdout] 333 | let instruction = write(&program, &authority, 123, vec![1, 2, 3, 4]); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 333 | let instruction = write!(&program, &authority, 123, vec![1, 2, 3, 4]); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 294 + use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 294 + use std::fs::write; [INFO] [stdout] | [INFO] [stdout] 294 + use std::ptr::write; [INFO] [stdout] | [INFO] [stdout] 294 + use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `id` in this scope [INFO] [stdout] --> src/instruction.rs:335:44 [INFO] [stdout] | [INFO] [stdout] 335 | assert_eq!(instruction.program_id, id()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 294 + use crate::instruction::tests::system_program::id; [INFO] [stdout] | [INFO] [stdout] 294 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 294 + use solana_sdk_ids::address_lookup_table::id; [INFO] [stdout] | [INFO] [stdout] 294 + 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 `Pubkey` [INFO] [stdout] --> src/instruction.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | let program = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | let authority = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:349:22 [INFO] [stdout] | [INFO] [stdout] 349 | let source = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + use solana_pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `copy` in this scope [INFO] [stdout] --> src/instruction.rs:350:27 [INFO] [stdout] | [INFO] [stdout] 350 | let instruction = copy(&program, &authority, &source, 1, 2, 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 294 + use std::fs::copy; [INFO] [stdout] | [INFO] [stdout] 294 + use std::io::copy; [INFO] [stdout] | [INFO] [stdout] 294 + use std::mem::copy; [INFO] [stdout] | [INFO] [stdout] 294 + use std::ptr::copy; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `id` in this scope [INFO] [stdout] --> src/instruction.rs:352:44 [INFO] [stdout] | [INFO] [stdout] 352 | assert_eq!(instruction.program_id, id()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 294 + use crate::instruction::tests::system_program::id; [INFO] [stdout] | [INFO] [stdout] 294 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 294 + use solana_sdk_ids::address_lookup_table::id; [INFO] [stdout] | [INFO] [stdout] 294 + 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 `Pubkey` [INFO] [stdout] --> src/instruction.rs:367:23 [INFO] [stdout] | [INFO] [stdout] 367 | let program = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:368:25 [INFO] [stdout] | [INFO] [stdout] 368 | let authority = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | let recipient = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + use solana_pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `id` in this scope [INFO] [stdout] --> src/instruction.rs:372:44 [INFO] [stdout] | [INFO] [stdout] 372 | assert_eq!(instruction.program_id, id()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 294 + use crate::instruction::tests::system_program::id; [INFO] [stdout] | [INFO] [stdout] 294 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 294 + use solana_sdk_ids::address_lookup_table::id; [INFO] [stdout] | [INFO] [stdout] 294 + 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 `Pubkey` [INFO] [stdout] --> src/instruction.rs:387:23 [INFO] [stdout] | [INFO] [stdout] 387 | let program = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:388:25 [INFO] [stdout] | [INFO] [stdout] 388 | let authority = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + use solana_pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `id` in this scope [INFO] [stdout] --> src/instruction.rs:391:44 [INFO] [stdout] | [INFO] [stdout] 391 | assert_eq!(instruction.program_id, id()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 294 + use crate::instruction::tests::system_program::id; [INFO] [stdout] | [INFO] [stdout] 294 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 294 + use solana_sdk_ids::address_lookup_table::id; [INFO] [stdout] | [INFO] [stdout] 294 + 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 `Pubkey` [INFO] [stdout] --> src/instruction.rs:403:23 [INFO] [stdout] | [INFO] [stdout] 403 | let program = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:404:25 [INFO] [stdout] | [INFO] [stdout] 404 | let authority = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:405:22 [INFO] [stdout] | [INFO] [stdout] 405 | let source = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + use solana_pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `id` in this scope [INFO] [stdout] --> src/instruction.rs:408:44 [INFO] [stdout] | [INFO] [stdout] 408 | assert_eq!(instruction.program_id, id()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 294 + use crate::instruction::tests::system_program::id; [INFO] [stdout] | [INFO] [stdout] 294 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 294 + use solana_sdk_ids::address_lookup_table::id; [INFO] [stdout] | [INFO] [stdout] 294 + 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 `Pubkey` [INFO] [stdout] --> src/instruction.rs:423:23 [INFO] [stdout] | [INFO] [stdout] 423 | let program = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:424:25 [INFO] [stdout] | [INFO] [stdout] 424 | let authority = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + use solana_pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `id` in this scope [INFO] [stdout] --> src/instruction.rs:427:44 [INFO] [stdout] | [INFO] [stdout] 427 | assert_eq!(instruction.program_id, id()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 294 + use crate::instruction::tests::system_program::id; [INFO] [stdout] | [INFO] [stdout] 294 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 294 + use solana_sdk_ids::address_lookup_table::id; [INFO] [stdout] | [INFO] [stdout] 294 + 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 `Pubkey` [INFO] [stdout] --> src/instruction.rs:439:23 [INFO] [stdout] | [INFO] [stdout] 439 | let program = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:440:25 [INFO] [stdout] | [INFO] [stdout] 440 | let authority = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:441:29 [INFO] [stdout] | [INFO] [stdout] 441 | let new_authority = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + use solana_pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `id` in this scope [INFO] [stdout] --> src/instruction.rs:444:44 [INFO] [stdout] | [INFO] [stdout] 444 | assert_eq!(instruction.program_id, id()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 294 + use crate::instruction::tests::system_program::id; [INFO] [stdout] | [INFO] [stdout] 294 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 294 + use solana_sdk_ids::address_lookup_table::id; [INFO] [stdout] | [INFO] [stdout] 294 + 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 `Pubkey` [INFO] [stdout] --> src/instruction.rs:459:23 [INFO] [stdout] | [INFO] [stdout] 459 | let program = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | let authority = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + 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/instruction.rs:461:28 [INFO] [stdout] | [INFO] [stdout] 461 | let next_version = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::state::tests::Pubkey` exists but is inaccessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 294 + use solana_pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `id` in this scope [INFO] [stdout] --> src/instruction.rs:464:44 [INFO] [stdout] | [INFO] [stdout] 464 | assert_eq!(instruction.program_id, id()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 294 + use crate::instruction::tests::system_program::id; [INFO] [stdout] | [INFO] [stdout] 294 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 294 + use solana_sdk_ids::address_lookup_table::id; [INFO] [stdout] | [INFO] [stdout] 294 + 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 `create_buffer` in this scope [INFO] [stdout] --> src/instruction.rs:302:28 [INFO] [stdout] | [INFO] [stdout] 302 | let instructions = create_buffer(&payer, &program, 123, &authority, 10, &recipient); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_program_length` in this scope [INFO] [stdout] --> src/instruction.rs:370:27 [INFO] [stdout] | [INFO] [stdout] 370 | let instruction = set_program_length(&program, &authority, 10, &recipient); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deploy` in this scope [INFO] [stdout] --> src/instruction.rs:389:27 [INFO] [stdout] | [INFO] [stdout] 389 | let instruction = deploy(&program, &authority); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deploy_from_source` in this scope [INFO] [stdout] --> src/instruction.rs:406:27 [INFO] [stdout] | [INFO] [stdout] 406 | let instruction = deploy_from_source(&program, &authority, &source); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `retract` in this scope [INFO] [stdout] --> src/instruction.rs:425:27 [INFO] [stdout] | [INFO] [stdout] 425 | let instruction = retract(&program, &authority); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `transfer_authority` in this scope [INFO] [stdout] --> src/instruction.rs:442:27 [INFO] [stdout] | [INFO] [stdout] 442 | let instruction = transfer_authority(&program, &authority, &new_authority); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `new_authority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `finalize` in this scope [INFO] [stdout] --> src/instruction.rs:462:27 [INFO] [stdout] | [INFO] [stdout] 462 | let instruction = finalize(&program, &authority, &next_version); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `solana-loader-v4-interface` (lib test) due to 43 previous errors [INFO] running `Command { std: "docker" "inspect" "6324bd172c7e958d647f2e79880f91455dfc82010114b742acd10fbaec54044e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6324bd172c7e958d647f2e79880f91455dfc82010114b742acd10fbaec54044e", kill_on_drop: false }` [INFO] [stdout] 6324bd172c7e958d647f2e79880f91455dfc82010114b742acd10fbaec54044e