[INFO] cloning repository https://github.com/Rev1le/recloud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rev1le/recloud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRev1le%2Frecloud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRev1le%2Frecloud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f990ecd8c9e6ba03d55bcfb6c0f1af5a0b32d8b [INFO] checking Rev1le/recloud/5f990ecd8c9e6ba03d55bcfb6c0f1af5a0b32d8b against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRev1le%2Frecloud" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rev1le/recloud on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rev1le/recloud [INFO] finished tweaking git repo https://github.com/Rev1le/recloud [INFO] tweaked toml for git repo https://github.com/Rev1le/recloud written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Rev1le/recloud 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v1.3.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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eda7a6c1bc1348395a28ef029ffbe43f1a0d8119a8ce1bdbaea626998f7f02b4 [INFO] running `Command { std: "docker" "start" "-a" "eda7a6c1bc1348395a28ef029ffbe43f1a0d8119a8ce1bdbaea626998f7f02b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eda7a6c1bc1348395a28ef029ffbe43f1a0d8119a8ce1bdbaea626998f7f02b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eda7a6c1bc1348395a28ef029ffbe43f1a0d8119a8ce1bdbaea626998f7f02b4", kill_on_drop: false }` [INFO] [stdout] eda7a6c1bc1348395a28ef029ffbe43f1a0d8119a8ce1bdbaea626998f7f02b4 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c47b4b7ed827f123e03afc98df59665acb88db8c7dff9a68069462f092d6b01a [INFO] running `Command { std: "docker" "start" "-a" "c47b4b7ed827f123e03afc98df59665acb88db8c7dff9a68069462f092d6b01a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling recloud v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | /// Подлючение **TDlib** *dll* файлов [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking uuid v1.3.3 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/core/authentication.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::{Value, json}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::TDApp` [INFO] [stdout] --> src/core/authentication.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::TDApp; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_double`, `c_int`, and `c_void` [INFO] [stdout] --> src/core/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::{c_char, c_double, c_int, c_void, CStr, CString}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/core/mod.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/core/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, AtomicU64, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell` and `RefCell` [INFO] [stdout] --> src/core/mod.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi` [INFO] [stdout] --> src/core/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{ffi, fs, io}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/core/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Iter` and `PathBuf` [INFO] [stdout] --> src/core/mod.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::{Iter, Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/core/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `mpsc` [INFO] [stdout] --> src/core/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::{Arc, mpsc, Mutex}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Poll` [INFO] [stdout] --> src/core/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use std::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `process::ExitCode`, and `self` [INFO] [stdout] --> src/file/file_separation.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | fs::{self, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | io::{self, BufRead, Write, BufReader, Error}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | path::PathBuf, [INFO] [stdout] 5 | process::ExitCode [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/file/file_separation.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `borrow::Cow`, `self`, `self`, and `self` [INFO] [stdout] --> src/file/file_assembly.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | fs::{self, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | io::{self, Read, Write, BufReader, Error}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] 4 | path::{self, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | borrow::Cow [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompositeFile` and `FilePart` [INFO] [stdout] --> src/file/file_assembly.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use super::{CompositeFile, FilePart}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, `self`, `thread`, and `time::Duration` [INFO] [stdout] --> src/cloud.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs::{self, File}, io::{self, ErrorKind, Read, Write}, thread, path::{Path, PathBuf}, time::Duration, cell::RefCell}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EncodeErrors` [INFO] [stdout] --> src/cloud.rs:4:66 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::file::{Options as SeparationOptions,file_separation::{EncodeErrors, SeparationFile}, *}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/telegram_backend/mod.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `file_create_new` has been stable since 1.77.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(file_create_new)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/core/authentication.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::{Value, json}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::TDApp` [INFO] [stdout] --> src/core/authentication.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::TDApp; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_double`, `c_int`, and `c_void` [INFO] [stdout] --> src/core/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::{c_char, c_double, c_int, c_void, CStr, CString}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/core/mod.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/core/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, AtomicU64, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell` and `RefCell` [INFO] [stdout] --> src/core/mod.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi` [INFO] [stdout] --> src/core/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{ffi, fs, io}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/core/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Iter` and `PathBuf` [INFO] [stdout] --> src/core/mod.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::{Iter, Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/core/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `mpsc` [INFO] [stdout] --> src/core/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::{Arc, mpsc, Mutex}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Poll` [INFO] [stdout] --> src/core/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use std::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `process::ExitCode`, and `self` [INFO] [stdout] --> src/file/file_separation.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | fs::{self, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | io::{self, BufRead, Write, BufReader, Error}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | path::PathBuf, [INFO] [stdout] 5 | process::ExitCode [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/file/file_separation.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `borrow::Cow`, `self`, `self`, and `self` [INFO] [stdout] --> src/file/file_assembly.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | fs::{self, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | io::{self, Read, Write, BufReader, Error}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] 4 | path::{self, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | borrow::Cow [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompositeFile` and `FilePart` [INFO] [stdout] --> src/file/file_assembly.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use super::{CompositeFile, FilePart}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, `self`, `thread`, and `time::Duration` [INFO] [stdout] --> src/cloud.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs::{self, File}, io::{self, ErrorKind, Read, Write}, thread, path::{Path, PathBuf}, time::Duration, cell::RefCell}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EncodeErrors` [INFO] [stdout] --> src/cloud.rs:4:66 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::file::{Options as SeparationOptions,file_separation::{EncodeErrors, SeparationFile}, *}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/telegram_backend/mod.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `file_create_new` has been stable since 1.77.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(file_create_new)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_file` [INFO] [stdout] --> src/cloud.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let output_file = file_assembly::decode_file( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_file` [INFO] [stdout] --> src/cloud.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let output_file = file_assembly::decode_file( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_acc` [INFO] [stdout] --> src/core/mod.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let my_acc = self.get_me(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file/file_separation.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut size_part = options.part_size.unwrap_or(1_073_741_824_usize); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_acc` [INFO] [stdout] --> src/core/mod.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let my_acc = self.get_me(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file/file_assembly.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let mut extension_len =::from_be_bytes(extension_bytes_len); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file/file_separation.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut size_part = options.part_size.unwrap_or(1_073_741_824_usize); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cloud.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(mut f) => serde_json::from_reader::(f).unwrap(), [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file/file_assembly.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let mut extension_len =::from_be_bytes(extension_bytes_len); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cloud.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(mut f) => serde_json::from_reader::(f).unwrap(), [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_id` [INFO] [stdout] --> src/telegram_backend/mod.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let message_id = message["id"].as_i64().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/telegram_backend/mod.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | fn create(input: impl Read, output: impl Write) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/telegram_backend/mod.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | fn create(input: impl Read, output: impl Write) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/telegram_backend/mod.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let mut app = TDApp::create(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/telegram_backend/mod.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | fn upload_file(&self, file_path: &Path) -> Result<(), CloudError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/telegram_backend/mod.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | fn download_file(&self, file_path: &Path) -> Result<(), CloudError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/telegram_backend/mod.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | fn remove_file(&self, file_path: &Path) -> Result<(), CloudError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/telegram_backend/mod.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | fn check_file(&self, file_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_message`, `upload_file`, `download_file`, and `delete_message` are never used [INFO] [stdout] --> src/core/mod.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl TDApp { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn get_message(&self, message_id: i64, chat_id: i64) -> Value { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn upload_file(&self, file_path: &Path, chat_id: i64) -> (i64, Value) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn download_file(&self, file_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn delete_message(&self, chat_id: i64, vec_message_id: &[i64]) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `td_log_message_callback_ptr` is never used [INFO] [stdout] --> src/core/tdjson.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn td_log_message_callback_ptr(verbosity_level: c_int, message: *const c_char) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `td_set_log_message_callback` is never used [INFO] [stdout] --> src/core/tdjson.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn td_set_log_message_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/core/authentication.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TdlibParameters { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | use_test_dc: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | database_directory: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | files_directory: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use_file_database: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use_chat_info_database: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use_message_database: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | use_secret_chats: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | api_id: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | api_hash: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | system_language_code: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | device_model: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | system_version: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | application_version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | enable_storage_optimizer: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | ignore_file_names: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/error.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | IOError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TDAppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_len` is never read [INFO] [stdout] --> src/file/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CompositeFile { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub file_len: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompositeFile` 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: field `compressed` is never read [INFO] [stdout] --> src/file/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub compressed: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Options` 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: field `options` is never read [INFO] [stdout] --> src/file/file_separation.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct SeparationFile { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub options: Options [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SeparationFile` 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: field `hash_bytes` is never read [INFO] [stdout] --> src/file/file_assembly.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FilePartDecode { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 14 | pub hash_bytes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilePartDecode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaFile` is never constructed [INFO] [stdout] --> src/file/file_assembly.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct MetaFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/file/file_assembly.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | IOError(::std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DecodeErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/file/file_assembly.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | FromUtf8Error(::std::string::FromUtf8Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DecodeErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | FromUtf8Error(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DecodePart` is never constructed [INFO] [stdout] --> src/file/file_assembly.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum DecodeErrors { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | DecodePart(usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodeErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashPart` is never constructed [INFO] [stdout] --> src/file/file_assembly.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct HashPart([u8;16]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/file/file_assembly.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl HashPart { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 55 | fn read(src: &mut impl Read) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_input_file_extension` is never used [INFO] [stdout] --> src/file/file_assembly.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn decode_input_file_extension(src: &mut impl Read) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_metafile` is never used [INFO] [stdout] --> src/file/file_assembly.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | fn decode_metafile() -> MetaFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_folder` is never used [INFO] [stdout] --> src/cloud.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Cloud { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | fn add_folder(&self, virtual_path: &Path) -> Result<(), VFSError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `telegram_app`, `cloud_chat_id`, `cloud_chat`, and `files` are never read [INFO] [stdout] --> src/telegram_backend/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct TelegramBackend { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 49 | telegram_app: TDApp, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | cloud_chat_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 51 | cloud_chat: Value, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | files: RwLock>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramBackend` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_id` [INFO] [stdout] --> src/telegram_backend/mod.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let message_id = message["id"].as_i64().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/telegram_backend/mod.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | fn create(input: impl Read, output: impl Write) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/telegram_backend/mod.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | fn create(input: impl Read, output: impl Write) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/telegram_backend/mod.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let mut app = TDApp::create(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/telegram_backend/mod.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | fn upload_file(&self, file_path: &Path) -> Result<(), CloudError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/telegram_backend/mod.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | fn download_file(&self, file_path: &Path) -> Result<(), CloudError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/telegram_backend/mod.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | fn remove_file(&self, file_path: &Path) -> Result<(), CloudError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/telegram_backend/mod.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | fn check_file(&self, file_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_message`, `upload_file`, `download_file`, and `delete_message` are never used [INFO] [stdout] --> src/core/mod.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl TDApp { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn get_message(&self, message_id: i64, chat_id: i64) -> Value { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn upload_file(&self, file_path: &Path, chat_id: i64) -> (i64, Value) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn download_file(&self, file_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn delete_message(&self, chat_id: i64, vec_message_id: &[i64]) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `td_log_message_callback_ptr` is never used [INFO] [stdout] --> src/core/tdjson.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn td_log_message_callback_ptr(verbosity_level: c_int, message: *const c_char) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `td_set_log_message_callback` is never used [INFO] [stdout] --> src/core/tdjson.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn td_set_log_message_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/core/authentication.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TdlibParameters { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | use_test_dc: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | database_directory: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | files_directory: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use_file_database: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use_chat_info_database: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use_message_database: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | use_secret_chats: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | api_id: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | api_hash: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | system_language_code: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | device_model: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | system_version: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | application_version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | enable_storage_optimizer: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | ignore_file_names: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/error.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | IOError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TDAppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_len` is never read [INFO] [stdout] --> src/file/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CompositeFile { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub file_len: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompositeFile` 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: field `compressed` is never read [INFO] [stdout] --> src/file/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub compressed: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Options` 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: field `options` is never read [INFO] [stdout] --> src/file/file_separation.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct SeparationFile { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub options: Options [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SeparationFile` 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: field `hash_bytes` is never read [INFO] [stdout] --> src/file/file_assembly.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FilePartDecode { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 14 | pub hash_bytes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilePartDecode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaFile` is never constructed [INFO] [stdout] --> src/file/file_assembly.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct MetaFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/file/file_assembly.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | IOError(::std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DecodeErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/file/file_assembly.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | FromUtf8Error(::std::string::FromUtf8Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DecodeErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | FromUtf8Error(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DecodePart` is never constructed [INFO] [stdout] --> src/file/file_assembly.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum DecodeErrors { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | DecodePart(usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodeErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashPart` is never constructed [INFO] [stdout] --> src/file/file_assembly.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct HashPart([u8;16]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/file/file_assembly.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl HashPart { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 55 | fn read(src: &mut impl Read) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_input_file_extension` is never used [INFO] [stdout] --> src/file/file_assembly.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn decode_input_file_extension(src: &mut impl Read) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_metafile` is never used [INFO] [stdout] --> src/file/file_assembly.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | fn decode_metafile() -> MetaFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_folder` is never used [INFO] [stdout] --> src/cloud.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Cloud { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | fn add_folder(&self, virtual_path: &Path) -> Result<(), VFSError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `telegram_app`, `cloud_chat_id`, `cloud_chat`, and `files` are never read [INFO] [stdout] --> src/telegram_backend/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct TelegramBackend { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 49 | telegram_app: TDApp, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | cloud_chat_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 51 | cloud_chat: Value, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | files: RwLock>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramBackend` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.05s [INFO] running `Command { std: "docker" "inspect" "c47b4b7ed827f123e03afc98df59665acb88db8c7dff9a68069462f092d6b01a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c47b4b7ed827f123e03afc98df59665acb88db8c7dff9a68069462f092d6b01a", kill_on_drop: false }` [INFO] [stdout] c47b4b7ed827f123e03afc98df59665acb88db8c7dff9a68069462f092d6b01a