[INFO] cloning repository https://github.com/pkmuntu/ft-marketplace
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pkmuntu/ft-marketplace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkmuntu%2Fft-marketplace", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkmuntu%2Fft-marketplace'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e7ca04c4ebf5f09ffc9ddf86ec0b6cfb7047a23b
[INFO] checking pkmuntu/ft-marketplace/e7ca04c4ebf5f09ffc9ddf86ec0b6cfb7047a23b against da86f4d0726be475afbbffe40cb2f65741c51ad3 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkmuntu%2Fft-marketplace" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pkmuntu/ft-marketplace
[INFO] finished tweaking git repo https://github.com/pkmuntu/ft-marketplace
[INFO] tweaked toml for git repo https://github.com/pkmuntu/ft-marketplace written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pkmuntu/ft-marketplace on toolchain da86f4d0726be475afbbffe40cb2f65741c51ad3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pkmuntu/ft-marketplace 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" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: target.wasm32-unknown-unknown.rustflags
[INFO] [stderr] warning: `ft-marketplace` (manifest) generated 1 warning
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded near-sys v0.2.2
[INFO] [stderr]   Downloaded near-sdk-macros v5.9.0
[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 near-sdk v5.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 146824bedf61f552aa34464f3308de7d77ea57f161acd77db55b574ea4eeae00
[INFO] running `Command { std: "docker" "start" "146824bedf61f552aa34464f3308de7d77ea57f161acd77db55b574ea4eeae00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "146824bedf61f552aa34464f3308de7d77ea57f161acd77db55b574ea4eeae00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "146824bedf61f552aa34464f3308de7d77ea57f161acd77db55b574ea4eeae00" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "146824bedf61f552aa34464f3308de7d77ea57f161acd77db55b574ea4eeae00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "146824bedf61f552aa34464f3308de7d77ea57f161acd77db55b574ea4eeae00" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: target.wasm32-unknown-unknown.rustflags
[INFO] [stderr] warning: `ft-marketplace` (manifest) generated 1 warning
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling winnow v0.7.3
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling borsh v1.5.5
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling near-sdk-macros v5.9.0
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling quote v1.0.39
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking once_cell v1.20.3
[INFO] [stderr]     Checking near-sys v0.2.2
[INFO] [stderr]    Compiling syn v2.0.99
[INFO] [stderr]    Compiling toml_edit v0.22.24
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling darling_core v0.20.10
[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]     Checking near-gas v0.3.0
[INFO] [stderr]     Checking near-token v0.3.0
[INFO] [stderr]     Checking near-account-id v1.0.0
[INFO] [stderr]     Checking near-sdk v5.9.0
[INFO] [stderr]     Checking ft-marketplace v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ft_balances.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut cur_bal = self.ft_deposits.get(&signer_id).unwrap_or(ZERO_TOKEN);
[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: `amount`
[INFO] [stdout]   --> src/ft_balances.rs:24:56
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn ft_on_transfer(&mut self, sender_id: AccountId, amount: NearToken) -> NearToken {
[INFO] [stdout]    |                                                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ft_balances.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut cur_bal = self.ft_deposits.get(&signer_id).unwrap_or(ZERO_TOKEN);
[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: `amount`
[INFO] [stdout]   --> src/ft_balances.rs:24:56
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn ft_on_transfer(&mut self, sender_id: AccountId, amount: NearToken) -> NearToken {
[INFO] [stdout]    |                                                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GAS_FOR_RESOLVE_REFUND` is never used
[INFO] [stdout]   --> src/lib.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const GAS_FOR_RESOLVE_REFUND: Gas = Gas::from_tgas(30);
[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 `ExtNftContract` is never used
[INFO] [stdout]  --> src/external.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | trait ExtNftContract {
[INFO] [stdout]   |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ExtFtContract` is never used
[INFO] [stdout]   --> src/external.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | trait ExtFtContract {
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FungibleTokenReceiver` is never used
[INFO] [stdout]   --> src/ft_balances.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | trait FungibleTokenReceiver {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_account_id` is never used
[INFO] [stdout]  --> src/internal.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub(crate) fn hash_account_id(account_id: &AccountId) -> CryptoHash {
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SaleArgs` is never constructed
[INFO] [stdout]  --> src/nft_callbacks.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct SaleArgs {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `NonFungibleTokenApprovalsReceiver` is never used
[INFO] [stdout]   --> src/nft_callbacks.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | trait NonFungibleTokenApprovalsReceiver {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ExtSelf` is never used
[INFO] [stdout]    --> src/sale.rs:136:7
[INFO] [stdout]     |
[INFO] [stdout] 136 | trait ExtSelf {
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Contract_and_token_id` should have a snake case name
[INFO] [stdout]   --> src/internal.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let Contract_and_token_id = format!("{}{}{}", &nft_contract_id, DELIMETER, token_id);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `contract_and_token_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GAS_FOR_RESOLVE_REFUND` is never used
[INFO] [stdout]   --> src/lib.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const GAS_FOR_RESOLVE_REFUND: Gas = Gas::from_tgas(30);
[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 `ExtNftContract` is never used
[INFO] [stdout]  --> src/external.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | trait ExtNftContract {
[INFO] [stdout]   |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ExtFtContract` is never used
[INFO] [stdout]   --> src/external.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | trait ExtFtContract {
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FungibleTokenReceiver` is never used
[INFO] [stdout]   --> src/ft_balances.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | trait FungibleTokenReceiver {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_account_id` is never used
[INFO] [stdout]  --> src/internal.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub(crate) fn hash_account_id(account_id: &AccountId) -> CryptoHash {
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SaleArgs` is never constructed
[INFO] [stdout]  --> src/nft_callbacks.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct SaleArgs {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `NonFungibleTokenApprovalsReceiver` is never used
[INFO] [stdout]   --> src/nft_callbacks.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | trait NonFungibleTokenApprovalsReceiver {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ExtSelf` is never used
[INFO] [stdout]    --> src/sale.rs:136:7
[INFO] [stdout]     |
[INFO] [stdout] 136 | trait ExtSelf {
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Contract_and_token_id` should have a snake case name
[INFO] [stdout]   --> src/internal.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let Contract_and_token_id = format!("{}{}{}", &nft_contract_id, DELIMETER, token_id);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `contract_and_token_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.56s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: borsh v1.5.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "146824bedf61f552aa34464f3308de7d77ea57f161acd77db55b574ea4eeae00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "146824bedf61f552aa34464f3308de7d77ea57f161acd77db55b574ea4eeae00", kill_on_drop: false }`
[INFO] [stdout] 146824bedf61f552aa34464f3308de7d77ea57f161acd77db55b574ea4eeae00
