[INFO] cloning repository https://github.com/truongchanbuu/e-commerce-smartcontract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/truongchanbuu/e-commerce-smartcontract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftruongchanbuu%2Fe-commerce-smartcontract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftruongchanbuu%2Fe-commerce-smartcontract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 811781b9bfa600956e6ced05de8bfb73fe2f8fa9 [INFO] testing truongchanbuu/e-commerce-smartcontract against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftruongchanbuu%2Fe-commerce-smartcontract" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/truongchanbuu/e-commerce-smartcontract on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/truongchanbuu/e-commerce-smartcontract [INFO] finished tweaking git repo https://github.com/truongchanbuu/e-commerce-smartcontract [INFO] tweaked toml for git repo https://github.com/truongchanbuu/e-commerce-smartcontract written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/truongchanbuu/e-commerce-smartcontract 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-2025-04-13" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7309281ff09bf263fb760639b2de87ed0a0d5baaca0a41352f66de2507e3d30a [INFO] running `Command { std: "docker" "start" "-a" "7309281ff09bf263fb760639b2de87ed0a0d5baaca0a41352f66de2507e3d30a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7309281ff09bf263fb760639b2de87ed0a0d5baaca0a41352f66de2507e3d30a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7309281ff09bf263fb760639b2de87ed0a0d5baaca0a41352f66de2507e3d30a", kill_on_drop: false }` [INFO] [stdout] 7309281ff09bf263fb760639b2de87ed0a0d5baaca0a41352f66de2507e3d30a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1301718bc869d24c9bf7262803aa9a44901ef3eaae217cbcd9c2c37e498b2dd [INFO] running `Command { std: "docker" "start" "-a" "b1301718bc869d24c9bf7262803aa9a44901ef3eaae217cbcd9c2c37e498b2dd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde v1.0.166 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling equivalent v1.0.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling winnow v0.4.7 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling rustversion v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling toml_edit v0.19.11 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling parity-secp256k1 v0.7.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.41 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling c2-chacha v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.166 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.41 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling schemars v0.8.12 [INFO] [stderr] Compiling schemars_derive v0.8.12 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling dyn-clone v1.0.11 [INFO] [stderr] Compiling bytesize v1.2.0 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling near-sys v0.2.0 [INFO] [stderr] Compiling near-sdk-macros v4.1.1 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling near-rpc-error-core v0.14.0 [INFO] [stderr] Compiling near-rpc-error-macro v0.14.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling near-account-id v0.14.0 [INFO] [stderr] Compiling zeropool-bn v0.5.11 [INFO] [stderr] Compiling near-abi v0.3.0 [INFO] [stderr] Compiling near-vm-errors v0.14.0 [INFO] [stderr] Compiling near-primitives-core v0.14.0 [INFO] [stderr] Compiling near-crypto v0.14.0 [INFO] [stderr] Compiling near-primitives v0.14.0 [INFO] [stderr] Compiling near-vm-logic v0.14.0 [INFO] [stderr] Compiling near-sdk v4.1.1 [INFO] [stderr] Compiling contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Product` [INFO] [stdout] --> src/events.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Product; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnorderedSet` [INFO] [stdout] --> src/lib.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | use near_sdk::collections::{LookupMap, UnorderedMap, UnorderedSet}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoHash` and `log` [INFO] [stdout] --> src/lib.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | env, ext_contract, log, near_bindgen, AccountId, Balance, CryptoHash, PanicOnDefault, Promise, [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender_id` [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | sender_id: AccountId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/lib.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | amount: U128, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lib.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | msg: String, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "b1301718bc869d24c9bf7262803aa9a44901ef3eaae217cbcd9c2c37e498b2dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1301718bc869d24c9bf7262803aa9a44901ef3eaae217cbcd9c2c37e498b2dd", kill_on_drop: false }` [INFO] [stdout] b1301718bc869d24c9bf7262803aa9a44901ef3eaae217cbcd9c2c37e498b2dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 702b8b5aa9900a0dc63ce9ff201ca1fed4562fb974f3b6c3ad423065f8729ced [INFO] running `Command { std: "docker" "start" "-a" "702b8b5aa9900a0dc63ce9ff201ca1fed4562fb974f3b6c3ad423065f8729ced", kill_on_drop: false }` [INFO] [stderr] Compiling contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Product` [INFO] [stdout] --> src/events.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Product; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnorderedSet` [INFO] [stdout] --> src/lib.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | use near_sdk::collections::{LookupMap, UnorderedMap, UnorderedSet}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoHash` and `log` [INFO] [stdout] --> src/lib.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | env, ext_contract, log, near_bindgen, AccountId, Balance, CryptoHash, PanicOnDefault, Promise, [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender_id` [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | sender_id: AccountId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/lib.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | amount: U128, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lib.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | msg: String, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "702b8b5aa9900a0dc63ce9ff201ca1fed4562fb974f3b6c3ad423065f8729ced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "702b8b5aa9900a0dc63ce9ff201ca1fed4562fb974f3b6c3ad423065f8729ced", kill_on_drop: false }` [INFO] [stdout] 702b8b5aa9900a0dc63ce9ff201ca1fed4562fb974f3b6c3ad423065f8729ced [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 62e9ed96f353aa51f75fe9cc63b24bbaba8d31f6201dd60a85e1991b307f0690 [INFO] running `Command { std: "docker" "start" "-a" "62e9ed96f353aa51f75fe9cc63b24bbaba8d31f6201dd60a85e1991b307f0690", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::Product` [INFO] [stderr] --> src/events.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::Product; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `UnorderedSet` [INFO] [stderr] --> src/lib.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | use near_sdk::collections::{LookupMap, UnorderedMap, UnorderedSet}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CryptoHash` and `log` [INFO] [stderr] --> src/lib.rs:9:24 [INFO] [stderr] | [INFO] [stderr] 9 | env, ext_contract, log, near_bindgen, AccountId, Balance, CryptoHash, PanicOnDefault, Promise, [INFO] [stderr] | ^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sender_id` [INFO] [stderr] --> src/lib.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | sender_id: AccountId, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount` [INFO] [stderr] --> src/lib.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | amount: U128, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/lib.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | msg: String, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: `contract` (lib test) generated 6 warnings (run `cargo fix --lib -p contract --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/contract-6dd0c298fb05018f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "62e9ed96f353aa51f75fe9cc63b24bbaba8d31f6201dd60a85e1991b307f0690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62e9ed96f353aa51f75fe9cc63b24bbaba8d31f6201dd60a85e1991b307f0690", kill_on_drop: false }` [INFO] [stdout] 62e9ed96f353aa51f75fe9cc63b24bbaba8d31f6201dd60a85e1991b307f0690