[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 1.59.0 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-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IKIGUYZ/near-lightbulb-contract on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-6/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" "+1.59.0" "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-6/source/contracts/lightbulb/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-6/source/Cargo.toml [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-sys v0.1.0 [INFO] [stderr] Downloaded near-sdk-macros v4.0.0-pre.4 [INFO] [stderr] Downloaded near-contract-standards v3.2.0 [INFO] [stderr] Downloaded near-sdk v4.0.0-pre.4 [INFO] [stderr] Downloaded rand_pcg v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0074cfddb3420f30cab77c07d88cd5e7a9f1a568cae9bc385f2ccfe6ddc85671 [INFO] running `Command { std: "docker" "start" "-a" "0074cfddb3420f30cab77c07d88cd5e7a9f1a568cae9bc385f2ccfe6ddc85671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0074cfddb3420f30cab77c07d88cd5e7a9f1a568cae9bc385f2ccfe6ddc85671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0074cfddb3420f30cab77c07d88cd5e7a9f1a568cae9bc385f2ccfe6ddc85671", kill_on_drop: false }` [INFO] [stdout] 0074cfddb3420f30cab77c07d88cd5e7a9f1a568cae9bc385f2ccfe6ddc85671 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8832a9e6da50b170b13dec9b1742857ca4679e9d97fbf77e9feeafcb8302a9e [INFO] running `Command { std: "docker" "start" "-a" "d8832a9e6da50b170b13dec9b1742857ca4679e9d97fbf77e9feeafcb8302a9e", 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 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 ahash v0.4.7 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [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-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling generic-array v0.14.4 [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-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 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] = 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.91s [INFO] running `Command { std: "docker" "inspect" "d8832a9e6da50b170b13dec9b1742857ca4679e9d97fbf77e9feeafcb8302a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8832a9e6da50b170b13dec9b1742857ca4679e9d97fbf77e9feeafcb8302a9e", kill_on_drop: false }` [INFO] [stdout] d8832a9e6da50b170b13dec9b1742857ca4679e9d97fbf77e9feeafcb8302a9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cf70d44946ec439e6d06aa55abb9fbc1e115997038c68d8d876872974e7051d [INFO] running `Command { std: "docker" "start" "-a" "0cf70d44946ec439e6d06aa55abb9fbc1e115997038c68d8d876872974e7051d", 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 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_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] = 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 3.18s [INFO] running `Command { std: "docker" "inspect" "0cf70d44946ec439e6d06aa55abb9fbc1e115997038c68d8d876872974e7051d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cf70d44946ec439e6d06aa55abb9fbc1e115997038c68d8d876872974e7051d", kill_on_drop: false }` [INFO] [stdout] 0cf70d44946ec439e6d06aa55abb9fbc1e115997038c68d8d876872974e7051d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8869e22f1fbeae99a27a41aca54bf15e742fc86e1843542b2fdb75aac9d265c2 [INFO] running `Command { std: "docker" "start" "-a" "8869e22f1fbeae99a27a41aca54bf15e742fc86e1843542b2fdb75aac9d265c2", 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-1b94e4e5609bef6b) [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-522a4770b54da9bb) [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" "8869e22f1fbeae99a27a41aca54bf15e742fc86e1843542b2fdb75aac9d265c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8869e22f1fbeae99a27a41aca54bf15e742fc86e1843542b2fdb75aac9d265c2", kill_on_drop: false }` [INFO] [stdout] 8869e22f1fbeae99a27a41aca54bf15e742fc86e1843542b2fdb75aac9d265c2