[INFO] cloning repository https://github.com/gigaverselabs/giga721 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gigaverselabs/giga721" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgigaverselabs%2Fgiga721", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgigaverselabs%2Fgiga721'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 61799bba26ba82e3a6972024325bf46e3d55d825 [INFO] checking gigaverselabs/giga721 against try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgigaverselabs%2Fgiga721" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gigaverselabs/giga721 [INFO] finished tweaking git repo https://github.com/gigaverselabs/giga721 [INFO] tweaked toml for git repo https://github.com/gigaverselabs/giga721 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gigaverselabs/giga721 on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gigaverselabs/giga721 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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc2/source/giga721/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking gigaverselabs/giga721 against try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgigaverselabs%2Fgiga721" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gigaverselabs/giga721 [INFO] finished tweaking git repo https://github.com/gigaverselabs/giga721 [INFO] tweaked toml for git repo https://github.com/gigaverselabs/giga721 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gigaverselabs/giga721 on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gigaverselabs/giga721 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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc2/source/giga721/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fixedbitset v0.4.1 [INFO] [stderr] Downloaded ic-types v0.1.5 [INFO] [stderr] Downloaded fastrand v1.6.0 [INFO] [stderr] Downloaded which v4.2.2 [INFO] [stderr] Downloaded serde_with_macros v1.5.0 [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] [stderr] Downloaded ic-cdk v0.3.2 [INFO] [stderr] Downloaded ic-types v0.2.2 [INFO] [stderr] Downloaded candid_derive v0.4.5 [INFO] [stderr] Downloaded string_cache v0.8.1 [INFO] [stderr] Downloaded ic-cdk-macros v0.3.2 [INFO] [stderr] Downloaded serde_tokenstream v0.1.2 [INFO] [stderr] Downloaded siphasher v0.3.7 [INFO] [stderr] Downloaded serde_with v1.10.0 [INFO] [stderr] Downloaded logos-derive v0.12.0 [INFO] [stderr] Downloaded paste v1.0.5 [INFO] [stderr] Downloaded petgraph v0.6.0 [INFO] [stderr] Downloaded candid v0.7.8 [INFO] [stderr] Downloaded num-bigint v0.4.2 [INFO] [stderr] Downloaded syn v1.0.78 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded logos v0.12.0 [INFO] [stderr] Downloaded lalrpop v0.19.6 [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded lalrpop-util v0.19.6 [INFO] [stderr] Downloaded beef v0.5.1 [INFO] [stderr] Downloaded rustversion v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1ad282ca95ed5c548add0577e102041356fd74b366e5b6c784dce0305ee29b6 [INFO] running `Command { std: "docker" "start" "-a" "b1ad282ca95ed5c548add0577e102041356fd74b366e5b6c784dce0305ee29b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1ad282ca95ed5c548add0577e102041356fd74b366e5b6c784dce0305ee29b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1ad282ca95ed5c548add0577e102041356fd74b366e5b6c784dce0305ee29b6", kill_on_drop: false }` [INFO] [stdout] b1ad282ca95ed5c548add0577e102041356fd74b366e5b6c784dce0305ee29b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ffbc5d76d86fb21c1d4d8c802eaaa63191ddd241c4d37ec7b8d4deb6019b6ca [INFO] running `Command { std: "docker" "start" "-a" "2ffbc5d76d86fb21c1d4d8c802eaaa63191ddd241c4d37ec7b8d4deb6019b6ca", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/giga721/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling syn v1.0.78 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking lalrpop-util v0.19.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling fastrand v1.6.0 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking intmap v0.7.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling lalrpop v0.19.6 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling logos v0.12.0 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Checking prost-types v0.9.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling serde_with_macros v1.5.0 [INFO] [stderr] Compiling ledger_proxy v0.1.0 (/opt/rustwide/workdir/ledger_proxy) [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking serde_with v1.10.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking ic-types v0.2.2 [INFO] [stderr] Checking ic-types v0.1.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_tokenstream v0.1.2 [INFO] [stderr] Compiling candid v0.7.8 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling num_enum v0.5.4 [INFO] [stderr] Checking ic-cdk v0.3.2 [INFO] [stderr] Compiling ic-cdk-macros v0.3.2 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking giga721 v0.1.0 (/opt/rustwide/workdir/giga721) [INFO] [stdout] warning: unexpected `cfg` condition value: `test` [INFO] [stdout] --> ledger_proxy/src/../gen/ic_ledger.pb.v1.rs:136:81 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(candid::CandidType, candid::Deserialize, serde::Serialize)] #[cfg_attr(feature = "test", derive(comparable::Comparable))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test` [INFO] [stdout] --> ledger_proxy/src/../gen/ic_ledger.pb.v1.rs:159:81 [INFO] [stdout] | [INFO] [stdout] 159 | #[derive(candid::CandidType, candid::Deserialize, serde::Serialize)] #[cfg_attr(feature = "test", derive(comparable::Comparable))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test` [INFO] [stdout] --> ledger_proxy/src/../gen/ic_ledger.pb.v1.rs:213:81 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(candid::CandidType, candid::Deserialize, serde::Serialize)] #[cfg_attr(feature = "test", derive(comparable::Comparable))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candid::CandidType` [INFO] [stdout] --> ledger_proxy/src/int_set.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use candid::CandidType; [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: `candid::types::Type` [INFO] [stdout] --> ledger_proxy/src/int_set.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use candid::types::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::print` [INFO] [stdout] --> ledger_proxy/src/storage.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ic_cdk::print; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::api::trap` [INFO] [stdout] --> ledger_proxy/src/storage.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use ic_cdk::api::trap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> ledger_proxy/src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use state::{State, STATE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::print` [INFO] [stdout] --> giga721/src/storage.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ic_cdk::print; [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: `trap` [INFO] [stdout] --> giga721/src/storage.rs:19:75 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::testing::{stable_grow, stable_read, stable_size, stable_write, trap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `not_paused` [INFO] [stdout] --> giga721/src/ledger.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::guards::{owner_guard, not_paused}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SendArgs` [INFO] [stdout] --> giga721/src/marketplace.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use common::{ SendArgs, TransactionNotification, ICPTs, TransactionResponse }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `call_send_dfx` [INFO] [stdout] --> giga721/src/marketplace.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::testing::{call_send_dfx}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::print` [INFO] [stdout] --> giga721/src/system.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ic_cdk::print; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `not_paused` [INFO] [stdout] --> giga721/src/api.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::guards::{owner_guard, not_paused}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenOwner` [INFO] [stdout] --> giga721/src/mint.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::token::{Token, TokenOwner}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::STORAGE` [INFO] [stdout] --> giga721/src/http.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::storage::STORAGE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::print` [INFO] [stdout] --> giga721/src/storage.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ic_cdk::print; [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: `ic_cdk::api::trap` [INFO] [stdout] --> giga721/src/storage.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use ic_cdk::api::trap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `not_paused` [INFO] [stdout] --> giga721/src/ledger.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::guards::{owner_guard, not_paused}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ICPTs` and `SendArgs` [INFO] [stdout] --> giga721/src/marketplace.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use common::{ SendArgs, TransactionNotification, ICPTs, TransactionResponse }; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::call_send_dfx` [INFO] [stdout] --> giga721/src/marketplace.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use common::call_send_dfx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::print` [INFO] [stdout] --> giga721/src/system.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ic_cdk::print; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `not_paused` [INFO] [stdout] --> giga721/src/api.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::guards::{owner_guard, not_paused}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenOwner` [INFO] [stdout] --> giga721/src/mint.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::token::{Token, TokenOwner}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::STORAGE` [INFO] [stdout] --> giga721/src/http.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::storage::STORAGE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::testing` [INFO] [stdout] --> ledger_proxy/src/storage.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::testing::{stable_grow, stable_read, stable_size, stable_write, trap}; [INFO] [stdout] | ^^^^^^^ could not find `testing` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::testing` [INFO] [stdout] --> ledger_proxy/src/storage.rs:338:16 [INFO] [stdout] | [INFO] [stdout] 338 | use crate::testing::get_asset; [INFO] [stdout] | ^^^^^^^ could not find `testing` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test` [INFO] [stdout] --> ledger_proxy/src/../gen/ic_ledger.pb.v1.rs:136:81 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(candid::CandidType, candid::Deserialize, serde::Serialize)] #[cfg_attr(feature = "test", derive(comparable::Comparable))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test` [INFO] [stdout] --> ledger_proxy/src/../gen/ic_ledger.pb.v1.rs:159:81 [INFO] [stdout] | [INFO] [stdout] 159 | #[derive(candid::CandidType, candid::Deserialize, serde::Serialize)] #[cfg_attr(feature = "test", derive(comparable::Comparable))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test` [INFO] [stdout] --> ledger_proxy/src/../gen/ic_ledger.pb.v1.rs:213:81 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(candid::CandidType, candid::Deserialize, serde::Serialize)] #[cfg_attr(feature = "test", derive(comparable::Comparable))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candid::CandidType` [INFO] [stdout] --> ledger_proxy/src/int_set.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use candid::CandidType; [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: `candid::types::Type` [INFO] [stdout] --> ledger_proxy/src/int_set.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use candid::types::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::print` [INFO] [stdout] --> ledger_proxy/src/storage.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ic_cdk::print; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> ledger_proxy/src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use state::{State, STATE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candid::types::Compound` [INFO] [stdout] --> ledger_proxy/src/int_set.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use candid::types::Compound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `burned_id` [INFO] [stdout] --> giga721/src/token.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let burned_id = state.burn(prin, minted_id); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_burned_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_asset` is never used [INFO] [stdout] --> giga721/src/storage.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl StableStorage { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn get_asset(&mut self, name: &str) -> Result<(Vec, RcBytes), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StableReader` is never constructed [INFO] [stdout] --> giga721/src/storage.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct StableReader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> giga721/src/storage.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 320 | impl StableReader { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 321 | pub fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OldState` is never constructed [INFO] [stdout] --> giga721/src/token.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct OldState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenDescExt` is never constructed [INFO] [stdout] --> giga721/src/token.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct TokenDescExt { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArchiveInit` is never constructed [INFO] [stdout] --> ledger_proxy/src/../gen/ic_ledger.pb.v1.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct ArchiveInit { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArchiveAddRequest` is never constructed [INFO] [stdout] --> ledger_proxy/src/../gen/ic_ledger.pb.v1.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct ArchiveAddRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArchiveAddResponse` is never constructed [INFO] [stdout] --> ledger_proxy/src/../gen/ic_ledger.pb.v1.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct ArchiveAddResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Payment` is never constructed [INFO] [stdout] --> ledger_proxy/src/../gen/ic_ledger.pb.v1.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct Payment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Account` is never constructed [INFO] [stdout] --> ledger_proxy/src/../gen/ic_ledger.pb.v1.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct Account { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subaccount` is never constructed [INFO] [stdout] --> ledger_proxy/src/../gen/ic_ledger.pb.v1.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct Subaccount { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Certification` is never constructed [INFO] [stdout] --> ledger_proxy/src/../gen/ic_ledger.pb.v1.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct Certification { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Asset` is never constructed [INFO] [stdout] --> ledger_proxy/src/storage.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Asset { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stable_write`, `write_u32`, `write_str`, `write_bytes`, `store_asset`, and `get_asset` are never used [INFO] [stdout] --> ledger_proxy/src/storage.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl StableStorage { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | fn stable_write(&mut self, offset: u32, buf: &[u8]) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn write_u32(&mut self, offset: u32, data: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn write_str(&mut self, offset: u32, data: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn write_bytes(&mut self, offset: u32, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn store_asset(&mut self, asset: &Asset) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn get_asset(&mut self, name: &str) -> Result<(Vec, RcBytes), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StableReader` is never constructed [INFO] [stdout] --> ledger_proxy/src/storage.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct StableReader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> ledger_proxy/src/storage.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 320 | impl StableReader { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 321 | pub fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ledger_proxy/src/int_set.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn keys(&self) -> Keys { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn keys(&self) -> Keys<'_, u64, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candid::types::Compound` [INFO] [stdout] --> ledger_proxy/src/int_set.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use candid::types::Compound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> giga721/src/marketplace.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | let args = TransactionNotification { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> giga721/src/system.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let st = storage.borrow_mut(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StableReader` is never constructed [INFO] [stdout] --> giga721/src/storage.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct StableReader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> giga721/src/storage.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 320 | impl StableReader { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 321 | pub fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OldState` is never constructed [INFO] [stdout] --> giga721/src/token.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct OldState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenDescExt` is never constructed [INFO] [stdout] --> giga721/src/token.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct TokenDescExt { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trap` is never used [INFO] [stdout] --> giga721/src/testing.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn trap(data: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_send_dfx` is never used [INFO] [stdout] --> giga721/src/testing.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn call_send_dfx(_canister: Principal, args: &SendArgs) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StableWriter` is never constructed [INFO] [stdout] --> giga721/src/testing.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct StableWriter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `grow` and `write` are never used [INFO] [stdout] --> giga721/src/testing.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl StableWriter { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 193 | /// Attempts to grow the memory by adding new pages. [INFO] [stdout] 194 | pub fn grow(&mut self, added_pages: u32) -> Result<(), StableMemoryError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StableReader` is never constructed [INFO] [stdout] --> giga721/src/testing.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct StableReader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> giga721/src/testing.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 241 | impl StableReader { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 242 | pub fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ledger_proxy/src/state.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let mut state = State::default(); [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ledger_proxy` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2ffbc5d76d86fb21c1d4d8c802eaaa63191ddd241c4d37ec7b8d4deb6019b6ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ffbc5d76d86fb21c1d4d8c802eaaa63191ddd241c4d37ec7b8d4deb6019b6ca", kill_on_drop: false }` [INFO] [stdout] 2ffbc5d76d86fb21c1d4d8c802eaaa63191ddd241c4d37ec7b8d4deb6019b6ca