[INFO] cloning repository https://github.com/lapismyt/tonutils-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lapismyt/tonutils-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flapismyt%2Ftonutils-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flapismyt%2Ftonutils-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4715b26fc4ebc9f338dccdde1dfec8e0077664b8 [INFO] building lapismyt/tonutils-rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flapismyt%2Ftonutils-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lapismyt/tonutils-rs [INFO] finished tweaking git repo https://github.com/lapismyt/tonutils-rs [INFO] tweaked toml for git repo https://github.com/lapismyt/tonutils-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lapismyt/tonutils-rs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lapismyt/tonutils-rs 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitstream-io v4.5.0 [INFO] [stderr] Downloaded tonlib-core v0.26.1 [INFO] [stderr] Downloaded nacl v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 026cb2ee6d25450cf5069749ea3b6c93b3a1fadb3a08cb90541d311a33da8f0b [INFO] running `Command { std: "docker" "start" "-a" "026cb2ee6d25450cf5069749ea3b6c93b3a1fadb3a08cb90541d311a33da8f0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "026cb2ee6d25450cf5069749ea3b6c93b3a1fadb3a08cb90541d311a33da8f0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "026cb2ee6d25450cf5069749ea3b6c93b3a1fadb3a08cb90541d311a33da8f0b", kill_on_drop: false }` [INFO] [stdout] 026cb2ee6d25450cf5069749ea3b6c93b3a1fadb3a08cb90541d311a33da8f0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe207f10e45a5844d9ccc122fb351146057b64620349313c18a349b3ad9f27a1 [INFO] running `Command { std: "docker" "start" "-a" "fe207f10e45a5844d9ccc122fb351146057b64620349313c18a349b3ad9f27a1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling nacl v0.5.3 [INFO] [stderr] Compiling bitstream-io v4.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling tonlib-core v0.26.1 [INFO] [stderr] Compiling tonutils-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> src/client/base.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::Client; [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: `self` [INFO] [stdout] --> src/client/toncenter_v3.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::client::base::{self, BaseClient, ClientParams}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArcCell` [INFO] [stdout] --> src/models/basic.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use tonlib_core::cell::{ArcCell, Cell}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EitherRefLayout` and `EitherRef` [INFO] [stdout] --> src/models/basic.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | use tonlib_core::tlb_types::primitives::either::{EitherRef, EitherRefLayout}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonlib_core::tlb_types::primitives::reference::Ref` [INFO] [stdout] --> src/models/basic.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tonlib_core::tlb_types::primitives::reference::Ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AccountInfo` [INFO] [stdout] --> src/models/traits.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::basic::{AccountInfo, Message, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArcCell` [INFO] [stdout] --> src/models/traits.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use tonlib_core::cell::{ArcCell, Cell}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint` [INFO] [stdout] --> src/client/toncenter_v3.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | async fn get(&self, endpoint: &str, params: Option>) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToncenterV3Client` is never constructed [INFO] [stdout] --> src/client/toncenter_v3.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct ToncenterV3Client { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `balance`, `code_hash`, `data_hash`, and `status` are never read [INFO] [stdout] --> src/models/basic.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct AccountInfo { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 37 | pub(crate) address: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub(crate) balance: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | pub(crate) code_hash: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | pub(crate) data_hash: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | pub(crate) status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/basic.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 47 | pub(crate) created_lt: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | pub(crate) created_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | pub(crate) destination: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | pub(crate) hash: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub(crate) state_init: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | pub(crate) body: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pub(crate) source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | pub(crate) value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `account`, `in_msg`, `out_msgs`, `lt`, `hash`, and `now` are never read [INFO] [stdout] --> src/models/basic.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 60 | pub(crate) account: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | pub(crate) in_msg: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | pub(crate) out_msgs: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | pub(crate) lt: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 64 | pub(crate) hash: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | pub(crate) now: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/client/base.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | async fn get(&self, endpoint: &str, params: Option>) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 31 - async fn get(&self, endpoint: &str, params: Option>) -> Result; [INFO] [stdout] 31 + fn get(&self, endpoint: &str, params: Option>) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/client/base.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | async fn post(&self, endpoint: &str, body: &T) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 32 - async fn post(&self, endpoint: &str, body: &T) -> Result; [INFO] [stdout] 32 + fn post(&self, endpoint: &str, body: &T) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.06s [INFO] running `Command { std: "docker" "inspect" "fe207f10e45a5844d9ccc122fb351146057b64620349313c18a349b3ad9f27a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe207f10e45a5844d9ccc122fb351146057b64620349313c18a349b3ad9f27a1", kill_on_drop: false }` [INFO] [stdout] fe207f10e45a5844d9ccc122fb351146057b64620349313c18a349b3ad9f27a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 544c3eafa5376ec0ae8fa117971fd2f12d9ff2fe26637e9f24020061c0283777 [INFO] running `Command { std: "docker" "start" "-a" "544c3eafa5376ec0ae8fa117971fd2f12d9ff2fe26637e9f24020061c0283777", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> src/client/base.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::Client; [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: `self` [INFO] [stdout] --> src/client/toncenter_v3.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::client::base::{self, BaseClient, ClientParams}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArcCell` [INFO] [stdout] --> src/models/basic.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use tonlib_core::cell::{ArcCell, Cell}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EitherRefLayout` and `EitherRef` [INFO] [stdout] --> src/models/basic.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | use tonlib_core::tlb_types::primitives::either::{EitherRef, EitherRefLayout}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonlib_core::tlb_types::primitives::reference::Ref` [INFO] [stdout] --> src/models/basic.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tonlib_core::tlb_types::primitives::reference::Ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AccountInfo` [INFO] [stdout] --> src/models/traits.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::basic::{AccountInfo, Message, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArcCell` [INFO] [stdout] --> src/models/traits.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use tonlib_core::cell::{ArcCell, Cell}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint` [INFO] [stdout] --> src/client/toncenter_v3.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | async fn get(&self, endpoint: &str, params: Option>) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToncenterV3Client` is never constructed [INFO] [stdout] --> src/client/toncenter_v3.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct ToncenterV3Client { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `balance`, `code_hash`, `data_hash`, and `status` are never read [INFO] [stdout] --> src/models/basic.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct AccountInfo { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 37 | pub(crate) address: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub(crate) balance: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | pub(crate) code_hash: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | pub(crate) data_hash: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | pub(crate) status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/basic.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 47 | pub(crate) created_lt: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | pub(crate) created_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | pub(crate) destination: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | pub(crate) hash: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub(crate) state_init: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | pub(crate) body: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pub(crate) source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | pub(crate) value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `account`, `in_msg`, `out_msgs`, `lt`, `hash`, and `now` are never read [INFO] [stdout] --> src/models/basic.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 60 | pub(crate) account: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | pub(crate) in_msg: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | pub(crate) out_msgs: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | pub(crate) lt: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 64 | pub(crate) hash: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | pub(crate) now: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/client/base.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | async fn get(&self, endpoint: &str, params: Option>) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 31 - async fn get(&self, endpoint: &str, params: Option>) -> Result; [INFO] [stdout] 31 + fn get(&self, endpoint: &str, params: Option>) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tonutils-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/client/base.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | async fn post(&self, endpoint: &str, body: &T) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 32 - async fn post(&self, endpoint: &str, body: &T) -> Result; [INFO] [stdout] 32 + fn post(&self, endpoint: &str, body: &T) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> src/client/base.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::Client; [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: `self` [INFO] [stdout] --> src/client/toncenter_v3.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::client::base::{self, BaseClient, ClientParams}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArcCell` [INFO] [stdout] --> src/models/basic.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use tonlib_core::cell::{ArcCell, Cell}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EitherRefLayout` and `EitherRef` [INFO] [stdout] --> src/models/basic.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | use tonlib_core::tlb_types::primitives::either::{EitherRef, EitherRefLayout}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonlib_core::tlb_types::primitives::reference::Ref` [INFO] [stdout] --> src/models/basic.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tonlib_core::tlb_types::primitives::reference::Ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AccountInfo` [INFO] [stdout] --> src/models/traits.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::basic::{AccountInfo, Message, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArcCell` [INFO] [stdout] --> src/models/traits.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use tonlib_core::cell::{ArcCell, Cell}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint` [INFO] [stdout] --> src/client/toncenter_v3.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | async fn get(&self, endpoint: &str, params: Option>) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToncenterV3Client` is never constructed [INFO] [stdout] --> src/client/toncenter_v3.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct ToncenterV3Client { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `balance`, `code_hash`, `data_hash`, and `status` are never read [INFO] [stdout] --> src/models/basic.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct AccountInfo { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 37 | pub(crate) address: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub(crate) balance: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | pub(crate) code_hash: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | pub(crate) data_hash: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | pub(crate) status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/basic.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 47 | pub(crate) created_lt: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | pub(crate) created_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | pub(crate) destination: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | pub(crate) hash: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub(crate) state_init: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | pub(crate) body: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pub(crate) source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | pub(crate) value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `account`, `in_msg`, `out_msgs`, `lt`, `hash`, and `now` are never read [INFO] [stdout] --> src/models/basic.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 60 | pub(crate) account: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | pub(crate) in_msg: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | pub(crate) out_msgs: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | pub(crate) lt: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 64 | pub(crate) hash: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | pub(crate) now: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/client/base.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | async fn get(&self, endpoint: &str, params: Option>) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 31 - async fn get(&self, endpoint: &str, params: Option>) -> Result; [INFO] [stdout] 31 + fn get(&self, endpoint: &str, params: Option>) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/client/base.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | async fn post(&self, endpoint: &str, body: &T) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 32 - async fn post(&self, endpoint: &str, body: &T) -> Result; [INFO] [stdout] 32 + fn post(&self, endpoint: &str, body: &T) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "544c3eafa5376ec0ae8fa117971fd2f12d9ff2fe26637e9f24020061c0283777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "544c3eafa5376ec0ae8fa117971fd2f12d9ff2fe26637e9f24020061c0283777", kill_on_drop: false }` [INFO] [stdout] 544c3eafa5376ec0ae8fa117971fd2f12d9ff2fe26637e9f24020061c0283777