[INFO] cloning repository https://github.com/Silverest12/Blackjack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Silverest12/Blackjack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilverest12%2FBlackjack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilverest12%2FBlackjack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5fdc74069c66d3b21c127c418f551632a243f195 [INFO] testing Silverest12/Blackjack against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilverest12%2FBlackjack" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Silverest12/Blackjack 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/Silverest12/Blackjack [INFO] finished tweaking git repo https://github.com/Silverest12/Blackjack [INFO] tweaked toml for git repo https://github.com/Silverest12/Blackjack written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/Silverest12/Blackjack 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 9ca5a9e83ef8f15c199b2066ceeb452c4d8dc92fdeb7644ac2128a57dcce5d96 [INFO] running `Command { std: "docker" "start" "-a" "9ca5a9e83ef8f15c199b2066ceeb452c4d8dc92fdeb7644ac2128a57dcce5d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ca5a9e83ef8f15c199b2066ceeb452c4d8dc92fdeb7644ac2128a57dcce5d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca5a9e83ef8f15c199b2066ceeb452c4d8dc92fdeb7644ac2128a57dcce5d96", kill_on_drop: false }` [INFO] [stdout] 9ca5a9e83ef8f15c199b2066ceeb452c4d8dc92fdeb7644ac2128a57dcce5d96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 431be715bf79e70da7bdc06010a39c7eefdfd8be02293608f457f1364e9a21f6 [INFO] running `Command { std: "docker" "start" "-a" "431be715bf79e70da7bdc06010a39c7eefdfd8be02293608f457f1364e9a21f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling autocfg v1.0.1 [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 version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.66 [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 opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling near-sys v0.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.4 [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 getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.5 [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-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.2 [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-primitives-core v0.4.0 [INFO] [stderr] Compiling near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Compiling near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Compiling near-sdk v4.0.0-pre.2 [INFO] [stderr] Compiling rust-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/utils/game.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | .map(|x| x * ); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `near_sdk::sys` [INFO] [stdout] --> src/lib.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use near_sdk::sys::signer_account_id; [INFO] [stdout] | ^^^ could not find `sys` in `near_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> src/utils/game.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[init] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] near_sdk::init [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> src/utils/game.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[init] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] near_sdk::init [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `decks_number` in this scope [INFO] [stdout] --> src/utils/cards.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | for _ in 0..decks_number { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `deck` in this scope [INFO] [stdout] --> src/utils/cards.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | deck.push(Card { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `shuffle_cards` in this scope [INFO] [stdout] --> src/utils/cards.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | Self { cards: shuffle_cards(cards) } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `default` in this scope [INFO] [stdout] --> src/utils/game.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | impl default for Table { [INFO] [stdout] | ^^^^^^^ help: a trait with a similar name exists: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/utils/game.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use near_sdk::{Timestamp, Balance, Duration, AccountId, env}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountId`, `env` [INFO] [stdout] --> src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use near_sdk::{AccountId, env, near_bindgen}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Timestamp` [INFO] [stdout] --> src/lib.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use near_sdk::{Timestamp, Duration}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-template` due to 9 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "431be715bf79e70da7bdc06010a39c7eefdfd8be02293608f457f1364e9a21f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "431be715bf79e70da7bdc06010a39c7eefdfd8be02293608f457f1364e9a21f6", kill_on_drop: false }` [INFO] [stdout] 431be715bf79e70da7bdc06010a39c7eefdfd8be02293608f457f1364e9a21f6