[INFO] cloning repository https://github.com/axumrs/tg-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/axumrs/tg-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faxumrs%2Ftg-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faxumrs%2Ftg-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbebea34dc84a8689a9d6d55b830e538a73638ce [INFO] testing axumrs/tg-bot against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faxumrs%2Ftg-bot" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/axumrs/tg-bot [INFO] finished tweaking git repo https://github.com/axumrs/tg-bot [INFO] tweaked toml for git repo https://github.com/axumrs/tg-bot written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/axumrs/tg-bot 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/axumrs/tg-bot 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] Downloading crates ... [INFO] [stderr] Downloaded futures-sink v0.3.18 [INFO] [stderr] Downloaded tokio-macros v1.6.0 [INFO] [stderr] Downloaded matchit v0.4.4 [INFO] [stderr] Downloaded futures-channel v0.3.18 [INFO] [stderr] Downloaded serde_json v1.0.72 [INFO] [stderr] Downloaded tower-http v0.1.2 [INFO] [stderr] Downloaded futures-core v0.3.18 [INFO] [stderr] Downloaded tower v0.4.11 [INFO] [stderr] Downloaded axum v0.3.4 [INFO] [stderr] Downloaded reqwest v0.11.6 [INFO] [stderr] Downloaded futures-util v0.3.18 [INFO] [stderr] Downloaded h2 v0.3.7 [INFO] [stderr] Downloaded hyper v0.14.15 [INFO] [stderr] Downloaded openssl-sys v0.9.71 [INFO] [stderr] Downloaded futures-task v0.3.18 [INFO] [stderr] Downloaded syn v1.0.82 [INFO] [stderr] Downloaded tokio v1.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6adf206f2271563d548f5a679b4360aee3c12cbececf1c3f03b2c2bdce60bf2c [INFO] running `Command { std: "docker" "start" "-a" "6adf206f2271563d548f5a679b4360aee3c12cbececf1c3f03b2c2bdce60bf2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6adf206f2271563d548f5a679b4360aee3c12cbececf1c3f03b2c2bdce60bf2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6adf206f2271563d548f5a679b4360aee3c12cbececf1c3f03b2c2bdce60bf2c", kill_on_drop: false }` [INFO] [stdout] 6adf206f2271563d548f5a679b4360aee3c12cbececf1c3f03b2c2bdce60bf2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97ed02386f46284ead3e07b05018c65732c0a748577b7fe21bcaa8fbb23c841f [INFO] running `Command { std: "docker" "start" "-a" "97ed02386f46284ead3e07b05018c65732c0a748577b7fe21bcaa8fbb23c841f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling matchit v0.4.4 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tower-http v0.1.2 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling tower v0.4.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling config v0.11.0 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling axum v0.3.4 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling tg-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `webhook` is never read [INFO] [stdout] --> src/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TgBotConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | pub token: String, [INFO] [stdout] 11 | pub webhook: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TgBotConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cause` and `error_type` are never read [INFO] [stdout] --> src/error.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AppError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 16 | pub message: Option, [INFO] [stdout] 17 | pub cause: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub error_type: AppErrorType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `update_id` is never read [INFO] [stdout] --> src/types/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Update { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | pub update_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Update` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_id`, `from`, and `date` are never read [INFO] [stdout] --> src/types/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 18 | pub message_id: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub from: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | pub chat: Chat, [INFO] [stdout] 21 | pub date: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `is_bot`, `first_name`, `username`, and `language_code` are never read [INFO] [stdout] --> src/types/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 27 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | pub is_bot: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | pub first_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | pub language_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_name`, `username`, and `types` are never read [INFO] [stdout] --> src/types/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Chat { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | pub id: u64, [INFO] [stdout] 36 | pub first_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | #[serde(rename(deserialize = "type"))] [INFO] [stdout] 39 | pub types: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ok` and `result` are never read [INFO] [stdout] --> src/types/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 44 | pub ok: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 45 | pub result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.69s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "97ed02386f46284ead3e07b05018c65732c0a748577b7fe21bcaa8fbb23c841f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97ed02386f46284ead3e07b05018c65732c0a748577b7fe21bcaa8fbb23c841f", kill_on_drop: false }` [INFO] [stdout] 97ed02386f46284ead3e07b05018c65732c0a748577b7fe21bcaa8fbb23c841f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 565d6ee2860adbe6354c8b07221459a1257c5ad698e62f514fa8a185a809ae00 [INFO] running `Command { std: "docker" "start" "-a" "565d6ee2860adbe6354c8b07221459a1257c5ad698e62f514fa8a185a809ae00", kill_on_drop: false }` [INFO] [stderr] Compiling tg-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `webhook` is never read [INFO] [stdout] --> src/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TgBotConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | pub token: String, [INFO] [stdout] 11 | pub webhook: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TgBotConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cause` and `error_type` are never read [INFO] [stdout] --> src/error.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AppError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 16 | pub message: Option, [INFO] [stdout] 17 | pub cause: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub error_type: AppErrorType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `update_id` is never read [INFO] [stdout] --> src/types/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Update { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | pub update_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Update` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_id`, `from`, and `date` are never read [INFO] [stdout] --> src/types/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 18 | pub message_id: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub from: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | pub chat: Chat, [INFO] [stdout] 21 | pub date: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `is_bot`, `first_name`, `username`, and `language_code` are never read [INFO] [stdout] --> src/types/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 27 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | pub is_bot: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | pub first_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | pub language_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_name`, `username`, and `types` are never read [INFO] [stdout] --> src/types/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Chat { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | pub id: u64, [INFO] [stdout] 36 | pub first_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | #[serde(rename(deserialize = "type"))] [INFO] [stdout] 39 | pub types: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ok` and `result` are never read [INFO] [stdout] --> src/types/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 44 | pub ok: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 45 | pub result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.69s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "565d6ee2860adbe6354c8b07221459a1257c5ad698e62f514fa8a185a809ae00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "565d6ee2860adbe6354c8b07221459a1257c5ad698e62f514fa8a185a809ae00", kill_on_drop: false }` [INFO] [stdout] 565d6ee2860adbe6354c8b07221459a1257c5ad698e62f514fa8a185a809ae00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ab8420cd48ef554df2c53815f8a8984e05c7a381f63b7b1b8a0dbc2a119a45b3 [INFO] running `Command { std: "docker" "start" "-a" "ab8420cd48ef554df2c53815f8a8984e05c7a381f63b7b1b8a0dbc2a119a45b3", kill_on_drop: false }` [INFO] [stderr] warning: field `webhook` is never read [INFO] [stdout] [INFO] [stderr] --> src/config.rs:11:9 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 9 | pub struct TgBotConfig { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ----------- field in this struct [INFO] [stdout] [INFO] [stderr] 10 | pub token: String, [INFO] [stderr] 11 | pub webhook: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TgBotConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `cause` and `error_type` are never read [INFO] [stderr] --> src/error.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct AppError { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 16 | pub message: Option, [INFO] [stderr] 17 | pub cause: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 18 | pub error_type: AppErrorType, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `update_id` is never read [INFO] [stderr] --> src/types/mod.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Update { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 12 | pub update_id: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Update` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `message_id`, `from`, and `date` are never read [INFO] [stderr] --> src/types/mod.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Message { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 18 | pub message_id: u64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 19 | pub from: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 20 | pub chat: Chat, [INFO] [stderr] 21 | pub date: u64, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `is_bot`, `first_name`, `username`, and `language_code` are never read [INFO] [stderr] --> src/types/mod.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct User { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 27 | pub id: u64, [INFO] [stderr] | ^^ [INFO] [stderr] 28 | pub is_bot: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 29 | pub first_name: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 30 | pub username: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 31 | pub language_code: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `first_name`, `username`, and `types` are never read [INFO] [stderr] --> src/types/mod.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct Chat { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 35 | pub id: u64, [INFO] [stderr] 36 | pub first_name: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 37 | pub username: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 38 | #[serde(rename(deserialize = "type"))] [INFO] [stderr] 39 | pub types: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Chat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `ok` and `result` are never read [INFO] [stderr] --> src/types/mod.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct Response { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 44 | pub ok: bool, [INFO] [stderr] | ^^ [INFO] [stderr] 45 | pub result: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `tg-bot` (bin "tg-bot" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tg_bot-42496fa773cb028b) [INFO] running `Command { std: "docker" "inspect" "ab8420cd48ef554df2c53815f8a8984e05c7a381f63b7b1b8a0dbc2a119a45b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab8420cd48ef554df2c53815f8a8984e05c7a381f63b7b1b8a0dbc2a119a45b3", kill_on_drop: false }` [INFO] [stdout] ab8420cd48ef554df2c53815f8a8984e05c7a381f63b7b1b8a0dbc2a119a45b3