[INFO] cloning repository https://github.com/Br1ght0ne/cmc-btc-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Br1ght0ne/cmc-btc-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBr1ght0ne%2Fcmc-btc-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBr1ght0ne%2Fcmc-btc-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbdcf94504d52cf18b1b960edc82413353dada86 [INFO] testing Br1ght0ne/cmc-btc-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%2FBr1ght0ne%2Fcmc-btc-contract" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Br1ght0ne/cmc-btc-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/Br1ght0ne/cmc-btc-contract [INFO] finished tweaking git repo https://github.com/Br1ght0ne/cmc-btc-contract [INFO] tweaked toml for git repo https://github.com/Br1ght0ne/cmc-btc-contract written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/Br1ght0ne/cmc-btc-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 238d0cc637e3b4e199ea1dc343d701b60aa91d8220ec017f10ab6f365ea092db [INFO] running `Command { std: "docker" "start" "-a" "238d0cc637e3b4e199ea1dc343d701b60aa91d8220ec017f10ab6f365ea092db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "238d0cc637e3b4e199ea1dc343d701b60aa91d8220ec017f10ab6f365ea092db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "238d0cc637e3b4e199ea1dc343d701b60aa91d8220ec017f10ab6f365ea092db", kill_on_drop: false }` [INFO] [stdout] 238d0cc637e3b4e199ea1dc343d701b60aa91d8220ec017f10ab6f365ea092db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0d71488715b255ce89b0472896b50920c3825d26918860cdfbc31abe7bfef10 [INFO] running `Command { std: "docker" "start" "-a" "d0d71488715b255ce89b0472896b50920c3825d26918860cdfbc31abe7bfef10", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [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 typenum v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling itoa v0.4.7 [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 libc v0.2.99 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling near-sys v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [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.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [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 sha2 v0.9.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [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 v4.0.0-pre.4 [INFO] [stderr] Compiling cmc-btc-contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "d0d71488715b255ce89b0472896b50920c3825d26918860cdfbc31abe7bfef10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0d71488715b255ce89b0472896b50920c3825d26918860cdfbc31abe7bfef10", kill_on_drop: false }` [INFO] [stdout] d0d71488715b255ce89b0472896b50920c3825d26918860cdfbc31abe7bfef10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54c6a773fd743708100746f905c9ceb4f1075e9b4b32e888ab265fa7bea01f47 [INFO] running `Command { std: "docker" "start" "-a" "54c6a773fd743708100746f905c9ceb4f1075e9b4b32e888ab265fa7bea01f47", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [INFO] [stderr] Compiling cmc-btc-contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_logs` [INFO] [stdout] --> src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | use near_sdk::test_utils::{get_logs, VMContextBuilder}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.52s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cmc_btc_contract-b6cf015e6e58ce23) [INFO] running `Command { std: "docker" "inspect" "54c6a773fd743708100746f905c9ceb4f1075e9b4b32e888ab265fa7bea01f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54c6a773fd743708100746f905c9ceb4f1075e9b4b32e888ab265fa7bea01f47", kill_on_drop: false }` [INFO] [stdout] 54c6a773fd743708100746f905c9ceb4f1075e9b4b32e888ab265fa7bea01f47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 890bd8482b4e4cd6c8822636120c0952fadd129d16bdf3293abd25c6fa5724ff [INFO] running `Command { std: "docker" "start" "-a" "890bd8482b4e4cd6c8822636120c0952fadd129d16bdf3293abd25c6fa5724ff", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `get_logs` [INFO] [stderr] --> src/lib.rs:44:32 [INFO] [stderr] | [INFO] [stderr] 44 | use near_sdk::test_utils::{get_logs, VMContextBuilder}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/lib.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | mod tests { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cmc-btc-contract` (lib test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cmc_btc_contract-b6cf015e6e58ce23) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_add_price ... ok [INFO] [stdout] test tests::test_average_price ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "890bd8482b4e4cd6c8822636120c0952fadd129d16bdf3293abd25c6fa5724ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "890bd8482b4e4cd6c8822636120c0952fadd129d16bdf3293abd25c6fa5724ff", kill_on_drop: false }` [INFO] [stdout] 890bd8482b4e4cd6c8822636120c0952fadd129d16bdf3293abd25c6fa5724ff