[INFO] cloning repository https://github.com/visnkmr/irhelp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/visnkmr/irhelp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvisnkmr%2Firhelp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvisnkmr%2Firhelp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8240480a7e161b03f43928437fe1672a65d6900 [INFO] checking visnkmr/irhelp against master#b3bd7058c139e71bae0862ef8f8ac936208873e9 for pr-123752 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvisnkmr%2Firhelp" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/visnkmr/irhelp on toolchain b3bd7058c139e71bae0862ef8f8ac936208873e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/visnkmr/irhelp [INFO] finished tweaking git repo https://github.com/visnkmr/irhelp [INFO] tweaked toml for git repo https://github.com/visnkmr/irhelp written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/visnkmr/irhelp 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" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstar v0.12.0 [INFO] [stderr] Downloaded geo v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5f6b64c50cac229830f86d11579bc13f03655fbaca4d390cb1ac7815906b891 [INFO] running `Command { std: "docker" "start" "-a" "e5f6b64c50cac229830f86d11579bc13f03655fbaca4d390cb1ac7815906b891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5f6b64c50cac229830f86d11579bc13f03655fbaca4d390cb1ac7815906b891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5f6b64c50cac229830f86d11579bc13f03655fbaca4d390cb1ac7815906b891", kill_on_drop: false }` [INFO] [stdout] e5f6b64c50cac229830f86d11579bc13f03655fbaca4d390cb1ac7815906b891 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5f68626e4aef7679afab2b73f83266706831c320d0dd7a952209880d095c94f [INFO] running `Command { std: "docker" "start" "-a" "f5f68626e4aef7679afab2b73f83266706831c320d0dd7a952209880d095c94f", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking robust v1.1.0 [INFO] [stderr] Checking float_next_after v1.0.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking geographiclib-rs v0.2.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking rstar v0.12.0 [INFO] [stderr] Checking earcutr v0.4.3 [INFO] [stderr] Checking spade v2.6.0 [INFO] [stderr] Checking geo-types v0.7.13 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking geo v0.28.0 [INFO] [stderr] Checking geopos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `statdist` should have an upper camel case name [INFO] [stdout] --> src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct statdist{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Statdist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `statdist` should have an upper camel case name [INFO] [stdout] --> src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct statdist{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Statdist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | if(i.geometry.type_.is_some() && i.properties.name.is_some()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - if(i.geometry.type_.is_some() && i.properties.name.is_some()){ [INFO] [stdout] 37 + if i.geometry.type_.is_some() && i.properties.name.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `let` scrutinee expression [INFO] [stdout] --> src/main.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(gtype)= (i.geometry.type_){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - if let Some(gtype)= (i.geometry.type_){ [INFO] [stdout] 38 + if let Some(gtype)= i.geometry.type_{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | if(i.geometry.type_.is_some() && i.properties.name.is_some()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - if(i.geometry.type_.is_some() && i.properties.name.is_some()){ [INFO] [stdout] 37 + if i.geometry.type_.is_some() && i.properties.name.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `let` scrutinee expression [INFO] [stdout] --> src/main.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(gtype)= (i.geometry.type_){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - if let Some(gtype)= (i.geometry.type_){ [INFO] [stdout] 38 + if let Some(gtype)= i.geometry.type_{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `let` scrutinee expression [INFO] [stdout] --> src/main.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(mut sname)= (i.properties.name){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - if let Some(mut sname)= (i.properties.name){ [INFO] [stdout] 42 + if let Some(mut sname)= i.properties.name{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `let` scrutinee expression [INFO] [stdout] --> src/main.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(mut sname)= (i.properties.name){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - if let Some(mut sname)= (i.properties.name){ [INFO] [stdout] 42 + if let Some(mut sname)= i.properties.name{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `let` scrutinee expression [INFO] [stdout] --> src/main.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(mut altname)= (i.properties.alt_name){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - if let Some(mut altname)= (i.properties.alt_name){ [INFO] [stdout] 43 + if let Some(mut altname)= i.properties.alt_name{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `let` scrutinee expression [INFO] [stdout] --> src/main.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(mut altname)= (i.properties.alt_name){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - if let Some(mut altname)= (i.properties.alt_name){ [INFO] [stdout] 43 + if let Some(mut altname)= i.properties.alt_name{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `let` scrutinee expression [INFO] [stdout] --> src/main.rs:46:44 [INFO] [stdout] | [INFO] [stdout] 46 | }if let Some(mut oldname)= (i.properties.old_name){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - }if let Some(mut oldname)= (i.properties.old_name){ [INFO] [stdout] 46 + }if let Some(mut oldname)= i.properties.old_name{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `let` scrutinee expression [INFO] [stdout] --> src/main.rs:46:44 [INFO] [stdout] | [INFO] [stdout] 46 | }if let Some(mut oldname)= (i.properties.old_name){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - }if let Some(mut oldname)= (i.properties.old_name){ [INFO] [stdout] 46 + }if let Some(mut oldname)= i.properties.old_name{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:63:83 [INFO] [stdout] | [INFO] [stdout] 63 | let found:Vec=vecofstationnames.iter().enumerate().filter_map(|(l,f)|if(f.to_lowercase().contains("")){Some(l)}else{None}).col... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - let found:Vec=vecofstationnames.iter().enumerate().filter_map(|(l,f)|if(f.to_lowercase().contains("")){Some(l)}else{None}).collect(); [INFO] [stdout] 63 + let found:Vec=vecofstationnames.iter().enumerate().filter_map(|(l,f)|if f.to_lowercase().contains("") {Some(l)}else{None}).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:63:83 [INFO] [stdout] | [INFO] [stdout] 63 | let found:Vec=vecofstationnames.iter().enumerate().filter_map(|(l,f)|if(f.to_lowercase().contains("")){Some(l)}else{None}).col... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - let found:Vec=vecofstationnames.iter().enumerate().filter_map(|(l,f)|if(f.to_lowercase().contains("")){Some(l)}else{None}).collect(); [INFO] [stdout] 63 + let found:Vec=vecofstationnames.iter().enumerate().filter_map(|(l,f)|if f.to_lowercase().contains("") {Some(l)}else{None}).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `LineWriter`, `Write`, `cmp::Ordering`, `vec` [INFO] [stdout] --> src/main.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | use std::{cmp::Ordering, fs::{self, File}, io::{LineWriter, Write}, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `LineWriter`, `Write`, `cmp::Ordering`, `vec` [INFO] [stdout] --> src/main.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | use std::{cmp::Ordering, fs::{self, File}, io::{LineWriter, Write}, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de` [INFO] [stdout] --> src/main.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | use serde::{de, Deserialize, Serialize}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de` [INFO] [stdout] --> src/main.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | use serde::{de, Deserialize, Serialize}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let x = radius * lat_rad.cos() * lon_rad.cos(); [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:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let y = radius * lat_rad.cos() * lon_rad.sin(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let x = radius * lat_rad.cos() * lon_rad.cos(); [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:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let y = radius * lat_rad.cos() * lon_rad.sin(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(mut altname)= (i.properties.alt_name){ [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:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | }if let Some(mut oldname)= (i.properties.old_name){ [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:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(mut altname)= (i.properties.alt_name){ [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:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | }if let Some(mut oldname)= (i.properties.old_name){ [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:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | fs::write(format!("./selected.json"), serde_json::to_string(&vecofdist).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = fs::write(format!("./selected.json"), serde_json::to_string(&vecofdist).unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | fs::write(format!("./selected.json"), serde_json::to_string(&vecofdist).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = fs::write(format!("./selected.json"), serde_json::to_string(&vecofdist).unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.07s [INFO] running `Command { std: "docker" "inspect" "f5f68626e4aef7679afab2b73f83266706831c320d0dd7a952209880d095c94f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5f68626e4aef7679afab2b73f83266706831c320d0dd7a952209880d095c94f", kill_on_drop: false }` [INFO] [stdout] f5f68626e4aef7679afab2b73f83266706831c320d0dd7a952209880d095c94f