[INFO] cloning repository https://github.com/smuriu/near-starter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smuriu/near-starter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmuriu%2Fnear-starter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmuriu%2Fnear-starter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a8a96343331dff719090cae037b17843a92afbe [INFO] testing smuriu/near-starter against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmuriu%2Fnear-starter" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/smuriu/near-starter on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/smuriu/near-starter [INFO] finished tweaking git repo https://github.com/smuriu/near-starter [INFO] tweaked toml for git repo https://github.com/smuriu/near-starter written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/smuriu/near-starter 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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-contract-standards v4.0.0-pre.7 [INFO] [stderr] Downloaded near-sdk-macros v4.0.0-pre.7 [INFO] [stderr] Downloaded near-sdk v4.0.0-pre.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b830878e85207ccd16e4aca1672b6b690d89d968a09b7af07025457577b558a9 [INFO] running `Command { std: "docker" "start" "-a" "b830878e85207ccd16e4aca1672b6b690d89d968a09b7af07025457577b558a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b830878e85207ccd16e4aca1672b6b690d89d968a09b7af07025457577b558a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b830878e85207ccd16e4aca1672b6b690d89d968a09b7af07025457577b558a9", kill_on_drop: false }` [INFO] [stdout] b830878e85207ccd16e4aca1672b6b690d89d968a09b7af07025457577b558a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 261bc062e71d5c3494d62bc48a99737e4d17feb3a4437abefb7a63e471ff2c26 [INFO] running `Command { std: "docker" "start" "-a" "261bc062e71d5c3494d62bc48a99737e4d17feb3a4437abefb7a63e471ff2c26", kill_on_drop: false }` [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 libc v0.2.114 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling byte-slice-cast v1.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling ed25519 v1.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parity-secp256k1 v0.7.0 [INFO] [stderr] Compiling validator_types v0.12.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling c2-chacha v0.3.3 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling near-sys v0.1.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling borsh-derive-internal v0.9.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling zeroize_derive v1.3.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.7 [INFO] [stderr] Compiling zeroize v1.5.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling near-rpc-error-core v0.10.0 [INFO] [stderr] Compiling validator v0.12.0 [INFO] [stderr] Compiling near-rpc-error-macro v0.10.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling borsh-derive v0.9.2 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling borsh v0.9.2 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling near-account-id v0.10.0 [INFO] [stderr] Compiling near-vm-errors v0.10.0 [INFO] [stderr] Compiling near-primitives-core v0.10.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling near-crypto v0.10.0 [INFO] [stderr] Compiling near-primitives v0.10.0 [INFO] [stderr] Compiling near-vm-logic v0.10.0 [INFO] [stderr] Compiling near-sdk v4.0.0-pre.7 [INFO] [stderr] Compiling near-contract-standards v4.0.0-pre.7 [INFO] [stderr] Compiling near-smart-contract-rust-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `*`, `collections::*`, `json_types::*`, `self` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | collections::*, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | json_types::*, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | serde::{self, *}, [INFO] [stdout] | ^^^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prefix_key` is never used [INFO] [stdout] --> src/utils.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn prefix_key(prefix: &Vec, key: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `storage_refund` is never used [INFO] [stdout] --> src/utils.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn storage_refund(storage_usage_start: StorageUsage, other_fees: Balance) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ITEM` is never constructed [INFO] [stdout] --> src/contract.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum StorageKey { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 5 | ITEM, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.68s [INFO] running `Command { std: "docker" "inspect" "261bc062e71d5c3494d62bc48a99737e4d17feb3a4437abefb7a63e471ff2c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "261bc062e71d5c3494d62bc48a99737e4d17feb3a4437abefb7a63e471ff2c26", kill_on_drop: false }` [INFO] [stdout] 261bc062e71d5c3494d62bc48a99737e4d17feb3a4437abefb7a63e471ff2c26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2b395decc177a9545115861c88c68c8339cb8d251b150cc8f8c11d91b588484 [INFO] running `Command { std: "docker" "start" "-a" "a2b395decc177a9545115861c88c68c8339cb8d251b150cc8f8c11d91b588484", kill_on_drop: false }` [INFO] [stderr] Compiling near-smart-contract-rust-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `*`, `collections::*`, `json_types::*`, `self` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | collections::*, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | json_types::*, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | serde::{self, *}, [INFO] [stdout] | ^^^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `testing_env` [INFO] [stdout] --> src/lib.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | use near_sdk::{test_utils::*, testing_env}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prefix_key` is never used [INFO] [stdout] --> src/utils.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn prefix_key(prefix: &Vec, key: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `storage_refund` is never used [INFO] [stdout] --> src/utils.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn storage_refund(storage_usage_start: StorageUsage, other_fees: Balance) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ITEM` is never constructed [INFO] [stdout] --> src/contract.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum StorageKey { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 5 | ITEM, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ONE_NEAR` is never used [INFO] [stdout] --> src/lib.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | const ONE_NEAR: u128 = u128::pow(10, 24); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contract_account` is never used [INFO] [stdout] --> src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn contract_account() -> AccountId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_context` is never used [INFO] [stdout] --> src/lib.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_context(predecessor_account_id: AccountId) -> VMContextBuilder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "a2b395decc177a9545115861c88c68c8339cb8d251b150cc8f8c11d91b588484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2b395decc177a9545115861c88c68c8339cb8d251b150cc8f8c11d91b588484", kill_on_drop: false }` [INFO] [stdout] a2b395decc177a9545115861c88c68c8339cb8d251b150cc8f8c11d91b588484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bddf177a0940333a78b53267a97e0fc313b6c4c1f5f5f8c64e6869efa3c0ac73 [INFO] running `Command { std: "docker" "start" "-a" "bddf177a0940333a78b53267a97e0fc313b6c4c1f5f5f8c64e6869efa3c0ac73", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `*`, `collections::*`, `json_types::*`, `self` [INFO] [stderr] --> src/lib.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | collections::*, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 4 | json_types::*, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 5 | serde::{self, *}, [INFO] [stderr] | ^^^^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `testing_env` [INFO] [stderr] --> src/lib.rs:17:35 [INFO] [stderr] | [INFO] [stderr] 17 | use near_sdk::{test_utils::*, testing_env}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `prefix_key` is never used [INFO] [stderr] --> src/utils.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | pub(crate) fn prefix_key(prefix: &Vec, key: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `storage_refund` is never used [INFO] [stderr] --> src/utils.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) fn storage_refund(storage_usage_start: StorageUsage, other_fees: Balance) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `ITEM` is never constructed [INFO] [stderr] --> src/contract.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | enum StorageKey { [INFO] [stderr] | ---------- variant in this enum [INFO] [stderr] 5 | ITEM, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ONE_NEAR` is never used [INFO] [stderr] --> src/lib.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | const ONE_NEAR: u128 = u128::pow(10, 24); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `contract_account` is never used [INFO] [stderr] --> src/lib.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | fn contract_account() -> AccountId { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_context` is never used [INFO] [stderr] --> src/lib.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | fn get_context(predecessor_account_id: AccountId) -> VMContextBuilder { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `near-smart-contract-rust-template` (lib test) generated 8 warnings (run `cargo fix --lib -p near-smart-contract-rust-template --tests` to apply 2 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/near_smart_contract_rust_template-d7e4bb612a4a1a27) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bddf177a0940333a78b53267a97e0fc313b6c4c1f5f5f8c64e6869efa3c0ac73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bddf177a0940333a78b53267a97e0fc313b6c4c1f5f5f8c64e6869efa3c0ac73", kill_on_drop: false }` [INFO] [stdout] bddf177a0940333a78b53267a97e0fc313b6c4c1f5f5f8c64e6869efa3c0ac73 [INFO] testing smuriu/near-starter against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmuriu%2Fnear-starter" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/smuriu/near-starter on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/smuriu/near-starter [INFO] finished tweaking git repo https://github.com/smuriu/near-starter [INFO] tweaked toml for git repo https://github.com/smuriu/near-starter written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/smuriu/near-starter 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" "+beta-2024-03-24" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08b9646d2d0d05dc3f1bd21aa8398687a1b770c152a85ca4adde4c5e335e00e9 [INFO] running `Command { std: "docker" "start" "-a" "08b9646d2d0d05dc3f1bd21aa8398687a1b770c152a85ca4adde4c5e335e00e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08b9646d2d0d05dc3f1bd21aa8398687a1b770c152a85ca4adde4c5e335e00e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b9646d2d0d05dc3f1bd21aa8398687a1b770c152a85ca4adde4c5e335e00e9", kill_on_drop: false }` [INFO] [stdout] 08b9646d2d0d05dc3f1bd21aa8398687a1b770c152a85ca4adde4c5e335e00e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d82307335fde908ae2df6a6e180c7d991dfe3c0b3fdcd82a6dda87449e288995 [INFO] running `Command { std: "docker" "start" "-a" "d82307335fde908ae2df6a6e180c7d991dfe3c0b3fdcd82a6dda87449e288995", kill_on_drop: false }` [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 libc v0.2.114 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling byte-slice-cast v1.2.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling ed25519 v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling validator_types v0.12.0 [INFO] [stderr] Compiling parity-secp256k1 v0.7.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling c2-chacha v0.3.3 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling near-sys v0.1.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling borsh-derive-internal v0.9.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zeroize_derive v1.3.1 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.7 [INFO] [stderr] Compiling zeroize v1.5.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `impl-trait-for-tuples` (lib) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `derive_more` (lib) [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmeta5iHbkU" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `curve25519-dalek` (lib) due to 1 previous error [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetaXb9PyF" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_derive` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "d82307335fde908ae2df6a6e180c7d991dfe3c0b3fdcd82a6dda87449e288995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d82307335fde908ae2df6a6e180c7d991dfe3c0b3fdcd82a6dda87449e288995", kill_on_drop: false }` [INFO] [stdout] d82307335fde908ae2df6a6e180c7d991dfe3c0b3fdcd82a6dda87449e288995