[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-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIKIGUYZ%2Fnear-lightbulb-contract" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IKIGUYZ/near-lightbulb-contract on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-16/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-02-22" "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-16/source/contracts/lightbulb/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-16/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-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8afc4baa1651ce751ff5e1da521ea49697ecc9713b57d31829f56ff3dc818e1e [INFO] running `Command { std: "docker" "start" "-a" "8afc4baa1651ce751ff5e1da521ea49697ecc9713b57d31829f56ff3dc818e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8afc4baa1651ce751ff5e1da521ea49697ecc9713b57d31829f56ff3dc818e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8afc4baa1651ce751ff5e1da521ea49697ecc9713b57d31829f56ff3dc818e1e", kill_on_drop: false }` [INFO] [stdout] 8afc4baa1651ce751ff5e1da521ea49697ecc9713b57d31829f56ff3dc818e1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b054afd46b69b952ed70309bb6d39f71e5cb299ddbe721b8e60b627349c00e5 [INFO] running `Command { std: "docker" "start" "-a" "8b054afd46b69b952ed70309bb6d39f71e5cb299ddbe721b8e60b627349c00e5", 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 syn v1.0.57 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling near-sys v0.1.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.1 [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 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 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] [stderr] Compiling dola-token v0.1.0 (/opt/rustwide/workdir/contracts/token) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.07s [INFO] running `Command { std: "docker" "inspect" "8b054afd46b69b952ed70309bb6d39f71e5cb299ddbe721b8e60b627349c00e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b054afd46b69b952ed70309bb6d39f71e5cb299ddbe721b8e60b627349c00e5", kill_on_drop: false }` [INFO] [stdout] 8b054afd46b69b952ed70309bb6d39f71e5cb299ddbe721b8e60b627349c00e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9b3e343b39dff0c65461601c4f5013342b830ba4ac7319a9fe7746d316833db [INFO] running `Command { std: "docker" "start" "-a" "e9b3e343b39dff0c65461601c4f5013342b830ba4ac7319a9fe7746d316833db", 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 ppv-lite86 v0.2.15 [INFO] [stderr] Compiling getrandom v0.2.3 [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_pcg v0.3.1 [INFO] [stderr] Compiling rand_chacha 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] = 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 2.88s [INFO] running `Command { std: "docker" "inspect" "e9b3e343b39dff0c65461601c4f5013342b830ba4ac7319a9fe7746d316833db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b3e343b39dff0c65461601c4f5013342b830ba4ac7319a9fe7746d316833db", kill_on_drop: false }` [INFO] [stdout] e9b3e343b39dff0c65461601c4f5013342b830ba4ac7319a9fe7746d316833db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 744e6c2750c9f39bdb7c4db27ff423ce4138811156542df91ff1e6610840ff2a [INFO] running `Command { std: "docker" "start" "-a" "744e6c2750c9f39bdb7c4db27ff423ce4138811156542df91ff1e6610840ff2a", 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.04s [INFO] [stderr] Running unittests (/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.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/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" "744e6c2750c9f39bdb7c4db27ff423ce4138811156542df91ff1e6610840ff2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "744e6c2750c9f39bdb7c4db27ff423ce4138811156542df91ff1e6610840ff2a", kill_on_drop: false }` [INFO] [stdout] 744e6c2750c9f39bdb7c4db27ff423ce4138811156542df91ff1e6610840ff2a