[INFO] cloning repository https://github.com/sun00108/nyamedia-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sun00108/nyamedia-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsun00108%2Fnyamedia-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsun00108%2Fnyamedia-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 378ab6681124b1b950caacfb2abf9e2ba9832e7c [INFO] checking sun00108/nyamedia-bot against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsun00108%2Fnyamedia-bot" "/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/sun00108/nyamedia-bot [INFO] finished tweaking git repo https://github.com/sun00108/nyamedia-bot [INFO] tweaked toml for git repo https://github.com/sun00108/nyamedia-bot written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sun00108/nyamedia-bot on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sun00108/nyamedia-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rc-box v1.3.0 [INFO] [stderr] Downloaded migrations_internals v2.2.1 [INFO] [stderr] Downloaded erasable v1.3.0 [INFO] [stderr] Downloaded diesel_derives v2.2.7 [INFO] [stderr] Downloaded diesel v2.2.12 [INFO] [stderr] Downloaded libsqlite3-sys v0.35.0 [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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba22b88e98fada86d4fb1614b54f12a18b50ecf987ad6858993b18db6806ceed [INFO] running `Command { std: "docker" "start" "-a" "ba22b88e98fada86d4fb1614b54f12a18b50ecf987ad6858993b18db6806ceed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba22b88e98fada86d4fb1614b54f12a18b50ecf987ad6858993b18db6806ceed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba22b88e98fada86d4fb1614b54f12a18b50ecf987ad6858993b18db6806ceed", kill_on_drop: false }` [INFO] [stdout] ba22b88e98fada86d4fb1614b54f12a18b50ecf987ad6858993b18db6806ceed [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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5a0170e7f0d64d9542a243407010c8de16deb24340e6bad0918a0f2455f5357 [INFO] running `Command { std: "docker" "start" "-a" "c5a0170e7f0d64d9542a243407010c8de16deb24340e6bad0918a0f2455f5357", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking rc-box v1.3.0 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling diesel_derives v2.2.7 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking serde_json v1.0.142 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking diesel v2.2.12 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking migrations_internals v2.2.1 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Checking diesel_migrations v2.2.0 [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking nyamedia-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::west`: use `west_opt()` instead [INFO] [stdout] --> src/bot.rs:175:103 [INFO] [stdout] | [INFO] [stdout] 175 | ... let toronto_time = chrono::Utc::now().with_timezone(&chrono::FixedOffset::west(5*3600)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::west`: use `west_opt()` instead [INFO] [stdout] --> src/bot.rs:175:103 [INFO] [stdout] | [INFO] [stdout] 175 | ... let toronto_time = chrono::Utc::now().with_timezone(&chrono::FixedOffset::west(5*3600)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bot.rs:645:55 [INFO] [stdout] | [INFO] [stdout] 645 | let error_message = res.text().await.map_err(|e| format!("请联系管理员。[Error: res.text]"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bot.rs:639:19 [INFO] [stdout] | [INFO] [stdout] 639 | .map_err(|e| format!("请联系管理员。[Error: Emby API]"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/bot.rs:365:35 [INFO] [stdout] | [INFO] [stdout] 365 | async fn password_reset(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bot.rs:669:55 [INFO] [stdout] | [INFO] [stdout] 669 | let error_message = res.text().await.map_err(|e| format!("请联系管理员。[Error: res.text]"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bot.rs:664:19 [INFO] [stdout] | [INFO] [stdout] 664 | .map_err(|e| format!("请联系管理员。[Error: Emby API]"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bot.rs:645:55 [INFO] [stdout] | [INFO] [stdout] 645 | let error_message = res.text().await.map_err(|e| format!("请联系管理员。[Error: res.text]"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bot.rs:639:19 [INFO] [stdout] | [INFO] [stdout] 639 | .map_err(|e| format!("请联系管理员。[Error: Emby API]"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/bot.rs:365:35 [INFO] [stdout] | [INFO] [stdout] 365 | async fn password_reset(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bot.rs:669:55 [INFO] [stdout] | [INFO] [stdout] 669 | let error_message = res.text().await.map_err(|e| format!("请联系管理员。[Error: res.text]"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bot.rs:664:19 [INFO] [stdout] | [INFO] [stdout] 664 | .map_err(|e| format!("请联系管理员。[Error: Emby API]"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Id` should have a snake case name [INFO] [stdout] --> src/bot.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Id: String, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Id` should have a snake case name [INFO] [stdout] --> src/bot.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Id: String, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/bin/nyasubworker.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [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: `PathBuf` [INFO] [stdout] --> src/bin/nyasubworker.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/nyasubworker.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut config: Config = toml::from_str(&content)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/nyasubworker.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut config: Config = toml::from_str(&content)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "c5a0170e7f0d64d9542a243407010c8de16deb24340e6bad0918a0f2455f5357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a0170e7f0d64d9542a243407010c8de16deb24340e6bad0918a0f2455f5357", kill_on_drop: false }` [INFO] [stdout] c5a0170e7f0d64d9542a243407010c8de16deb24340e6bad0918a0f2455f5357