[INFO] cloning repository https://github.com/DeltaVThrust-NFT/DoNFT-Contracts-NEAR [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DeltaVThrust-NFT/DoNFT-Contracts-NEAR" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeltaVThrust-NFT%2FDoNFT-Contracts-NEAR", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeltaVThrust-NFT%2FDoNFT-Contracts-NEAR'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30c82e488c10fe482f2995b2de729be8c11745f4 [INFO] checking DeltaVThrust-NFT/DoNFT-Contracts-NEAR against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeltaVThrust-NFT%2FDoNFT-Contracts-NEAR" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DeltaVThrust-NFT/DoNFT-Contracts-NEAR [INFO] finished tweaking git repo https://github.com/DeltaVThrust-NFT/DoNFT-Contracts-NEAR [INFO] tweaked toml for git repo https://github.com/DeltaVThrust-NFT/DoNFT-Contracts-NEAR written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DeltaVThrust-NFT/DoNFT-Contracts-NEAR on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DeltaVThrust-NFT/DoNFT-Contracts-NEAR 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f758af2cb5e9b57f7e3f6b02a93cd56fc4f37ed7ab5e7c34e64ad1ec4854f957 [INFO] running `Command { std: "docker" "start" "-a" "f758af2cb5e9b57f7e3f6b02a93cd56fc4f37ed7ab5e7c34e64ad1ec4854f957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f758af2cb5e9b57f7e3f6b02a93cd56fc4f37ed7ab5e7c34e64ad1ec4854f957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f758af2cb5e9b57f7e3f6b02a93cd56fc4f37ed7ab5e7c34e64ad1ec4854f957", kill_on_drop: false }` [INFO] [stdout] f758af2cb5e9b57f7e3f6b02a93cd56fc4f37ed7ab5e7c34e64ad1ec4854f957 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38b72faf6eacddbeabed7b7b124458e983e591113fed531ddce242647941700c [INFO] running `Command { std: "docker" "start" "-a" "38b72faf6eacddbeabed7b7b124458e983e591113fed531ddce242647941700c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.14 [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 libc v0.2.119 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking near-sys v0.1.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking 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 serde_derive v1.0.136 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.4 [INFO] [stderr] Compiling serde v1.0.136 [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] Checking borsh v0.8.2 [INFO] [stderr] Checking near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Checking near-primitives-core v0.4.0 [INFO] [stderr] Checking near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Checking near-sdk v4.0.0-pre.4 [INFO] [stderr] Checking donft_bundle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::mint::*` [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::mint::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use crate::nft_core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `NonFungibleTokenCore` in the type namespace is first re-exported here [INFO] [stdout] 15 | pub use crate::approval::*; [INFO] [stdout] 16 | pub use crate::royalty::*; [INFO] [stdout] | ----------------- but the name `NonFungibleTokenCore` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::royalty::*` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use crate::royalty::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unbundle::*` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use crate::unbundle::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `near_sdk::collections::Vector` [INFO] [stdout] --> src/unbundle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use near_sdk::collections::Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PromiseResult` and `ext_contract` [INFO] [stdout] --> src/unbundle.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use near_sdk::{ext_contract, Gas, PromiseResult}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mint::*` [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::mint::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use crate::nft_core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `NonFungibleTokenCore` in the type namespace is first re-exported here [INFO] [stdout] 15 | pub use crate::approval::*; [INFO] [stdout] 16 | pub use crate::royalty::*; [INFO] [stdout] | ----------------- but the name `NonFungibleTokenCore` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::royalty::*` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use crate::royalty::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unbundle::*` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use crate::unbundle::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `near_sdk::collections::Vector` [INFO] [stdout] --> src/unbundle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use near_sdk::collections::Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PromiseResult` and `ext_contract` [INFO] [stdout] --> src/unbundle.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use near_sdk::{ext_contract, Gas, PromiseResult}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `nft_token` found for reference `&Contract` in the current scope [INFO] [stdout] --> src/enumeration.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|token_id| self.nft_token(token_id.clone()).unwrap()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `nft_tokens` with a similar name, but with different arguments [INFO] [stdout] --> src/enumeration.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn nft_tokens(&self, from_index: Option, limit: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `NonFungibleTokenCore` which provides `nft_token` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::nft_core::NonFungibleTokenCore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `nft_token` found for reference `&Contract` in the current scope [INFO] [stdout] --> src/enumeration.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | .map(|token_id| self.nft_token(token_id.clone()).unwrap()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `nft_tokens` with a similar name, but with different arguments [INFO] [stdout] --> src/enumeration.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn nft_tokens(&self, from_index: Option, limit: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `NonFungibleTokenCore` which provides `nft_token` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::nft_core::NonFungibleTokenCore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `nft_token` found for reference `&Contract` in the current scope [INFO] [stdout] --> src/enumeration.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|token_id| self.nft_token(token_id.clone()).unwrap()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `nft_tokens` with a similar name, but with different arguments [INFO] [stdout] --> src/enumeration.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn nft_tokens(&self, from_index: Option, limit: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `NonFungibleTokenCore` which provides `nft_token` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::nft_core::NonFungibleTokenCore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `nft_token` found for reference `&Contract` in the current scope [INFO] [stdout] --> src/enumeration.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | .map(|token_id| self.nft_token(token_id.clone()).unwrap()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `nft_tokens` with a similar name, but with different arguments [INFO] [stdout] --> src/enumeration.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn nft_tokens(&self, from_index: Option, limit: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `NonFungibleTokenCore` which provides `nft_token` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::nft_core::NonFungibleTokenCore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unbundle.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut token = if let Some(token) = self.tokens_by_id.get(&token_id) { [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: unused variable: `token` [INFO] [stdout] --> src/unbundle.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut token = if let Some(token) = self.tokens_by_id.get(&token_id) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unbundle.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut token = if let Some(token) = self.tokens_by_id.get(&token_id) { [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: unused variable: `token` [INFO] [stdout] --> src/unbundle.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut token = if let Some(token) = self.tokens_by_id.get(&token_id) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `donft_bundle` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `donft_bundle` (lib) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "38b72faf6eacddbeabed7b7b124458e983e591113fed531ddce242647941700c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38b72faf6eacddbeabed7b7b124458e983e591113fed531ddce242647941700c", kill_on_drop: false }` [INFO] [stdout] 38b72faf6eacddbeabed7b7b124458e983e591113fed531ddce242647941700c