[INFO] cloning repository https://github.com/professionalhomes/DAO_lpstaking [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/professionalhomes/DAO_lpstaking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprofessionalhomes%2FDAO_lpstaking", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprofessionalhomes%2FDAO_lpstaking'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa9e4a62990b7cf398ea00b60a1c85a3d7bda6e0 [INFO] testing professionalhomes/DAO_lpstaking against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprofessionalhomes%2FDAO_lpstaking" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/professionalhomes/DAO_lpstaking [INFO] finished tweaking git repo https://github.com/professionalhomes/DAO_lpstaking [INFO] tweaked toml for git repo https://github.com/professionalhomes/DAO_lpstaking written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/professionalhomes/DAO_lpstaking on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/professionalhomes/DAO_lpstaking 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: patch `parity-secp256k1 v0.7.0 (https://github.com/paritytech/rust-secp256k1.git#d05fd8e1)` was not used in the crate graph [INFO] [stderr] help: Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9864e58780cd51cbe415a47e8e59a89822a1dea1d99b3002373684098ce78a2 [INFO] running `Command { std: "docker" "start" "-a" "e9864e58780cd51cbe415a47e8e59a89822a1dea1d99b3002373684098ce78a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9864e58780cd51cbe415a47e8e59a89822a1dea1d99b3002373684098ce78a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9864e58780cd51cbe415a47e8e59a89822a1dea1d99b3002373684098ce78a2", kill_on_drop: false }` [INFO] [stdout] e9864e58780cd51cbe415a47e8e59a89822a1dea1d99b3002373684098ce78a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcb101c09d06c67013a66f0db6626dc6d94d5d27ee62cb853f90b566e0a07636 [INFO] running `Command { std: "docker" "start" "-a" "dcb101c09d06c67013a66f0db6626dc6d94d5d27ee62cb853f90b566e0a07636", kill_on_drop: false }` [INFO] [stderr] warning: patch `parity-secp256k1 v0.7.0 (https://github.com/paritytech/rust-secp256k1.git#d05fd8e1)` was not used in the crate graph [INFO] [stderr] help: Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling ahash v0.4.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling borsh v1.4.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling near-sdk-macros v5.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling near-runtime-utils v2.2.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Compiling near-sdk-core v3.1.0 [INFO] [stderr] Compiling near-sdk-core v2.0.1 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling near-sys v0.2.1 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling borsh-derive v0.7.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling near-sdk-macros v3.1.0 [INFO] [stderr] Compiling near-sdk-macros v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling borsh v0.7.2 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling borsh-derive v1.4.0 [INFO] [stderr] Compiling near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling near-gas v0.2.5 [INFO] [stderr] Compiling near-account-id v1.0.0 [INFO] [stderr] Compiling near-token v0.2.0 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling near-runtime-fees v2.2.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling borsh v0.8.2 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling near-vm-errors v2.2.0 [INFO] [stderr] Compiling near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Compiling near-primitives-core v0.4.0 [INFO] [stderr] Compiling near-vm-logic v2.2.0 [INFO] [stderr] Compiling near-sdk v5.1.0 [INFO] [stderr] Compiling near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Compiling get-epoch-contract v0.1.0 (/opt/rustwide/workdir/test-get-epoch-contract) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(BorshDeserialize, BorshSerialize, PanicOnDefault)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Could not find `borsh` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/test-get-epoch-contract/Cargo.toml`! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(BorshDeserialize, BorshSerialize, PanicOnDefault)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Could not find `borsh` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/test-get-epoch-contract/Cargo.toml`! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `near_sdk::Balance` [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:9:63 [INFO] [stdout] | [INFO] [stdout] 9 | env, ext_contract, is_promise_success, log, near_bindgen, Balance, PanicOnDefault, [INFO] [stdout] | ^^^^^^^ no `Balance` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wee_alloc` in `near_sdk` [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | static ALLOC: near_sdk::wee_alloc::WeeAlloc = near_sdk::wee_alloc::WeeAlloc::INIT; [INFO] [stdout] | ^^^^^^^^^ could not find `wee_alloc` in `near_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wee_alloc` in `near_sdk` [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | static ALLOC: near_sdk::wee_alloc::WeeAlloc = near_sdk::wee_alloc::WeeAlloc::INIT; [INFO] [stdout] | ^^^^^^^^^ could not find `wee_alloc` in `near_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:47:54 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_account_staked_balance(&self, account_id: AccountId) -> U128String; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use near_sdk::AccountId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:49:56 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_account_unstaked_balance(&self, account_id: AccountId) -> U128String; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use near_sdk::AccountId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:51:53 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_account_total_balance(&self, account_id: AccountId) -> U128String; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use near_sdk::AccountId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:47:54 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_account_staked_balance(&self, account_id: AccountId) -> U128String; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct: [INFO] [stdout] near_sdk::AccountId [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:49:56 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_account_unstaked_balance(&self, account_id: AccountId) -> U128String; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct: [INFO] [stdout] near_sdk::AccountId [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:51:53 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_account_total_balance(&self, account_id: AccountId) -> U128String; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct: [INFO] [stdout] near_sdk::AccountId [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_account_total_balance` in module `ext_staking_pool` [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:126:27 [INFO] [stdout] | [INFO] [stdout] 126 | ext_staking_pool::get_account_total_balance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ext_staking_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `on_get_sp_total_balance` in module `ext_self_owner` [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | .then(ext_self_owner::on_get_sp_total_balance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `ext_self_owner` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 72 | #[near_bindgen] [INFO] [stdout] | --------------- the item is gated behind the `wasm32` feature [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn on_get_sp_total_balance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `near_sdk::env::block_index`: Use block_height instead [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | return env::block_index(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestContract: BorshDeserialize` is not satisfied [INFO] [stdout] --> test-get-epoch-contract/src/owner.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | let old: TestContract/*Old*/ = env::state_read().expect("ERR_CONTRACT_IS_NOT_INITIALIZED"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `BorshDeserialize` is not implemented for `TestContract` [INFO] [stdout] --> test-get-epoch-contract/src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TestContract { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `BorshDeserialize`: [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6) [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7) [INFO] [stdout] and 85 others [INFO] [stdout] note: required by a bound in `state_read` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-sdk-5.1.0/src/environment/env.rs:919:22 [INFO] [stdout] | [INFO] [stdout] 919 | pub fn state_read() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `state_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `get-epoch-contract` (lib) due to 14 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "dcb101c09d06c67013a66f0db6626dc6d94d5d27ee62cb853f90b566e0a07636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcb101c09d06c67013a66f0db6626dc6d94d5d27ee62cb853f90b566e0a07636", kill_on_drop: false }` [INFO] [stdout] dcb101c09d06c67013a66f0db6626dc6d94d5d27ee62cb853f90b566e0a07636