[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] testing lapismyt/tonutils-rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flapismyt%2Ftonutils-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lapismyt/tonutils-rs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v2.9.3 [INFO] [stderr] Downloaded pbkdf2 v0.12.2 [INFO] [stderr] Downloaded windows-registry v0.5.3 [INFO] [stderr] Downloaded errno v0.3.13 [INFO] [stderr] Downloaded core2 v0.4.0 [INFO] [stderr] Downloaded find-msvc-tools v0.1.0 [INFO] [stderr] Downloaded tempfile v3.21.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.4 [INFO] [stderr] Downloaded indexmap v2.11.0 [INFO] [stderr] Downloaded idna v1.1.0 [INFO] [stderr] Downloaded zerovec v0.11.4 [INFO] [stderr] Downloaded cc v1.2.35 [INFO] [stderr] Downloaded wasi v0.14.3+wasi-0.2.4 [INFO] [stderr] Downloaded h2 v0.4.12 [INFO] [stderr] Downloaded reqwest v0.12.23 [INFO] [stderr] Downloaded tonlib-core v0.26.1 [INFO] [stderr] Downloaded url v2.5.7 [INFO] [stderr] Downloaded wit-bindgen v0.45.0 [INFO] [stderr] Downloaded bitstream-io v4.5.0 [INFO] [stderr] Downloaded potential_utf v0.1.3 [INFO] [stderr] Downloaded rustls v0.23.31 [INFO] [stderr] Downloaded rustix v1.0.8 [INFO] [stderr] Downloaded nacl v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a9c86f8c23b64d8534bae68cb35fe91f13cf2e931da2d11e38fdfa7c75b5f83 [INFO] running `Command { std: "docker" "start" "-a" "1a9c86f8c23b64d8534bae68cb35fe91f13cf2e931da2d11e38fdfa7c75b5f83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a9c86f8c23b64d8534bae68cb35fe91f13cf2e931da2d11e38fdfa7c75b5f83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a9c86f8c23b64d8534bae68cb35fe91f13cf2e931da2d11e38fdfa7c75b5f83", kill_on_drop: false }` [INFO] [stdout] 1a9c86f8c23b64d8534bae68cb35fe91f13cf2e931da2d11e38fdfa7c75b5f83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 185c626adddb7372227ac337649b98f4b697b6395a31993df99c165a34320010 [INFO] running `Command { std: "docker" "start" "-a" "185c626adddb7372227ac337649b98f4b697b6395a31993df99c165a34320010", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling nacl v0.5.3 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling bitstream-io v4.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [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 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-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.16 [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 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 hyper-util v0.1.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 36.35s [INFO] running `Command { std: "docker" "inspect" "185c626adddb7372227ac337649b98f4b697b6395a31993df99c165a34320010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "185c626adddb7372227ac337649b98f4b697b6395a31993df99c165a34320010", kill_on_drop: false }` [INFO] [stdout] 185c626adddb7372227ac337649b98f4b697b6395a31993df99c165a34320010 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ee8d3a1c2b14c5a756a614c3286f9f864b4bb8d1a4f2ddf6419b3496709a688 [INFO] running `Command { std: "docker" "start" "-a" "7ee8d3a1c2b14c5a756a614c3286f9f864b4bb8d1a4f2ddf6419b3496709a688", 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] [stderr] Compiling tonutils-rs v0.1.0 (/opt/rustwide/workdir) [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] [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 2.67s [INFO] running `Command { std: "docker" "inspect" "7ee8d3a1c2b14c5a756a614c3286f9f864b4bb8d1a4f2ddf6419b3496709a688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ee8d3a1c2b14c5a756a614c3286f9f864b4bb8d1a4f2ddf6419b3496709a688", kill_on_drop: false }` [INFO] [stdout] 7ee8d3a1c2b14c5a756a614c3286f9f864b4bb8d1a4f2ddf6419b3496709a688 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6a9a05eae25e78fe8603810f7bf87066b613590b9f58d0dbad85b6eab933dad1 [INFO] running `Command { std: "docker" "start" "-a" "6a9a05eae25e78fe8603810f7bf87066b613590b9f58d0dbad85b6eab933dad1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `reqwest::Client` [INFO] [stderr] --> src/client/base.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use reqwest::Client; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/client/toncenter_v3.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::client::base::{self, BaseClient, ClientParams}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ArcCell` [INFO] [stderr] --> src/models/basic.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | use tonlib_core::cell::{ArcCell, Cell}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `EitherRefLayout` and `EitherRef` [INFO] [stderr] --> src/models/basic.rs:5:50 [INFO] [stderr] | [INFO] [stderr] 5 | use tonlib_core::tlb_types::primitives::either::{EitherRef, EitherRefLayout}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tonlib_core::tlb_types::primitives::reference::Ref` [INFO] [stderr] --> src/models/basic.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tonlib_core::tlb_types::primitives::reference::Ref; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AccountInfo` [INFO] [stderr] --> src/models/traits.rs:6:28 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::models::basic::{AccountInfo, Message, Transaction}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ArcCell` [INFO] [stderr] --> src/models/traits.rs:9:25 [INFO] [stderr] | [INFO] [stderr] 9 | use tonlib_core::cell::{ArcCell, Cell}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `endpoint` [INFO] [stderr] --> src/client/toncenter_v3.rs:20:25 [INFO] [stderr] | [INFO] [stderr] 20 | async fn get(&self, endpoint: &str, params: Option>) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ToncenterV3Client` is never constructed [INFO] [stderr] --> src/client/toncenter_v3.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | struct ToncenterV3Client { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `address`, `balance`, `code_hash`, `data_hash`, and `status` are never read [INFO] [stderr] --> src/models/basic.rs:37:16 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct AccountInfo { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 37 | pub(crate) address: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 38 | pub(crate) balance: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 39 | pub(crate) code_hash: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 40 | pub(crate) data_hash: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 41 | pub(crate) status: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AccountInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/models/basic.rs:47:16 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct Message { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 47 | pub(crate) created_lt: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 48 | pub(crate) created_at: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 49 | pub(crate) destination: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 50 | pub(crate) hash: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 51 | pub(crate) state_init: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 52 | pub(crate) body: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 53 | pub(crate) source: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 54 | pub(crate) value: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `account`, `in_msg`, `out_msgs`, `lt`, `hash`, and `now` are never read [INFO] [stderr] --> src/models/basic.rs:60:16 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct Transaction { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 60 | pub(crate) account: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 61 | pub(crate) in_msg: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 62 | pub(crate) out_msgs: Option>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 63 | pub(crate) lt: Option, [INFO] [stderr] | ^^ [INFO] [stderr] 64 | pub(crate) hash: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 65 | pub(crate) now: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Transaction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/client/base.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | async fn get(&self, endpoint: &str, params: Option>) -> Result; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] 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] [stderr] | [INFO] [stderr] 31 - async fn get(&self, endpoint: &str, params: Option>) -> Result; [INFO] [stderr] 31 + fn get(&self, endpoint: &str, params: Option>) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/client/base.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | async fn post(&self, endpoint: &str, body: &T) -> Result; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 32 - async fn post(&self, endpoint: &str, body: &T) -> Result; [INFO] [stderr] 32 + fn post(&self, endpoint: &str, body: &T) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `tonutils-rs` (lib) generated 14 warnings (run `cargo fix --lib -p tonutils-rs` to apply 7 suggestions) [INFO] [stderr] warning: `tonutils-rs` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tonutils_rs-b482834610b61414) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tonutils_rs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6a9a05eae25e78fe8603810f7bf87066b613590b9f58d0dbad85b6eab933dad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a9a05eae25e78fe8603810f7bf87066b613590b9f58d0dbad85b6eab933dad1", kill_on_drop: false }` [INFO] [stdout] 6a9a05eae25e78fe8603810f7bf87066b613590b9f58d0dbad85b6eab933dad1