[INFO] cloning repository https://github.com/Metaverse-minecraft/blockhead-nft-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Metaverse-minecraft/blockhead-nft-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetaverse-minecraft%2Fblockhead-nft-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetaverse-minecraft%2Fblockhead-nft-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a966d9132a8801601c73a8f8bdc85d314c88ad87 [INFO] checking Metaverse-minecraft/blockhead-nft-contract against master#c1feb3eceef7d5f0126c309a87062cf413fe0a25 for pr-121053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetaverse-minecraft%2Fblockhead-nft-contract" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Metaverse-minecraft/blockhead-nft-contract on toolchain c1feb3eceef7d5f0126c309a87062cf413fe0a25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c1feb3eceef7d5f0126c309a87062cf413fe0a25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Metaverse-minecraft/blockhead-nft-contract [INFO] finished tweaking git repo https://github.com/Metaverse-minecraft/blockhead-nft-contract [INFO] tweaked toml for git repo https://github.com/Metaverse-minecraft/blockhead-nft-contract written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Metaverse-minecraft/blockhead-nft-contract 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" "+c1feb3eceef7d5f0126c309a87062cf413fe0a25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] warning: spurious network error (3 tries remaining): [7] Couldn't connect to server (Failed to connect to static.crates.io port 443 after 1521 ms: Couldn't connect to server) [INFO] [stderr] warning: spurious network error (2 tries remaining): [7] Couldn't connect to server (Failed to connect to static.crates.io port 443 after 0 ms: Couldn't connect to server) [INFO] [stderr] warning: spurious network error (1 tries remaining): [7] Couldn't connect to server (Failed to connect to static.crates.io port 443 after 0 ms: Couldn't connect to server) [INFO] [stderr] error: failed to download from `https://static.crates.io/crates/near-contract-standards/3.2.0/download` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] [7] Couldn't connect to server (Failed to connect to static.crates.io port 443 after 0 ms: Couldn't connect to server) [ERROR] this task or one of its parent failed! [ERROR] command failed: exit status: 101 [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Metaverse-minecraft/blockhead-nft-contract against try#0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5 for pr-121053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetaverse-minecraft%2Fblockhead-nft-contract" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Metaverse-minecraft/blockhead-nft-contract on toolchain 0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Metaverse-minecraft/blockhead-nft-contract [INFO] finished tweaking git repo https://github.com/Metaverse-minecraft/blockhead-nft-contract [INFO] tweaked toml for git repo https://github.com/Metaverse-minecraft/blockhead-nft-contract written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Metaverse-minecraft/blockhead-nft-contract 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" "+0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-contract-standards v3.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8038a3357f5bb9545250d7be5078cadbfb9e55ead9b7d70a5104365942638dae [INFO] running `Command { std: "docker" "start" "-a" "8038a3357f5bb9545250d7be5078cadbfb9e55ead9b7d70a5104365942638dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8038a3357f5bb9545250d7be5078cadbfb9e55ead9b7d70a5104365942638dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8038a3357f5bb9545250d7be5078cadbfb9e55ead9b7d70a5104365942638dae", kill_on_drop: false }` [INFO] [stdout] 8038a3357f5bb9545250d7be5078cadbfb9e55ead9b7d70a5104365942638dae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eda1580555ac55d828dff03119df0fb63cb2da653f0f0a4df4a410cd9be9f7ee [INFO] running `Command { std: "docker" "start" "-a" "eda1580555ac55d828dff03119df0fb63cb2da653f0f0a4df4a410cd9be9f7ee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [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 hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking typenum v1.15.0 [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] Checking hashbrown v0.9.1 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking 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 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.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] Checking borsh v0.8.2 [INFO] [stderr] Checking near-primitives-core v0.4.0 [INFO] [stderr] Checking near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Checking near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Checking near-sdk v3.1.0 [INFO] [stderr] Checking near-contract-standards v3.2.0 [INFO] [stderr] Checking block-head-nft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockedBlockchain` [INFO] [stdout] --> src/lib.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | testing_env!(context.build()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MockedBlockchain` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testing_env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 + use near_sdk::MockedBlockchain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockedBlockchain` [INFO] [stdout] --> src/lib.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | testing_env!(context.is_view(true).build()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MockedBlockchain` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testing_env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 + use near_sdk::MockedBlockchain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockedBlockchain` [INFO] [stdout] --> src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | testing_env!(context.build()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MockedBlockchain` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testing_env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 + use near_sdk::MockedBlockchain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockedBlockchain` [INFO] [stdout] --> src/lib.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | testing_env!(context.build()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MockedBlockchain` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testing_env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 + use near_sdk::MockedBlockchain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockedBlockchain` [INFO] [stdout] --> src/lib.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | / testing_env!(context [INFO] [stdout] 160 | | .storage_usage(env::storage_usage()) [INFO] [stdout] 161 | | .attached_deposit(MINT_STORAGE_COST) [INFO] [stdout] 162 | | .predecessor_account_id(accounts(0)) [INFO] [stdout] 163 | | .build()); [INFO] [stdout] | |_____________________^ use of undeclared type `MockedBlockchain` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testing_env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 + use near_sdk::MockedBlockchain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockedBlockchain` [INFO] [stdout] --> src/lib.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | testing_env!(context.build()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MockedBlockchain` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testing_env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 + use near_sdk::MockedBlockchain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockedBlockchain` [INFO] [stdout] --> src/lib.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | / testing_env!(context [INFO] [stdout] 180 | | .storage_usage(env::storage_usage()) [INFO] [stdout] 181 | | .attached_deposit(MINT_STORAGE_COST) [INFO] [stdout] 182 | | .predecessor_account_id(accounts(0)) [INFO] [stdout] 183 | | .build()); [INFO] [stdout] | |_____________________^ use of undeclared type `MockedBlockchain` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testing_env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 + use near_sdk::MockedBlockchain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockedBlockchain` [INFO] [stdout] --> src/lib.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | / testing_env!(context [INFO] [stdout] 188 | | .storage_usage(env::storage_usage()) [INFO] [stdout] 189 | | .attached_deposit(1) [INFO] [stdout] 190 | | .predecessor_account_id(accounts(0)) [INFO] [stdout] 191 | | .build()); [INFO] [stdout] | |_____________________^ use of undeclared type `MockedBlockchain` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testing_env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 + use near_sdk::MockedBlockchain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockedBlockchain` [INFO] [stdout] --> src/lib.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / testing_env!(context [INFO] [stdout] 195 | | .storage_usage(env::storage_usage()) [INFO] [stdout] 196 | | .account_balance(env::account_balance()) [INFO] [stdout] 197 | | .is_view(true) [INFO] [stdout] 198 | | .attached_deposit(0) [INFO] [stdout] 199 | | .build()); [INFO] [stdout] | |_____________________^ use of undeclared type `MockedBlockchain` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testing_env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 + use near_sdk::MockedBlockchain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `std::string::String` with `ValidAccountId` [INFO] [stdout] --> src/lib.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(token.owner_id, accounts(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::string::String == ValidAccountId` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `std::string::String` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] > [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[E0277]: can't compare `std::string::String` with `ValidAccountId` [INFO] [stdout] --> src/lib.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(token.owner_id, accounts(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::string::String == ValidAccountId` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `std::string::String` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] > [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `block-head-nft` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "eda1580555ac55d828dff03119df0fb63cb2da653f0f0a4df4a410cd9be9f7ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eda1580555ac55d828dff03119df0fb63cb2da653f0f0a4df4a410cd9be9f7ee", kill_on_drop: false }` [INFO] [stdout] eda1580555ac55d828dff03119df0fb63cb2da653f0f0a4df4a410cd9be9f7ee