[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIKIGUYZ%2Fnear-lightbulb-contract" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IKIGUYZ/near-lightbulb-contract on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/IKIGUYZ/near-lightbulb-contract already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-0/source/contracts/lightbulb/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0/source/Cargo.toml [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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b14135afdb4acb4e4bea691acb2f652a786d3967d0f5e3eab01bc22b463a4a58 [INFO] running `Command { std: "docker" "start" "-a" "b14135afdb4acb4e4bea691acb2f652a786d3967d0f5e3eab01bc22b463a4a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b14135afdb4acb4e4bea691acb2f652a786d3967d0f5e3eab01bc22b463a4a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b14135afdb4acb4e4bea691acb2f652a786d3967d0f5e3eab01bc22b463a4a58", kill_on_drop: false }` [INFO] [stdout] b14135afdb4acb4e4bea691acb2f652a786d3967d0f5e3eab01bc22b463a4a58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ff63dba60295e599ddf7c025390574cbcc6031c7f55e401f88476b38e223da99 [INFO] running `Command { std: "docker" "start" "-a" "ff63dba60295e599ddf7c025390574cbcc6031c7f55e401f88476b38e223da99", 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] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling near-sys v0.1.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling near-sdk-core v3.1.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [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 serde v1.0.118 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling num-rational v0.3.2 [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] = note: `#[warn(legacy_derive_helpers)]` on by default [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 [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dola-token v0.1.0 (/opt/rustwide/workdir/contracts/token) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "ff63dba60295e599ddf7c025390574cbcc6031c7f55e401f88476b38e223da99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff63dba60295e599ddf7c025390574cbcc6031c7f55e401f88476b38e223da99", kill_on_drop: false }` [INFO] [stdout] ff63dba60295e599ddf7c025390574cbcc6031c7f55e401f88476b38e223da99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d8c6a3a7ae57d9ed70131eb8fe56eb09606937817a9c14e3a8c16eb5301be2ff [INFO] running `Command { std: "docker" "start" "-a" "d8c6a3a7ae57d9ed70131eb8fe56eb09606937817a9c14e3a8c16eb5301be2ff", 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] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling dola-token v0.1.0 (/opt/rustwide/workdir/contracts/token) [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] = note: `#[warn(legacy_derive_helpers)]` on by default [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 [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.32s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/dola_token-b573327b74672745) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/lightbulb_contract-d74722de73b34eb3) [INFO] running `Command { std: "docker" "inspect" "d8c6a3a7ae57d9ed70131eb8fe56eb09606937817a9c14e3a8c16eb5301be2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8c6a3a7ae57d9ed70131eb8fe56eb09606937817a9c14e3a8c16eb5301be2ff", kill_on_drop: false }` [INFO] [stdout] d8c6a3a7ae57d9ed70131eb8fe56eb09606937817a9c14e3a8c16eb5301be2ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bbe3bc4f4aa3fd1ecd4f0800ffab26bf223494f6f2b85f0dbed0e5b08653b09a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bbe3bc4f4aa3fd1ecd4f0800ffab26bf223494f6f2b85f0dbed0e5b08653b09a", 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: 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] = note: `#[warn(legacy_derive_helpers)]` on by default [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 [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: `lightbulb-contract` (lib test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dola_token-b573327b74672745) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::test_new ... ok [INFO] [stdout] test tests::test_transfer ... ok [INFO] [stdout] test tests::test_default - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lightbulb_contract-d74722de73b34eb3) [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] [stderr] Doc-tests dola-token [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" "bbe3bc4f4aa3fd1ecd4f0800ffab26bf223494f6f2b85f0dbed0e5b08653b09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbe3bc4f4aa3fd1ecd4f0800ffab26bf223494f6f2b85f0dbed0e5b08653b09a", kill_on_drop: false }` [INFO] [stdout] bbe3bc4f4aa3fd1ecd4f0800ffab26bf223494f6f2b85f0dbed0e5b08653b09a