[INFO] cloning repository https://github.com/daviddodda1/cloudflare_ddns
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daviddodda1/cloudflare_ddns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaviddodda1%2Fcloudflare_ddns", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaviddodda1%2Fcloudflare_ddns'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 44a61c7c24514e3bff170823c09554112a1c82c8
[INFO] checking daviddodda1/cloudflare_ddns against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaviddodda1%2Fcloudflare_ddns" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/daviddodda1/cloudflare_ddns
[INFO] finished tweaking git repo https://github.com/daviddodda1/cloudflare_ddns
[INFO] tweaked toml for git repo https://github.com/daviddodda1/cloudflare_ddns written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/daviddodda1/cloudflare_ddns on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/daviddodda1/cloudflare_ddns 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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: package.author
[INFO] [stderr] warning: `cloudflare_ddns` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3ce2a4f05f2bc406a0c8b81c9ec3f6741f96d92f906dab935bcd2c25951760d2
[INFO] running `Command { std: "docker" "start" "3ce2a4f05f2bc406a0c8b81c9ec3f6741f96d92f906dab935bcd2c25951760d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ce2a4f05f2bc406a0c8b81c9ec3f6741f96d92f906dab935bcd2c25951760d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3ce2a4f05f2bc406a0c8b81c9ec3f6741f96d92f906dab935bcd2c25951760d2" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ce2a4f05f2bc406a0c8b81c9ec3f6741f96d92f906dab935bcd2c25951760d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3ce2a4f05f2bc406a0c8b81c9ec3f6741f96d92f906dab935bcd2c25951760d2" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: package.author
[INFO] [stderr] warning: `cloudflare_ddns` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking once_cell v1.12.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.138
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling serde v1.0.138
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]     Checking tracing-core v0.1.28
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]     Checking hashbrown v0.12.1
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling rustversion v1.0.7
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking terminal_size v0.1.17
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking nom v7.1.1
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking regex-syntax v0.6.26
[INFO] [stderr]    Compiling tokio-cron-scheduler v0.7.4
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking console v0.15.0
[INFO] [stderr]    Compiling openssl-sys v0.9.74
[INFO] [stderr]     Checking uuid v1.1.2
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking ipnet v2.5.0
[INFO] [stderr]     Checking unicode-normalization v0.1.21
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking regex v1.5.6
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking cron v0.10.1
[INFO] [stderr]     Checking indicatif v0.16.2
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.22
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling strum_macros v0.24.2
[INFO] [stderr]    Compiling cli-table-derive v0.4.5
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking tokio v1.19.2
[INFO] [stderr]     Checking tracing v0.1.35
[INFO] [stderr]     Checking strum v0.24.1
[INFO] [stderr]     Checking spinners v4.1.0
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking hyper v0.14.19
[INFO] [stderr]     Checking cli-table v0.4.7
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.11
[INFO] [stderr]     Checking cloudflare_ddns v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `format::Justify` and `print_stdout`
[INFO] [stdout]  --> src/main.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cli_table::{format::Justify, print_stdout, Cell, Style, Table};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 |     if(API_KEY == "") {
[INFO] [stdout]    |       ^             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 37 -     if(API_KEY == "") {
[INFO] [stdout] 37 +     if API_KEY == "" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:220:15
[INFO] [stdout]     |
[INFO] [stdout] 220 |             if(domain.dns_type == "A") {
[INFO] [stdout]     |               ^                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 220 -             if(domain.dns_type == "A") {
[INFO] [stdout] 220 +             if domain.dns_type == "A" {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `format::Justify` and `print_stdout`
[INFO] [stdout]  --> src/main.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cli_table::{format::Justify, print_stdout, Cell, Style, Table};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 |     if(API_KEY == "") {
[INFO] [stdout]    |       ^             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 37 -     if(API_KEY == "") {
[INFO] [stdout] 37 +     if API_KEY == "" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:220:15
[INFO] [stdout]     |
[INFO] [stdout] 220 |             if(domain.dns_type == "A") {
[INFO] [stdout]     |               ^                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 220 -             if(domain.dns_type == "A") {
[INFO] [stdout] 220 +             if domain.dns_type == "A" {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:209:13
[INFO] [stdout]     |
[INFO] [stdout] 209 |         let mut domains_in_zone: Vec<Domain> = temp.iter().map(|x| Domain {
[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/main.rs:209:13
[INFO] [stdout]     |
[INFO] [stdout] 209 |         let mut domains_in_zone: Vec<Domain> = temp.iter().map(|x| Domain {
[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: value assigned to `AvailableZones` is never read
[INFO] [stdout]   --> src/main.rs:44:41
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut AvailableZones: Vec<Zone> = Vec::new();
[INFO] [stdout]    |                                         ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 53 |     AvailableZones = fetch_zones(&API_KEY).await?;
[INFO] [stdout]    |     -------------- `AvailableZones` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `AvailableDomains` is never read
[INFO] [stdout]   --> src/main.rs:45:45
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut AvailableDomains: Vec<Domain> = Vec::new();
[INFO] [stdout]    |                                             ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 86 |     AvailableDomains = fetch_domains(ZonesToUpdate, &API_KEY).await?;
[INFO] [stdout]    |     ---------------- `AvailableDomains` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]    --> src/main.rs:278:9
[INFO] [stdout]     |
[INFO] [stdout] 278 |     let response: serde_json::Value = client.get("https://api.ipify.org?format=json")
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_if_internet_connected` is never used
[INFO] [stdout]    --> src/main.rs:276:10
[INFO] [stdout]     |
[INFO] [stdout] 276 | async fn check_if_internet_connected() -> Result<(), reqwest::Error> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `API_KEY` should have a snake case name
[INFO] [stdout]   --> src/main.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let API_KEY: String =  env::args().nth(1).unwrap_or("".to_string());
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `api_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `AvailableZones` should have a snake case name
[INFO] [stdout]   --> src/main.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut AvailableZones: Vec<Zone> = Vec::new();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `available_zones`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `AvailableDomains` should have a snake case name
[INFO] [stdout]   --> src/main.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut AvailableDomains: Vec<Domain> = Vec::new();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `available_domains`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ZonesToUpdate` should have a snake case name
[INFO] [stdout]   --> src/main.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut ZonesToUpdate: Vec<Zone> = Vec::new();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `zones_to_update`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `DomainsToUpdate` should have a snake case name
[INFO] [stdout]   --> src/main.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut DomainsToUpdate: Vec<Domain> = Vec::new();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `domains_to_update`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `API_KEY` should have a snake case name
[INFO] [stdout]    --> src/main.rs:145:22
[INFO] [stdout]     |
[INFO] [stdout] 145 | async fn fetch_zones(API_KEY: &str) -> Result<Vec<Zone>, reqwest::Error> {
[INFO] [stdout]     |                      ^^^^^^^ help: convert the identifier to snake case: `api_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `API_KEY` should have a snake case name
[INFO] [stdout]    --> src/main.rs:180:52
[INFO] [stdout]     |
[INFO] [stdout] 180 | async fn fetch_domains(available_zones: Vec<Zone>, API_KEY: &str) -> Result<Vec<Domain>, reqwest::Error> {
[INFO] [stdout]     |                                                    ^^^^^^^ help: convert the identifier to snake case: `api_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `API_KEY` should have a snake case name
[INFO] [stdout]    --> src/main.rs:248:75
[INFO] [stdout]     |
[INFO] [stdout] 248 | async fn update_dns_records(domains_to_update: Vec<Domain>, new_ip: &str, API_KEY: &str) -> Result<(), reqwest::Error> {
[INFO] [stdout]     |                                                                           ^^^^^^^ help: convert the identifier to snake case: `api_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `AvailableZones` is never read
[INFO] [stdout]   --> src/main.rs:44:41
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut AvailableZones: Vec<Zone> = Vec::new();
[INFO] [stdout]    |                                         ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 53 |     AvailableZones = fetch_zones(&API_KEY).await?;
[INFO] [stdout]    |     -------------- `AvailableZones` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `AvailableDomains` is never read
[INFO] [stdout]   --> src/main.rs:45:45
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut AvailableDomains: Vec<Domain> = Vec::new();
[INFO] [stdout]    |                                             ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 86 |     AvailableDomains = fetch_domains(ZonesToUpdate, &API_KEY).await?;
[INFO] [stdout]    |     ---------------- `AvailableDomains` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]    --> src/main.rs:278:9
[INFO] [stdout]     |
[INFO] [stdout] 278 |     let response: serde_json::Value = client.get("https://api.ipify.org?format=json")
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_if_internet_connected` is never used
[INFO] [stdout]    --> src/main.rs:276:10
[INFO] [stdout]     |
[INFO] [stdout] 276 | async fn check_if_internet_connected() -> Result<(), reqwest::Error> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `API_KEY` should have a snake case name
[INFO] [stdout]   --> src/main.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let API_KEY: String =  env::args().nth(1).unwrap_or("".to_string());
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `api_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `AvailableZones` should have a snake case name
[INFO] [stdout]   --> src/main.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut AvailableZones: Vec<Zone> = Vec::new();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `available_zones`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `AvailableDomains` should have a snake case name
[INFO] [stdout]   --> src/main.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut AvailableDomains: Vec<Domain> = Vec::new();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `available_domains`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ZonesToUpdate` should have a snake case name
[INFO] [stdout]   --> src/main.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut ZonesToUpdate: Vec<Zone> = Vec::new();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `zones_to_update`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `DomainsToUpdate` should have a snake case name
[INFO] [stdout]   --> src/main.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut DomainsToUpdate: Vec<Domain> = Vec::new();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `domains_to_update`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `API_KEY` should have a snake case name
[INFO] [stdout]    --> src/main.rs:145:22
[INFO] [stdout]     |
[INFO] [stdout] 145 | async fn fetch_zones(API_KEY: &str) -> Result<Vec<Zone>, reqwest::Error> {
[INFO] [stdout]     |                      ^^^^^^^ help: convert the identifier to snake case: `api_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `API_KEY` should have a snake case name
[INFO] [stdout]    --> src/main.rs:180:52
[INFO] [stdout]     |
[INFO] [stdout] 180 | async fn fetch_domains(available_zones: Vec<Zone>, API_KEY: &str) -> Result<Vec<Domain>, reqwest::Error> {
[INFO] [stdout]     |                                                    ^^^^^^^ help: convert the identifier to snake case: `api_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `API_KEY` should have a snake case name
[INFO] [stdout]    --> src/main.rs:248:75
[INFO] [stdout]     |
[INFO] [stdout] 248 | async fn update_dns_records(domains_to_update: Vec<Domain>, new_ip: &str, API_KEY: &str) -> Result<(), reqwest::Error> {
[INFO] [stdout]     |                                                                           ^^^^^^^ help: convert the identifier to snake case: `api_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.91s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.40
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "3ce2a4f05f2bc406a0c8b81c9ec3f6741f96d92f906dab935bcd2c25951760d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ce2a4f05f2bc406a0c8b81c9ec3f6741f96d92f906dab935bcd2c25951760d2", kill_on_drop: false }`
[INFO] [stdout] 3ce2a4f05f2bc406a0c8b81c9ec3f6741f96d92f906dab935bcd2c25951760d2
