[INFO] fetching crate shapemaker 1.1.0... [INFO] checking shapemaker-1.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate shapemaker 1.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate shapemaker 1.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shapemaker 1.1.0 [INFO] finished tweaking crates.io crate shapemaker 1.1.0 [INFO] tweaked toml for crates.io crate shapemaker 1.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate shapemaker 1.1.0 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_derive v2.7.10 [INFO] [stderr] Downloaded pest_generator v2.7.10 [INFO] [stderr] Downloaded midly v0.5.3 [INFO] [stderr] Downloaded chrono-human-duration v0.1.1 [INFO] [stderr] Downloaded svg v0.17.0 [INFO] [stderr] Downloaded rust-analyzer v0.0.1 [INFO] [stderr] Downloaded docopt v1.1.1 [INFO] [stderr] Downloaded pest_meta v2.7.10 [INFO] [stderr] Downloaded pest v2.7.10 [INFO] [stderr] Downloaded hound v3.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e71968390640e9d1f680db6e20ecf902e4f4a0cf1b24f4eb9c3ae54854b06c86 [INFO] running `Command { std: "docker" "start" "-a" "e71968390640e9d1f680db6e20ecf902e4f4a0cf1b24f4eb9c3ae54854b06c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e71968390640e9d1f680db6e20ecf902e4f4a0cf1b24f4eb9c3ae54854b06c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e71968390640e9d1f680db6e20ecf902e4f4a0cf1b24f4eb9c3ae54854b06c86", kill_on_drop: false }` [INFO] [stdout] e71968390640e9d1f680db6e20ecf902e4f4a0cf1b24f4eb9c3ae54854b06c86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 612efbb564bca26ac702fcdf459772715b222c9a63056642c3bc36b8f07a6528 [INFO] running `Command { std: "docker" "start" "-a" "612efbb564bca26ac702fcdf459772715b222c9a63056642c3bc36b8f07a6528", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking svg v0.17.0 [INFO] [stderr] Checking rust-analyzer v0.0.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking chrono-human-duration v0.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking midly v0.5.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking docopt v1.1.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking handlebars v5.1.2 [INFO] [stderr] Checking shapemaker v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: identifier contains a non normalized (NFKC) character: 'µ' [INFO] [stdout] --> src/midi.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | fn tempo_to_bpm(µs_per_beat: f32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this character is included in the Not_NFKC Unicode general security profile [INFO] [stdout] = note: `#[warn(uncommon_codepoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: identifier contains a non normalized (NFKC) character: 'µ' [INFO] [stdout] --> src/midi.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let delta_µs = now.tempo * delta as f32 / now.ticks_per_beat as f32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this character is included in the Not_NFKC Unicode general security profile [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `LaterHookCondition`, and `RenderFunction` [INFO] [stdout] --> src/animation.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{Canvas, Context, LaterHookCondition, RenderFunction}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `console_log` [INFO] [stdout] --> src/web.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | macro_rules! console_log { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Div`, `Range`, and `Sub` [INFO] [stdout] --> src/lib.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | use std::ops::{Add, Div, Range, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: identifier contains a non normalized (NFKC) character: 'µ' [INFO] [stdout] --> src/midi.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | fn tempo_to_bpm(µs_per_beat: f32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this character is included in the Not_NFKC Unicode general security profile [INFO] [stdout] = note: `#[warn(uncommon_codepoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: identifier contains a non normalized (NFKC) character: 'µ' [INFO] [stdout] --> src/midi.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let delta_µs = now.tempo * delta as f32 / now.ticks_per_beat as f32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this character is included in the Not_NFKC Unicode general security profile [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `LaterHookCondition`, and `RenderFunction` [INFO] [stdout] --> src/animation.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{Canvas, Context, LaterHookCondition, RenderFunction}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `console_log` [INFO] [stdout] --> src/web.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | macro_rules! console_log { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Div`, `Range`, and `Sub` [INFO] [stdout] --> src/lib.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | use std::ops::{Add, Div, Range, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spacing` [INFO] [stdout] --> src/fill.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 75 | if let Fill::Hatched(color, _, thickness, spacing) = self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spacing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spacing` [INFO] [stdout] --> src/fill.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 75 | if let Fill::Hatched(color, _, thickness, spacing) = self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spacing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opacity` [INFO] [stdout] --> src/web.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn render_image(opacity: f32, color: Color) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/web.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn render_image(opacity: f32, color: Color) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `spinner` is never read [INFO] [stdout] --> src/lib.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 188 | struct SpinState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 189 | pub spinner: ProgressBar, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/lib.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PATTERN_SIZE` is never used [INFO] [stdout] --> src/fill.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const PATTERN_SIZE: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_kick_channel` is never used [INFO] [stdout] --> src/midi.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn is_kick_channel(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | std::fs::create_dir_all(&to); [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] 94 | let _ = std::fs::create_dir_all(&to); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | fs::write(to.join(name), format!("{:?}", stem)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = fs::write(to.join(name), format!("{:?}", stem)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opacity` [INFO] [stdout] --> src/web.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn render_image(opacity: f32, color: Color) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/web.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn render_image(opacity: f32, color: Color) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/preview.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | fs::write(output_file, contents); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = fs::write(output_file, contents); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/preview.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / request.respond(tiny_http::Response::from_string(contents).with_header( [INFO] [stdout] 83 | | tiny_http::Header { [INFO] [stdout] 84 | | field: "Access-Control-Allow-Origin".parse().unwrap(), [INFO] [stdout] 85 | | value: "*".parse().unwrap(), [INFO] [stdout] 86 | | }, [INFO] [stdout] 87 | | )); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = request.respond(tiny_http::Response::from_string(contents).with_header( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/video.rs:329:17 [INFO] [stdout] | [INFO] [stdout] 329 | canvas.add_object(layer_name, object_name, object, fill); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 329 | let _ = canvas.add_object(layer_name, object_name, object, fill); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/video.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | remove_dir_all(self.frames_output_directory); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 617 | let _ = remove_dir_all(self.frames_output_directory); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/video.rs:641:13 [INFO] [stdout] | [INFO] [stdout] 641 | / std::fs::write( [INFO] [stdout] 642 | | format!("{}/{}.svg", self.frames_output_directory, no), [INFO] [stdout] 643 | | &frame, [INFO] [stdout] 644 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 641 | let _ = std::fs::write( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/video.rs:660:29 [INFO] [stdout] | [INFO] [stdout] 660 | / ... Video::::build_frame( [INFO] [stdout] 661 | | ... frame_svg.clone(), [INFO] [stdout] 662 | | ... *frame_no, [INFO] [stdout] 663 | | ... total_frames, [INFO] [stdout] ... | [INFO] [stdout] 666 | | ... resolution, [INFO] [stdout] 667 | | ... ); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 660 | let _ = Video::::build_frame( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `spinner` is never read [INFO] [stdout] --> src/lib.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 188 | struct SpinState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 189 | pub spinner: ProgressBar, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PATTERN_SIZE` is never used [INFO] [stdout] --> src/fill.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const PATTERN_SIZE: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_kick_channel` is never used [INFO] [stdout] --> src/midi.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn is_kick_channel(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | std::fs::create_dir_all(&to); [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] 94 | let _ = std::fs::create_dir_all(&to); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | fs::write(to.join(name), format!("{:?}", stem)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = fs::write(to.join(name), format!("{:?}", stem)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/preview.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | fs::write(output_file, contents); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = fs::write(output_file, contents); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/preview.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / request.respond(tiny_http::Response::from_string(contents).with_header( [INFO] [stdout] 83 | | tiny_http::Header { [INFO] [stdout] 84 | | field: "Access-Control-Allow-Origin".parse().unwrap(), [INFO] [stdout] 85 | | value: "*".parse().unwrap(), [INFO] [stdout] 86 | | }, [INFO] [stdout] 87 | | )); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = request.respond(tiny_http::Response::from_string(contents).with_header( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/video.rs:329:17 [INFO] [stdout] | [INFO] [stdout] 329 | canvas.add_object(layer_name, object_name, object, fill); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 329 | let _ = canvas.add_object(layer_name, object_name, object, fill); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/video.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | remove_dir_all(self.frames_output_directory); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 617 | let _ = remove_dir_all(self.frames_output_directory); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/video.rs:641:13 [INFO] [stdout] | [INFO] [stdout] 641 | / std::fs::write( [INFO] [stdout] 642 | | format!("{}/{}.svg", self.frames_output_directory, no), [INFO] [stdout] 643 | | &frame, [INFO] [stdout] 644 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 641 | let _ = std::fs::write( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/video.rs:660:29 [INFO] [stdout] | [INFO] [stdout] 660 | / ... Video::::build_frame( [INFO] [stdout] 661 | | ... frame_svg.clone(), [INFO] [stdout] 662 | | ... *frame_no, [INFO] [stdout] 663 | | ... total_frames, [INFO] [stdout] ... | [INFO] [stdout] 666 | | ... resolution, [INFO] [stdout] 667 | | ... ); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 660 | let _ = Video::::build_frame( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fade_out_kick_circles` is never used [INFO] [stdout] --> src/main.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn fade_out_kick_circles(canvas: &mut Canvas, _: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_stem_position` is never used [INFO] [stdout] --> src/main.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn update_stem_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_kick_happened` is never read [INFO] [stdout] --> src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 203 | struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 204 | first_kick_happened: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color_cycle` is never used [INFO] [stdout] --> src/main.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 208 | fn color_cycle(current_color: Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `region_cycle_with_offset` is never used [INFO] [stdout] --> src/main.rs:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | fn region_cycle_with_offset(world: &Region, current: Option<&Region>, offset: usize) -> Region { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hat_region_cycle` is never used [INFO] [stdout] --> src/main.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | fn hat_region_cycle(world: &Region, current: &Region) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `region_cycle` is never used [INFO] [stdout] --> src/main.rs:254:4 [INFO] [stdout] | [INFO] [stdout] 254 | fn region_cycle(world: &Region, current: Option<&Region>) -> Region { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fade_out_kick_circles` is never used [INFO] [stdout] --> src/main.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn fade_out_kick_circles(canvas: &mut Canvas, _: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_stem_position` is never used [INFO] [stdout] --> src/main.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn update_stem_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_kick_happened` is never read [INFO] [stdout] --> src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 203 | struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 204 | first_kick_happened: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color_cycle` is never used [INFO] [stdout] --> src/main.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 208 | fn color_cycle(current_color: Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `region_cycle_with_offset` is never used [INFO] [stdout] --> src/main.rs:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | fn region_cycle_with_offset(world: &Region, current: Option<&Region>, offset: usize) -> Region { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hat_region_cycle` is never used [INFO] [stdout] --> src/main.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | fn hat_region_cycle(world: &Region, current: &Region) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `region_cycle` is never used [INFO] [stdout] --> src/main.rs:254:4 [INFO] [stdout] | [INFO] [stdout] 254 | fn region_cycle(world: &Region, current: Option<&Region>) -> Region { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.65s [INFO] running `Command { std: "docker" "inspect" "612efbb564bca26ac702fcdf459772715b222c9a63056642c3bc36b8f07a6528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "612efbb564bca26ac702fcdf459772715b222c9a63056642c3bc36b8f07a6528", kill_on_drop: false }` [INFO] [stdout] 612efbb564bca26ac702fcdf459772715b222c9a63056642c3bc36b8f07a6528