[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] testing Metaverse-minecraft/blockhead-nft-contract against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetaverse-minecraft%2Fblockhead-nft-contract" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Metaverse-minecraft/blockhead-nft-contract 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/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-14/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: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-rpc-error-core v0.1.0 [INFO] [stderr] Downloaded near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Downloaded borsh v0.8.2 [INFO] [stderr] Downloaded borsh-derive v0.8.2 [INFO] [stderr] Downloaded semver v1.0.5 [INFO] [stderr] Downloaded near-contract-standards v3.2.0 [INFO] [stderr] Downloaded near-sdk-core v3.1.0 [INFO] [stderr] Downloaded near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Downloaded near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Downloaded near-sdk v3.1.0 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Downloaded near-sdk-macros v3.1.0 [INFO] [stderr] Downloaded near-primitives-core v0.4.0 [INFO] [stderr] Downloaded borsh-derive-internal v0.8.2 [INFO] [stderr] Downloaded near-rpc-error-macro v0.1.0 [INFO] [stderr] Downloaded syn v1.0.57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] febc0f9914e0d166fe8eb149458fdd82361793e5c15893ced3d37e638ed5e0be [INFO] running `Command { std: "docker" "start" "-a" "febc0f9914e0d166fe8eb149458fdd82361793e5c15893ced3d37e638ed5e0be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "febc0f9914e0d166fe8eb149458fdd82361793e5c15893ced3d37e638ed5e0be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "febc0f9914e0d166fe8eb149458fdd82361793e5c15893ced3d37e638ed5e0be", kill_on_drop: false }` [INFO] [stdout] febc0f9914e0d166fe8eb149458fdd82361793e5c15893ced3d37e638ed5e0be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 23c1750ae1909a325e8e1dd4498ade32ee717841f3d4eea0d3fd36764409061a [INFO] running `Command { std: "docker" "start" "-a" "23c1750ae1909a325e8e1dd4498ade32ee717841f3d4eea0d3fd36764409061a", kill_on_drop: false }` [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 serde_json v1.0.79 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.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] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha3 v0.9.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.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] 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 near-contract-standards v3.2.0 [INFO] [stderr] Compiling block-head-nft v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.59s [INFO] running `Command { std: "docker" "inspect" "23c1750ae1909a325e8e1dd4498ade32ee717841f3d4eea0d3fd36764409061a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23c1750ae1909a325e8e1dd4498ade32ee717841f3d4eea0d3fd36764409061a", kill_on_drop: false }` [INFO] [stdout] 23c1750ae1909a325e8e1dd4498ade32ee717841f3d4eea0d3fd36764409061a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cbec47bc4801fbb6be0dbc86ab29d8f0e424f2d845d21f107ac93f8f0079bea [INFO] running `Command { std: "docker" "start" "-a" "4cbec47bc4801fbb6be0dbc86ab29d8f0e424f2d845d21f107ac93f8f0079bea", kill_on_drop: false }` [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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] | |_____________________^ not found in this scope [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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] | |_____________________^ not found in this scope [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] | |_____________________^ not found in this scope [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] | |_____________________^ not found in this scope [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] = 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] = 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` due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "4cbec47bc4801fbb6be0dbc86ab29d8f0e424f2d845d21f107ac93f8f0079bea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cbec47bc4801fbb6be0dbc86ab29d8f0e424f2d845d21f107ac93f8f0079bea", kill_on_drop: false }` [INFO] [stdout] 4cbec47bc4801fbb6be0dbc86ab29d8f0e424f2d845d21f107ac93f8f0079bea