[INFO] cloning repository https://github.com/ianhuezo/rust_room_gen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ianhuezo/rust_room_gen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fianhuezo%2Frust_room_gen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fianhuezo%2Frust_room_gen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32cf57cc954b10033592a3d2006207a46ad5e2b0 [INFO] checking ianhuezo/rust_room_gen against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fianhuezo%2Frust_room_gen" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ianhuezo/rust_room_gen on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ianhuezo/rust_room_gen [INFO] finished tweaking git repo https://github.com/ianhuezo/rust_room_gen [INFO] tweaked toml for git repo https://github.com/ianhuezo/rust_room_gen written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ianhuezo/rust_room_gen 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.67 [INFO] [stderr] Downloaded wasm-bindgen v0.2.67 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.1.3 [INFO] [stderr] Downloaded js-sys v0.3.44 [INFO] [stderr] Downloaded serde_derive v1.0.115 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.67 [INFO] [stderr] Downloaded web-sys v0.3.44 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf6c84059b1be9d6ddf413f77cb429e896e9846c377577eea0069410bcf73fae [INFO] running `Command { std: "docker" "start" "-a" "cf6c84059b1be9d6ddf413f77cb429e896e9846c377577eea0069410bcf73fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf6c84059b1be9d6ddf413f77cb429e896e9846c377577eea0069410bcf73fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf6c84059b1be9d6ddf413f77cb429e896e9846c377577eea0069410bcf73fae", kill_on_drop: false }` [INFO] [stdout] cf6c84059b1be9d6ddf413f77cb429e896e9846c377577eea0069410bcf73fae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ada611e48330867fcedb97d72c4128e9d8d559c98b0bdf24a43772935cb7ed6e [INFO] running `Command { std: "docker" "start" "-a" "ada611e48330867fcedb97d72c4128e9d8d559c98b0bdf24a43772935cb7ed6e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.67 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.67 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.67 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.67 [INFO] [stderr] Checking js-sys v0.3.44 [INFO] [stderr] Checking serde-wasm-bindgen v0.1.3 [INFO] [stderr] Checking web-sys v0.3.44 [INFO] [stderr] Checking rust_room_generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/structures/universe.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] 5 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structures::globals::Position` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structures::globals::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structures::rooms::Room` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structures::rooms::Room; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `from_value`, `to_value` [INFO] [stdout] --> src/lib.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_wasm_bindgen::{from_value, to_value}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsCast` [INFO] [stdout] --> src/lib.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen::{JsCast, JsValue}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsValue` is imported redundantly [INFO] [stdout] --> src/lib.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 9 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsValue` is already imported here [INFO] [stdout] 10 | use wasm_bindgen::{JsCast, JsValue}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/structures/universe.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] 5 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structures::globals::Position` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structures::globals::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structures::rooms::Room` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structures::rooms::Room; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `from_value`, `to_value` [INFO] [stdout] --> src/lib.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_wasm_bindgen::{from_value, to_value}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsCast` [INFO] [stdout] --> src/lib.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen::{JsCast, JsValue}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsValue` is imported redundantly [INFO] [stdout] --> src/lib.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 9 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsValue` is already imported here [INFO] [stdout] 10 | use wasm_bindgen::{JsCast, JsValue}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_char` is never used [INFO] [stdout] --> src/structures/cells.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Cell { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 16 | pub fn to_char(&self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale_perimeter` is never used [INFO] [stdout] --> src/structures/globals.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl PositionRange { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 35 | //scales the perimeter of the square so that all sides are basically reduced to the next inner sides [INFO] [stdout] 36 | pub fn scale_perimeter(&self, scale_factor: i64) -> PositionRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/structures/globals.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Size { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 58 | pub fn new(width: i64, height: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_cells_txt` is never used [INFO] [stdout] --> src/structures/universe.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Universe { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn create_cells_txt(&self, file_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | write!(file, "{} ", cell.to_char()); [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | write!(file, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_char` is never used [INFO] [stdout] --> src/structures/cells.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Cell { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 16 | pub fn to_char(&self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale_perimeter` is never used [INFO] [stdout] --> src/structures/globals.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl PositionRange { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 35 | //scales the perimeter of the square so that all sides are basically reduced to the next inner sides [INFO] [stdout] 36 | pub fn scale_perimeter(&self, scale_factor: i64) -> PositionRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/structures/globals.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Size { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 58 | pub fn new(width: i64, height: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_cells_txt` is never used [INFO] [stdout] --> src/structures/universe.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Universe { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn create_cells_txt(&self, file_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | write!(file, "{} ", cell.to_char()); [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | write!(file, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/structures/universe.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] 5 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/structures/universe.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] 5 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale_perimeter` is never used [INFO] [stdout] --> src/structures/globals.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl PositionRange { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 35 | //scales the perimeter of the square so that all sides are basically reduced to the next inner sides [INFO] [stdout] 36 | pub fn scale_perimeter(&self, scale_factor: i64) -> PositionRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/structures/globals.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Size { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 58 | pub fn new(width: i64, height: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | write!(file, "{} ", cell.to_char()); [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | write!(file, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale_perimeter` is never used [INFO] [stdout] --> src/structures/globals.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl PositionRange { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 35 | //scales the perimeter of the square so that all sides are basically reduced to the next inner sides [INFO] [stdout] 36 | pub fn scale_perimeter(&self, scale_factor: i64) -> PositionRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/structures/globals.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Size { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 58 | pub fn new(width: i64, height: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | write!(file, "{} ", cell.to_char()); [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | write!(file, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.67 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "ada611e48330867fcedb97d72c4128e9d8d559c98b0bdf24a43772935cb7ed6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada611e48330867fcedb97d72c4128e9d8d559c98b0bdf24a43772935cb7ed6e", kill_on_drop: false }` [INFO] [stdout] ada611e48330867fcedb97d72c4128e9d8d559c98b0bdf24a43772935cb7ed6e [INFO] checking ianhuezo/rust_room_gen against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fianhuezo%2Frust_room_gen" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ianhuezo/rust_room_gen on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ianhuezo/rust_room_gen [INFO] finished tweaking git repo https://github.com/ianhuezo/rust_room_gen [INFO] tweaked toml for git repo https://github.com/ianhuezo/rust_room_gen written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ianhuezo/rust_room_gen 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50dae28d61f0c64cba6cbea414a66ac540aec32b4eedacb6a60f4371eb3f44c6 [INFO] running `Command { std: "docker" "start" "-a" "50dae28d61f0c64cba6cbea414a66ac540aec32b4eedacb6a60f4371eb3f44c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50dae28d61f0c64cba6cbea414a66ac540aec32b4eedacb6a60f4371eb3f44c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50dae28d61f0c64cba6cbea414a66ac540aec32b4eedacb6a60f4371eb3f44c6", kill_on_drop: false }` [INFO] [stdout] 50dae28d61f0c64cba6cbea414a66ac540aec32b4eedacb6a60f4371eb3f44c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f14ee4f4a503d2c0efee1774e5cff08f603d1b2d61be30e24de2d9cb7c2cd3f [INFO] running `Command { std: "docker" "start" "-a" "9f14ee4f4a503d2c0efee1774e5cff08f603d1b2d61be30e24de2d9cb7c2cd3f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.67 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.67 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.67 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.67 [INFO] [stderr] Checking js-sys v0.3.44 [INFO] [stderr] Checking web-sys v0.3.44 [INFO] [stderr] Checking serde-wasm-bindgen v0.1.3 [INFO] [stderr] Checking rust_room_generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/structures/universe.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] 5 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structures::globals::Position` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structures::globals::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structures::rooms::Room` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structures::rooms::Room; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `from_value`, `to_value` [INFO] [stdout] --> src/lib.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_wasm_bindgen::{from_value, to_value}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsCast` [INFO] [stdout] --> src/lib.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen::{JsCast, JsValue}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsValue` is imported redundantly [INFO] [stdout] --> src/lib.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 9 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsValue` is already imported here [INFO] [stdout] 10 | use wasm_bindgen::{JsCast, JsValue}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/structures/universe.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] 5 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structures::globals::Position` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structures::globals::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structures::rooms::Room` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structures::rooms::Room; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `from_value`, `to_value` [INFO] [stdout] --> src/lib.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_wasm_bindgen::{from_value, to_value}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsCast` [INFO] [stdout] --> src/lib.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen::{JsCast, JsValue}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsValue` is imported redundantly [INFO] [stdout] --> src/lib.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 9 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsValue` is already imported here [INFO] [stdout] 10 | use wasm_bindgen::{JsCast, JsValue}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_char` is never used [INFO] [stdout] --> src/structures/cells.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Cell { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 16 | pub fn to_char(&self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale_perimeter` is never used [INFO] [stdout] --> src/structures/globals.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl PositionRange { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 35 | //scales the perimeter of the square so that all sides are basically reduced to the next inner sides [INFO] [stdout] 36 | pub fn scale_perimeter(&self, scale_factor: i64) -> PositionRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/structures/globals.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Size { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 58 | pub fn new(width: i64, height: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_cells_txt` is never used [INFO] [stdout] --> src/structures/universe.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Universe { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn create_cells_txt(&self, file_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | write!(file, "{} ", cell.to_char()); [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | write!(file, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_char` is never used [INFO] [stdout] --> src/structures/cells.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Cell { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 16 | pub fn to_char(&self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale_perimeter` is never used [INFO] [stdout] --> src/structures/globals.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl PositionRange { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 35 | //scales the perimeter of the square so that all sides are basically reduced to the next inner sides [INFO] [stdout] 36 | pub fn scale_perimeter(&self, scale_factor: i64) -> PositionRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/structures/globals.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Size { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 58 | pub fn new(width: i64, height: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_cells_txt` is never used [INFO] [stdout] --> src/structures/universe.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Universe { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn create_cells_txt(&self, file_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | write!(file, "{} ", cell.to_char()); [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | write!(file, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/structures/universe.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] 5 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/structures/universe.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] 5 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale_perimeter` is never used [INFO] [stdout] --> src/structures/globals.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl PositionRange { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 35 | //scales the perimeter of the square so that all sides are basically reduced to the next inner sides [INFO] [stdout] 36 | pub fn scale_perimeter(&self, scale_factor: i64) -> PositionRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/structures/globals.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Size { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 58 | pub fn new(width: i64, height: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | write!(file, "{} ", cell.to_char()); [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | write!(file, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_cell` [INFO] [stdout] --> src/structures/universe.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | reference_cell: &Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale_perimeter` is never used [INFO] [stdout] --> src/structures/globals.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl PositionRange { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 35 | //scales the perimeter of the square so that all sides are basically reduced to the next inner sides [INFO] [stdout] 36 | pub fn scale_perimeter(&self, scale_factor: i64) -> PositionRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/structures/globals.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Size { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 58 | pub fn new(width: i64, height: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | write!(file, "{} ", cell.to_char()); [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/structures/universe.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | write!(file, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.67 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9f14ee4f4a503d2c0efee1774e5cff08f603d1b2d61be30e24de2d9cb7c2cd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f14ee4f4a503d2c0efee1774e5cff08f603d1b2d61be30e24de2d9cb7c2cd3f", kill_on_drop: false }` [INFO] [stdout] 9f14ee4f4a503d2c0efee1774e5cff08f603d1b2d61be30e24de2d9cb7c2cd3f