[INFO] cloning repository https://github.com/Ubuntuify/chronos-discord-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ubuntuify/chronos-discord-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUbuntuify%2Fchronos-discord-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUbuntuify%2Fchronos-discord-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a054e8ecc593619927666b562836a624a107109 [INFO] testing Ubuntuify/chronos-discord-bot against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUbuntuify%2Fchronos-discord-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/Ubuntuify/chronos-discord-bot [INFO] finished tweaking git repo https://github.com/Ubuntuify/chronos-discord-bot [INFO] tweaked toml for git repo https://github.com/Ubuntuify/chronos-discord-bot written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ubuntuify/chronos-discord-bot on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ubuntuify/chronos-discord-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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-core v0.1.35 [INFO] [stderr] Downloaded typesize-derive v0.1.11 [INFO] [stderr] Downloaded phf_shared v0.12.1 [INFO] [stderr] Downloaded nu-ansi-term v0.50.3 [INFO] [stderr] Downloaded poise_macros v0.6.1 [INFO] [stderr] Downloaded skeptic v0.13.7 [INFO] [stderr] Downloaded serde_cow v0.1.2 [INFO] [stderr] Downloaded phf v0.12.1 [INFO] [stderr] Downloaded tokio-rustls v0.25.0 [INFO] [stderr] Downloaded rustls-pki-types v1.13.1 [INFO] [stderr] Downloaded error-chain v0.12.4 [INFO] [stderr] Downloaded mini-moka v0.10.3 [INFO] [stderr] Downloaded tungstenite v0.21.0 [INFO] [stderr] Downloaded indexmap v2.12.1 [INFO] [stderr] Downloaded pulldown-cmark v0.9.6 [INFO] [stderr] Downloaded poise v0.6.1 [INFO] [stderr] Downloaded zerocopy-derive v0.8.31 [INFO] [stderr] Downloaded cc v1.2.49 [INFO] [stderr] Downloaded tempfile v3.23.0 [INFO] [stderr] Downloaded rustls-webpki v0.102.8 [INFO] [stderr] Downloaded camino v1.2.2 [INFO] [stderr] Downloaded webpki-roots v1.0.4 [INFO] [stderr] Downloaded zerocopy v0.8.31 [INFO] [stderr] Downloaded triomphe v0.1.15 [INFO] [stderr] Downloaded tracing v0.1.43 [INFO] [stderr] Downloaded tokio-tungstenite v0.21.0 [INFO] [stderr] Downloaded find-msvc-tools v0.1.5 [INFO] [stderr] Downloaded rustls v0.22.4 [INFO] [stderr] Downloaded bytecount v0.6.9 [INFO] [stderr] Downloaded cargo_metadata v0.14.2 [INFO] [stderr] Downloaded typemap_rev v0.3.0 [INFO] [stderr] Downloaded tagptr v0.2.0 [INFO] [stderr] Downloaded typesize v0.1.14 [INFO] [stderr] Downloaded serenity v0.12.4 [INFO] [stderr] Downloaded chrono-tz v0.10.4 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b92b7720d1d8805db053d99336e2383b25b3047ecb5d01a08e2167fcee7556aa [INFO] running `Command { std: "docker" "start" "-a" "b92b7720d1d8805db053d99336e2383b25b3047ecb5d01a08e2167fcee7556aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b92b7720d1d8805db053d99336e2383b25b3047ecb5d01a08e2167fcee7556aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b92b7720d1d8805db053d99336e2383b25b3047ecb5d01a08e2167fcee7556aa", kill_on_drop: false }` [INFO] [stdout] b92b7720d1d8805db053d99336e2383b25b3047ecb5d01a08e2167fcee7556aa [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01a58d42b352a8f1c8e2e5f16de2b688d1d3e908c6475d276893c9d4c1a958be [INFO] running `Command { std: "docker" "start" "-a" "01a58d42b352a8f1c8e2e5f16de2b688d1d3e908c6475d276893c9d4c1a958be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling rustls-pki-types v1.13.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.10.4 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling phf v0.12.1 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling poise_macros v0.6.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling poise v0.6.1 [INFO] [stderr] Compiling chronos-discord-bot v0.1.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::HashMap` and `sync::Arc` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, sync::Arc}; [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: `tokio::sync::RwLock` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lock` is never read [INFO] [stdout] --> src/structs/data.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | lock = Utc::now(); // set a new time for the last save [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GUILD_DATA` is never used [INFO] [stdout] --> src/strings/filenames.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const GUILD_DATA: &str = "guild.json"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guild_data` is never read [INFO] [stdout] --> src/structs/data.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Data { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub guild_data: Arc>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 14s [INFO] running `Command { std: "docker" "inspect" "01a58d42b352a8f1c8e2e5f16de2b688d1d3e908c6475d276893c9d4c1a958be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01a58d42b352a8f1c8e2e5f16de2b688d1d3e908c6475d276893c9d4c1a958be", kill_on_drop: false }` [INFO] [stdout] 01a58d42b352a8f1c8e2e5f16de2b688d1d3e908c6475d276893c9d4c1a958be [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd9b538aff7d30546276f82c318590b8d0a5df22405aeaca66ded575f2333a5c [INFO] running `Command { std: "docker" "start" "-a" "dd9b538aff7d30546276f82c318590b8d0a5df22405aeaca66ded575f2333a5c", kill_on_drop: false }` [INFO] [stderr] Compiling chronos-discord-bot v0.1.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::HashMap` and `sync::Arc` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, sync::Arc}; [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: `tokio::sync::RwLock` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lock` is never read [INFO] [stdout] --> src/structs/data.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | lock = Utc::now(); // set a new time for the last save [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GUILD_DATA` is never used [INFO] [stdout] --> src/strings/filenames.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const GUILD_DATA: &str = "guild.json"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guild_data` is never read [INFO] [stdout] --> src/structs/data.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Data { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub guild_data: Arc>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.73s [INFO] running `Command { std: "docker" "inspect" "dd9b538aff7d30546276f82c318590b8d0a5df22405aeaca66ded575f2333a5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd9b538aff7d30546276f82c318590b8d0a5df22405aeaca66ded575f2333a5c", kill_on_drop: false }` [INFO] [stdout] dd9b538aff7d30546276f82c318590b8d0a5df22405aeaca66ded575f2333a5c [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a89ed6add3d0bd4ac9dbcb3be01b6835f921fc514b318fec5260fb15ee00bf76 [INFO] running `Command { std: "docker" "start" "-a" "a89ed6add3d0bd4ac9dbcb3be01b6835f921fc514b318fec5260fb15ee00bf76", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `collections::HashMap` and `sync::Arc` [INFO] [stdout] [INFO] [stderr] --> src/main.rs:1:11 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 1 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::sync::RwLock` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio::sync::RwLock; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `lock` is never read [INFO] [stderr] --> src/structs/data.rs:94:13 [INFO] [stderr] | [INFO] [stderr] 94 | lock = Utc::now(); // set a new time for the last save [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `GUILD_DATA` is never used [INFO] [stderr] --> src/strings/filenames.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | pub const GUILD_DATA: &str = "guild.json"; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `guild_data` is never read [INFO] [stderr] --> src/structs/data.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Data { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 15 | pub guild_data: Arc>>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `chronos-discord-bot` (bin "chronos-discord-bot" test) generated 5 warnings (run `cargo fix --bin "chronos-discord-bot" -p chronos-discord-bot --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chronos_discord_bot-5a7f68193ee680a5) [INFO] running `Command { std: "docker" "inspect" "a89ed6add3d0bd4ac9dbcb3be01b6835f921fc514b318fec5260fb15ee00bf76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a89ed6add3d0bd4ac9dbcb3be01b6835f921fc514b318fec5260fb15ee00bf76", kill_on_drop: false }` [INFO] [stdout] a89ed6add3d0bd4ac9dbcb3be01b6835f921fc514b318fec5260fb15ee00bf76