[INFO] cloning repository https://github.com/fatalcenturion/NextLaunch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fatalcenturion/NextLaunch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffatalcenturion%2FNextLaunch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffatalcenturion%2FNextLaunch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9df678738871b2dcebbd2fa18cae85a351226787 [INFO] checking fatalcenturion/NextLaunch against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffatalcenturion%2FNextLaunch" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 48% (15/31) Updating files: 51% (16/31) Updating files: 54% (17/31) Updating files: 58% (18/31) Updating files: 61% (19/31) Updating files: 64% (20/31) Updating files: 67% (21/31) Updating files: 70% (22/31) Updating files: 74% (23/31) Updating files: 77% (24/31) Updating files: 80% (25/31) Updating files: 83% (26/31) Updating files: 87% (27/31) Updating files: 90% (28/31) Updating files: 93% (29/31) Updating files: 96% (30/31) Updating files: 100% (31/31) Updating files: 100% (31/31), done. [INFO] validating manifest of git repo https://github.com/fatalcenturion/NextLaunch on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fatalcenturion/NextLaunch [INFO] finished tweaking git repo https://github.com/fatalcenturion/NextLaunch [INFO] tweaked toml for git repo https://github.com/fatalcenturion/NextLaunch written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/fatalcenturion/NextLaunch already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cb8db7676723b28ca73f8f4f67a7b35efc81706afc7789f71aad95093052e62 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5cb8db7676723b28ca73f8f4f67a7b35efc81706afc7789f71aad95093052e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cb8db7676723b28ca73f8f4f67a7b35efc81706afc7789f71aad95093052e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cb8db7676723b28ca73f8f4f67a7b35efc81706afc7789f71aad95093052e62", kill_on_drop: false }` [INFO] [stdout] 5cb8db7676723b28ca73f8f4f67a7b35efc81706afc7789f71aad95093052e62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c6dd09f9ebbffb149c23c8fb3a8b8854ef42bc32890e65ca2d79e76d2c71f88 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7c6dd09f9ebbffb149c23c8fb3a8b8854ef42bc32890e65ca2d79e76d2c71f88", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bytemuck v1.5.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling tokio v1.1.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking socket2 v0.3.17 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking tokio-util v0.6.3 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking serde v1.0.123 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.0 [INFO] [stderr] Checking nextlaunch v0.2.31 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/minimal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/minimal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> src/main.rs:574:28 [INFO] [stdout] | [INFO] [stdout] 574 | Ok(image) => image.to_luma(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> src/main.rs:574:28 [INFO] [stdout] | [INFO] [stdout] 574 | Ok(image) => image.to_luma(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | for x in 0..50 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | for y in 0..80 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `image_path` is assigned to, but never used [INFO] [stdout] --> src/main.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | let (mut image_path, prv) = parse_path(previous_launch.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_image_path` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `image_path` is never read [INFO] [stdout] --> src/main.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | image_path = path; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous` is never read [INFO] [stdout] --> src/main.rs:378:29 [INFO] [stdout] | [INFO] [stdout] 378 | let mut previous = ""; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `seconds` is assigned to, but never used [INFO] [stdout] --> src/main.rs:466:52 [INFO] [stdout] | [INFO] [stdout] 466 | let (mut days, mut hours, mut minutes, mut seconds) = countdown(next.net.clone().unwrap().as_str(), false); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_seconds` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `seconds` is never read [INFO] [stdout] --> src/main.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 471 | seconds = secs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `seconds` is assigned to, but never used [INFO] [stdout] --> src/main.rs:518:37 [INFO] [stdout] | [INFO] [stdout] 518 | let (_, _, mut minutes, mut seconds) = countdown(next.net.clone().unwrap().as_str(), false); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_seconds` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `seconds` is never read [INFO] [stdout] --> src/main.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | seconds = secs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `meta` is never read [INFO] [stdout] --> src/main.rs:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | meta = mta; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `articles` is never read [INFO] [stdout] --> src/main.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | let mut articles: Vec
= Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `launch` [INFO] [stdout] --> src/main.rs:572:30 [INFO] [stdout] | [INFO] [stdout] 572 | fn process_image(path: &str, launch: structure::Launch) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_launch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_t_plus` is never read [INFO] [stdout] --> src/minimal.rs:448:17 [INFO] [stdout] | [INFO] [stdout] 448 | is_t_plus = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_t_plus` is never read [INFO] [stdout] --> src/minimal.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | is_t_plus = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let mut url: &str = "https://ll.thespacedevs.com/2.1.0/launch/upcoming/?format=json&mode=detailed&limit=5"; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut lines: Vec = process_image(img.as_str(), previous_launch.clone().unwrap()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | let mut results = json.results.clone().unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | let mut file = std::fs::File::open(launch_path.clone()).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:515:17 [INFO] [stdout] | [INFO] [stdout] 515 | let mut results = json.results.unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | let mut news_request = client.get("https://spaceflightnewsapi.net/api/v2/articles").send(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:560:17 [INFO] [stdout] | [INFO] [stdout] 560 | let mut file = std::fs::File::open(article_path.clone()).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 616 | let mut components: Vec<&str> = source.split(".").collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | let mut extension: String = components.last().unwrap().clone().to_string(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:635:13 [INFO] [stdout] | [INFO] [stdout] 635 | fn get_time(mut seconds: i64) -> (i32, i32, i32, i64) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | for x in 0..50 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | for y in 0..80 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `image_path` is assigned to, but never used [INFO] [stdout] --> src/main.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | let (mut image_path, prv) = parse_path(previous_launch.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_image_path` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `image_path` is never read [INFO] [stdout] --> src/main.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | image_path = path; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous` is never read [INFO] [stdout] --> src/main.rs:378:29 [INFO] [stdout] | [INFO] [stdout] 378 | let mut previous = ""; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `seconds` is assigned to, but never used [INFO] [stdout] --> src/main.rs:466:52 [INFO] [stdout] | [INFO] [stdout] 466 | let (mut days, mut hours, mut minutes, mut seconds) = countdown(next.net.clone().unwrap().as_str(), false); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_seconds` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `seconds` is never read [INFO] [stdout] --> src/main.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 471 | seconds = secs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `seconds` is assigned to, but never used [INFO] [stdout] --> src/main.rs:518:37 [INFO] [stdout] | [INFO] [stdout] 518 | let (_, _, mut minutes, mut seconds) = countdown(next.net.clone().unwrap().as_str(), false); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_seconds` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `seconds` is never read [INFO] [stdout] --> src/main.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | seconds = secs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `meta` is never read [INFO] [stdout] --> src/main.rs:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | meta = mta; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `articles` is never read [INFO] [stdout] --> src/main.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | let mut articles: Vec
= Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `launch` [INFO] [stdout] --> src/main.rs:572:30 [INFO] [stdout] | [INFO] [stdout] 572 | fn process_image(path: &str, launch: structure::Launch) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_launch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_t_plus` is never read [INFO] [stdout] --> src/minimal.rs:448:17 [INFO] [stdout] | [INFO] [stdout] 448 | is_t_plus = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_t_plus` is never read [INFO] [stdout] --> src/minimal.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | is_t_plus = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let mut url: &str = "https://ll.thespacedevs.com/2.1.0/launch/upcoming/?format=json&mode=detailed&limit=5"; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut lines: Vec = process_image(img.as_str(), previous_launch.clone().unwrap()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | let mut results = json.results.clone().unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | let mut file = std::fs::File::open(launch_path.clone()).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:515:17 [INFO] [stdout] | [INFO] [stdout] 515 | let mut results = json.results.unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | let mut news_request = client.get("https://spaceflightnewsapi.net/api/v2/articles").send(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:560:17 [INFO] [stdout] | [INFO] [stdout] 560 | let mut file = std::fs::File::open(article_path.clone()).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 616 | let mut components: Vec<&str> = source.split(".").collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | let mut extension: String = components.last().unwrap().clone().to_string(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:635:13 [INFO] [stdout] | [INFO] [stdout] 635 | fn get_time(mut seconds: i64) -> (i32, i32, i32, i64) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:488:17 [INFO] [stdout] | [INFO] [stdout] 488 | std::fs::remove_file(image_path.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | std::fs::remove_file(launch_path.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:554:13 [INFO] [stdout] | [INFO] [stdout] 554 | std::fs::remove_file(article_path.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `imageUrl` should have a snake case name [INFO] [stdout] --> src/structure.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | pub imageUrl: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `image_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `newsSite` should have a snake case name [INFO] [stdout] --> src/structure.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | pub newsSite: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `news_site` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:488:17 [INFO] [stdout] | [INFO] [stdout] 488 | std::fs::remove_file(image_path.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | std::fs::remove_file(launch_path.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:554:13 [INFO] [stdout] | [INFO] [stdout] 554 | std::fs::remove_file(article_path.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `imageUrl` should have a snake case name [INFO] [stdout] --> src/structure.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | pub imageUrl: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `image_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `newsSite` should have a snake case name [INFO] [stdout] --> src/structure.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | pub newsSite: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `news_site` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `Command { std: "docker" "inspect" "7c6dd09f9ebbffb149c23c8fb3a8b8854ef42bc32890e65ca2d79e76d2c71f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c6dd09f9ebbffb149c23c8fb3a8b8854ef42bc32890e65ca2d79e76d2c71f88", kill_on_drop: false }` [INFO] [stdout] 7c6dd09f9ebbffb149c23c8fb3a8b8854ef42bc32890e65ca2d79e76d2c71f88