[INFO] cloning repository https://github.com/divyarang26/Lottery_contract_on_soroban [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/divyarang26/Lottery_contract_on_soroban" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivyarang26%2FLottery_contract_on_soroban", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivyarang26%2FLottery_contract_on_soroban'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73bed585bd51254ed2dc047239d51553987bd0f6 [INFO] checking divyarang26/Lottery_contract_on_soroban/73bed585bd51254ed2dc047239d51553987bd0f6 against master#a9e7b30487235621751cc628f170c0f15fb215c4 for pr-136539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivyarang26%2FLottery_contract_on_soroban" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 84% (1160/1380) Updating files: 85% (1173/1380) Updating files: 86% (1187/1380) Updating files: 87% (1201/1380) Updating files: 88% (1215/1380) Updating files: 89% (1229/1380) Updating files: 90% (1242/1380) Updating files: 90% (1249/1380) Updating files: 91% (1256/1380) Updating files: 92% (1270/1380) Updating files: 93% (1284/1380) Updating files: 94% (1298/1380) Updating files: 95% (1311/1380) Updating files: 96% (1325/1380) Updating files: 97% (1339/1380) Updating files: 98% (1353/1380) Updating files: 99% (1367/1380) Updating files: 100% (1380/1380) Updating files: 100% (1380/1380), done. [INFO] validating manifest of git repo https://github.com/divyarang26/Lottery_contract_on_soroban on toolchain a9e7b30487235621751cc628f170c0f15fb215c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a9e7b30487235621751cc628f170c0f15fb215c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/divyarang26/Lottery_contract_on_soroban [INFO] finished tweaking git repo https://github.com/divyarang26/Lottery_contract_on_soroban [INFO] tweaked toml for git repo https://github.com/divyarang26/Lottery_contract_on_soroban written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/divyarang26/Lottery_contract_on_soroban 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" "+a9e7b30487235621751cc628f170c0f15fb215c4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition [INFO] [stderr] (in the `soroban-vault-contract` package) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stellar-strkey v0.0.2 [INFO] [stderr] Downloaded soroban-spec v0.1.1 [INFO] [stderr] Downloaded soroban-sdk-macros v0.1.1 [INFO] [stderr] Downloaded soroban-sdk v0.1.1 [INFO] [stderr] Downloaded soroban-auth v0.1.1 [INFO] [stderr] Downloaded soroban-env-guest v0.0.6 [INFO] [stderr] Downloaded soroban-env-macros v0.0.6 [INFO] [stderr] Downloaded soroban-wasmi v0.16.0-soroban2 [INFO] [stderr] Downloaded dyn-fmt v0.3.0 [INFO] [stderr] Downloaded soroban-env-common v0.0.6 [INFO] [stderr] Downloaded bytes-lit v0.0.4 [INFO] [stderr] Downloaded soroban-env-host v0.0.6 [INFO] [stderr] Downloaded soroban-wasmi_core v0.16.0-soroban2 [INFO] [stderr] Downloaded wasmparser-nostd v0.90.0 [INFO] [stderr] Downloaded soroban-native-sdk-macros v0.0.6 [INFO] [stderr] Downloaded stellar-xdr v0.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a9e7b30487235621751cc628f170c0f15fb215c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95badd0b81596230aa751143e519a5ebf1ac735a815b9e3c56f0fc43fdd5f20f [INFO] running `Command { std: "docker" "start" "-a" "95badd0b81596230aa751143e519a5ebf1ac735a815b9e3c56f0fc43fdd5f20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95badd0b81596230aa751143e519a5ebf1ac735a815b9e3c56f0fc43fdd5f20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95badd0b81596230aa751143e519a5ebf1ac735a815b9e3c56f0fc43fdd5f20f", kill_on_drop: false }` [INFO] [stdout] 95badd0b81596230aa751143e519a5ebf1ac735a815b9e3c56f0fc43fdd5f20f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a9e7b30487235621751cc628f170c0f15fb215c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0f1372b3fe0908b3c3c855811a8a9e448a8dd2a21aa09ec4d7cfcbb6730f4f2 [INFO] running `Command { std: "docker" "start" "-a" "f0f1372b3fe0908b3c3c855811a8a9e448a8dd2a21aa09ec4d7cfcbb6730f4f2", kill_on_drop: false }` [INFO] [stderr] warning: `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition [INFO] [stderr] (in the `soroban-vault-contract` package) [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling cpufeatures v0.2.8 [INFO] [stderr] Compiling indexmap-nostd v0.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling wasmparser-nostd v0.90.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling object v0.30.4 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dyn-fmt v0.3.0 [INFO] [stderr] Compiling parity-wasm v0.42.2 [INFO] [stderr] Checking stellar-xdr v0.0.6 [INFO] [stderr] Compiling wasmparser v0.88.0 [INFO] [stderr] Checking soroban-wasmi_core v0.16.0-soroban2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking soroban-wasmi v0.16.0-soroban2 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking stellar-strkey v0.0.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling soroban-native-sdk-macros v0.0.6 [INFO] [stderr] Compiling bytes-lit v0.0.4 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling soroban-env-macros v0.0.6 [INFO] [stderr] Compiling soroban-env-common v0.0.6 [INFO] [stderr] Checking soroban-env-host v0.0.6 [INFO] [stderr] Compiling soroban-spec v0.1.1 [INFO] [stderr] Compiling soroban-sdk-macros v0.1.1 [INFO] [stderr] Checking soroban-sdk v0.1.1 [INFO] [stderr] Checking soroban-auth v0.1.1 [INFO] [stderr] Checking soroban-vault-contract v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | soroban_sdk::contractimport!(file = "./token/soroban_token_spec.wasm"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `soroban_sdk::contractimport` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::testutils` [INFO] [stdout] --> src/test.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::testutils::{register_test_contract as register_lottery_contract, LotteryContract}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `soroban_auth::testutils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::token::TokenMetadata` [INFO] [stdout] --> src/test.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::token::{self, TokenMetadata}; [INFO] [stdout] | ^^^^^^^^^^^^^ no `TokenMetadata` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `token` [INFO] [stdout] --> src/test.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | let token = token::Client::new(e, &id); [INFO] [stdout] | ^^^^^^ could not find `Client` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | soroban_sdk::contractimport!(file = "./token/soroban_token_spec.wasm"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `soroban_sdk::contractimport` (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 `Client` in `token` [INFO] [stdout] --> src/lib.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | token::Client::new(e, contract_id).balance(&get_contract_id(e)) [INFO] [stdout] | ^^^^^^ could not find `Client` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `token` [INFO] [stdout] --> src/lib.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let client = token::Client::new(e, get_token_id(e)); [INFO] [stdout] | ^^^^^^ could not find `Client` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `token` [INFO] [stdout] --> src/lib.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | let client = token::Client::new(e, get_token_id(e)); [INFO] [stdout] | ^^^^^^ could not find `Client` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in module `token` [INFO] [stdout] --> src/test.rs:17:75 [INFO] [stdout] | [INFO] [stdout] 17 | fn create_token_contract(e: &Env, admin: &AccountId) -> ([u8; 32], token::Client) { [INFO] [stdout] | ^^^^^^ not found in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | Nonce(Identifier), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> src/lib.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub sig: Signature, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_contract_id(e: &Env) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identifier` [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Identifier::Contract(e.get_current_contract()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Identifier` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | fn put_candidate(e: &Env, candidate: Identifier) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | fn transfer(e: &Env, to: Identifier, amount: &BigInt) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> src/lib.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | &Signature::Invoker, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> src/lib.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | &client.nonce(&Signature::Invoker.identifier(e)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | fn transfer_in_vault(e: &Env, from: Identifier, amount: BigInt) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> src/lib.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | &Signature::Invoker, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | fn read_administrator(e: &Env) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 130 | fn write_administrator(e: &Env, id: Identifier) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> src/lib.rs:135:36 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn check_admin(e: &Env, auth: &Signature) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | fn read_nonce(e: &Env, id: &Identifier) -> BigInt { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> src/lib.rs:150:45 [INFO] [stdout] | [INFO] [stdout] 150 | fn verify_and_consume_nonce(e: &Env, auth: &Signature, expected_nonce: &BigInt) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> src/lib.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | Signature::Invoker => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:175:16 [INFO] [stdout] | [INFO] [stdout] 175 | admin: Identifier, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | fn buy_ticket(e: Env, from: Identifier); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:200:16 [INFO] [stdout] | [INFO] [stdout] 200 | admin: Identifier, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | fn buy_ticket(e: Env, from: Identifier) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | let candidates: Vec = get_candidates(&e); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `token` [INFO] [stdout] --> src/lib.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | token::Client::new(e, contract_id).balance(&get_contract_id(e)) [INFO] [stdout] | ^^^^^^ could not find `Client` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `token` [INFO] [stdout] --> src/lib.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let client = token::Client::new(e, get_token_id(e)); [INFO] [stdout] | ^^^^^^ could not find `Client` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `token` [INFO] [stdout] --> src/lib.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | let client = token::Client::new(e, get_token_id(e)); [INFO] [stdout] | ^^^^^^ could not find `Client` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | Nonce(Identifier), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> src/lib.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub sig: Signature, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_contract_id(e: &Env) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identifier` [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Identifier::Contract(e.get_current_contract()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Identifier` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | fn put_candidate(e: &Env, candidate: Identifier) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | fn transfer(e: &Env, to: Identifier, amount: &BigInt) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> src/lib.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | &Signature::Invoker, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> src/lib.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | &client.nonce(&Signature::Invoker.identifier(e)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | fn transfer_in_vault(e: &Env, from: Identifier, amount: BigInt) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> src/lib.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | &Signature::Invoker, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | fn read_administrator(e: &Env) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 130 | fn write_administrator(e: &Env, id: Identifier) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> src/lib.rs:135:36 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn check_admin(e: &Env, auth: &Signature) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | fn read_nonce(e: &Env, id: &Identifier) -> BigInt { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> src/lib.rs:150:45 [INFO] [stdout] | [INFO] [stdout] 150 | fn verify_and_consume_nonce(e: &Env, auth: &Signature, expected_nonce: &BigInt) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> src/lib.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | Signature::Invoker => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:175:16 [INFO] [stdout] | [INFO] [stdout] 175 | admin: Identifier, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | fn buy_ticket(e: Env, from: Identifier); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:200:16 [INFO] [stdout] | [INFO] [stdout] 200 | admin: Identifier, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | fn buy_ticket(e: Env, from: Identifier) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/lib.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | let candidates: Vec = get_candidates(&e); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::Identifier; [INFO] [stdout] | [INFO] [stdout] 11 + use soroban_auth::testutils::ed25519::Identifier; [INFO] [stdout] | [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 `soroban-vault-contract` (lib test) due to 29 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `soroban-vault-contract` (lib) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "f0f1372b3fe0908b3c3c855811a8a9e448a8dd2a21aa09ec4d7cfcbb6730f4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0f1372b3fe0908b3c3c855811a8a9e448a8dd2a21aa09ec4d7cfcbb6730f4f2", kill_on_drop: false }` [INFO] [stdout] f0f1372b3fe0908b3c3c855811a8a9e448a8dd2a21aa09ec4d7cfcbb6730f4f2