[INFO] cloning repository https://github.com/IKIGUYZ/near-lightbulb-contract
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IKIGUYZ/near-lightbulb-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIKIGUYZ%2Fnear-lightbulb-contract", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIKIGUYZ%2Fnear-lightbulb-contract'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0cea1c8306e4a42f75e8ccc6222fa2f68361bf18
[INFO] testing IKIGUYZ/near-lightbulb-contract against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIKIGUYZ%2Fnear-lightbulb-contract" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/IKIGUYZ/near-lightbulb-contract
[INFO] finished tweaking git repo https://github.com/IKIGUYZ/near-lightbulb-contract
[INFO] tweaked toml for git repo https://github.com/IKIGUYZ/near-lightbulb-contract written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/IKIGUYZ/near-lightbulb-contract on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/IKIGUYZ/near-lightbulb-contract 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-7-tc2/source/contracts/lightbulb/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dfefe5141aa13e12ec27771cb48add8909ff7d869b2ee235887335c7afaebad8
[INFO] running `Command { std: "docker" "start" "-a" "dfefe5141aa13e12ec27771cb48add8909ff7d869b2ee235887335c7afaebad8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfefe5141aa13e12ec27771cb48add8909ff7d869b2ee235887335c7afaebad8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfefe5141aa13e12ec27771cb48add8909ff7d869b2ee235887335c7afaebad8", kill_on_drop: false }`
[INFO] [stdout] dfefe5141aa13e12ec27771cb48add8909ff7d869b2ee235887335c7afaebad8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e1a240d9fa21221ec0edc6e1237a062d2923440983bb0d08deff656674816437
[INFO] running `Command { std: "docker" "start" "-a" "e1a240d9fa21221ec0edc6e1237a062d2923440983bb0d08deff656674816437", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/contracts/lightbulb/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.57
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.118
[INFO] [stderr]    Compiling serde v1.0.118
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling serde_json v1.0.73
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling ahash v0.4.7
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling keccak v0.1.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling memory_units v0.4.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling near-sys v0.1.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.8
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling near-runtime-utils v4.0.0-pre.1
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.8.2
[INFO] [stderr]    Compiling borsh-derive-internal v0.8.2
[INFO] [stderr]    Compiling near-sdk-core v3.1.0
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling near-sdk-macros v3.1.0
[INFO] [stderr]    Compiling near-sdk-macros v4.0.0-pre.4
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling near-rpc-error-core v0.1.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling near-rpc-error-macro v0.1.0
[INFO] [stderr]    Compiling borsh-derive v0.8.2
[INFO] [stderr]    Compiling borsh v0.8.2
[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 v4.0.0-pre.1
[INFO] [stderr]    Compiling near-sdk v3.1.0
[INFO] [stderr]    Compiling near-sdk v4.0.0-pre.4
[INFO] [stderr]    Compiling near-contract-standards v3.2.0
[INFO] [stderr]    Compiling lightbulb-contract v0.1.0 (/opt/rustwide/workdir/contracts/lightbulb)
[INFO] [stdout] warning: derive helper attribute is used before it is introduced
[INFO] [stdout]  --> contracts/lightbulb/src/account.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[serde(crate = "near_sdk::serde")]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 8 | #[derive(BorshSerialize, BorshDeserialize, Serialize)]
[INFO] [stdout]   |                                            --------- the attribute is introduced here
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
[INFO] [stdout]   = note: `#[warn(legacy_derive_helpers)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `near_sdk::env::panic`: Use env::panic_str to panic with a message.
[INFO] [stdout]   --> contracts/lightbulb/src/lib.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |         env::panic(b"Contract is not initialized");
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `deposit` is never used
[INFO] [stdout]    --> contracts/lightbulb/src/lib.rs:120:19
[INFO] [stdout]     |
[INFO] [stdout] 44  | impl Contract {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub(crate) fn deposit(&mut self, sender_id: &AccountId, amount: Balance) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `deposit` is never used
[INFO] [stdout]   --> contracts/lightbulb/src/account.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Account {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub(crate) fn deposit(&mut self, amount: Balance) {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FungibleTokenReceiver` is never used
[INFO] [stdout]  --> contracts/lightbulb/src/token_receiver.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait FungibleTokenReceiver {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling dola-token v0.1.0 (/opt/rustwide/workdir/contracts/token)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 27s
[INFO] running `Command { std: "docker" "inspect" "e1a240d9fa21221ec0edc6e1237a062d2923440983bb0d08deff656674816437", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e1a240d9fa21221ec0edc6e1237a062d2923440983bb0d08deff656674816437", kill_on_drop: false }`
[INFO] [stdout] e1a240d9fa21221ec0edc6e1237a062d2923440983bb0d08deff656674816437
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c5c48640d9b09a2d2a3929affeace6fd87c3d18e4951e895fe416145637f20d2
[INFO] running `Command { std: "docker" "start" "-a" "c5c48640d9b09a2d2a3929affeace6fd87c3d18e4951e895fe416145637f20d2", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/contracts/lightbulb/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.15
[INFO] [stderr]    Compiling dola-token v0.1.0 (/opt/rustwide/workdir/contracts/token)
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_pcg v0.3.1
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling lightbulb-contract v0.1.0 (/opt/rustwide/workdir/contracts/lightbulb)
[INFO] [stdout] warning: derive helper attribute is used before it is introduced
[INFO] [stdout]  --> contracts/lightbulb/src/account.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[serde(crate = "near_sdk::serde")]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 8 | #[derive(BorshSerialize, BorshDeserialize, Serialize)]
[INFO] [stdout]   |                                            --------- the attribute is introduced here
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
[INFO] [stdout]   = note: `#[warn(legacy_derive_helpers)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `near_sdk::env::panic`: Use env::panic_str to panic with a message.
[INFO] [stdout]   --> contracts/lightbulb/src/lib.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |         env::panic(b"Contract is not initialized");
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `deposit` is never used
[INFO] [stdout]    --> contracts/lightbulb/src/lib.rs:120:19
[INFO] [stdout]     |
[INFO] [stdout] 44  | impl Contract {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub(crate) fn deposit(&mut self, sender_id: &AccountId, amount: Balance) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `deposit` is never used
[INFO] [stdout]   --> contracts/lightbulb/src/account.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Account {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub(crate) fn deposit(&mut self, amount: Balance) {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FungibleTokenReceiver` is never used
[INFO] [stdout]  --> contracts/lightbulb/src/token_receiver.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait FungibleTokenReceiver {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.21s
[INFO] running `Command { std: "docker" "inspect" "c5c48640d9b09a2d2a3929affeace6fd87c3d18e4951e895fe416145637f20d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5c48640d9b09a2d2a3929affeace6fd87c3d18e4951e895fe416145637f20d2", kill_on_drop: false }`
[INFO] [stdout] c5c48640d9b09a2d2a3929affeace6fd87c3d18e4951e895fe416145637f20d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f82ef413e18f4168ac2c2f5cbde94c4271f647aed2f7f0d339386a01e08df8b5
[INFO] running `Command { std: "docker" "start" "-a" "f82ef413e18f4168ac2c2f5cbde94c4271f647aed2f7f0d339386a01e08df8b5", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/contracts/lightbulb/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: derive helper attribute is used before it is introduced
[INFO] [stderr]  --> contracts/lightbulb/src/account.rs:7:3
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[serde(crate = "near_sdk::serde")]
[INFO] [stderr]   |   ^^^^^
[INFO] [stderr] 8 | #[derive(BorshSerialize, BorshDeserialize, Serialize)]
[INFO] [stderr]   |                                            --------- the attribute is introduced here
[INFO] [stderr]   |
[INFO] [stderr]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]   = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
[INFO] [stderr]   = note: `#[warn(legacy_derive_helpers)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `near_sdk::env::panic`: Use env::panic_str to panic with a message.
[INFO] [stderr]   --> contracts/lightbulb/src/lib.rs:39:14
[INFO] [stderr]    |
[INFO] [stderr] 39 |         env::panic(b"Contract is not initialized");
[INFO] [stderr]    |              ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `deposit` is never used
[INFO] [stderr]    --> contracts/lightbulb/src/lib.rs:120:19
[INFO] [stderr]     |
[INFO] [stderr] 44  | impl Contract {
[INFO] [stderr]     | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 120 |     pub(crate) fn deposit(&mut self, sender_id: &AccountId, amount: Balance) {
[INFO] [stderr]     |                   ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `deposit` is never used
[INFO] [stderr]   --> contracts/lightbulb/src/account.rs:26:19
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl Account {
[INFO] [stderr]    | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 26 |     pub(crate) fn deposit(&mut self, amount: Balance) {
[INFO] [stderr]    |                   ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `FungibleTokenReceiver` is never used
[INFO] [stderr]  --> contracts/lightbulb/src/token_receiver.rs:7:11
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub trait FungibleTokenReceiver {
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `lightbulb-contract` (lib test) generated 5 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dola_token-9e0fdb1d377f6c0c)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test tests::test_new ... ok
[INFO] [stdout] test tests::test_default - should panic ... ok
[INFO] [stdout] test tests::test_transfer ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_transfer stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_transfer' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-sdk-3.1.0/src/environment/mocked_blockchain.rs:178:54:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: HostError(GuestPanic { panic_msg: "The attached deposit is less than the mimimum storage balance" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5a700421e542 - std::backtrace_rs::backtrace::libunwind::trace::h73a647620bf1c49d
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a700421e542 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d513ed96cb3cb1
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a700421e542 - std::sys::backtrace::_print_fmt::h61bb95f7476aafa5
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5a700421e542 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha2e7e3a01df69042
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5a7004244123 - core::fmt::rt::Argument::fmt::hf14163372f0f9a76
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5a7004244123 - core::fmt::write::h7cb8f63788cd01d2
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x5a700421b4d3 - std::io::default_write_fmt::h9ed739ccee8a150c
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5a700421b4d3 - std::io::Write::write_fmt::h1c0a32da913b32f1
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5a700421e392 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5a700421fabc - std::panicking::default_hook::{{closure}}::h29548987efd832cb
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5a700421f912 - std::panicking::default_hook::ha25170a15c643514
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5a70041c9454 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h562adeecbf43c420
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5a70041c9454 - test::test_main_with_exit_callback::{{closure}}::h97dd2a879d27e0e4
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5a700422059b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h7e85cbdbda26fdb7
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5a700422059b - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5a700422026a - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5a700421ea39 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   17:     0x5a700421fefd - __rustc[beb0385846a06d21]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5a70042426f0 - core::panicking::panic_fmt::ha33fa2ae772efba9
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5a7004242a96 - core::result::unwrap_failed::hfbbd3c78a73fea3d
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/result.rs:1761:5
[INFO] [stdout]   20:     0x5a70041d757e - core::result::Result<T,E>::unwrap::hc983424cc40f27ec
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/result.rs:1167:23
[INFO] [stdout]   21:     0x5a70041d757e - <near_sdk::environment::mocked_blockchain::MockedBlockchain as near_sdk::environment::blockchain_interface::BlockchainInterface>::panic_utf8::ha3de8614b4222d7b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-sdk-3.1.0/src/environment/mocked_blockchain.rs:178:54
[INFO] [stdout]   22:     0x5a70041da48c - near_sdk::environment::env::panic::{{closure}}::h66bb0b988b96e17f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-sdk-3.1.0/src/environment/env.rs:688:18
[INFO] [stdout]   23:     0x5a70041da48c - std::thread::local::LocalKey<T>::try_with::hb0e496da3467879f
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/local.rs:315:12
[INFO] [stdout]   24:     0x5a70041da48c - std::thread::local::LocalKey<T>::with::h14594c3b96a99d83
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/local.rs:279:20
[INFO] [stdout]   25:     0x5a70041dce2f - near_sdk::environment::env::panic::he3f5f367113bb0dc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-sdk-3.1.0/src/environment/env.rs:684:30
[INFO] [stdout]   26:     0x5a70041d52b7 - near_contract_standards::fungible_token::storage_impl::<impl near_contract_standards::storage_management::StorageManagement for near_contract_standards::fungible_token::core_impl::FungibleToken>::storage_deposit::h3b21a29d608484ce
[INFO] [stdout]   27:     0x5a700418e953 - <dola_token::Contract as near_contract_standards::storage_management::StorageManagement>::storage_deposit::h36241e77f2d98c43
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-contract-standards-3.2.0/src/fungible_token/macros.rs:82:29
[INFO] [stdout]   28:     0x5a700418e953 - dola_token::tests::test_transfer::h2b03179d10dc1889
[INFO] [stdout]                                at /opt/rustwide/workdir/contracts/token/src/lib.rs:145:18
[INFO] [stdout]   29:     0x5a700418f2a9 - dola_token::tests::test_transfer::{{closure}}::hd69891dc0daf276d
[INFO] [stdout]                                at /opt/rustwide/workdir/contracts/token/src/lib.rs:135:23
[INFO] [stdout]   30:     0x5a700418f2a9 - core::ops::function::FnOnce::call_once::h4ffa3c422296581d
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   31:     0x5a70041ceb8b - core::ops::function::FnOnce::call_once::hf84b9c3d864a6959
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   32:     0x5a70041ceb8b - test::__rust_begin_short_backtrace::h5724e31441c16fcb
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:648:18
[INFO] [stdout]   33:     0x5a70041cddce - test::run_test_in_process::{{closure}}::hbc28c9aa91793d7d
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:74
[INFO] [stdout]   34:     0x5a70041cddce - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc17b0e238c0f8f3e
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   35:     0x5a70041cddce - std::panicking::catch_unwind::do_call::hcdbce0d6dd6c83ce
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40
[INFO] [stdout]   36:     0x5a70041cddce - std::panicking::catch_unwind::h9477967ceea044e8
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19
[INFO] [stdout]   37:     0x5a70041cddce - std::panic::catch_unwind::h616a2e249da12e16
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14
[INFO] [stdout]   38:     0x5a70041cddce - test::run_test_in_process::h2758deb0f2e54430
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:27
[INFO] [stdout]   39:     0x5a70041cddce - test::run_test::{{closure}}::habe5cd2564b18aaa
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:592:43
[INFO] [stdout]   40:     0x5a7004191974 - test::run_test::{{closure}}::h9a0a6928f1a15421
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:622:41
[INFO] [stdout]   41:     0x5a7004191974 - std::sys::backtrace::__rust_begin_short_backtrace::hd68b5332434a22ca
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   42:     0x5a700419531a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h264ddcc3098eacae
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   43:     0x5a700419531a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9fa39489749d6f3c
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   44:     0x5a700419531a - std::panicking::catch_unwind::do_call::hb9a1944b9f85100f
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40
[INFO] [stdout]   45:     0x5a700419531a - std::panicking::catch_unwind::h0c6f100786c0dad8
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19
[INFO] [stdout]   46:     0x5a700419531a - std::panic::catch_unwind::hf6084e2723385823
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14
[INFO] [stdout]   47:     0x5a700419531a - std::thread::Builder::spawn_unchecked_::{{closure}}::hf0af58ce658143ad
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   48:     0x5a700419531a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h88a14f9b2e79f9de
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   49:     0x5a70042234f7 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hf31256ba38644b65
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   50:     0x5a70042234f7 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h100ad77f3448041b
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   51:     0x5a70042234f7 - std::sys::pal::unix::thread::Thread::new::thread_start::h1a22ded422ce395b
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/pal/unix/thread.rs:97:17
[INFO] [stdout]   52:     0x72572a8d1aa4 - <unknown>
[INFO] [stdout]   53:     0x72572a95ea34 - clone
[INFO] [stdout]   54:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_transfer
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `-p dola-token --lib`
[INFO] running `Command { std: "docker" "inspect" "f82ef413e18f4168ac2c2f5cbde94c4271f647aed2f7f0d339386a01e08df8b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f82ef413e18f4168ac2c2f5cbde94c4271f647aed2f7f0d339386a01e08df8b5", kill_on_drop: false }`
[INFO] [stdout] f82ef413e18f4168ac2c2f5cbde94c4271f647aed2f7f0d339386a01e08df8b5
