[INFO] cloning repository https://github.com/enigmampc/snip20-reference-impl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enigmampc/snip20-reference-impl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fsnip20-reference-impl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fsnip20-reference-impl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f9924393af75fe5b1483be30bafb3263bfd8a6f [INFO] testing enigmampc/snip20-reference-impl against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fsnip20-reference-impl" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/enigmampc/snip20-reference-impl [INFO] finished tweaking git repo https://github.com/enigmampc/snip20-reference-impl [INFO] tweaked toml for git repo https://github.com/enigmampc/snip20-reference-impl written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/enigmampc/snip20-reference-impl on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/enigmampc/snip20-reference-impl 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fecbe1ca1541ffa99194c5ebba664bc8289259a588a81ca6f19633e10897273a [INFO] running `Command { std: "docker" "start" "-a" "fecbe1ca1541ffa99194c5ebba664bc8289259a588a81ca6f19633e10897273a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fecbe1ca1541ffa99194c5ebba664bc8289259a588a81ca6f19633e10897273a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fecbe1ca1541ffa99194c5ebba664bc8289259a588a81ca6f19633e10897273a", kill_on_drop: false }` [INFO] [stdout] fecbe1ca1541ffa99194c5ebba664bc8289259a588a81ca6f19633e10897273a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fe76df06390d17708df7406c5dc84253b08b988c8d76a5bac8ada8e90eaef31 [INFO] running `Command { std: "docker" "start" "-a" "9fe76df06390d17708df7406c5dc84253b08b988c8d76a5bac8ada8e90eaef31", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling minicbor v0.25.1 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling snip20-reference-impl v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling k256 v0.11.6 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling remain v0.2.14 [INFO] [stderr] Compiling cosmwasm-schema-derive v2.2.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling cosmwasm-derive v1.5.9 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ed25519-zebra v3.1.0 [INFO] [stderr] Compiling serde-json-wasm v0.4.1 [INFO] [stderr] Compiling bincode2 v2.0.1 [INFO] [stderr] Compiling serde-big-array v0.5.1 [INFO] [stderr] Compiling secret-cosmwasm-crypto v1.1.11 [INFO] [stderr] Compiling secret-cosmwasm-std v1.1.11 [INFO] [stderr] Compiling cosmwasm-schema v2.2.0 [INFO] [stderr] Compiling secret-cosmwasm-storage v1.1.11 [INFO] [stderr] Compiling secret-toolkit-crypto v0.10.3 (https://github.com/SolarRepublic/secret-toolkit.git?rev=df89b582bc207f4a2f697c31b9a7c64faac10195#df89b582) [INFO] [stderr] Compiling secret-toolkit-serialization v0.10.3 (https://github.com/SolarRepublic/secret-toolkit.git?rev=df89b582bc207f4a2f697c31b9a7c64faac10195#df89b582) [INFO] [stderr] Compiling secret-toolkit-utils v0.10.3 (https://github.com/SolarRepublic/secret-toolkit.git?rev=df89b582bc207f4a2f697c31b9a7c64faac10195#df89b582) [INFO] [stderr] Compiling secret-toolkit-storage v0.10.3 (https://github.com/SolarRepublic/secret-toolkit.git?rev=df89b582bc207f4a2f697c31b9a7c64faac10195#df89b582) [INFO] [stderr] Compiling secret-toolkit-notification v0.10.3 (https://github.com/SolarRepublic/secret-toolkit.git?rev=df89b582bc207f4a2f697c31b9a7c64faac10195#df89b582) [INFO] [stderr] Compiling secret-toolkit-viewing-key v0.10.3 (https://github.com/SolarRepublic/secret-toolkit.git?rev=df89b582bc207f4a2f697c31b9a7c64faac10195#df89b582) [INFO] [stderr] Compiling secret-toolkit-permit v0.10.3 (https://github.com/SolarRepublic/secret-toolkit.git?rev=df89b582bc207f4a2f697c31b9a7c64faac10195#df89b582) [INFO] [stderr] Compiling secret-toolkit v0.10.3 (https://github.com/SolarRepublic/secret-toolkit.git?rev=df89b582bc207f4a2f697c31b9a7c64faac10195#df89b582) [INFO] [stdout] warning: unused import: `safe_add` [INFO] [stdout] --> src/btbe.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::{safe_add, safe_add_u64, INTERNAL_SECRET_SENSITIVE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bucket_id` is assigned to, but never used [INFO] [stdout] --> src/btbe.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | let mut bucket_id = node.bucket; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_bucket_id` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bucket_id` is never read [INFO] [stdout] --> src/btbe.rs:723:21 [INFO] [stdout] | [INFO] [stdout] 723 | bucket_id = left_bucket_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bucket_id` is never read [INFO] [stdout] --> src/btbe.rs:718:21 [INFO] [stdout] | [INFO] [stdout] 718 | bucket_id = right_bucket_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DWB_CAPACITY` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/snip20-reference-impl-9665284b1ea1202d/out/config.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const DWB_CAPACITY: u16 = 64; [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 `address` is never used [INFO] [stdout] --> src/btbe.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl StoredEntry { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn address(&self) -> StdResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BTBE_CAPACITY` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/snip20-reference-impl-9665284b1ea1202d/out/config.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const BTBE_CAPACITY: u16 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GasTracker` is never constructed [INFO] [stdout] --> src/gas_tracker.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GasTracker<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `group`, and `add_to_response` are never used [INFO] [stdout] --> src/gas_tracker.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> GasTracker<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(api: &'a dyn Api) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn group<'b>(&'b mut self, name: &str) -> GasGroup<'a, 'b> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn add_to_response(self, resp: Response) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GasGroup` is never constructed [INFO] [stdout] --> src/gas_tracker.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct GasGroup<'a, 'b> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `mark`, `log`, and `logf` are never used [INFO] [stdout] --> src/gas_tracker.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'a, 'b> GasGroup<'a, 'b> { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 50 | fn new(tracker: &'b mut GasTracker<'a>, name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn mark(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn log(&mut self, comment: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn logf(&mut self, comment: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `U63_MAX` is never used [INFO] [stdout] --> src/notifications.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const U63_MAX: u128 = (1 << 63) - 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "9fe76df06390d17708df7406c5dc84253b08b988c8d76a5bac8ada8e90eaef31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fe76df06390d17708df7406c5dc84253b08b988c8d76a5bac8ada8e90eaef31", kill_on_drop: false }` [INFO] [stdout] 9fe76df06390d17708df7406c5dc84253b08b988c8d76a5bac8ada8e90eaef31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b569f5ff1fcf0adb9173e491976a25dd0425a6c6de7d9cca9dd9bc6fae581502 [INFO] running `Command { std: "docker" "start" "-a" "b569f5ff1fcf0adb9173e491976a25dd0425a6c6de7d9cca9dd9bc6fae581502", kill_on_drop: false }` [INFO] [stderr] Compiling snip20-reference-impl v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `safe_add` [INFO] [stdout] --> src/btbe.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::{safe_add, safe_add_u64, INTERNAL_SECRET_SENSITIVE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bucket_id` is assigned to, but never used [INFO] [stdout] --> src/btbe.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | let mut bucket_id = node.bucket; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_bucket_id` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bucket_id` is never read [INFO] [stdout] --> src/btbe.rs:723:21 [INFO] [stdout] | [INFO] [stdout] 723 | bucket_id = left_bucket_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bucket_id` is never read [INFO] [stdout] --> src/btbe.rs:718:21 [INFO] [stdout] | [INFO] [stdout] 718 | bucket_id = right_bucket_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DWB_CAPACITY` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/snip20-reference-impl-9665284b1ea1202d/out/config.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const DWB_CAPACITY: u16 = 64; [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 `address` is never used [INFO] [stdout] --> src/btbe.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl StoredEntry { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn address(&self) -> StdResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BTBE_CAPACITY` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/snip20-reference-impl-9665284b1ea1202d/out/config.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const BTBE_CAPACITY: u16 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GasTracker` is never constructed [INFO] [stdout] --> src/gas_tracker.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GasTracker<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `group`, and `add_to_response` are never used [INFO] [stdout] --> src/gas_tracker.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> GasTracker<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(api: &'a dyn Api) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn group<'b>(&'b mut self, name: &str) -> GasGroup<'a, 'b> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn add_to_response(self, resp: Response) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GasGroup` is never constructed [INFO] [stdout] --> src/gas_tracker.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct GasGroup<'a, 'b> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `mark`, `log`, and `logf` are never used [INFO] [stdout] --> src/gas_tracker.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'a, 'b> GasGroup<'a, 'b> { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 50 | fn new(tracker: &'b mut GasTracker<'a>, name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn mark(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn log(&mut self, comment: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn logf(&mut self, comment: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `U63_MAX` is never used [INFO] [stdout] --> src/notifications.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const U63_MAX: u128 = (1 << 63) - 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `safe_add` [INFO] [stdout] --> src/btbe.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::{safe_add, safe_add_u64, INTERNAL_SECRET_SENSITIVE}; [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: `CBL_ADDRESS` [INFO] [stdout] --> src/notifications.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | CBL_ADDRESS, CBL_ARRAY_SHORT, CBL_BIGNUM_U64, CBL_TIMESTAMP, CBL_U8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bucket_id` is assigned to, but never used [INFO] [stdout] --> src/btbe.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | let mut bucket_id = node.bucket; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_bucket_id` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bucket_id` is never read [INFO] [stdout] --> src/btbe.rs:723:21 [INFO] [stdout] | [INFO] [stdout] 723 | bucket_id = left_bucket_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bucket_id` is never read [INFO] [stdout] --> src/btbe.rs:718:21 [INFO] [stdout] | [INFO] [stdout] 718 | bucket_id = right_bucket_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DWB_CAPACITY` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/snip20-reference-impl-9665284b1ea1202d/out/config.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const DWB_CAPACITY: u16 = 64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BTBE_CAPACITY` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/snip20-reference-impl-9665284b1ea1202d/out/config.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const BTBE_CAPACITY: u16 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GasTracker` is never constructed [INFO] [stdout] --> src/gas_tracker.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GasTracker<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `group`, and `add_to_response` are never used [INFO] [stdout] --> src/gas_tracker.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> GasTracker<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(api: &'a dyn Api) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn group<'b>(&'b mut self, name: &str) -> GasGroup<'a, 'b> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn add_to_response(self, resp: Response) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GasGroup` is never constructed [INFO] [stdout] --> src/gas_tracker.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct GasGroup<'a, 'b> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `mark`, `log`, and `logf` are never used [INFO] [stdout] --> src/gas_tracker.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'a, 'b> GasGroup<'a, 'b> { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 50 | fn new(tracker: &'b mut GasTracker<'a>, name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn mark(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn log(&mut self, comment: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn logf(&mut self, comment: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `U63_MAX` is never used [INFO] [stdout] --> src/notifications.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const U63_MAX: u128 = (1 << 63) - 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snip20-reference-impl` (lib test); 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/db823df02fd0c2cf67b43025ac3fef3f2d743245/bin/rustc --crate-name snip20_reference_impl --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtraces", "default", "gas_evaporation", "gas_tracking"))' -C metadata=988fb5db0281ff19 -C extra-filename=-1151715597bc4913 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern base64=/opt/rustwide/target/debug/deps/libbase64-64299f9d815d057c.rlib --extern constant_time_eq=/opt/rustwide/target/debug/deps/libconstant_time_eq-7540ab86f53c975b.rlib --extern cosmwasm_schema=/opt/rustwide/target/debug/deps/libcosmwasm_schema-fda7b10de3c5c48e.rlib --extern hex=/opt/rustwide/target/debug/deps/libhex-28742b4ca144387c.rlib --extern minicbor=/opt/rustwide/target/debug/deps/libminicbor-3b02f6a4bf2041c9.rlib --extern primitive_types=/opt/rustwide/target/debug/deps/libprimitive_types-6ccbc5445ae608ca.rlib --extern rand_chacha=/opt/rustwide/target/debug/deps/librand_chacha-870a3d4ff6f7dcc5.rlib --extern rand_core=/opt/rustwide/target/debug/deps/librand_core-f5d07aefff6cf7d9.rlib --extern schemars=/opt/rustwide/target/debug/deps/libschemars-526b8c3ca48f2dd7.rlib --extern cosmwasm_std=/opt/rustwide/target/debug/deps/libsecret_cosmwasm_std-9be6db2eca07c9dd.rlib --extern cosmwasm_storage=/opt/rustwide/target/debug/deps/libsecret_cosmwasm_storage-94329aec66bd4401.rlib --extern secret_toolkit=/opt/rustwide/target/debug/deps/libsecret_toolkit-30730741f649f743.rlib --extern secret_toolkit_crypto=/opt/rustwide/target/debug/deps/libsecret_toolkit_crypto-943f6bf5bf663e2d.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-0bad1935fb3cd95e.rlib --extern serde_big_array=/opt/rustwide/target/debug/deps/libserde_big_array-5d4f7af48d5d3972.rlib --extern static_assertions=/opt/rustwide/target/debug/deps/libstatic_assertions-d53a9977dc6e27e5.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/secp256k1-sys-dbce76ee253e2731/out` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "b569f5ff1fcf0adb9173e491976a25dd0425a6c6de7d9cca9dd9bc6fae581502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b569f5ff1fcf0adb9173e491976a25dd0425a6c6de7d9cca9dd9bc6fae581502", kill_on_drop: false }` [INFO] [stdout] b569f5ff1fcf0adb9173e491976a25dd0425a6c6de7d9cca9dd9bc6fae581502