[INFO] cloning repository https://github.com/phongnguyen2012/stakingpool
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phongnguyen2012/stakingpool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphongnguyen2012%2Fstakingpool", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphongnguyen2012%2Fstakingpool'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4f974f30190f5f1d1e11e711eb2e8d8aa865e3b3
[INFO] testing phongnguyen2012/stakingpool against 1.62.0 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphongnguyen2012%2Fstakingpool" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/phongnguyen2012/stakingpool on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/phongnguyen2012/stakingpool
[INFO] finished tweaking git repo https://github.com/phongnguyen2012/stakingpool
[INFO] tweaked toml for git repo https://github.com/phongnguyen2012/stakingpool written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/phongnguyen2012/stakingpool already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5454bd3b2f20f0829a71b212fbd11e09ef8bf1832b523f1755739b139abdbfc2
[INFO] running `Command { std: "docker" "start" "-a" "5454bd3b2f20f0829a71b212fbd11e09ef8bf1832b523f1755739b139abdbfc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5454bd3b2f20f0829a71b212fbd11e09ef8bf1832b523f1755739b139abdbfc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5454bd3b2f20f0829a71b212fbd11e09ef8bf1832b523f1755739b139abdbfc2", kill_on_drop: false }`
[INFO] [stdout] 5454bd3b2f20f0829a71b212fbd11e09ef8bf1832b523f1755739b139abdbfc2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cba864372c5b9f087b2e2d8905ffcf0aa1704f5f5b738c90fe6fb8ea9fe141d7
[INFO] running `Command { std: "docker" "start" "-a" "cba864372c5b9f087b2e2d8905ffcf0aa1704f5f5b738c90fe6fb8ea9fe141d7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.57
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.118
[INFO] [stderr]    Compiling serde v1.0.118
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling ahash v0.4.7
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling libc v0.2.123
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling keccak v0.1.0
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]    Compiling Inflector v0.11.4
[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 hashbrown v0.9.1
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling indexmap v1.8.1
[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 aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling sha3 v0.9.1
[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 toml v0.5.9
[INFO] [stderr]    Compiling near-rpc-error-core v0.1.0
[INFO] [stderr]    Compiling near-rpc-error-macro v0.1.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[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 stakingcontract v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `near_sdk::log`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use near_sdk::log;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::enumeration::*`
[INFO] [stdout]   --> src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::enumeration::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::internal::*`
[INFO] [stdout]   --> src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::internal::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::core_impl::*`
[INFO] [stdout]   --> src/lib.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::core_impl::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/core_impl.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         msg: String,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `contractV1` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let contractV1: StakingContractV1 = env::state_read().expect("Can not read state data");
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `contract_v1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 26.84s
[INFO] running `Command { std: "docker" "inspect" "cba864372c5b9f087b2e2d8905ffcf0aa1704f5f5b738c90fe6fb8ea9fe141d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cba864372c5b9f087b2e2d8905ffcf0aa1704f5f5b738c90fe6fb8ea9fe141d7", kill_on_drop: false }`
[INFO] [stdout] cba864372c5b9f087b2e2d8905ffcf0aa1704f5f5b738c90fe6fb8ea9fe141d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38373e7656b1404f01a72077b3df4c1c7a2070007aa2c5315e48d84d6ea8225c
[INFO] running `Command { std: "docker" "start" "-a" "38373e7656b1404f01a72077b3df4c1c7a2070007aa2c5315e48d84d6ea8225c", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling stakingcontract v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `near_sdk::log`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use near_sdk::log;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::enumeration::*`
[INFO] [stdout]   --> src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::enumeration::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::internal::*`
[INFO] [stdout]   --> src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::internal::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::core_impl::*`
[INFO] [stdout]   --> src/lib.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::core_impl::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/core_impl.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         msg: String,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `config`
[INFO] [stdout]    --> src/lib.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let config: Config = Config {
[INFO] [stdout]     |             ------ move occurs because `config` has type `config::Config`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 172 |             StakingContract::new(accounts(1).to_string(), "ft_contract".to_string(), config);
[INFO] [stdout]     |                                                                                      ------ value moved here
[INFO] [stdout] ...
[INFO] [stdout] 176 |         assert_eq!(config.reward_numerator, contract.config.reward_numerator);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stakingcontract` due to 2 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "38373e7656b1404f01a72077b3df4c1c7a2070007aa2c5315e48d84d6ea8225c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38373e7656b1404f01a72077b3df4c1c7a2070007aa2c5315e48d84d6ea8225c", kill_on_drop: false }`
[INFO] [stdout] 38373e7656b1404f01a72077b3df4c1c7a2070007aa2c5315e48d84d6ea8225c
