[INFO] cloning repository https://github.com/pkmuntu/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/pkmuntu/nft-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkmuntu%2Fnft-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkmuntu%2Fnft-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4dc4d9a7414bff46036bfe082f753a18e611c046 [INFO] building pkmuntu/nft-contract against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkmuntu%2Fnft-contract" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pkmuntu/nft-contract [INFO] finished tweaking git repo https://github.com/pkmuntu/nft-contract [INFO] tweaked toml for git repo https://github.com/pkmuntu/nft-contract written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pkmuntu/nft-contract on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pkmuntu/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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-sys v0.2.2 [INFO] [stderr] Downloaded near-gas v0.3.0 [INFO] [stderr] Downloaded near-token v0.3.0 [INFO] [stderr] Downloaded near-account-id v1.0.0 [INFO] [stderr] Downloaded borsh-derive v1.5.5 [INFO] [stderr] Downloaded near-sdk-macros v5.8.1 [INFO] [stderr] Downloaded borsh v1.5.5 [INFO] [stderr] Downloaded near-sdk v5.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ad2d254059498c30146dda86d3ee137efc97c333c8c1d29a3d722edcd71c4d5 [INFO] running `Command { std: "docker" "start" "-a" "7ad2d254059498c30146dda86d3ee137efc97c333c8c1d29a3d722edcd71c4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ad2d254059498c30146dda86d3ee137efc97c333c8c1d29a3d722edcd71c4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad2d254059498c30146dda86d3ee137efc97c333c8c1d29a3d722edcd71c4d5", kill_on_drop: false }` [INFO] [stdout] 7ad2d254059498c30146dda86d3ee137efc97c333c8c1d29a3d722edcd71c4d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 0f1864cccee9ace7a8e8d6c850a2d338005255e18d070ca9a2d63e66ae89bcb6 [INFO] running `Command { std: "docker" "start" "-a" "0f1864cccee9ace7a8e8d6c850a2d338005255e18d070ca9a2d63e66ae89bcb6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling near-sdk-macros v5.8.1 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling borsh v1.5.5 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling near-sys v0.2.2 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling borsh-derive v1.5.5 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling near-token v0.3.0 [INFO] [stderr] Compiling near-account-id v1.0.0 [INFO] [stderr] Compiling near-gas v0.3.0 [INFO] [stderr] Compiling near-sdk v5.8.1 [INFO] [stderr] Compiling nft-contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize}; [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:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crate::approval::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `NonFungibleTokenCore` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | 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 doc comment [INFO] [stdout] --> src/nft_core.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | /// Since we've already transferred the token and nft_on_transfer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | /// returned false, we don't have to revert the original transfer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | /// and thus we can just return true since nothing went wrong. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | /// [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | /// we refund the owner for releasing the storage used up by the [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 206 | /// approved account IDs [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | /// approved account IDs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | /// We need to log that the NFT was reverted back to the original owner. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | / let nft_transfer_log: EventLog = EventLog { [INFO] [stdout] 253 | | // Standard name ("nep171"). [INFO] [stdout] 254 | | standard: NFT_STANDARD_NAME.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 270 | | }]), [INFO] [stdout] 271 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | /// the old_owner_id will be the reseiver and the new_owern_id will be the [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 251 | /// original owner of the token since we're reverting the transfer. [INFO] [stdout] 252 | / let nft_transfer_log: EventLog = EventLog { [INFO] [stdout] 253 | | // Standard name ("nep171"). [INFO] [stdout] 254 | | standard: NFT_STANDARD_NAME.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 270 | | }]), [INFO] [stdout] 271 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | /// original owner of the token since we're reverting the transfer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 252 | / let nft_transfer_log: EventLog = EventLog { [INFO] [stdout] 253 | | // Standard name ("nep171"). [INFO] [stdout] 254 | | standard: NFT_STANDARD_NAME.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 270 | | }]), [INFO] [stdout] 271 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_id` [INFO] [stdout] --> src/royalty.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | fn nft_payout(&self, token_id: TokenId, balance: NearToken, max_len_payout: u32) -> Payout { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/royalty.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | fn nft_payout(&self, token_id: TokenId, balance: NearToken, max_len_payout: u32) -> Payout { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_len_payout` [INFO] [stdout] --> src/royalty.rs:23:65 [INFO] [stdout] | [INFO] [stdout] 23 | fn nft_payout(&self, token_id: TokenId, balance: NearToken, max_len_payout: u32) -> Payout { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len_payout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver_id` [INFO] [stdout] --> src/royalty.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | receiver_id: AccountId, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_id` [INFO] [stdout] --> src/royalty.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | token_id: TokenId, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `approval_id` [INFO] [stdout] --> src/royalty.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | approval_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_approval_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memo` [INFO] [stdout] --> src/royalty.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | memo: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_memo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/royalty.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | balance: NearToken, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_len_payout` [INFO] [stdout] --> src/royalty.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | max_len_payout: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len_payout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NonFungibleTokenApprovalsReceiver` is never used [INFO] [stdout] --> src/approval.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | trait NonFungibleTokenApprovalsReceiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NonFungibleTokenReceiver` is never used [INFO] [stdout] --> src/nft_core.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | trait NonFungibleTokenReceiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.04s [INFO] running `Command { std: "docker" "inspect" "0f1864cccee9ace7a8e8d6c850a2d338005255e18d070ca9a2d63e66ae89bcb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1864cccee9ace7a8e8d6c850a2d338005255e18d070ca9a2d63e66ae89bcb6", kill_on_drop: false }` [INFO] [stdout] 0f1864cccee9ace7a8e8d6c850a2d338005255e18d070ca9a2d63e66ae89bcb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 4db5cb8bd9a6cb7eb782531ad5573457f7330ae7bc1e32788fa916ccf872e42e [INFO] running `Command { std: "docker" "start" "-a" "4db5cb8bd9a6cb7eb782531ad5573457f7330ae7bc1e32788fa916ccf872e42e", kill_on_drop: false }` [INFO] [stderr] Compiling nft-contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize}; [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:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crate::approval::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `NonFungibleTokenCore` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | 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 doc comment [INFO] [stdout] --> src/nft_core.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | /// Since we've already transferred the token and nft_on_transfer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | /// returned false, we don't have to revert the original transfer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | /// and thus we can just return true since nothing went wrong. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | /// [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | /// we refund the owner for releasing the storage used up by the [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 206 | /// approved account IDs [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | /// approved account IDs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | /// We need to log that the NFT was reverted back to the original owner. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | / let nft_transfer_log: EventLog = EventLog { [INFO] [stdout] 253 | | // Standard name ("nep171"). [INFO] [stdout] 254 | | standard: NFT_STANDARD_NAME.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 270 | | }]), [INFO] [stdout] 271 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | /// the old_owner_id will be the reseiver and the new_owern_id will be the [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 251 | /// original owner of the token since we're reverting the transfer. [INFO] [stdout] 252 | / let nft_transfer_log: EventLog = EventLog { [INFO] [stdout] 253 | | // Standard name ("nep171"). [INFO] [stdout] 254 | | standard: NFT_STANDARD_NAME.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 270 | | }]), [INFO] [stdout] 271 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | /// original owner of the token since we're reverting the transfer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 252 | / let nft_transfer_log: EventLog = EventLog { [INFO] [stdout] 253 | | // Standard name ("nep171"). [INFO] [stdout] 254 | | standard: NFT_STANDARD_NAME.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 270 | | }]), [INFO] [stdout] 271 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_id` [INFO] [stdout] --> src/royalty.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | fn nft_payout(&self, token_id: TokenId, balance: NearToken, max_len_payout: u32) -> Payout { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/royalty.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | fn nft_payout(&self, token_id: TokenId, balance: NearToken, max_len_payout: u32) -> Payout { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_len_payout` [INFO] [stdout] --> src/royalty.rs:23:65 [INFO] [stdout] | [INFO] [stdout] 23 | fn nft_payout(&self, token_id: TokenId, balance: NearToken, max_len_payout: u32) -> Payout { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len_payout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver_id` [INFO] [stdout] --> src/royalty.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | receiver_id: AccountId, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_id` [INFO] [stdout] --> src/royalty.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | token_id: TokenId, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `approval_id` [INFO] [stdout] --> src/royalty.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | approval_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_approval_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memo` [INFO] [stdout] --> src/royalty.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | memo: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_memo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/royalty.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | balance: NearToken, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_len_payout` [INFO] [stdout] --> src/royalty.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | max_len_payout: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len_payout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NonFungibleTokenApprovalsReceiver` is never used [INFO] [stdout] --> src/approval.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | trait NonFungibleTokenApprovalsReceiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NonFungibleTokenReceiver` is never used [INFO] [stdout] --> src/nft_core.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | trait NonFungibleTokenReceiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize}; [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:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crate::approval::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `NonFungibleTokenCore` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | 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 doc comment [INFO] [stdout] --> src/nft_core.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | /// Since we've already transferred the token and nft_on_transfer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | /// returned false, we don't have to revert the original transfer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | /// and thus we can just return true since nothing went wrong. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | /// [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | /// we refund the owner for releasing the storage used up by the [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 206 | /// approved account IDs [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | /// approved account IDs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | refund_approved_account_ids(&owner_id, &approved_account_ids); [INFO] [stdout] | ------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | /// We need to log that the NFT was reverted back to the original owner. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | / let nft_transfer_log: EventLog = EventLog { [INFO] [stdout] 253 | | // Standard name ("nep171"). [INFO] [stdout] 254 | | standard: NFT_STANDARD_NAME.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 270 | | }]), [INFO] [stdout] 271 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | /// the old_owner_id will be the reseiver and the new_owern_id will be the [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 251 | /// original owner of the token since we're reverting the transfer. [INFO] [stdout] 252 | / let nft_transfer_log: EventLog = EventLog { [INFO] [stdout] 253 | | // Standard name ("nep171"). [INFO] [stdout] 254 | | standard: NFT_STANDARD_NAME.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 270 | | }]), [INFO] [stdout] 271 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nft_core.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | /// original owner of the token since we're reverting the transfer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 252 | / let nft_transfer_log: EventLog = EventLog { [INFO] [stdout] 253 | | // Standard name ("nep171"). [INFO] [stdout] 254 | | standard: NFT_STANDARD_NAME.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 270 | | }]), [INFO] [stdout] 271 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_id` [INFO] [stdout] --> src/royalty.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | fn nft_payout(&self, token_id: TokenId, balance: NearToken, max_len_payout: u32) -> Payout { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/royalty.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | fn nft_payout(&self, token_id: TokenId, balance: NearToken, max_len_payout: u32) -> Payout { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_len_payout` [INFO] [stdout] --> src/royalty.rs:23:65 [INFO] [stdout] | [INFO] [stdout] 23 | fn nft_payout(&self, token_id: TokenId, balance: NearToken, max_len_payout: u32) -> Payout { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len_payout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver_id` [INFO] [stdout] --> src/royalty.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | receiver_id: AccountId, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_id` [INFO] [stdout] --> src/royalty.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | token_id: TokenId, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `approval_id` [INFO] [stdout] --> src/royalty.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | approval_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_approval_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memo` [INFO] [stdout] --> src/royalty.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | memo: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_memo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/royalty.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | balance: NearToken, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_len_payout` [INFO] [stdout] --> src/royalty.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | max_len_payout: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len_payout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NonFungibleTokenApprovalsReceiver` is never used [INFO] [stdout] --> src/approval.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | trait NonFungibleTokenApprovalsReceiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NonFungibleTokenReceiver` is never used [INFO] [stdout] --> src/nft_core.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | trait NonFungibleTokenReceiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "4db5cb8bd9a6cb7eb782531ad5573457f7330ae7bc1e32788fa916ccf872e42e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db5cb8bd9a6cb7eb782531ad5573457f7330ae7bc1e32788fa916ccf872e42e", kill_on_drop: false }` [INFO] [stdout] 4db5cb8bd9a6cb7eb782531ad5573457f7330ae7bc1e32788fa916ccf872e42e