[INFO] cloning repository https://github.com/SyedAnees21/Concordium-Contracts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SyedAnees21/Concordium-Contracts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSyedAnees21%2FConcordium-Contracts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSyedAnees21%2FConcordium-Contracts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e65f3620729202eaa9a494f6beefcab6f20a9ab [INFO] building SyedAnees21/Concordium-Contracts against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSyedAnees21%2FConcordium-Contracts" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/SyedAnees21/Concordium-Contracts [INFO] finished tweaking git repo https://github.com/SyedAnees21/Concordium-Contracts [INFO] tweaked toml for git repo https://github.com/SyedAnees21/Concordium-Contracts written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SyedAnees21/Concordium-Contracts on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SyedAnees21/Concordium-Contracts 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded concordium-std-derive v6.0.0 [INFO] [stderr] Downloaded rkyv_derive v0.7.45 [INFO] [stderr] Downloaded secp256k1 v0.22.2 [INFO] [stderr] Downloaded bytecheck_derive v0.6.12 [INFO] [stderr] Downloaded ptr_meta v0.1.4 [INFO] [stderr] Downloaded fixed-hash v0.7.0 [INFO] [stderr] Downloaded simdutf8 v0.1.5 [INFO] [stderr] Downloaded concordium_base_derive v1.0.0 [INFO] [stderr] Downloaded num_enum_derive v0.6.1 [INFO] [stderr] Downloaded concordium-cis2 v6.2.0 [INFO] [stderr] Downloaded der v0.7.10 [INFO] [stderr] Downloaded concordium-wasm v5.1.0 [INFO] [stderr] Downloaded cc v1.2.25 [INFO] [stderr] Downloaded concordium-rust-sdk v6.0.0 [INFO] [stderr] Downloaded rkyv v0.7.45 [INFO] [stderr] Downloaded ark-bls12-381 v0.4.0 [INFO] [stderr] Downloaded concordium-contracts-common v9.2.0 [INFO] [stderr] Downloaded password-hash v0.4.2 [INFO] [stderr] Downloaded axum v0.6.20 [INFO] [stderr] Downloaded ptr_meta_derive v0.1.4 [INFO] [stderr] Downloaded base64ct v1.7.3 [INFO] [stderr] Downloaded prost-derive v0.12.6 [INFO] [stderr] Downloaded ff v0.13.1 [INFO] [stderr] Downloaded ed25519-zebra v4.0.3 [INFO] [stderr] Downloaded primitive-types v0.11.1 [INFO] [stderr] Downloaded concordium-smart-contract-testing v4.4.0 [INFO] [stderr] Downloaded concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Downloaded concordium-std v10.1.0 [INFO] [stderr] Downloaded num_enum v0.6.1 [INFO] [stderr] Downloaded tonic v0.10.2 [INFO] [stderr] Downloaded prost v0.12.6 [INFO] [stderr] Downloaded rust_decimal v1.37.1 [INFO] [stderr] Downloaded secp256k1-sys v0.5.2 [INFO] [stderr] Downloaded concordium_base v7.0.0 [INFO] [stderr] Downloaded bytecheck v0.6.12 [INFO] [stderr] Downloaded seahash v4.1.0 [INFO] [stderr] Downloaded num v0.4.3 [INFO] [stderr] Downloaded axum-core v0.3.4 [INFO] [stderr] Downloaded concordium-smart-contract-engine v6.1.0 [INFO] [stderr] Downloaded rend v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22fd0ee3d5074eb8e4c552585f05c48329c42341f8541191ceb66f153f0b1257 [INFO] running `Command { std: "docker" "start" "-a" "22fd0ee3d5074eb8e4c552585f05c48329c42341f8541191ceb66f153f0b1257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22fd0ee3d5074eb8e4c552585f05c48329c42341f8541191ceb66f153f0b1257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22fd0ee3d5074eb8e4c552585f05c48329c42341f8541191ceb66f153f0b1257", kill_on_drop: false }` [INFO] [stdout] 22fd0ee3d5074eb8e4c552585f05c48329c42341f8541191ceb66f153f0b1257 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2aa537cd349805ba2f5ba821a35fed130370eac9f164bf31e7bb568b49ff3562 [INFO] running `Command { std: "docker" "start" "-a" "2aa537cd349805ba2f5ba821a35fed130370eac9f164bf31e7bb568b49ff3562", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling primitive-types v0.11.1 [INFO] [stderr] Compiling concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Compiling concordium-contracts-common v9.2.0 [INFO] [stderr] Compiling concordium-std v10.1.0 [INFO] [stderr] Compiling concordium-cis2 v6.2.0 [INFO] [stderr] Compiling market-place v0.1.0 (/opt/rustwide/workdir/market-place) [INFO] [stderr] Compiling nft-auction v0.1.0 (/opt/rustwide/workdir/auction) [INFO] [stderr] Compiling launch-pad v0.1.0 (/opt/rustwide/workdir/launch-pad) [INFO] [stdout] warning: unused imports: `TokenDetails` and `TokenIdentifier` [INFO] [stdout] --> market-place/src/params.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | state::{Price, TokenDetails, TokenIdentifier, TokenListItem}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cis2Client` [INFO] [stdout] --> market-place/src/state.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use concordium_cis2::{Cis2Client, IsTokenId}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StateSet` [INFO] [stdout] --> market-place/src/state.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | Serial, Serialize, StateApi, StateBuilder, StateMap, StateSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> market-place/src/state.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | errors::Error, params::{self, InitParams, ListParams}, ContractTokenAmount, ContractTokenId [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AddParams` [INFO] [stdout] --> market-place/src/lib.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use params::{AddParams, BuyerParams, InitParams, ListParams, TokenList}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenInfo` [INFO] [stdout] --> market-place/src/lib.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | Commission, Price, State, TokenIdentifier, TokenInfo, TokenListItem, TokenRoyaltyState, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `params::TransferParams` and `state::TokenOwnerInfo` [INFO] [stdout] --> market-place/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::{params::TransferParams, state::TokenOwnerInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DistributableAmounts` is never constructed [INFO] [stdout] --> market-place/src/lib.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | struct DistributableAmounts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distribute_amounts` is never used [INFO] [stdout] --> market-place/src/lib.rs:294:4 [INFO] [stdout] | [INFO] [stdout] 294 | fn distribute_amounts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_amounts` is never used [INFO] [stdout] --> market-place/src/lib.rs:333:4 [INFO] [stdout] | [INFO] [stdout] 333 | fn calculate_amounts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddParams` is never constructed [INFO] [stdout] --> market-place/src/params.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct AddParams { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransferParams` is never constructed [INFO] [stdout] --> market-place/src/params.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) struct TransferParams { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TokenList` is never used [INFO] [stdout] --> market-place/src/state.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type TokenList = StateMap; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> market-place/src/state.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl TokenOwnerInfo { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 31 | pub fn from(token_info: TokenInfo, owner: &AccountAddress) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_token`, `decrease_listed_quantity`, and `get_listed` are never used [INFO] [stdout] --> market-place/src/state.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn list_token( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub(crate) fn decrease_listed_quantity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn get_listed( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> market-place/src/state.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 245 | impl Price { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 246 | #[inline(always)] [INFO] [stdout] 247 | pub fn value(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.75s [INFO] running `Command { std: "docker" "inspect" "2aa537cd349805ba2f5ba821a35fed130370eac9f164bf31e7bb568b49ff3562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa537cd349805ba2f5ba821a35fed130370eac9f164bf31e7bb568b49ff3562", kill_on_drop: false }` [INFO] [stdout] 2aa537cd349805ba2f5ba821a35fed130370eac9f164bf31e7bb568b49ff3562 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8416bcfe134cef70e12b17e9c0c77f35067687dfc5b33031941517ff39a12139 [INFO] running `Command { std: "docker" "start" "-a" "8416bcfe134cef70e12b17e9c0c77f35067687dfc5b33031941517ff39a12139", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling primitive-types v0.11.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling secp256k1-sys v0.5.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling secp256k1 v0.22.2 [INFO] [stderr] Compiling concordium_base_derive v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling concordium-contracts-common v9.2.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling concordium-std-derive v6.0.0 [INFO] [stderr] Compiling concordium-wasm v5.1.0 [INFO] [stderr] Compiling concordium-std v10.1.0 [INFO] [stderr] Compiling concordium-smart-contract-engine v6.1.0 [INFO] [stderr] Compiling ark-bls12-381 v0.4.0 [INFO] [stderr] Compiling concordium_base v7.0.0 [INFO] [stderr] Compiling concordium-cis2 v6.2.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling launch-pad v0.1.0 (/opt/rustwide/workdir/launch-pad) [INFO] [stderr] Compiling market-place v0.1.0 (/opt/rustwide/workdir/market-place) [INFO] [stderr] Compiling nft-auction v0.1.0 (/opt/rustwide/workdir/auction) [INFO] [stdout] warning: unused imports: `TokenDetails` and `TokenIdentifier` [INFO] [stdout] --> market-place/src/params.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | state::{Price, TokenDetails, TokenIdentifier, TokenListItem}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cis2Client` [INFO] [stdout] --> market-place/src/state.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use concordium_cis2::{Cis2Client, IsTokenId}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StateSet` [INFO] [stdout] --> market-place/src/state.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | Serial, Serialize, StateApi, StateBuilder, StateMap, StateSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> market-place/src/state.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | errors::Error, params::{self, InitParams, ListParams}, ContractTokenAmount, ContractTokenId [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AddParams` [INFO] [stdout] --> market-place/src/lib.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use params::{AddParams, BuyerParams, InitParams, ListParams, TokenList}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenInfo` [INFO] [stdout] --> market-place/src/lib.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | Commission, Price, State, TokenIdentifier, TokenInfo, TokenListItem, TokenRoyaltyState, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `params::TransferParams` and `state::TokenOwnerInfo` [INFO] [stdout] --> market-place/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::{params::TransferParams, state::TokenOwnerInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DistributableAmounts` is never constructed [INFO] [stdout] --> market-place/src/lib.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | struct DistributableAmounts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distribute_amounts` is never used [INFO] [stdout] --> market-place/src/lib.rs:294:4 [INFO] [stdout] | [INFO] [stdout] 294 | fn distribute_amounts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_amounts` is never used [INFO] [stdout] --> market-place/src/lib.rs:333:4 [INFO] [stdout] | [INFO] [stdout] 333 | fn calculate_amounts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddParams` is never constructed [INFO] [stdout] --> market-place/src/params.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct AddParams { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransferParams` is never constructed [INFO] [stdout] --> market-place/src/params.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) struct TransferParams { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TokenList` is never used [INFO] [stdout] --> market-place/src/state.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type TokenList = StateMap; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> market-place/src/state.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl TokenOwnerInfo { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 31 | pub fn from(token_info: TokenInfo, owner: &AccountAddress) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_token`, `decrease_listed_quantity`, and `get_listed` are never used [INFO] [stdout] --> market-place/src/state.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn list_token( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub(crate) fn decrease_listed_quantity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn get_listed( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> market-place/src/state.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 245 | impl Price { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 246 | #[inline(always)] [INFO] [stdout] 247 | pub fn value(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stderr] Compiling concordium-rust-sdk v6.0.0 [INFO] [stderr] Compiling concordium-smart-contract-testing v4.4.0 [INFO] [stdout] warning: unused imports: `TokenDetails` and `TokenIdentifier` [INFO] [stdout] --> market-place/src/params.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | state::{Price, TokenDetails, TokenIdentifier, TokenListItem}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cis2Client` [INFO] [stdout] --> market-place/src/state.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use concordium_cis2::{Cis2Client, IsTokenId}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StateSet` [INFO] [stdout] --> market-place/src/state.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | Serial, Serialize, StateApi, StateBuilder, StateMap, StateSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> market-place/src/state.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | errors::Error, params::{self, InitParams, ListParams}, ContractTokenAmount, ContractTokenId [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AddParams` [INFO] [stdout] --> market-place/src/lib.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use params::{AddParams, BuyerParams, InitParams, ListParams, TokenList}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenInfo` [INFO] [stdout] --> market-place/src/lib.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | Commission, Price, State, TokenIdentifier, TokenInfo, TokenListItem, TokenRoyaltyState, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `params::TransferParams` and `state::TokenOwnerInfo` [INFO] [stdout] --> market-place/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::{params::TransferParams, state::TokenOwnerInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenIdU64` [INFO] [stdout] --> market-place/src/tests/mod.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | Receiver, TokenAmountU64 as TokenAmount, TokenIdU64, TokenIdU8 as TokenID, Transfer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OwnedEntrypointName` [INFO] [stdout] --> market-place/src/tests/mod.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | OwnedContractName, OwnedEntrypointName, OwnedParameter, OwnedReceiveName, SchemaType, Serial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenDetails` and `TokenIdentifier` [INFO] [stdout] --> market-place/src/tests/smoke.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | state::{Price, TokenDetails, TokenIdentifier}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_token_list` [INFO] [stdout] --> market-place/src/tests/smoke.rs:12:81 [INFO] [stdout] | [INFO] [stdout] 12 | initialize_chain_and_contracts, list_token, mint_token, update_operator_of, view_token_list, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DistributableAmounts` is never constructed [INFO] [stdout] --> market-place/src/lib.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | struct DistributableAmounts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distribute_amounts` is never used [INFO] [stdout] --> market-place/src/lib.rs:294:4 [INFO] [stdout] | [INFO] [stdout] 294 | fn distribute_amounts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_amounts` is never used [INFO] [stdout] --> market-place/src/lib.rs:333:4 [INFO] [stdout] | [INFO] [stdout] 333 | fn calculate_amounts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddParams` is never constructed [INFO] [stdout] --> market-place/src/params.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct AddParams { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransferParams` is never constructed [INFO] [stdout] --> market-place/src/params.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) struct TransferParams { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TokenList` is never used [INFO] [stdout] --> market-place/src/state.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type TokenList = StateMap; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> market-place/src/state.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl TokenOwnerInfo { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 31 | pub fn from(token_info: TokenInfo, owner: &AccountAddress) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_token`, `decrease_listed_quantity`, and `get_listed` are never used [INFO] [stdout] --> market-place/src/state.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn list_token( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub(crate) fn decrease_listed_quantity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn get_listed( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> market-place/src/state.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 245 | impl Price { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 246 | #[inline(always)] [INFO] [stdout] 247 | pub fn value(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `view_token_list` is never used [INFO] [stdout] --> market-place/src/tests/mod.rs:353:4 [INFO] [stdout] | [INFO] [stdout] 353 | fn view_token_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 05s [INFO] running `Command { std: "docker" "inspect" "8416bcfe134cef70e12b17e9c0c77f35067687dfc5b33031941517ff39a12139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8416bcfe134cef70e12b17e9c0c77f35067687dfc5b33031941517ff39a12139", kill_on_drop: false }` [INFO] [stdout] 8416bcfe134cef70e12b17e9c0c77f35067687dfc5b33031941517ff39a12139