[INFO] cloning repository https://github.com/OpenBiohazard2/Bio2ScriptIde [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OpenBiohazard2/Bio2ScriptIde" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOpenBiohazard2%2FBio2ScriptIde", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOpenBiohazard2%2FBio2ScriptIde'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffaa751dc0040e944c46fffd7dba0652b96b2c34 [INFO] checking OpenBiohazard2/Bio2ScriptIde against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOpenBiohazard2%2FBio2ScriptIde" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/OpenBiohazard2/Bio2ScriptIde [INFO] finished tweaking git repo https://github.com/OpenBiohazard2/Bio2ScriptIde [INFO] tweaked toml for git repo https://github.com/OpenBiohazard2/Bio2ScriptIde written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/OpenBiohazard2/Bio2ScriptIde on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/OpenBiohazard2/Bio2ScriptIde 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71c31c19359d5e531e64d8cb3fecce508109165c867f50fabf41ac545c413d71 [INFO] running `Command { std: "docker" "start" "-a" "71c31c19359d5e531e64d8cb3fecce508109165c867f50fabf41ac545c413d71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71c31c19359d5e531e64d8cb3fecce508109165c867f50fabf41ac545c413d71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71c31c19359d5e531e64d8cb3fecce508109165c867f50fabf41ac545c413d71", kill_on_drop: false }` [INFO] [stdout] 71c31c19359d5e531e64d8cb3fecce508109165c867f50fabf41ac545c413d71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58db3d1e5c75f946fa4f845787a04e89247f6b975c5bdead77547cbc377de5ed [INFO] running `Command { std: "docker" "start" "-a" "58db3d1e5c75f946fa4f845787a04e89247f6b975c5bdead77547cbc377de5ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling xml-rs v0.8.24 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling futures-lite v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Checking png v0.17.15 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Compiling rfd v0.11.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking bytemuck v1.20.0 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking smithay-clipboard v0.6.6 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking accesskit v0.9.0 [INFO] [stderr] Checking ecolor v0.21.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling serde-xml-rs v0.4.1 [INFO] [stderr] Checking emath v0.21.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking epaint v0.21.0 [INFO] [stderr] Checking accesskit_consumer v0.13.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking egui v0.21.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking arboard v3.4.1 [INFO] [stderr] Checking egui_glow v0.21.0 [INFO] [stderr] Compiling glib-sys v0.16.3 [INFO] [stderr] Compiling gobject-sys v0.16.3 [INFO] [stderr] Compiling atk-sys v0.16.0 [INFO] [stderr] Compiling gdk-sys v0.16.0 [INFO] [stderr] Compiling gio-sys v0.16.3 [INFO] [stderr] Compiling pango-sys v0.16.3 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.16.3 [INFO] [stderr] Compiling cairo-sys-rs v0.16.3 [INFO] [stderr] Compiling gtk-sys v0.16.0 [INFO] [stderr] Compiling zvariant v3.15.2 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Compiling zbus v3.15.2 [INFO] [stderr] Compiling atspi-macros v0.1.4 [INFO] [stderr] Checking atspi v0.8.7 [INFO] [stderr] Checking accesskit_unix v0.2.0 [INFO] [stderr] Checking accesskit_winit v0.10.0 [INFO] [stderr] Checking egui-winit v0.21.1 [INFO] [stderr] Checking eframe v0.21.3 [INFO] [stderr] Checking bio2_script_ide v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/fileio/rdt.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RDTHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 2 | pub num_sprites: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 3 | pub num_cameras: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | pub num_models: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | pub num_items: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub num_doors: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub num_rooms: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | pub num_reverb: u8, // related to sound [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub sprite_max: u8, // max number of .pri sprites used by one of the room's cameras [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app.rs:230:55 [INFO] [stdout] | [INFO] [stdout] 230 | let function_name = code_line_parts[0].clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fileio/rdt_scd.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Eq, FromPrimitive, Hash, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode` [INFO] [stdout] 6 | pub enum Opcode { [INFO] [stdout] | ------ `Opcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/fileio/rdt.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RDTHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 2 | pub num_sprites: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 3 | pub num_cameras: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | pub num_models: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | pub num_items: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub num_doors: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub num_rooms: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | pub num_reverb: u8, // related to sound [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub sprite_max: u8, // max number of .pri sprites used by one of the room's cameras [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/app.rs:230:55 [INFO] [stdout] | [INFO] [stdout] 230 | let function_name = code_line_parts[0].clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fileio/rdt_scd.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Eq, FromPrimitive, Hash, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode` [INFO] [stdout] 6 | pub enum Opcode { [INFO] [stdout] | ------ `Opcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10m 24s [INFO] running `Command { std: "docker" "inspect" "58db3d1e5c75f946fa4f845787a04e89247f6b975c5bdead77547cbc377de5ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58db3d1e5c75f946fa4f845787a04e89247f6b975c5bdead77547cbc377de5ed", kill_on_drop: false }` [INFO] [stdout] 58db3d1e5c75f946fa4f845787a04e89247f6b975c5bdead77547cbc377de5ed