[INFO] cloning repository https://github.com/Star-tears/mc_particle_creator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Star-tears/mc_particle_creator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStar-tears%2Fmc_particle_creator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStar-tears%2Fmc_particle_creator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53810a965da9629ba766c591e84f18f70d0c6d23 [INFO] building Star-tears/mc_particle_creator against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStar-tears%2Fmc_particle_creator" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Star-tears/mc_particle_creator on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Star-tears/mc_particle_creator [INFO] finished tweaking git repo https://github.com/Star-tears/mc_particle_creator [INFO] tweaked toml for git repo https://github.com/Star-tears/mc_particle_creator written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Star-tears/mc_particle_creator 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quick-xml v0.4.2 [INFO] [stderr] Downloaded zip v0.2.8 [INFO] [stderr] Downloaded error-chain v0.5.0 [INFO] [stderr] Downloaded podio v0.1.7 [INFO] [stderr] Downloaded office v0.8.1 [INFO] [stderr] Downloaded backtrace-sys v0.1.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f6c96c8682a7914ed2002ab0df49f2f37454ffa238a46acf4808b792f5c38c1 [INFO] running `Command { std: "docker" "start" "-a" "4f6c96c8682a7914ed2002ab0df49f2f37454ffa238a46acf4808b792f5c38c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f6c96c8682a7914ed2002ab0df49f2f37454ffa238a46acf4808b792f5c38c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f6c96c8682a7914ed2002ab0df49f2f37454ffa238a46acf4808b792f5c38c1", kill_on_drop: false }` [INFO] [stdout] 4f6c96c8682a7914ed2002ab0df49f2f37454ffa238a46acf4808b792f5c38c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8a79c6216048b37283e981a9ddb89f9abf5d7621c0506e15010528d4011fd0e [INFO] running `Command { std: "docker" "start" "-a" "c8a79c6216048b37283e981a9ddb89f9abf5d7621c0506e15010528d4011fd0e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling podio v0.1.7 [INFO] [stderr] Compiling quick-xml v0.4.2 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling msdos_time v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zip v0.2.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling error-chain v0.5.0 [INFO] [stderr] Compiling office v0.8.1 [INFO] [stderr] Compiling mc_particle_creator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/utils/math/ve.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/utils/draw/draw_effects.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fmt::format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | math::{self, cal, ve::Ve}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{f64::consts::PI, io::Write, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `COLOR_LIST` [INFO] [stdout] --> src/utils/draw/write_mcfunction.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | color::{Color, COLOR_LIST}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/utils/fsop.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | io::{BufWriter, Write}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/utils/draw/draw_effects.rs:19:61 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn draw_circle_grow(dest: &mut dyn Write, point: Point, color: &Color) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/utils/draw/draw_effects.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn draw_circle_grow2(point: Point, color: &Color) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn draw_straight_line(dest: &mut dyn Write, point1: Point, point2: Point, color: &Color) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn draw_parabola(dest: &mut dyn Write, point1: Point, point2: Point, color: &Color) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:49:74 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn draw_parabola(dest: &mut dyn Write, point1: Point, point2: Point, color: &Color) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn draw_parabola_with_rgba(dest: &mut dyn Write, point1: Point, point2: Point, color: &Color) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y2` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | let (x1, y1, z1, x2, y2, z2) = (point1.x, point1.y, point1.z, point2.x, point2.y, point2.z); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_last_direction` [INFO] [stdout] --> src/utils/draw/write_mcfunction.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let mut tmp_last_direction = last_direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_last_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/draw/write_mcfunction.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut tmp_last_direction = last_direction; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/components/create_api.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | dest: &mut dyn Write, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/components/get_api.rs:59:61 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_point_group_list(tick_node_list: &Vec, config: &Config) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/fsop.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | dest.write_all((content + "\n").as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = dest.write_all((content + "\n").as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point_list` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let point_list = get_api::get_point_list(&tick_node_list, &config); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.18s [INFO] running `Command { std: "docker" "inspect" "c8a79c6216048b37283e981a9ddb89f9abf5d7621c0506e15010528d4011fd0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8a79c6216048b37283e981a9ddb89f9abf5d7621c0506e15010528d4011fd0e", kill_on_drop: false }` [INFO] [stdout] c8a79c6216048b37283e981a9ddb89f9abf5d7621c0506e15010528d4011fd0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98f0d8ff79b4a248374be58b6bbcc2bfe2a24dd9c0661d598932fa7dfab0264e [INFO] running `Command { std: "docker" "start" "-a" "98f0d8ff79b4a248374be58b6bbcc2bfe2a24dd9c0661d598932fa7dfab0264e", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/utils/math/ve.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/utils/draw/draw_effects.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fmt::format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | math::{self, cal, ve::Ve}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{f64::consts::PI, io::Write, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `COLOR_LIST` [INFO] [stdout] --> src/utils/draw/write_mcfunction.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | color::{Color, COLOR_LIST}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/utils/fsop.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | io::{BufWriter, Write}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/utils/draw/draw_effects.rs:19:61 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn draw_circle_grow(dest: &mut dyn Write, point: Point, color: &Color) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/utils/draw/draw_effects.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn draw_circle_grow2(point: Point, color: &Color) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn draw_straight_line(dest: &mut dyn Write, point1: Point, point2: Point, color: &Color) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn draw_parabola(dest: &mut dyn Write, point1: Point, point2: Point, color: &Color) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:49:74 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn draw_parabola(dest: &mut dyn Write, point1: Point, point2: Point, color: &Color) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn draw_parabola_with_rgba(dest: &mut dyn Write, point1: Point, point2: Point, color: &Color) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y2` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | let (x1, y1, z1, x2, y2, z2) = (point1.x, point1.y, point1.z, point2.x, point2.y, point2.z); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_last_direction` [INFO] [stdout] --> src/utils/draw/write_mcfunction.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let mut tmp_last_direction = last_direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_last_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/draw/write_mcfunction.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut tmp_last_direction = last_direction; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/components/create_api.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | dest: &mut dyn Write, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/components/get_api.rs:59:61 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_point_group_list(tick_node_list: &Vec, config: &Config) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/fsop.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | dest.write_all((content + "\n").as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = dest.write_all((content + "\n").as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mc_particle_creator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/utils/math/ve.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/utils/draw/draw_effects.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fmt::format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | math::{self, cal, ve::Ve}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{f64::consts::PI, io::Write, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `COLOR_LIST` [INFO] [stdout] --> src/utils/draw/write_mcfunction.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | color::{Color, COLOR_LIST}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/utils/fsop.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | io::{BufWriter, Write}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point_list` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let point_list = get_api::get_point_list(&tick_node_list, &config); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/utils/draw/draw_effects.rs:19:61 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn draw_circle_grow(dest: &mut dyn Write, point: Point, color: &Color) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/utils/draw/draw_effects.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn draw_circle_grow2(point: Point, color: &Color) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn draw_straight_line(dest: &mut dyn Write, point1: Point, point2: Point, color: &Color) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn draw_parabola(dest: &mut dyn Write, point1: Point, point2: Point, color: &Color) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:49:74 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn draw_parabola(dest: &mut dyn Write, point1: Point, point2: Point, color: &Color) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn draw_parabola_with_rgba(dest: &mut dyn Write, point1: Point, point2: Point, color: &Color) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y2` [INFO] [stdout] --> src/utils/draw/draw_lines.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | let (x1, y1, z1, x2, y2, z2) = (point1.x, point1.y, point1.z, point2.x, point2.y, point2.z); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_last_direction` [INFO] [stdout] --> src/utils/draw/write_mcfunction.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let mut tmp_last_direction = last_direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_last_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/draw/write_mcfunction.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut tmp_last_direction = last_direction; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/components/create_api.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | dest: &mut dyn Write, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/components/get_api.rs:59:61 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_point_group_list(tick_node_list: &Vec, config: &Config) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/fsop.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | dest.write_all((content + "\n").as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = dest.write_all((content + "\n").as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "98f0d8ff79b4a248374be58b6bbcc2bfe2a24dd9c0661d598932fa7dfab0264e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98f0d8ff79b4a248374be58b6bbcc2bfe2a24dd9c0661d598932fa7dfab0264e", kill_on_drop: false }` [INFO] [stdout] 98f0d8ff79b4a248374be58b6bbcc2bfe2a24dd9c0661d598932fa7dfab0264e