[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguccialex%2Fmtg" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 73% (34/46) Updating files: 76% (35/46) Updating files: 78% (36/46) Updating files: 80% (37/46) Updating files: 82% (38/46) Updating files: 84% (39/46) Updating files: 86% (40/46) Updating files: 89% (41/46) Updating files: 91% (42/46) Updating files: 93% (43/46) Updating files: 95% (44/46) Updating files: 97% (45/46) Updating files: 100% (46/46) Updating files: 100% (46/46), done. [INFO] validating manifest of git repo https://github.com/guccialex/mtg on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-4/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" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glib-macros v0.14.1 [INFO] [stderr] Downloaded system-deps v3.1.2 [INFO] [stderr] Downloaded cairo-sys-rs v0.14.0 [INFO] [stderr] Downloaded glib-sys v0.14.0 [INFO] [stderr] Downloaded cfg-expr v0.7.4 [INFO] [stderr] Downloaded gobject-sys v0.14.0 [INFO] [stderr] Downloaded cairo-rs v0.14.1 [INFO] [stderr] Downloaded glib v0.14.2 [INFO] [stderr] Downloaded nalgebra v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 29b765cec07db03b36351a8053877de1fa3aef83e6cf7145b3cee66fedc91292 [INFO] running `Command { std: "docker" "start" "-a" "29b765cec07db03b36351a8053877de1fa3aef83e6cf7145b3cee66fedc91292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29b765cec07db03b36351a8053877de1fa3aef83e6cf7145b3cee66fedc91292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29b765cec07db03b36351a8053877de1fa3aef83e6cf7145b3cee66fedc91292", kill_on_drop: false }` [INFO] [stdout] 29b765cec07db03b36351a8053877de1fa3aef83e6cf7145b3cee66fedc91292 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", 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] 110e4d78a581822f3fce33b1ad6d3763c32ae3c13e91172c587afb4093546da5 [INFO] running `Command { std: "docker" "start" "-a" "110e4d78a581822f3fce33b1ad6d3763c32ae3c13e91172c587afb4093546da5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling version-compare v0.0.11 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling cfg-expr v0.7.4 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling openssl-sys v0.9.64 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling simba v0.5.1 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.126 [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 tokio v1.7.1 [INFO] [stderr] Compiling nalgebra v0.28.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.26 [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 hyper v0.14.9 [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 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: 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] = note: `#[warn(dead_code)]` on by default [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: 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: 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] [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: `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] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(hash_drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(map_first_last)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(drain_filter)] [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] error: aborting due to 3 previous errors; 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mtgmetadata` due to 4 previous errors; 51 warnings emitted [INFO] running `Command { std: "docker" "inspect" "110e4d78a581822f3fce33b1ad6d3763c32ae3c13e91172c587afb4093546da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "110e4d78a581822f3fce33b1ad6d3763c32ae3c13e91172c587afb4093546da5", kill_on_drop: false }` [INFO] [stdout] 110e4d78a581822f3fce33b1ad6d3763c32ae3c13e91172c587afb4093546da5