[INFO] cloning repository https://github.com/joemonem/marketplace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joemonem/marketplace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoemonem%2Fmarketplace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoemonem%2Fmarketplace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f39ac081007ef85b0de0d8913210f79a85294d42 [INFO] testing joemonem/marketplace against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoemonem%2Fmarketplace" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joemonem/marketplace on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-20/source/.cargo/config [INFO] started tweaking git repo https://github.com/joemonem/marketplace [INFO] finished tweaking git repo https://github.com/joemonem/marketplace [INFO] tweaked toml for git repo https://github.com/joemonem/marketplace written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/joemonem/marketplace already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25784253ffcce5db080de526ef7ae3b9ed6cf3e451e7ae3bec62e685ce0d75c1 [INFO] running `Command { std: "docker" "start" "-a" "25784253ffcce5db080de526ef7ae3b9ed6cf3e451e7ae3bec62e685ce0d75c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25784253ffcce5db080de526ef7ae3b9ed6cf3e451e7ae3bec62e685ce0d75c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25784253ffcce5db080de526ef7ae3b9ed6cf3e451e7ae3bec62e685ce0d75c1", kill_on_drop: false }` [INFO] [stdout] 25784253ffcce5db080de526ef7ae3b9ed6cf3e451e7ae3bec62e685ce0d75c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5f23a0b8108030c210b7c47217564ea263dc47b9a3059435768f9de9f3ebd4d [INFO] running `Command { std: "docker" "start" "-a" "c5f23a0b8108030c210b7c47217564ea263dc47b9a3059435768f9de9f3ebd4d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling const-oid v0.6.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling der v0.4.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling spki v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling pkcs8 v0.7.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling ff v0.10.0 [INFO] [stderr] Compiling crypto-bigint v0.2.2 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling elliptic-curve v0.10.5 [INFO] [stderr] Compiling ecdsa v0.12.3 [INFO] [stderr] Compiling k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0-beta7 [INFO] [stderr] Compiling cosmwasm-derive v0.16.5 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling serde-json-wasm v0.3.2 [INFO] [stderr] Compiling ed25519-zebra v3.0.0 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling cosmwasm-crypto v0.16.5 [INFO] [stderr] Compiling cosmwasm-crypto v1.0.0-beta7 [INFO] [stderr] Compiling cosmwasm-std v1.0.0-beta7 [INFO] [stderr] Compiling cosmwasm-std v0.16.5 [INFO] [stderr] Compiling cw-storage-plus v0.8.1 [INFO] [stderr] Compiling cosmwasm-storage v0.16.0 [INFO] [stderr] Compiling cw-storage-plus v0.12.1 [INFO] [stderr] Compiling cw-utils v0.12.1 [INFO] [stderr] Compiling cw2 v0.8.1 [INFO] [stderr] Compiling cw721 v0.12.0 [INFO] [stderr] Compiling cw2 v0.12.1 [INFO] [stderr] Compiling cw721-base v0.12.0 [INFO] [stderr] Compiling marketplace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `contract_address` in this scope [INFO] [stdout] --> src/contract.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | contract_address, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW721_CONTRACT` in this scope [INFO] [stdout] --> src/contract.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | let address = CW721_CONTRACT.load(storage)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `querier` in this scope [INFO] [stdout] --> src/contract.rs:245:53 [INFO] [stdout] | [INFO] [stdout] 245 | let token_owner = get_token_owner(deps.storage, querier, token_id)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_in_list` in this scope [INFO] [stdout] --> src/contract.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | if is_in_list(token_id, deps) == true { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `depsmut` in this scope [INFO] [stdout] --> src/contract.rs:319:20 [INFO] [stdout] | [INFO] [stdout] 319 | _transfer_nft(&depsmut, &deps, &env, &info, &recipient, &token_id); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `recipient` in this scope [INFO] [stdout] --> src/contract.rs:319:50 [INFO] [stdout] | [INFO] [stdout] 319 | _transfer_nft(&depsmut, &deps, &env, &info, &recipient, &token_id); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token_auction_state` in this scope [INFO] [stdout] --> src/contract.rs:330:28 [INFO] [stdout] | [INFO] [stdout] 330 | contract_addr: token_auction_state.token_address.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockInfo`, `Querier`, `StdError`, `coin` [INFO] [stdout] --> src/contract.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | coin, entry_point, to_binary, Api, BankMsg, Binary, BlockInfo, Coin, CosmosMsg, Deps, DepsMut, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] 6 | Env, MessageInfo, Order, Pair, Querier, QuerierWrapper, QueryRequest, Response, StdError, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extension`, `MintMsg`, `msg::InstantiateMsg as Cw721InstantiateMsg` [INFO] [stdout] --> src/contract.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | msg::ExecuteMsg as Cw721ExecuteMsg, msg::InstantiateMsg as Cw721InstantiateMsg, Extension, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 13 | MintMsg, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ListingsResponse`, `QueryListingsResponse` [INFO] [stdout] --> src/contract.rs:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | ExecuteMsg, InstantiateMsg, ListingResponse, ListingsResponse, QueryListingsResponse, QueryMsg, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Approval` [INFO] [stdout] --> src/msg.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use cw721::{Approval, Expiration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::NFT` [INFO] [stdout] --> src/msg.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::state::NFT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `Api`, `Querier`, `Storage`, `Uint128` [INFO] [stdout] --> src/state.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_std::{Addr, Api, CanonicalAddr, Coin, Querier, Storage, Uint128}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Item` [INFO] [stdout] --> src/state.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use cw_storage_plus::{Item, Map}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | if ex.is_expired(&env.block) { [INFO] [stdout] | ^^^^^^^^^^ expected struct `cosmwasm_std::types::BlockInfo`, found struct `BlockInfo` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&cosmwasm_std::types::BlockInfo` [INFO] [stdout] found reference `&BlockInfo` [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | check_can_approve(&deps, env, info, &token)?; [INFO] [stdout] | ^^^^^ expected struct `Deps`, found `&DepsMut<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `approvals` on type `NFT` [INFO] [stdout] --> src/contract.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | token.approvals = token [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `owner`, `token_id`, `price`, `expiry`, `contract_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `approvals` on type `NFT` [INFO] [stdout] --> src/contract.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | .approvals [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `owner`, `token_id`, `price`, `expiry`, `contract_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 151 | if expires.is_expired(&env.block) { [INFO] [stdout] | ^^^^^^^^^^ expected struct `cosmwasm_std::types::BlockInfo`, found struct `BlockInfo` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&cosmwasm_std::types::BlockInfo` [INFO] [stdout] found reference `&BlockInfo` [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `approvals` on type `NFT` [INFO] [stdout] --> src/contract.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | token.approvals.push(approval); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `owner`, `token_id`, `price`, `expiry`, `contract_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `approvals` on type `&NFT` [INFO] [stdout] --> src/contract.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | .approvals [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `owner`, `token_id`, `price`, `expiry`, `contract_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract.rs:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | if ex.is_expired(&env.block) { [INFO] [stdout] | ^^^^^^^^^^ expected struct `cosmwasm_std::types::BlockInfo`, found struct `BlockInfo` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&cosmwasm_std::types::BlockInfo` [INFO] [stdout] found reference `&BlockInfo` [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `approvals` on type `NFT` [INFO] [stdout] --> src/contract.rs:229:11 [INFO] [stdout] | [INFO] [stdout] 229 | token.approvals = vec![]; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `owner`, `token_id`, `price`, `expiry`, `contract_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract.rs:278:73 [INFO] [stdout] | [INFO] [stdout] 278 | let approvals = execute_approve(deps, env, info, spender, token_id, expires)?; [INFO] [stdout] | ^^^^^^^ expected enum `std::option::Option`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found type `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | _transfer_nft(&depsmut, &deps, &env, &info, &recipient, &token_id); [INFO] [stdout] | ^^^^^ expected struct `Deps`, found `&DepsMut<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract.rs:343:43 [INFO] [stdout] | [INFO] [stdout] 341 | match msg { [INFO] [stdout] | --- this expression has type `msg::QueryMsg` [INFO] [stdout] 342 | QueryMsg::GetListing { token_id } => to_binary(&query_listing(deps, token_id)?), [INFO] [stdout] 343 | QueryMsg::GetAllListings { start: (), end: () } => to_binary(&query_offerings(deps)?), [INFO] [stdout] | ^^ expected struct `Uint128`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract.rs:343:52 [INFO] [stdout] | [INFO] [stdout] 341 | match msg { [INFO] [stdout] | --- this expression has type `msg::QueryMsg` [INFO] [stdout] 342 | QueryMsg::GetListing { token_id } => to_binary(&query_listing(deps, token_id)?), [INFO] [stdout] 343 | QueryMsg::GetAllListings { start: (), end: () } => to_binary(&query_offerings(deps)?), [INFO] [stdout] | ^^ expected struct `Uint128`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Api` [INFO] [stdout] --> src/contract.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | coin, entry_point, to_binary, Api, BankMsg, Binary, BlockInfo, Coin, CosmosMsg, Deps, DepsMut, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `marketplace` due to 21 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c5f23a0b8108030c210b7c47217564ea263dc47b9a3059435768f9de9f3ebd4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5f23a0b8108030c210b7c47217564ea263dc47b9a3059435768f9de9f3ebd4d", kill_on_drop: false }` [INFO] [stdout] c5f23a0b8108030c210b7c47217564ea263dc47b9a3059435768f9de9f3ebd4d