[INFO] cloning repository https://github.com/mtdamir/Create_Token_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mtdamir/Create_Token_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtdamir%2FCreate_Token_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtdamir%2FCreate_Token_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95772a5f77619f87db2053fee9d5206433576a87 [INFO] testing mtdamir/Create_Token_Rust 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%2Fmtdamir%2FCreate_Token_Rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mtdamir/Create_Token_Rust 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/mtdamir/Create_Token_Rust [INFO] finished tweaking git repo https://github.com/mtdamir/Create_Token_Rust [INFO] tweaked toml for git repo https://github.com/mtdamir/Create_Token_Rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/mtdamir/Create_Token_Rust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 4f1084c3ebd927e816ded960c22419e39d9574ef99105acd7b358fceff84d634 [INFO] running `Command { std: "docker" "start" "-a" "4f1084c3ebd927e816ded960c22419e39d9574ef99105acd7b358fceff84d634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f1084c3ebd927e816ded960c22419e39d9574ef99105acd7b358fceff84d634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f1084c3ebd927e816ded960c22419e39d9574ef99105acd7b358fceff84d634", kill_on_drop: false }` [INFO] [stdout] 4f1084c3ebd927e816ded960c22419e39d9574ef99105acd7b358fceff84d634 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] bb5b4e4c774e58255ac0b74b68b309ed8fd798a0da6cdd604e98f0823e668b33 [INFO] running `Command { std: "docker" "start" "-a" "bb5b4e4c774e58255ac0b74b68b309ed8fd798a0da6cdd604e98f0823e668b33", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling zeroize v1.5.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling blake3 v1.3.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.5.2 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.4 [INFO] [stderr] Compiling solana-frozen-abi v1.9.4 [INFO] [stderr] Compiling solana-program v1.9.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling solana-logger v1.9.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling solana-sdk-macro v1.9.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [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 block-buffer v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling anchor-syn v0.19.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling anchor-attribute-account v0.19.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.19.0 [INFO] [stderr] Compiling anchor-attribute-state v0.19.0 [INFO] [stderr] Compiling anchor-attribute-error v0.19.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.19.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.19.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.19.0 [INFO] [stderr] Compiling anchor-attribute-event v0.19.0 [INFO] [stderr] Compiling anchor-attribute-program v0.19.0 [INFO] [stderr] Compiling anchor-lang v0.19.0 [INFO] [stderr] Compiling Build_Token_With_Rust v0.1.0 (/opt/rustwide/workdir/programs/Build_Token_With_Rust) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anchor_spl` [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Burn, MintTo, SetAuthority, Transfer}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `anchor_spl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anchor_spl` [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Burn, MintTo, SetAuthority, Transfer}; [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/Build_Token_With_Rust/src/lib.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | impl From for spl_token::instruction::AuthorityType { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:141:45 [INFO] [stdout] | [INFO] [stdout] 141 | fn from(authority_ty: AuthorityType) -> spl_token::instruction::AuthorityType { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:143:42 [INFO] [stdout] | [INFO] [stdout] 143 | AuthorityType::MintTokens => spl_token::instruction::AuthorityType::MintTokens, [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | AuthorityType::FreezeAccount => spl_token::instruction::AuthorityType::FreezeAccount, [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:145:44 [INFO] [stdout] | [INFO] [stdout] 145 | AuthorityType::AccountOwner => spl_token::instruction::AuthorityType::AccountOwner, [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:146:44 [INFO] [stdout] | [INFO] [stdout] 146 | AuthorityType::CloseAccount => spl_token::instruction::AuthorityType::CloseAccount, [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Transfer` in this scope [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | for CpiContext<'a, 'b, 'c, 'info, Transfer<'info>> [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Transfer` in this scope [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:86:83 [INFO] [stdout] | [INFO] [stdout] 86 | fn from(accounts: &mut ProxyTransfer<'info>) -> CpiContext<'a, 'b, 'c, 'info, Transfer<'info>> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Transfer` in this scope [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | let cpi_accounts = Transfer { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MintTo` in this scope [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:98:39 [INFO] [stdout] | [INFO] [stdout] 98 | for CpiContext<'a, 'b, 'c, 'info, MintTo<'info>> [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MintTo` in this scope [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:100:81 [INFO] [stdout] | [INFO] [stdout] 100 | fn from(accounts: &mut ProxyMintTo<'info>) -> CpiContext<'a, 'b, 'c, 'info, MintTo<'info>> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MintTo` in this scope [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | let cpi_accounts = MintTo { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Burn` in this scope [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:111:87 [INFO] [stdout] | [INFO] [stdout] 111 | impl<'a, 'b, 'c, 'info> From<&mut ProxyBurn<'info>> for CpiContext<'a, 'b, 'c, 'info, Burn<'info>> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Burn` in this scope [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:112:79 [INFO] [stdout] | [INFO] [stdout] 112 | fn from(accounts: &mut ProxyBurn<'info>) -> CpiContext<'a, 'b, 'c, 'info, Burn<'info>> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Burn` in this scope [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | let cpi_accounts = Burn { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetAuthority` in this scope [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | for CpiContext<'a, 'b, 'c, 'info, SetAuthority<'info>> [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `anchor_lang::idl::IdlInstruction::SetAuthority`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 126 | for CpiContext<'a, 'b, 'c, 'info, anchor_lang::idl::IdlInstruction> [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetAuthority` in this scope [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:130:40 [INFO] [stdout] | [INFO] [stdout] 130 | ) -> CpiContext<'a, 'b, 'c, 'info, SetAuthority<'info>> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `anchor_lang::idl::IdlInstruction::SetAuthority`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 130 | ) -> CpiContext<'a, 'b, 'c, 'info, anchor_lang::idl::IdlInstruction> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetAuthority` in this scope [INFO] [stdout] --> programs/Build_Token_With_Rust/src/lib.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | let cpi_accounts = SetAuthority { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::idl::IdlInstruction::SetAuthority; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Build_Token_With_Rust` due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "bb5b4e4c774e58255ac0b74b68b309ed8fd798a0da6cdd604e98f0823e668b33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb5b4e4c774e58255ac0b74b68b309ed8fd798a0da6cdd604e98f0823e668b33", kill_on_drop: false }` [INFO] [stdout] bb5b4e4c774e58255ac0b74b68b309ed8fd798a0da6cdd604e98f0823e668b33