[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] checking Star-tears/mc_particle_creator against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStar-tears%2Fmc_particle_creator" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Star-tears/mc_particle_creator 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/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-3-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.2.3 [INFO] [stderr] Downloaded dbghelp-sys v0.2.0 [INFO] [stderr] Downloaded error-chain v0.5.0 [INFO] [stderr] Downloaded quick-xml v0.4.2 [INFO] [stderr] Downloaded msdos_time v0.1.6 [INFO] [stderr] Downloaded podio v0.1.7 [INFO] [stderr] Downloaded zip v0.2.8 [INFO] [stderr] Downloaded office v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3dcf611709048c242494966b0b086a62c840d9f9a50157044f1eab021ccf4b6c [INFO] running `Command { std: "docker" "start" "-a" "3dcf611709048c242494966b0b086a62c840d9f9a50157044f1eab021ccf4b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dcf611709048c242494966b0b086a62c840d9f9a50157044f1eab021ccf4b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dcf611709048c242494966b0b086a62c840d9f9a50157044f1eab021ccf4b6c", kill_on_drop: false }` [INFO] [stdout] 3dcf611709048c242494966b0b086a62c840d9f9a50157044f1eab021ccf4b6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3dc7b091cfa96efe1634bab420a698f30d20a7fac0cf063beb322034957a3a9d [INFO] running `Command { std: "docker" "start" "-a" "3dc7b091cfa96efe1634bab420a698f30d20a7fac0cf063beb322034957a3a9d", kill_on_drop: false }` [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking msdos_time v0.1.6 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking podio v0.1.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking quick-xml v0.4.2 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zip v0.2.8 [INFO] [stderr] Checking error-chain v0.5.0 [INFO] [stderr] Checking office v0.8.1 [INFO] [stderr] Checking 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: the item `rand` is imported redundantly [INFO] [stdout] --> src/components/create_api.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [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: the item `rand` is imported redundantly [INFO] [stdout] --> src/components/create_api.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [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: 19 warnings emitted [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: 1 warning emitted [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: 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: 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: 1 warning emitted [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.85s [INFO] running `Command { std: "docker" "inspect" "3dc7b091cfa96efe1634bab420a698f30d20a7fac0cf063beb322034957a3a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dc7b091cfa96efe1634bab420a698f30d20a7fac0cf063beb322034957a3a9d", kill_on_drop: false }` [INFO] [stdout] 3dc7b091cfa96efe1634bab420a698f30d20a7fac0cf063beb322034957a3a9d [INFO] checking Star-tears/mc_particle_creator against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStar-tears%2Fmc_particle_creator" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Star-tears/mc_particle_creator 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/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-3-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b8a32aa9ba577a3c54d71e7cccca89bccee82f95b6a951e731ee6e005c2a4ea2 [INFO] running `Command { std: "docker" "start" "-a" "b8a32aa9ba577a3c54d71e7cccca89bccee82f95b6a951e731ee6e005c2a4ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8a32aa9ba577a3c54d71e7cccca89bccee82f95b6a951e731ee6e005c2a4ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8a32aa9ba577a3c54d71e7cccca89bccee82f95b6a951e731ee6e005c2a4ea2", kill_on_drop: false }` [INFO] [stdout] b8a32aa9ba577a3c54d71e7cccca89bccee82f95b6a951e731ee6e005c2a4ea2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] cb92fd2eff482fdad1b1c11276f2f0eba01aace874d259f48ba126f8f58412a1 [INFO] running `Command { std: "docker" "start" "-a" "cb92fd2eff482fdad1b1c11276f2f0eba01aace874d259f48ba126f8f58412a1", kill_on_drop: false }` [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking msdos_time v0.1.6 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking podio v0.1.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking quick-xml v0.4.2 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zip v0.2.8 [INFO] [stderr] Checking error-chain v0.5.0 [INFO] [stderr] Checking office v0.8.1 [INFO] [stderr] Checking 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: the item `rand` is imported redundantly [INFO] [stdout] --> src/components/create_api.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [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: the item `rand` is imported redundantly [INFO] [stdout] --> src/components/create_api.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [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: `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: 19 warnings emitted [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: 19 warnings emitted [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: 1 warning emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.27s [INFO] running `Command { std: "docker" "inspect" "cb92fd2eff482fdad1b1c11276f2f0eba01aace874d259f48ba126f8f58412a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb92fd2eff482fdad1b1c11276f2f0eba01aace874d259f48ba126f8f58412a1", kill_on_drop: false }` [INFO] [stdout] cb92fd2eff482fdad1b1c11276f2f0eba01aace874d259f48ba126f8f58412a1