[INFO] cloning repository https://github.com/TLGKien/GourdCrab [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TLGKien/GourdCrab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTLGKien%2FGourdCrab", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTLGKien%2FGourdCrab'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 558ee6c60832041e8b253b245fc86ba26618c555 [INFO] testing TLGKien/GourdCrab against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTLGKien%2FGourdCrab" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TLGKien/GourdCrab [INFO] finished tweaking git repo https://github.com/TLGKien/GourdCrab [INFO] tweaked toml for git repo https://github.com/TLGKien/GourdCrab written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TLGKien/GourdCrab on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TLGKien/GourdCrab already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0285cf45876782b0abb5a3f6ba4403e6a3b9076ee134bc9b456286e3ba5cb6dc [INFO] running `Command { std: "docker" "start" "-a" "0285cf45876782b0abb5a3f6ba4403e6a3b9076ee134bc9b456286e3ba5cb6dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0285cf45876782b0abb5a3f6ba4403e6a3b9076ee134bc9b456286e3ba5cb6dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0285cf45876782b0abb5a3f6ba4403e6a3b9076ee134bc9b456286e3ba5cb6dc", kill_on_drop: false }` [INFO] [stdout] 0285cf45876782b0abb5a3f6ba4403e6a3b9076ee134bc9b456286e3ba5cb6dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 751cc8da3488d26d5c07431a9d999ada0690df74a6c50ceaa5f2ce33a9a05da8 [INFO] running `Command { std: "docker" "start" "-a" "751cc8da3488d26d5c07431a9d999ada0690df74a6c50ceaa5f2ce33a9a05da8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [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.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling near-runtime-utils v2.2.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Compiling near-sdk-core v2.0.1 [INFO] [stderr] Compiling borsh-derive v0.7.2 [INFO] [stderr] Compiling near-sdk-macros v2.0.1 [INFO] [stderr] Compiling borsh v0.7.2 [INFO] [stderr] Compiling near-runtime-fees v2.2.0 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling near-vm-errors v2.2.0 [INFO] [stderr] Compiling near-vm-logic v2.2.0 [INFO] [stderr] Compiling near-sdk v2.0.1 [INFO] [stderr] Compiling gourdcrab v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.33s [INFO] running `Command { std: "docker" "inspect" "751cc8da3488d26d5c07431a9d999ada0690df74a6c50ceaa5f2ce33a9a05da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "751cc8da3488d26d5c07431a9d999ada0690df74a6c50ceaa5f2ce33a9a05da8", kill_on_drop: false }` [INFO] [stdout] 751cc8da3488d26d5c07431a9d999ada0690df74a6c50ceaa5f2ce33a9a05da8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 933c1414312881c4cc01367fc7e39314caa9ee66d8ab5af8ea2d78f848e6881f [INFO] running `Command { std: "docker" "start" "-a" "933c1414312881c4cc01367fc7e39314caa9ee66d8ab5af8ea2d78f848e6881f", kill_on_drop: false }` [INFO] [stderr] Compiling gourdcrab v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut contract = GourdCrab::new(account_casino(), U128(BET_LEVEL)); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accunt_alice` is never used [INFO] [stdout] --> src/lib.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn accunt_alice() -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "933c1414312881c4cc01367fc7e39314caa9ee66d8ab5af8ea2d78f848e6881f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "933c1414312881c4cc01367fc7e39314caa9ee66d8ab5af8ea2d78f848e6881f", kill_on_drop: false }` [INFO] [stdout] 933c1414312881c4cc01367fc7e39314caa9ee66d8ab5af8ea2d78f848e6881f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ea97fe821dea037a731a8897ca38f089f3f39c440306347ebbef1274d3e43c77 [INFO] running `Command { std: "docker" "start" "-a" "ea97fe821dea037a731a8897ca38f089f3f39c440306347ebbef1274d3e43c77", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:206:13 [INFO] [stderr] | [INFO] [stderr] 206 | let mut contract = GourdCrab::new(account_casino(), U128(BET_LEVEL)); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `accunt_alice` is never used [INFO] [stderr] --> src/lib.rs:191:8 [INFO] [stderr] | [INFO] [stderr] 191 | fn accunt_alice() -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `gourdcrab` (lib test) generated 2 warnings (run `cargo fix --lib -p gourdcrab --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gourdcrab-694bdd63ebbb35a8) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests gourdcrab [INFO] [stdout] test tests::test_rolling_successfully ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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" "ea97fe821dea037a731a8897ca38f089f3f39c440306347ebbef1274d3e43c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea97fe821dea037a731a8897ca38f089f3f39c440306347ebbef1274d3e43c77", kill_on_drop: false }` [INFO] [stdout] ea97fe821dea037a731a8897ca38f089f3f39c440306347ebbef1274d3e43c77