[INFO] cloning repository https://github.com/uzervlad/stelle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uzervlad/stelle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuzervlad%2Fstelle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuzervlad%2Fstelle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6148f259a8aa53eaeea2a3d94f7b0c4e1a50092 [INFO] checking uzervlad/stelle against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuzervlad%2Fstelle" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uzervlad/stelle on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/uzervlad/stelle [INFO] finished tweaking git repo https://github.com/uzervlad/stelle [INFO] tweaked toml for git repo https://github.com/uzervlad/stelle written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/uzervlad/stelle 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded random v0.14.0 [INFO] [stderr] Downloaded ureq v1.5.5 [INFO] [stderr] Downloaded telegram_notifyrs v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f91a88fdd78cb40ba6e197d451b2fac75de3e99af9955ba79140f978274f66c3 [INFO] running `Command { std: "docker" "start" "-a" "f91a88fdd78cb40ba6e197d451b2fac75de3e99af9955ba79140f978274f66c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f91a88fdd78cb40ba6e197d451b2fac75de3e99af9955ba79140f978274f66c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f91a88fdd78cb40ba6e197d451b2fac75de3e99af9955ba79140f978274f66c3", kill_on_drop: false }` [INFO] [stdout] f91a88fdd78cb40ba6e197d451b2fac75de3e99af9955ba79140f978274f66c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c71f10835a071a5e2d36369f29ad622078e327652cc3af5198d5fa36f2bd3e9c [INFO] running `Command { std: "docker" "start" "-a" "c71f10835a071a5e2d36369f29ad622078e327652cc3af5198d5fa36f2bd3e9c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking chunked_transfer v1.4.1 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking random v0.14.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking cron v0.12.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking serde_json v1.0.108 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking cookie_store v0.12.0 [INFO] [stderr] Checking ureq v1.5.5 [INFO] [stderr] Checking telegram_notifyrs v0.1.3 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking stelle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/profile.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let response = client [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/profile.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let response = client [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tg` [INFO] [stdout] --> src/tasks/check_in.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/tasks/check_in.rs:30:58 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tg` [INFO] [stdout] --> src/tasks/check_in.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/tasks/check_in.rs:30:58 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_next_run`, `run_task`, and `get_name` are never used [INFO] [stdout] --> src/scheduler.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SchedulerTask { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 9 | fn get_next_run(&self) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn get_name(&self) -> &String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scheduler` is never constructed [INFO] [stdout] --> src/scheduler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Scheduler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `check` are never used [INFO] [stdout] --> src/scheduler.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl Scheduler { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(config: &Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn check(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_checkin_status`, `get_checkin_awards`, and `collect_checkin` are never used [INFO] [stdout] --> src/profile.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 64 | impl ProfileConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn get_checkin_status(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn get_checkin_awards(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn collect_checkin(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tasks/check_in.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl CheckInTask { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(schedule: &String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tasks/expedition.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl ExpeditionTask { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/telegram.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl TelegramBot { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 21 | pub fn create(cfg: TelegramConfig) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_next_run`, `run_task`, and `get_name` are never used [INFO] [stdout] --> src/scheduler.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SchedulerTask { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 9 | fn get_next_run(&self) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn get_name(&self) -> &String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scheduler` is never constructed [INFO] [stdout] --> src/scheduler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Scheduler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `check` are never used [INFO] [stdout] --> src/scheduler.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl Scheduler { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(config: &Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn check(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_checkin_status`, `get_checkin_awards`, and `collect_checkin` are never used [INFO] [stdout] --> src/profile.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 64 | impl ProfileConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn get_checkin_status(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn get_checkin_awards(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn collect_checkin(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tasks/check_in.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl CheckInTask { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(schedule: &String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tasks/expedition.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl ExpeditionTask { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/telegram.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl TelegramBot { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 21 | pub fn create(cfg: TelegramConfig) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/profile.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let response = client [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/profile.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let response = client [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tg` [INFO] [stdout] --> src/tasks/check_in.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/tasks/check_in.rs:30:58 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tg` [INFO] [stdout] --> src/tasks/check_in.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/tasks/check_in.rs:30:58 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scheduler` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | let mut scheduler = Scheduler::new(&config); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tg` [INFO] [stdout] --> src/main.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | let tg = config.telegram.map(|cfg| TelegramBot::create(cfg)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | let mut scheduler = Scheduler::new(&config); [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: methods `get_next_run`, `run_task`, and `get_name` are never used [INFO] [stdout] --> src/scheduler.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SchedulerTask { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 9 | fn get_next_run(&self) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn get_name(&self) -> &String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tasks` is never read [INFO] [stdout] --> src/scheduler.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Scheduler { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | tasks: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/scheduler.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl Scheduler { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn check(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_checkin_status`, `get_checkin_awards`, and `collect_checkin` are never used [INFO] [stdout] --> src/profile.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 64 | impl ProfileConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn get_checkin_status(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn get_checkin_awards(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn collect_checkin(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scheduler` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | let mut scheduler = Scheduler::new(&config); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tg` [INFO] [stdout] --> src/main.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | let tg = config.telegram.map(|cfg| TelegramBot::create(cfg)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | let mut scheduler = Scheduler::new(&config); [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: methods `get_next_run`, `run_task`, and `get_name` are never used [INFO] [stdout] --> src/scheduler.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SchedulerTask { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 9 | fn get_next_run(&self) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn get_name(&self) -> &String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tasks` is never read [INFO] [stdout] --> src/scheduler.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Scheduler { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | tasks: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/scheduler.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl Scheduler { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn check(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_checkin_status`, `get_checkin_awards`, and `collect_checkin` are never used [INFO] [stdout] --> src/profile.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 64 | impl ProfileConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn get_checkin_status(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn get_checkin_awards(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn collect_checkin(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.26s [INFO] running `Command { std: "docker" "inspect" "c71f10835a071a5e2d36369f29ad622078e327652cc3af5198d5fa36f2bd3e9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c71f10835a071a5e2d36369f29ad622078e327652cc3af5198d5fa36f2bd3e9c", kill_on_drop: false }` [INFO] [stdout] c71f10835a071a5e2d36369f29ad622078e327652cc3af5198d5fa36f2bd3e9c [INFO] checking uzervlad/stelle against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuzervlad%2Fstelle" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uzervlad/stelle on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/uzervlad/stelle [INFO] finished tweaking git repo https://github.com/uzervlad/stelle [INFO] tweaked toml for git repo https://github.com/uzervlad/stelle written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/uzervlad/stelle 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35e8c986655f03dd769476fd5ef73b814d1e52526146059312858c125e8c8405 [INFO] running `Command { std: "docker" "start" "-a" "35e8c986655f03dd769476fd5ef73b814d1e52526146059312858c125e8c8405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35e8c986655f03dd769476fd5ef73b814d1e52526146059312858c125e8c8405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35e8c986655f03dd769476fd5ef73b814d1e52526146059312858c125e8c8405", kill_on_drop: false }` [INFO] [stdout] 35e8c986655f03dd769476fd5ef73b814d1e52526146059312858c125e8c8405 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c703525a0dcee842f16275ef900e0d271e7c8faa351dffaa9a248352e890d76d [INFO] running `Command { std: "docker" "start" "-a" "c703525a0dcee842f16275ef900e0d271e7c8faa351dffaa9a248352e890d76d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking chunked_transfer v1.4.1 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking random v0.14.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking cron v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking serde_json v1.0.108 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking cookie_store v0.12.0 [INFO] [stderr] Checking ureq v1.5.5 [INFO] [stderr] Checking telegram_notifyrs v0.1.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking stelle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/profile.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let response = client [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/profile.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let response = client [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tg` [INFO] [stdout] --> src/tasks/check_in.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/tasks/check_in.rs:30:58 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tg` [INFO] [stdout] --> src/tasks/check_in.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/tasks/check_in.rs:30:58 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_next_run`, `run_task`, and `get_name` are never used [INFO] [stdout] --> src/scheduler.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SchedulerTask { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 9 | fn get_next_run(&self) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn get_name(&self) -> &String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scheduler` is never constructed [INFO] [stdout] --> src/scheduler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Scheduler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `check` are never used [INFO] [stdout] --> src/scheduler.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl Scheduler { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(config: &Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn check(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_checkin_status`, `get_checkin_awards`, and `collect_checkin` are never used [INFO] [stdout] --> src/profile.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 64 | impl ProfileConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn get_checkin_status(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn get_checkin_awards(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn collect_checkin(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tasks/check_in.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl CheckInTask { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(schedule: &String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tasks/expedition.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl ExpeditionTask { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/telegram.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl TelegramBot { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 21 | pub fn create(cfg: TelegramConfig) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_next_run`, `run_task`, and `get_name` are never used [INFO] [stdout] --> src/scheduler.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SchedulerTask { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 9 | fn get_next_run(&self) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn get_name(&self) -> &String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scheduler` is never constructed [INFO] [stdout] --> src/scheduler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Scheduler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `check` are never used [INFO] [stdout] --> src/scheduler.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl Scheduler { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(config: &Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn check(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_checkin_status`, `get_checkin_awards`, and `collect_checkin` are never used [INFO] [stdout] --> src/profile.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 64 | impl ProfileConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn get_checkin_status(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn get_checkin_awards(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn collect_checkin(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tasks/check_in.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl CheckInTask { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(schedule: &String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tasks/expedition.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl ExpeditionTask { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/telegram.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl TelegramBot { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 21 | pub fn create(cfg: TelegramConfig) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/profile.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let response = client [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/profile.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let response = client [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tg` [INFO] [stdout] --> src/tasks/check_in.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/tasks/check_in.rs:30:58 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tg` [INFO] [stdout] --> src/tasks/check_in.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/tasks/check_in.rs:30:58 [INFO] [stdout] | [INFO] [stdout] 30 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scheduler` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | let mut scheduler = Scheduler::new(&config); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tg` [INFO] [stdout] --> src/main.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | let tg = config.telegram.map(|cfg| TelegramBot::create(cfg)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | let mut scheduler = Scheduler::new(&config); [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: methods `get_next_run`, `run_task`, and `get_name` are never used [INFO] [stdout] --> src/scheduler.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SchedulerTask { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 9 | fn get_next_run(&self) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn get_name(&self) -> &String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tasks` is never read [INFO] [stdout] --> src/scheduler.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Scheduler { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | tasks: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/scheduler.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl Scheduler { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn check(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_checkin_status`, `get_checkin_awards`, and `collect_checkin` are never used [INFO] [stdout] --> src/profile.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 64 | impl ProfileConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn get_checkin_status(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn get_checkin_awards(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn collect_checkin(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scheduler` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | let mut scheduler = Scheduler::new(&config); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tg` [INFO] [stdout] --> src/main.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | let tg = config.telegram.map(|cfg| TelegramBot::create(cfg)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | let mut scheduler = Scheduler::new(&config); [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: methods `get_next_run`, `run_task`, and `get_name` are never used [INFO] [stdout] --> src/scheduler.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SchedulerTask { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 9 | fn get_next_run(&self) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | async fn run_task(&mut self, tg: &Option, profile: &ProfileConfig) -> Result<()>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn get_name(&self) -> &String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tasks` is never read [INFO] [stdout] --> src/scheduler.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Scheduler { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | tasks: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/scheduler.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl Scheduler { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn check(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_checkin_status`, `get_checkin_awards`, and `collect_checkin` are never used [INFO] [stdout] --> src/profile.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 64 | impl ProfileConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn get_checkin_status(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn get_checkin_awards(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn collect_checkin(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.49s [INFO] running `Command { std: "docker" "inspect" "c703525a0dcee842f16275ef900e0d271e7c8faa351dffaa9a248352e890d76d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c703525a0dcee842f16275ef900e0d271e7c8faa351dffaa9a248352e890d76d", kill_on_drop: false }` [INFO] [stdout] c703525a0dcee842f16275ef900e0d271e7c8faa351dffaa9a248352e890d76d