[INFO] cloning repository https://github.com/upfi-network/upfi-protocol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/upfi-network/upfi-protocol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupfi-network%2Fupfi-protocol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupfi-network%2Fupfi-protocol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a497b467b893a85c234ceef0a28996f46022598a [INFO] testing upfi-network/upfi-protocol against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupfi-network%2Fupfi-protocol" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/upfi-network/upfi-protocol on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/upfi-network/upfi-protocol [INFO] finished tweaking git repo https://github.com/upfi-network/upfi-protocol [INFO] tweaked toml for git repo https://github.com/upfi-network/upfi-protocol written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/upfi-network/upfi-protocol already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3e9e42e946a169dacfc79d99c6ca048042037d832c161343fecbf01baca2d29 [INFO] running `Command { std: "docker" "start" "-a" "b3e9e42e946a169dacfc79d99c6ca048042037d832c161343fecbf01baca2d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3e9e42e946a169dacfc79d99c6ca048042037d832c161343fecbf01baca2d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3e9e42e946a169dacfc79d99c6ca048042037d832c161343fecbf01baca2d29", kill_on_drop: false }` [INFO] [stdout] b3e9e42e946a169dacfc79d99c6ca048042037d832c161343fecbf01baca2d29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 316913b8dbd23fdda967a9b37969e48555cad88588ac11c9e69e7f633cbbcf52 [INFO] running `Command { std: "docker" "start" "-a" "316913b8dbd23fdda967a9b37969e48555cad88588ac11c9e69e7f633cbbcf52", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling zeroize v1.4.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.11 [INFO] [stderr] Compiling solana-frozen-abi v1.7.11 [INFO] [stderr] Compiling solana-program v1.7.11 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling solana-logger v1.7.11 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.7.11 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling digest v0.9.0 [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 hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling anchor-syn v0.17.0 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling anchor-attribute-error v0.17.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.17.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.17.0 [INFO] [stderr] Compiling anchor-attribute-account v0.17.0 [INFO] [stderr] Compiling anchor-attribute-event v0.17.0 [INFO] [stderr] Compiling anchor-attribute-program v0.17.0 [INFO] [stderr] Compiling anchor-attribute-state v0.17.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.17.0 [INFO] [stderr] Compiling anchor-lang v0.17.0 [INFO] [stderr] Compiling upfi-protocol v0.1.0 (/opt/rustwide/workdir/programs/upfi-protocol) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anchor_spl` [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Mint, Token, TokenAccount}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `anchor_spl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spl_token::instruction::AuthorityType; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anchor_spl` [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Mint, Token, TokenAccount}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `anchor_spl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorityType` [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | AuthorityType::MintTokens, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `AuthorityType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorityType` [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | AuthorityType::MintTokens, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `AuthorityType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anchor_spl` [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `anchor_spl` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mint` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:274:40 [INFO] [stdout] | [INFO] [stdout] 274 | pub usdc_token: Box>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::Mint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenAccount` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:285:41 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct Initialize<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, TokenAccount` [INFO] [stdout] ... [INFO] [stdout] 285 | pub token_vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:292:39 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct Initialize<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Token` [INFO] [stdout] ... [INFO] [stdout] 292 | pub token_program: Program<'info, Token>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mint` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:303:39 [INFO] [stdout] | [INFO] [stdout] 303 | pub ups_token: Box>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::Mint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mint` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:309:40 [INFO] [stdout] | [INFO] [stdout] 309 | pub upfi_token: Box>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::Mint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mint` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:314:40 [INFO] [stdout] | [INFO] [stdout] 314 | pub usdc_token: Box>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::Mint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenAccount` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:318:45 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct MintToken<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, TokenAccount` [INFO] [stdout] ... [INFO] [stdout] 318 | pub usdc_token_from: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenAccount` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:322:44 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct MintToken<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, TokenAccount` [INFO] [stdout] ... [INFO] [stdout] 322 | pub ups_token_from: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenAccount` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:335:41 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct MintToken<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, TokenAccount` [INFO] [stdout] ... [INFO] [stdout] 335 | pub token_vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenAccount` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:339:43 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct MintToken<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, TokenAccount` [INFO] [stdout] ... [INFO] [stdout] 339 | pub upfi_token_to: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:340:39 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct MintToken<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Token` [INFO] [stdout] ... [INFO] [stdout] 340 | pub token_program: Program<'info, Token>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mint` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:350:39 [INFO] [stdout] | [INFO] [stdout] 350 | pub ups_token: Box>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::Mint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mint` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:356:40 [INFO] [stdout] | [INFO] [stdout] 356 | pub upfi_token: Box>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::Mint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mint` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:361:40 [INFO] [stdout] | [INFO] [stdout] 361 | pub usdc_token: Box>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::Mint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenAccount` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:365:45 [INFO] [stdout] | [INFO] [stdout] 345 | pub struct RedeemToken<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, TokenAccount` [INFO] [stdout] ... [INFO] [stdout] 365 | pub upfi_token_from: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenAccount` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:376:41 [INFO] [stdout] | [INFO] [stdout] 345 | pub struct RedeemToken<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, TokenAccount` [INFO] [stdout] ... [INFO] [stdout] 376 | pub token_vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenAccount` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:380:42 [INFO] [stdout] | [INFO] [stdout] 345 | pub struct RedeemToken<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, TokenAccount` [INFO] [stdout] ... [INFO] [stdout] 380 | pub ups_token_to: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenAccount` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:383:43 [INFO] [stdout] | [INFO] [stdout] 345 | pub struct RedeemToken<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, TokenAccount` [INFO] [stdout] ... [INFO] [stdout] 383 | pub usdc_token_to: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:385:39 [INFO] [stdout] | [INFO] [stdout] 345 | pub struct RedeemToken<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Token` [INFO] [stdout] ... [INFO] [stdout] 385 | pub token_program: Program<'info, Token>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mint` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:394:40 [INFO] [stdout] | [INFO] [stdout] 394 | pub usdc_token: Box>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::Mint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mint` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:400:40 [INFO] [stdout] | [INFO] [stdout] 400 | pub upfi_token: Box>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::Mint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenAccount` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:407:41 [INFO] [stdout] | [INFO] [stdout] 390 | pub struct ReclaimMintUpfiAuthority<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, TokenAccount` [INFO] [stdout] ... [INFO] [stdout] 407 | pub token_vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:416:39 [INFO] [stdout] | [INFO] [stdout] 390 | pub struct ReclaimMintUpfiAuthority<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Token` [INFO] [stdout] ... [INFO] [stdout] 416 | pub token_program: Program<'info, Token>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mint` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:425:40 [INFO] [stdout] | [INFO] [stdout] 425 | pub usdc_token: Box>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::Mint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mint` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:431:39 [INFO] [stdout] | [INFO] [stdout] 431 | pub ups_token: Box>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::Mint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenAccount` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:438:41 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct ReclaimMintUpsAuthority<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, TokenAccount` [INFO] [stdout] ... [INFO] [stdout] 438 | pub token_vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> programs/upfi-protocol/src/lib.rs:445:39 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct ReclaimMintUpsAuthority<'info> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Token` [INFO] [stdout] ... [INFO] [stdout] 445 | pub token_program: Program<'info, Token>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `upfi-protocol` due to 34 previous errors [INFO] running `Command { std: "docker" "inspect" "316913b8dbd23fdda967a9b37969e48555cad88588ac11c9e69e7f633cbbcf52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "316913b8dbd23fdda967a9b37969e48555cad88588ac11c9e69e7f633cbbcf52", kill_on_drop: false }` [INFO] [stdout] 316913b8dbd23fdda967a9b37969e48555cad88588ac11c9e69e7f633cbbcf52