[INFO] cloning repository https://github.com/crackhex/m64-editor-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crackhex/m64-editor-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrackhex%2Fm64-editor-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrackhex%2Fm64-editor-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ebdd577933f1cbc8d5797e8a60d9c5e899b8a131 [INFO] checking crackhex/m64-editor-rs/ebdd577933f1cbc8d5797e8a60d9c5e899b8a131 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrackhex%2Fm64-editor-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/crackhex/m64-editor-rs 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 git repo https://github.com/crackhex/m64-editor-rs [INFO] finished tweaking git repo https://github.com/crackhex/m64-editor-rs [INFO] tweaked toml for git repo https://github.com/crackhex/m64-editor-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/crackhex/m64-editor-rs 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 git repository `https://github.com/linebender/druid.git` [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] 22e374631b807756fe5a07e47906706c18ed1efbcdc5fc98ae132fae111ee451 [INFO] running `Command { std: "docker" "start" "-a" "22e374631b807756fe5a07e47906706c18ed1efbcdc5fc98ae132fae111ee451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22e374631b807756fe5a07e47906706c18ed1efbcdc5fc98ae132fae111ee451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22e374631b807756fe5a07e47906706c18ed1efbcdc5fc98ae132fae111ee451", kill_on_drop: false }` [INFO] [stdout] 22e374631b807756fe5a07e47906706c18ed1efbcdc5fc98ae132fae111ee451 [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] 8ee42fb5184ab5f98783b8b44a3ae3eae81838b2d6c15b860a15eb7fae009f14 [INFO] running `Command { std: "docker" "start" "-a" "8ee42fb5184ab5f98783b8b44a3ae3eae81838b2d6c15b860a15eb7fae009f14", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling gio v0.16.7 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling glib-macros v0.16.8 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling glib-sys v0.16.3 [INFO] [stderr] Compiling gobject-sys v0.16.3 [INFO] [stderr] Compiling gio-sys v0.16.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling pango-sys v0.16.3 [INFO] [stderr] Compiling cairo-sys-rs v0.16.3 [INFO] [stderr] Compiling gdk-sys v0.16.0 [INFO] [stderr] Compiling atk-sys v0.16.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.16.3 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Compiling gtk-sys v0.16.0 [INFO] [stderr] Compiling pangocairo-sys v0.16.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking unic-langid-impl v0.9.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking kurbo v0.9.5 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Checking unic-langid v0.9.5 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking endi v1.1.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking piet v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking glib v0.16.9 [INFO] [stderr] Compiling gtk v0.16.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking type-map v0.5.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling gtk3-macros v0.16.3 [INFO] [stderr] Checking async-executor v1.13.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking async-broadcast v0.7.1 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling druid-shell v0.8.3 (https://github.com/linebender/druid.git#4fe39392) [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking self_cell v0.10.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Checking intl-memoizer v0.5.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking async-net v2.0.0 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking intl_pluralrules v7.0.2 [INFO] [stderr] Checking fluent-syntax v0.11.1 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking keyboard-types v0.6.2 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling rfd v0.14.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking fluent-bundle v0.15.3 [INFO] [stderr] Compiling druid-derive v0.5.1 (https://github.com/linebender/druid.git#4fe39392) [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking cairo-rs v0.16.7 [INFO] [stderr] Checking atk v0.16.0 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Checking ashpd v0.8.1 [INFO] [stderr] Checking pango v0.16.5 [INFO] [stderr] Checking gdk-pixbuf v0.16.7 [INFO] [stderr] Checking pangocairo v0.16.3 [INFO] [stderr] Checking gdk v0.16.2 [INFO] [stderr] Checking piet-cairo v0.6.2 [INFO] [stderr] Checking piet-common v0.6.2 [INFO] [stderr] Checking druid v0.8.3 (https://github.com/linebender/druid.git#4fe39392) [INFO] [stderr] Checking m64_editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `druid::widget::prelude::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use druid::widget::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Controller` and `TabsPolicy` [INFO] [stdout] --> src/main.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | use druid::widget::{Align, Axis, Button, Controller, CrossAxisAlignment, Flex, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | Label, Tabs, TabsEdge, TabsPolicy, TabsTransition, TextBox, ViewSwitcher}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppDelegate` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use druid::{AppDelegate, AppLauncher, Data, FileDialogOptions, Lens, Selector, UnitPoint, Widget, WidgetExt, WindowDesc}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `druid::widget::prelude::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use druid::widget::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/api/file_handling.rs:20:62 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn save_file(path: &Path, bytes: &ByteVec) -> io::Result<(File)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - pub fn save_file(path: &Path, bytes: &ByteVec) -> io::Result<(File)> { [INFO] [stdout] 20 + pub fn save_file(path: &Path, bytes: &ByteVec) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Controller` and `TabsPolicy` [INFO] [stdout] --> src/main.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | use druid::widget::{Align, Axis, Button, Controller, CrossAxisAlignment, Flex, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | Label, Tabs, TabsEdge, TabsPolicy, TabsTransition, TextBox, ViewSwitcher}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppDelegate` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use druid::{AppDelegate, AppLauncher, Data, FileDialogOptions, Lens, Selector, UnitPoint, Widget, WidgetExt, WindowDesc}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/api/file_handling.rs:20:62 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn save_file(path: &Path, bytes: &ByteVec) -> io::Result<(File)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - pub fn save_file(path: &Path, bytes: &ByteVec) -> io::Result<(File)> { [INFO] [stdout] 20 + pub fn save_file(path: &Path, bytes: &ByteVec) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | .on_click(|ctx, data: &mut AppState, _| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | .on_click(|ctx, data: &mut AppState, _| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:153:42 [INFO] [stdout] | [INFO] [stdout] 153 | .on_click(move |ctx, data: &mut AppState, _| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | .on_click(|ctx, data: &mut AppState, _| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | .on_click(|ctx, data: &mut AppState, _| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:153:42 [INFO] [stdout] | [INFO] [stdout] 153 | .on_click(move |ctx, data: &mut AppState, _| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LensExt` [INFO] [stdout] --> src/delegate.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | use druid::{commands, AppDelegate, Command, DelegateCtx, Env, Event, Handled, LensExt, Target, WindowId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/m64_handling.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut active_controllers = M64File::active_controllers(controller_flags as u32)?; [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: variable does not need to be mutable [INFO] [stdout] --> src/api/m64_handling.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | let mut controllers: BitArray= controller_flags.into_bitarray(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/m64_handling.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut sample_bytes: ByteVec = Input::samples_to_bytes(&self.inputs, &active_controllers)?; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LensExt` [INFO] [stdout] --> src/delegate.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | use druid::{commands, AppDelegate, Command, DelegateCtx, Env, Event, Handled, LensExt, Target, WindowId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group` is never used [INFO] [stdout] --> src/main.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn group + 'static>(text: &str, w: W) -> impl Widget { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DialogError` is never used [INFO] [stdout] --> src/api/file_handling.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum DialogError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DialogError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/api/file_handling.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn read_file(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_file` is never used [INFO] [stdout] --> src/api/file_handling.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn save_file(path: &Path, bytes: &ByteVec) -> io::Result<(File)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Controllers` is never used [INFO] [stdout] --> src/api/m64_handling.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Controllers = [Vec; 4]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ByteVec` is never used [INFO] [stdout] --> src/api/m64_handling.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type ByteVec = Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `M64File` is never constructed [INFO] [stdout] --> src/api/m64_handling.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct M64File { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/api/m64_handling.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `parse`, and `samples_to_bytes` are never used [INFO] [stdout] --> src/api/m64_handling.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl Input { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 82 | fn new() -> Input { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn parse(input_bytes: &ByteVec, controller_flags: u8) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub(crate) fn samples_to_bytes(inputs: &Controllers, active_controllers: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_bytes`, `active_controllers`, `to_bytes`, `remove_inputs`, and `add_inputs` are never used [INFO] [stdout] --> src/api/m64_handling.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 162 | impl M64File { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 163 | fn new() -> M64File { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn from_bytes(buf: &ByteVec) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn active_controllers(controller_flags: u32) -> Result, M64Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn to_bytes(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn remove_inputs(&mut self, range: &Range) -> Result<&mut M64File> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn add_inputs(&mut self, range: &Range) -> Result<&mut M64File> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/m64_handling.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut active_controllers = M64File::active_controllers(controller_flags as u32)?; [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: variable does not need to be mutable [INFO] [stdout] --> src/api/m64_handling.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | let mut controllers: BitArray= controller_flags.into_bitarray(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/m64_handling.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut sample_bytes: ByteVec = Input::samples_to_bytes(&self.inputs, &active_controllers)?; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group` is never used [INFO] [stdout] --> src/main.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn group + 'static>(text: &str, w: W) -> impl Widget { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DialogError` is never used [INFO] [stdout] --> src/api/file_handling.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum DialogError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DialogError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/api/file_handling.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn read_file(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_file` is never used [INFO] [stdout] --> src/api/file_handling.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn save_file(path: &Path, bytes: &ByteVec) -> io::Result<(File)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Controllers` is never used [INFO] [stdout] --> src/api/m64_handling.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Controllers = [Vec; 4]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ByteVec` is never used [INFO] [stdout] --> src/api/m64_handling.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type ByteVec = Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `M64File` is never constructed [INFO] [stdout] --> src/api/m64_handling.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct M64File { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/api/m64_handling.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `parse`, and `samples_to_bytes` are never used [INFO] [stdout] --> src/api/m64_handling.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl Input { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 82 | fn new() -> Input { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn parse(input_bytes: &ByteVec, controller_flags: u8) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub(crate) fn samples_to_bytes(inputs: &Controllers, active_controllers: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_bytes`, `active_controllers`, `to_bytes`, `remove_inputs`, and `add_inputs` are never used [INFO] [stdout] --> src/api/m64_handling.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 162 | impl M64File { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 163 | fn new() -> M64File { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn from_bytes(buf: &ByteVec) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn active_controllers(controller_flags: u32) -> Result, M64Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn to_bytes(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn remove_inputs(&mut self, range: &Range) -> Result<&mut M64File> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn add_inputs(&mut self, range: &Range) -> Result<&mut M64File> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 10s [INFO] running `Command { std: "docker" "inspect" "8ee42fb5184ab5f98783b8b44a3ae3eae81838b2d6c15b860a15eb7fae009f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ee42fb5184ab5f98783b8b44a3ae3eae81838b2d6c15b860a15eb7fae009f14", kill_on_drop: false }` [INFO] [stdout] 8ee42fb5184ab5f98783b8b44a3ae3eae81838b2d6c15b860a15eb7fae009f14