[INFO] cloning repository https://github.com/guccialex/mtg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guccialex/mtg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguccialex%2Fmtg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguccialex%2Fmtg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6290a7cc6d4dfc9e6bd77472cbdcf4ee46aacf3 [INFO] testing guccialex/mtg against master#404c8471aba60c2d837fa728e7c729a0f52d5830 for pr-87041-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguccialex%2Fmtg" "/workspace/builds/worker-93/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-93/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guccialex/mtg on toolchain 404c8471aba60c2d837fa728e7c729a0f52d5830 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/guccialex/mtg [INFO] finished tweaking git repo https://github.com/guccialex/mtg [INFO] tweaked toml for git repo https://github.com/guccialex/mtg written to /workspace/builds/worker-93/source/Cargo.toml [INFO] crate git repo https://github.com/guccialex/mtg already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "fetch" "--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-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08b1fe8de955f580ddb36bbd9d2a2fa90be55cb1a7ea26c6e235c20456d24ed9 [INFO] running `Command { std: "docker" "start" "-a" "08b1fe8de955f580ddb36bbd9d2a2fa90be55cb1a7ea26c6e235c20456d24ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08b1fe8de955f580ddb36bbd9d2a2fa90be55cb1a7ea26c6e235c20456d24ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b1fe8de955f580ddb36bbd9d2a2fa90be55cb1a7ea26c6e235c20456d24ed9", kill_on_drop: false }` [INFO] [stdout] 08b1fe8de955f580ddb36bbd9d2a2fa90be55cb1a7ea26c6e235c20456d24ed9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07b2cb64106942bb56794a5d2785a8ce8f4fe0a5427664ce4639e555430c1e4c [INFO] running `Command { std: "docker" "start" "-a" "07b2cb64106942bb56794a5d2785a8ce8f4fe0a5427664ce4639e555430c1e4c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling version-compare v0.0.11 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling cfg-expr v0.7.4 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.64 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling simba v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling nalgebra v0.28.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling cookie_store v0.12.0 [INFO] [stderr] Compiling system-deps v3.1.2 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling glib-macros v0.14.1 [INFO] [stderr] Compiling glib-sys v0.14.0 [INFO] [stderr] Compiling gobject-sys v0.14.0 [INFO] [stderr] Compiling cairo-sys-rs v0.14.0 [INFO] [stderr] Compiling glib v0.14.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling cairo-rs v0.14.1 [INFO] [stderr] Compiling mtgmetadata v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nalgebra::Point2` [INFO] [stdout] --> src/structs/deck.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nalgebra::Point2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Vector2` [INFO] [stdout] --> src/structs/deck.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::Vector2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/structs/deckposition.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structs/deckposition.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/majorization.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/majorization.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `na::Point2` [INFO] [stdout] --> src/majorization.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use na::Point2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `na::Vector2` [INFO] [stdout] --> src/majorization.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use na::Vector2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeSet` [INFO] [stdout] --> src/majorization.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::BTreeSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpListener` [INFO] [stdout] --> src/actions/fetchdata.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/actions/fetchdata.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/actions/fetchdata.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/actions/fetchdata.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/actions/getdata.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/actions/getdata.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/actions/draw.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/actions/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Entry` [INFO] [stdout] --> src/main.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | use std::collections::hash_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/actions/fetchdata.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | let output = Command::new("python3") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let output = Command::new("mv") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | for x in 0..5{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | for x in 0..5{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/majorization.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | for x in 0..1500{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curtotalmovement` is never read [INFO] [stdout] --> src/majorization.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | curtotalmovement = curtotalmovement/(posdecks.len() as f32); [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: unused variable: `b` [INFO] [stdout] --> src/structs/deck.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | let b = b as f32 / total as f32; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card` [INFO] [stdout] --> src/structs/deck.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | for (card, amount) in x.iter(){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/actions/getdata.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | for x in 0..amountofcard{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name_and_amount_count` [INFO] [stdout] --> src/structs/deck.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | fn name_and_amount_count(x : &HashMap) -> u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rgb_to_hex` [INFO] [stdout] --> src/structs/deck.rs:384:4 [INFO] [stdout] | [INFO] [stdout] 384 | fn rgb_to_hex(rgb: (f32,f32,f32)) -> String{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cards_by_meta_order` [INFO] [stdout] --> src/structs/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn cards_by_meta_order( decks: &Vec, alphabet: &Vec ) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `smacofmajorization` [INFO] [stdout] --> src/majorization.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn smacofmajorization(decks: &Vec, lands: &Vec, colormapping: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `manual_majorization` [INFO] [stdout] --> src/majorization.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn manual_majorization(decks: Vec, colormapping: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `improve_deck_position` [INFO] [stdout] --> src/majorization.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn improve_deck_position(decks: &mut Vec, target: usize, multiplier: f32) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_oracle_cards_to_file` [INFO] [stdout] --> src/actions/fetchdata.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn write_oracle_cards_to_file() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_decks_to_file` [INFO] [stdout] --> src/actions/fetchdata.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn write_decks_to_file(client: &reqwest::Client, tids: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_standard_tids` [INFO] [stdout] --> src/actions/fetchdata.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | pub async fn get_standard_tids( client: &reqwest::Client ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_lands` [INFO] [stdout] --> src/actions/getdata.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn get_lands() -> Vec{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_colour_mapping` [INFO] [stdout] --> src/actions/getdata.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn get_colour_mapping() -> HashMap{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_tile` [INFO] [stdout] --> src/actions/draw.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn draw_tile(context: &Context, rgb: (f32,f32,f32), x: f64, y: f64, x2: f64, y2: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_points_to_file` [INFO] [stdout] --> src/actions/draw.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn draw_points_to_file(name: &String, size: (f32,f32), points: Vec<( (f32,f32), (f32,f32,f32))> ){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_decks` [INFO] [stdout] --> src/actions/draw.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn draw_decks(posdecks: &Vec, nameadd: &str, colormapping: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_password` [INFO] [stdout] --> src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_password() -> String{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fetch_files` [INFO] [stdout] --> src/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | async fn fetch_files(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_bbbbeeee_dependencies` [INFO] [stdout] --> src/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn write_bbbbeeee_dependencies(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_deck_assistant_server_dependencies` [INFO] [stdout] --> src/main.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | fn write_deck_assistant_server_dependencies(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | std::fs::create_dir("decks"); [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:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | std::fs::create_dir("mtgdata"); [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:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | std::fs::create_dir("mtgdata/majorization"); [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:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | std::fs::create_dir("mtgdata"); [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/actions/draw.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | context.fill(); [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: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.96s [INFO] running `Command { std: "docker" "inspect" "07b2cb64106942bb56794a5d2785a8ce8f4fe0a5427664ce4639e555430c1e4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07b2cb64106942bb56794a5d2785a8ce8f4fe0a5427664ce4639e555430c1e4c", kill_on_drop: false }` [INFO] [stdout] 07b2cb64106942bb56794a5d2785a8ce8f4fe0a5427664ce4639e555430c1e4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25d40c9ece9fa85e296e9451c5a336d9084f2ea190f2286ccabef2cee7759bb4 [INFO] running `Command { std: "docker" "start" "-a" "25d40c9ece9fa85e296e9451c5a336d9084f2ea190f2286ccabef2cee7759bb4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling mtgmetadata v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nalgebra::Point2` [INFO] [stdout] --> src/structs/deck.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nalgebra::Point2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Vector2` [INFO] [stdout] --> src/structs/deck.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::Vector2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/structs/deckposition.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structs/deckposition.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/majorization.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/majorization.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `na::Point2` [INFO] [stdout] --> src/majorization.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use na::Point2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `na::Vector2` [INFO] [stdout] --> src/majorization.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use na::Vector2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeSet` [INFO] [stdout] --> src/majorization.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::BTreeSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpListener` [INFO] [stdout] --> src/actions/fetchdata.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/actions/fetchdata.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/actions/fetchdata.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/actions/fetchdata.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/actions/getdata.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/actions/getdata.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/actions/draw.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/actions/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Entry` [INFO] [stdout] --> src/main.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | use std::collections::hash_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/actions/fetchdata.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | let output = Command::new("python3") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let output = Command::new("mv") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | for x in 0..5{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | for x in 0..5{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/majorization.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | for x in 0..1500{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curtotalmovement` is never read [INFO] [stdout] --> src/majorization.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | curtotalmovement = curtotalmovement/(posdecks.len() as f32); [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: unused variable: `b` [INFO] [stdout] --> src/structs/deck.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | let b = b as f32 / total as f32; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card` [INFO] [stdout] --> src/structs/deck.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | for (card, amount) in x.iter(){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/actions/getdata.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | for x in 0..amountofcard{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name_and_amount_count` [INFO] [stdout] --> src/structs/deck.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | fn name_and_amount_count(x : &HashMap) -> u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rgb_to_hex` [INFO] [stdout] --> src/structs/deck.rs:384:4 [INFO] [stdout] | [INFO] [stdout] 384 | fn rgb_to_hex(rgb: (f32,f32,f32)) -> String{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cards_by_meta_order` [INFO] [stdout] --> src/structs/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn cards_by_meta_order( decks: &Vec, alphabet: &Vec ) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `smacofmajorization` [INFO] [stdout] --> src/majorization.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn smacofmajorization(decks: &Vec, lands: &Vec, colormapping: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `manual_majorization` [INFO] [stdout] --> src/majorization.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn manual_majorization(decks: Vec, colormapping: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `improve_deck_position` [INFO] [stdout] --> src/majorization.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn improve_deck_position(decks: &mut Vec, target: usize, multiplier: f32) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_oracle_cards_to_file` [INFO] [stdout] --> src/actions/fetchdata.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn write_oracle_cards_to_file() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_decks_to_file` [INFO] [stdout] --> src/actions/fetchdata.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn write_decks_to_file(client: &reqwest::Client, tids: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_standard_tids` [INFO] [stdout] --> src/actions/fetchdata.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | pub async fn get_standard_tids( client: &reqwest::Client ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_lands` [INFO] [stdout] --> src/actions/getdata.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn get_lands() -> Vec{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_colour_mapping` [INFO] [stdout] --> src/actions/getdata.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn get_colour_mapping() -> HashMap{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_tile` [INFO] [stdout] --> src/actions/draw.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn draw_tile(context: &Context, rgb: (f32,f32,f32), x: f64, y: f64, x2: f64, y2: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_points_to_file` [INFO] [stdout] --> src/actions/draw.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn draw_points_to_file(name: &String, size: (f32,f32), points: Vec<( (f32,f32), (f32,f32,f32))> ){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_decks` [INFO] [stdout] --> src/actions/draw.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn draw_decks(posdecks: &Vec, nameadd: &str, colormapping: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_password` [INFO] [stdout] --> src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_password() -> String{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fetch_files` [INFO] [stdout] --> src/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | async fn fetch_files(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_bbbbeeee_dependencies` [INFO] [stdout] --> src/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn write_bbbbeeee_dependencies(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_deck_assistant_server_dependencies` [INFO] [stdout] --> src/main.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | fn write_deck_assistant_server_dependencies(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | std::fs::create_dir("decks"); [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:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | std::fs::create_dir("mtgdata"); [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:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | std::fs::create_dir("mtgdata/majorization"); [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:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | std::fs::create_dir("mtgdata"); [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/actions/draw.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | context.fill(); [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: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.35s [INFO] running `Command { std: "docker" "inspect" "25d40c9ece9fa85e296e9451c5a336d9084f2ea190f2286ccabef2cee7759bb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25d40c9ece9fa85e296e9451c5a336d9084f2ea190f2286ccabef2cee7759bb4", kill_on_drop: false }` [INFO] [stdout] 25d40c9ece9fa85e296e9451c5a336d9084f2ea190f2286ccabef2cee7759bb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6592e4a99bc0d7d3f6a879405cc72a508024aa765deab7a40c09dfc209feb6f2 [INFO] running `Command { std: "docker" "start" "-a" "6592e4a99bc0d7d3f6a879405cc72a508024aa765deab7a40c09dfc209feb6f2", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `nalgebra::Point2` [INFO] [stderr] --> src/structs/deck.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use nalgebra::Point2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `nalgebra::Vector2` [INFO] [stderr] --> src/structs/deck.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use nalgebra::Vector2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/structs/deckposition.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/structs/deckposition.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `thread`, `time` [INFO] [stderr] --> src/majorization.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | use std::{thread, time}; [INFO] [stderr] | ^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/majorization.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `na::Point2` [INFO] [stderr] --> src/majorization.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use na::Point2; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `na::Vector2` [INFO] [stderr] --> src/majorization.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use na::Vector2; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::BTreeSet` [INFO] [stderr] --> src/majorization.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use std::collections::BTreeSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::net::TcpListener` [INFO] [stderr] --> src/actions/fetchdata.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::net::TcpListener; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncReadExt` [INFO] [stderr] --> src/actions/fetchdata.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/actions/fetchdata.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/actions/fetchdata.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/actions/getdata.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 164 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::iter::FromIterator` [INFO] [stderr] --> src/actions/getdata.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 165 | use std::iter::FromIterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude::*` [INFO] [stderr] --> src/actions/draw.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/actions/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::hash_map::Entry` [INFO] [stderr] --> src/main.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | use std::collections::hash_map::Entry; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncWriteExt` [INFO] [stderr] --> src/actions/fetchdata.rs:3:31 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/main.rs:184:9 [INFO] [stderr] | [INFO] [stderr] 184 | let output = Command::new("python3") [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/main.rs:198:9 [INFO] [stderr] | [INFO] [stderr] 198 | let output = Command::new("mv") [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/main.rs:246:13 [INFO] [stderr] | [INFO] [stderr] 246 | for x in 0..5{ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/main.rs:250:13 [INFO] [stderr] | [INFO] [stderr] 250 | for x in 0..5{ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/majorization.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | for x in 0..1500{ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `curtotalmovement` is never read [INFO] [stderr] --> src/majorization.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | curtotalmovement = curtotalmovement/(posdecks.len() as f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/structs/deck.rs:357:9 [INFO] [stderr] | [INFO] [stderr] 357 | let b = b as f32 / total as f32; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `card` [INFO] [stderr] --> src/structs/deck.rs:208:14 [INFO] [stderr] | [INFO] [stderr] 208 | for (card, amount) in x.iter(){ [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_card` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/actions/getdata.rs:28:17 [INFO] [stderr] | [INFO] [stderr] 28 | for x in 0..amountofcard{ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `name_and_amount_count` [INFO] [stderr] --> src/structs/deck.rs:205:8 [INFO] [stderr] | [INFO] [stderr] 205 | fn name_and_amount_count(x : &HashMap) -> u32{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rgb_to_hex` [INFO] [stderr] --> src/structs/deck.rs:384:4 [INFO] [stderr] | [INFO] [stderr] 384 | fn rgb_to_hex(rgb: (f32,f32,f32)) -> String{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `cards_by_meta_order` [INFO] [stderr] --> src/structs/mod.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn cards_by_meta_order( decks: &Vec, alphabet: &Vec ) -> Vec{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `smacofmajorization` [INFO] [stderr] --> src/majorization.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn smacofmajorization(decks: &Vec, lands: &Vec, colormapping: &HashMap) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `manual_majorization` [INFO] [stderr] --> src/majorization.rs:71:8 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn manual_majorization(decks: Vec, colormapping: &HashMap) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `improve_deck_position` [INFO] [stderr] --> src/majorization.rs:117:4 [INFO] [stderr] | [INFO] [stderr] 117 | fn improve_deck_position(decks: &mut Vec, target: usize, multiplier: f32) -> f32{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `write_oracle_cards_to_file` [INFO] [stderr] --> src/actions/fetchdata.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | pub async fn write_oracle_cards_to_file() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `write_decks_to_file` [INFO] [stderr] --> src/actions/fetchdata.rs:49:14 [INFO] [stderr] | [INFO] [stderr] 49 | pub async fn write_decks_to_file(client: &reqwest::Client, tids: Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_standard_tids` [INFO] [stderr] --> src/actions/fetchdata.rs:107:14 [INFO] [stderr] | [INFO] [stderr] 107 | pub async fn get_standard_tids( client: &reqwest::Client ) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_lands` [INFO] [stderr] --> src/actions/getdata.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn get_lands() -> Vec{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_colour_mapping` [INFO] [stderr] --> src/actions/getdata.rs:175:8 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn get_colour_mapping() -> HashMap{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `draw_tile` [INFO] [stderr] --> src/actions/draw.rs:2:4 [INFO] [stderr] | [INFO] [stderr] 2 | fn draw_tile(context: &Context, rgb: (f32,f32,f32), x: f64, y: f64, x2: f64, y2: f64) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `draw_points_to_file` [INFO] [stderr] --> src/actions/draw.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn draw_points_to_file(name: &String, size: (f32,f32), points: Vec<( (f32,f32), (f32,f32,f32))> ){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `draw_decks` [INFO] [stderr] --> src/actions/draw.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn draw_decks(posdecks: &Vec, nameadd: &str, colormapping: &HashMap) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_password` [INFO] [stderr] --> src/main.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | fn get_password() -> String{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `fetch_files` [INFO] [stderr] --> src/main.rs:34:10 [INFO] [stderr] | [INFO] [stderr] 34 | async fn fetch_files(){ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `write_bbbbeeee_dependencies` [INFO] [stderr] --> src/main.rs:123:4 [INFO] [stderr] | [INFO] [stderr] 123 | fn write_bbbbeeee_dependencies(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `write_deck_assistant_server_dependencies` [INFO] [stderr] --> src/main.rs:211:4 [INFO] [stderr] | [INFO] [stderr] 211 | fn write_deck_assistant_server_dependencies(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | std::fs::create_dir("decks"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:133:5 [INFO] [stderr] | [INFO] [stderr] 133 | std::fs::create_dir("mtgdata"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:151:5 [INFO] [stderr] | [INFO] [stderr] 151 | std::fs::create_dir("mtgdata/majorization"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:308:5 [INFO] [stderr] | [INFO] [stderr] 308 | std::fs::create_dir("mtgdata"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/actions/draw.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | context.fill(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `mtgmetadata` (bin "mtgmetadata" test) generated 51 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mtgmetadata-0182832541396506) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6592e4a99bc0d7d3f6a879405cc72a508024aa765deab7a40c09dfc209feb6f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6592e4a99bc0d7d3f6a879405cc72a508024aa765deab7a40c09dfc209feb6f2", kill_on_drop: false }` [INFO] [stdout] 6592e4a99bc0d7d3f6a879405cc72a508024aa765deab7a40c09dfc209feb6f2