[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] 65e2c79ea3fb3ffcc5616d33f5c9e3c3e2ddf562 [INFO] checking fatalcenturion/NextLaunch against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffatalcenturion%2FNextLaunch" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fatalcenturion/NextLaunch on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f65aa7a5fa1bdad4de9c37cdb88b95bda5f9f4e6eb10158baf984ab14bd12a4b [INFO] running `Command { std: "docker" "start" "-a" "f65aa7a5fa1bdad4de9c37cdb88b95bda5f9f4e6eb10158baf984ab14bd12a4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f65aa7a5fa1bdad4de9c37cdb88b95bda5f9f4e6eb10158baf984ab14bd12a4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f65aa7a5fa1bdad4de9c37cdb88b95bda5f9f4e6eb10158baf984ab14bd12a4b", kill_on_drop: false }` [INFO] [stdout] f65aa7a5fa1bdad4de9c37cdb88b95bda5f9f4e6eb10158baf984ab14bd12a4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53868ff64b47767310887affde4b6b6bfd90f38e93a0c172046223ae0b197c5c [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" "53868ff64b47767310887affde4b6b6bfd90f38e93a0c172046223ae0b197c5c", kill_on_drop: false }` [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking socket2 v0.3.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking proctitle v0.1.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking png v0.8.0 [INFO] [stderr] Checking crossbeam-utils v0.8.0 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.14.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling serde_derive v1.0.117 [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 tracing-futures v0.2.4 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.9 [INFO] [stderr] Checking nextlaunch v0.2.2 (/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: unused variable: `x` [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | 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:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | 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:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | 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:356:29 [INFO] [stdout] | [INFO] [stdout] 356 | 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:444:52 [INFO] [stdout] | [INFO] [stdout] 444 | 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:449:17 [INFO] [stdout] | [INFO] [stdout] 449 | 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:491:37 [INFO] [stdout] | [INFO] [stdout] 491 | 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:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | 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:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | 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:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | 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:545:30 [INFO] [stdout] | [INFO] [stdout] 545 | 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: unused variable: `x` [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | 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:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | 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:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | 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:356:29 [INFO] [stdout] | [INFO] [stdout] 356 | 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:444:52 [INFO] [stdout] | [INFO] [stdout] 444 | 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:449:17 [INFO] [stdout] | [INFO] [stdout] 449 | 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:491:37 [INFO] [stdout] | [INFO] [stdout] 491 | 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:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | 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:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | 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:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | 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:545:30 [INFO] [stdout] | [INFO] [stdout] 545 | 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:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | 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:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | 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:440:17 [INFO] [stdout] | [INFO] [stdout] 440 | 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:486:17 [INFO] [stdout] | [INFO] [stdout] 486 | 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:488:17 [INFO] [stdout] | [INFO] [stdout] 488 | 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:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | 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:533:17 [INFO] [stdout] | [INFO] [stdout] 533 | 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:589:9 [INFO] [stdout] | [INFO] [stdout] 589 | 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:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | 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:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | 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: 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:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | 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:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | 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:440:17 [INFO] [stdout] | [INFO] [stdout] 440 | 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:486:17 [INFO] [stdout] | [INFO] [stdout] 486 | 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:488:17 [INFO] [stdout] | [INFO] [stdout] 488 | 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:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | 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:533:17 [INFO] [stdout] | [INFO] [stdout] 533 | 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:589:9 [INFO] [stdout] | [INFO] [stdout] 589 | 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:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | 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:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | 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 `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:466:17 [INFO] [stdout] | [INFO] [stdout] 466 | 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 `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | 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 `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:527:13 [INFO] [stdout] | [INFO] [stdout] 527 | 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:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | 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:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | pub newsSite: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `news_site` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:466:17 [INFO] [stdout] | [INFO] [stdout] 466 | 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 `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | 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 `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:527:13 [INFO] [stdout] | [INFO] [stdout] 527 | 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:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | 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:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | pub newsSite: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `news_site` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "53868ff64b47767310887affde4b6b6bfd90f38e93a0c172046223ae0b197c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53868ff64b47767310887affde4b6b6bfd90f38e93a0c172046223ae0b197c5c", kill_on_drop: false }` [INFO] [stdout] 53868ff64b47767310887affde4b6b6bfd90f38e93a0c172046223ae0b197c5c