[INFO] cloning repository https://github.com/hyetigran/calculator-dapp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hyetigran/calculator-dapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyetigran%2Fcalculator-dapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyetigran%2Fcalculator-dapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16d4198a2fc1925ee4ce1886140c8c0d50a603a5 [INFO] testing hyetigran/calculator-dapp against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyetigran%2Fcalculator-dapp" "/workspace/builds/worker-119/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-119/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hyetigran/calculator-dapp on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hyetigran/calculator-dapp [INFO] finished tweaking git repo https://github.com/hyetigran/calculator-dapp [INFO] tweaked toml for git repo https://github.com/hyetigran/calculator-dapp written to /workspace/builds/worker-119/source/Cargo.toml [INFO] crate git repo https://github.com/hyetigran/calculator-dapp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anchor-attribute-state v0.11.1 [INFO] [stderr] Downloaded anchor-attribute-account v0.11.1 [INFO] [stderr] Downloaded anchor-attribute-error v0.11.1 [INFO] [stderr] Downloaded anchor-attribute-event v0.11.1 [INFO] [stderr] Downloaded anchor-attribute-program v0.11.1 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.11.1 [INFO] [stderr] Downloaded solana-sdk-macro v1.10.0 [INFO] [stderr] Downloaded anchor-derive-accounts v0.11.1 [INFO] [stderr] Downloaded anchor-attribute-interface v0.11.1 [INFO] [stderr] Downloaded anchor-syn v0.11.1 [INFO] [stderr] Downloaded solana-frozen-abi v1.10.0 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.10.0 [INFO] [stderr] Downloaded solana-program v1.10.0 [INFO] [stderr] Downloaded anchor-lang v0.11.1 [INFO] [stderr] Downloaded sha3 v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c27b09517145d10d397448238ca0906d57c21ef2668bcea742c481c1d736ae39 [INFO] running `Command { std: "docker" "start" "-a" "c27b09517145d10d397448238ca0906d57c21ef2668bcea742c481c1d736ae39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c27b09517145d10d397448238ca0906d57c21ef2668bcea742c481c1d736ae39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27b09517145d10d397448238ca0906d57c21ef2668bcea742c481c1d736ae39", kill_on_drop: false }` [INFO] [stdout] c27b09517145d10d397448238ca0906d57c21ef2668bcea742c481c1d736ae39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a3135c0bfaf249a57ebaf0ee23f3f430bbda34781c7616eb0ba11c0246934eb [INFO] running `Command { std: "docker" "start" "-a" "2a3135c0bfaf249a57ebaf0ee23f3f430bbda34781c7616eb0ba11c0246934eb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling memmap2 v0.5.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.10.0 [INFO] [stderr] Compiling solana-frozen-abi v1.10.0 [INFO] [stderr] Compiling solana-program v1.10.0 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.10.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Compiling bytemuck v1.8.0 [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-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling sha3 v0.10.1 [INFO] [stderr] Compiling anchor-syn v0.11.1 [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 anchor-attribute-account v0.11.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.11.1 [INFO] [stderr] Compiling anchor-attribute-program v0.11.1 [INFO] [stderr] Compiling anchor-attribute-state v0.11.1 [INFO] [stderr] Compiling anchor-attribute-interface v0.11.1 [INFO] [stderr] Compiling anchor-attribute-error v0.11.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.11.1 [INFO] [stderr] Compiling anchor-attribute-event v0.11.1 [INFO] [stderr] Compiling anchor-lang v0.11.1 [INFO] [stderr] Compiling mycalculatordapp v0.1.0 (/opt/rustwide/workdir/programs/mycalculatordapp) [INFO] [stdout] error: associated or seeds must be provided before payer [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | #[account(init, payer = user, space = 8 + 64 + 64 + 64 + 64)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Invariant violation: composite constraints can only be raw or literals [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Invariant violation: composite constraints can only be raw or literals [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Invariant violation: composite constraints can only be raw or literals [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Invariant violation: composite constraints can only be raw or literals [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ could not find `__client_accounts_create` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_program` in the list of imported crates [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | declare_id!("Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `solana_program` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_program` in the list of imported crates [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | declare_id!("Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `solana_program::pubkey` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | pub calculator: Account<'info, Calculator>, [INFO] [stdout] | ^^^^^^^ help: a trait with a similar name exists: `Accounts` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.11.1/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named trait `Accounts` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signer` in this scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | pub user: Signer<'info>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Program` in this scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | pub system_program: Program<'info, System>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:46:40 [INFO] [stdout] | [INFO] [stdout] 46 | pub system_program: Program<'info, System>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | pub calculator: Account<'info, Calculator>, [INFO] [stdout] | ^^^^^^^ help: a trait with a similar name exists: `Accounts` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.11.1/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named trait `Accounts` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | pub calculator: Account<'info, Calculator>, [INFO] [stdout] | ^^^^^^^ help: a trait with a similar name exists: `Accounts` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.11.1/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named trait `Accounts` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | pub calculator: Account<'info, Calculator>, [INFO] [stdout] | ^^^^^^^ help: a trait with a similar name exists: `Accounts` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.11.1/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named trait `Accounts` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | pub calculator: Account<'info, Calculator>, [INFO] [stdout] | ^^^^^^^ help: a trait with a similar name exists: `Accounts` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.11.1/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named trait `Accounts` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `Create` in the current scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Create<'_>` [INFO] [stdout] ... [INFO] [stdout] 41 | pub struct Create<'info> { [INFO] [stdout] | ------------------------ function or associated item `try_accounts` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Create<'_>: anchor_lang::Accounts<'_>` is not satisfied [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::Accounts<'_>` is not implemented for `Create<'_>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.11.1/src/context.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, 'b, 'c, 'info, T: Accounts<'info>> Context<'a, 'b, 'c, 'info, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `exit` found for struct `Create` in the current scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ method not found in `Create<'_>` [INFO] [stdout] ... [INFO] [stdout] 41 | pub struct Create<'info> { [INFO] [stdout] | ------------------------ method `exit` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `exit`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::AccountsExit` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `Addition` in the current scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Addition<'_>` [INFO] [stdout] ... [INFO] [stdout] 50 | pub struct Addition<'info> { [INFO] [stdout] | -------------------------- function or associated item `try_accounts` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Addition<'_>: anchor_lang::Accounts<'_>` is not satisfied [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::Accounts<'_>` is not implemented for `Addition<'_>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.11.1/src/context.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, 'b, 'c, 'info, T: Accounts<'info>> Context<'a, 'b, 'c, 'info, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `exit` found for struct `Addition` in the current scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ method not found in `Addition<'_>` [INFO] [stdout] ... [INFO] [stdout] 50 | pub struct Addition<'info> { [INFO] [stdout] | -------------------------- method `exit` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `exit`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::AccountsExit` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `Multiplication` in the current scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Multiplication<'_>` [INFO] [stdout] ... [INFO] [stdout] 56 | pub struct Multiplication<'info> { [INFO] [stdout] | -------------------------------- function or associated item `try_accounts` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Multiplication<'_>: anchor_lang::Accounts<'_>` is not satisfied [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::Accounts<'_>` is not implemented for `Multiplication<'_>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.11.1/src/context.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, 'b, 'c, 'info, T: Accounts<'info>> Context<'a, 'b, 'c, 'info, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `exit` found for struct `Multiplication` in the current scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ method not found in `Multiplication<'_>` [INFO] [stdout] ... [INFO] [stdout] 56 | pub struct Multiplication<'info> { [INFO] [stdout] | -------------------------------- method `exit` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `exit`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::AccountsExit` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `Subtraction` in the current scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Subtraction<'_>` [INFO] [stdout] ... [INFO] [stdout] 62 | pub struct Subtraction<'info> { [INFO] [stdout] | ----------------------------- function or associated item `try_accounts` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Subtraction<'_>: anchor_lang::Accounts<'_>` is not satisfied [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::Accounts<'_>` is not implemented for `Subtraction<'_>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.11.1/src/context.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, 'b, 'c, 'info, T: Accounts<'info>> Context<'a, 'b, 'c, 'info, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `exit` found for struct `Subtraction` in the current scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ method not found in `Subtraction<'_>` [INFO] [stdout] ... [INFO] [stdout] 62 | pub struct Subtraction<'info> { [INFO] [stdout] | ----------------------------- method `exit` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `exit`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::AccountsExit` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `Division` in the current scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Division<'_>` [INFO] [stdout] ... [INFO] [stdout] 68 | pub struct Division<'info> { [INFO] [stdout] | -------------------------- function or associated item `try_accounts` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Division<'_>: anchor_lang::Accounts<'_>` is not satisfied [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::Accounts<'_>` is not implemented for `Division<'_>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.11.1/src/context.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, 'b, 'c, 'info, T: Accounts<'info>> Context<'a, 'b, 'c, 'info, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `exit` found for struct `Division` in the current scope [INFO] [stdout] --> programs/mycalculatordapp/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[program] [INFO] [stdout] | ^^^^^^^^^^ method not found in `Division<'_>` [INFO] [stdout] ... [INFO] [stdout] 68 | pub struct Division<'info> { [INFO] [stdout] | -------------------------- method `exit` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `exit`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::AccountsExit` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mycalculatordapp` due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "2a3135c0bfaf249a57ebaf0ee23f3f430bbda34781c7616eb0ba11c0246934eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a3135c0bfaf249a57ebaf0ee23f3f430bbda34781c7616eb0ba11c0246934eb", kill_on_drop: false }` [INFO] [stdout] 2a3135c0bfaf249a57ebaf0ee23f3f430bbda34781c7616eb0ba11c0246934eb