[INFO] cloning repository https://github.com/whatisaphone/war [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/whatisaphone/war" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhatisaphone%2Fwar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhatisaphone%2Fwar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bdbc5b4915d3adb59d1f810590795f318c14942 [INFO] checking whatisaphone/war against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhatisaphone%2Fwar" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/whatisaphone/war [INFO] finished tweaking git repo https://github.com/whatisaphone/war [INFO] tweaked toml for git repo https://github.com/whatisaphone/war written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/whatisaphone/war on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/whatisaphone/war 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bbce47bafcb1077d456a2f04c367ce044e13aef0a859281a057038bfac30096 [INFO] running `Command { std: "docker" "start" "-a" "1bbce47bafcb1077d456a2f04c367ce044e13aef0a859281a057038bfac30096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bbce47bafcb1077d456a2f04c367ce044e13aef0a859281a057038bfac30096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bbce47bafcb1077d456a2f04c367ce044e13aef0a859281a057038bfac30096", kill_on_drop: false }` [INFO] [stdout] 1bbce47bafcb1077d456a2f04c367ce044e13aef0a859281a057038bfac30096 [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fcb5a3929e7242a2be37ed2bb5d876fb9c6973309ed2d7f566b8ea58c24e123 [INFO] running `Command { std: "docker" "start" "-a" "5fcb5a3929e7242a2be37ed2bb5d876fb9c6973309ed2d7f566b8ea58c24e123", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling serde v1.0.100 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking byteordered v0.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking replace_with v0.1.4 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking inotify v0.6.1 [INFO] [stderr] Checking flate2 v1.0.11 [INFO] [stderr] Checking filetime v0.2.7 [INFO] [stderr] Checking notify v4.0.13 [INFO] [stderr] Checking backtrace v0.3.37 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.100 [INFO] [stderr] Compiling proc-macro-hack v0.5.9 [INFO] [stderr] Compiling structopt-derive v0.3.1 [INFO] [stderr] Compiling proc-quote-impl v0.2.2 [INFO] [stderr] Checking structopt v0.3.1 [INFO] [stderr] Compiling proc-quote v0.2.2 [INFO] [stderr] Compiling toml v0.5.3 [INFO] [stderr] Checking indexmap v1.2.0 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling num_enum_derive v0.4.1 [INFO] [stderr] Checking num_enum v0.4.1 [INFO] [stderr] Checking war v0.2.0 (/opt/rustwide/workdir/crates/war) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crates/war/src/utils/serde/repr.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `strict` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crates/war/src/utils/serde/repr.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `strict` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crates/war/src/utils/serde/repr.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `strict` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crates/war/src/utils/serde/repr.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `strict` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crates/war/src/utils/serde/repr.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `strict` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crates/war/src/utils/serde/repr.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `strict` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crates/war/src/utils/serde_lossy/ser.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `strict` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OCClassManager__ScriptInfo`, `OCClassManager__ScriptUnpacked`, `ResBinHeader`, `ResourcePackageRead__ExtInfo`, `ResourcePackageRead__FileInfo`, and `WorldFactory__WorldInfo` [INFO] [stdout] --> crates/war/src/darksiders1/gfc.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | worldfactory::{WorldFactory, WorldFactory__WorldInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | OCClassManager__ScriptInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | OCClassManager__ScriptUnpacked, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | ResourcePackageRead__ExtInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | ResourcePackageRead__FileInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | }, [INFO] [stdout] 73 | resourcepackagebin::{ResBinHeader, ResourcePackageBin}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> crates/war/src/lib.rs:1:73 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(future_incompatible, rust_2018_compatibility, rust_2018_idioms, unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crates/war/src/utils/serde/repr.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `strict` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crates/war/src/utils/serde/repr.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `strict` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crates/war/src/utils/serde/repr.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `strict` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crates/war/src/utils/serde/repr.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `strict` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crates/war/src/utils/serde/repr.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `strict` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crates/war/src/utils/serde/repr.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `strict` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crates/war/src/utils/serde_lossy/ser.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `strict` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OCClassManager__ScriptInfo`, `OCClassManager__ScriptUnpacked`, `ResBinHeader`, `ResourcePackageRead__ExtInfo`, `ResourcePackageRead__FileInfo`, and `WorldFactory__WorldInfo` [INFO] [stdout] --> crates/war/src/darksiders1/gfc.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | worldfactory::{WorldFactory, WorldFactory__WorldInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | OCClassManager__ScriptInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | OCClassManager__ScriptUnpacked, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | ResourcePackageRead__ExtInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | ResourcePackageRead__FileInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | }, [INFO] [stdout] 73 | resourcepackagebin::{ResBinHeader, ResourcePackageBin}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> crates/war/src/lib.rs:1:73 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(future_incompatible, rust_2018_compatibility, rust_2018_idioms, unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `save_game_version`, `save_file_crc`, and `padding` are never read [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/drivers/generic/save/keensavegamemanager.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct KeenSaveGameHeader { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 10 | pub header_name: [u8; 128], [INFO] [stdout] 11 | pub save_game_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub save_file_crc: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub padding: [u8; 508], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/oc/occlassmanager.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct OCClassManager__ScriptUnpacked { [INFO] [stdout] | ------------------------------ field in this struct [INFO] [stdout] 192 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ext` are never read [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/world/resource/resourcecache.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ResourceLoadInfo<'b> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 5 | pub name: &'b str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub ext: &'b str, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, u64> [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/darksiders/client/dssavegamemanager.rs:196:37 [INFO] [stdout] | [INFO] [stdout] 196 | stream.seek(SeekFrom::Start(data_offset.try_into()?))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/darksiders/client/dssavegamemanager.rs:196:37 [INFO] [stdout] | [INFO] [stdout] 196 | stream.seek(SeekFrom::Start(data_offset.try_into()?))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/darksiders/client/dssavegamemanager.rs:337:36 [INFO] [stdout] | [INFO] [stdout] 337 | let index: usize = stream.read_u8()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/darksiders/client/dssavegamemanager.rs:337:36 [INFO] [stdout] | [INFO] [stdout] 337 | let index: usize = stream.read_u8()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/darksiders/client/dssavegamemanager.rs:344:36 [INFO] [stdout] | [INFO] [stdout] 344 | let index: usize = stream.read_u8()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/darksiders/client/dssavegamemanager.rs:344:36 [INFO] [stdout] | [INFO] [stdout] 344 | let index: usize = stream.read_u8()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/io/binaryobjectreader.rs:199:35 [INFO] [stdout] | [INFO] [stdout] 199 | let mut buf = vec![0; len.try_into()?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/io/binaryobjectreader.rs:199:35 [INFO] [stdout] | [INFO] [stdout] 199 | let mut buf = vec![0; len.try_into()?]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/io/stream.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let length = usize::try_from(length).map_err(|_| derailed())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/script/common/insexecutor.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | let string = buf.gread_with(pc, length.try_into()?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/script/common/insexecutor.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | let string = buf.gread_with(pc, length.try_into()?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, i64> [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/world/resource/resourcepackage.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | analysis.seek(SeekFrom::Current(substream_len.try_into()?))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/world/resource/resourcepackage.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | analysis.seek(SeekFrom::Current(substream_len.try_into()?))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/utils/serde/de.rs:92:46 [INFO] [stdout] | [INFO] [stdout] 92 | match self.object_database.entry(id.try_into().map_err(|_| ())?) { [INFO] [stdout] | ^^^^^^^^^^^^^ [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] --> crates/war/src/utils/serde/repr.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Value` [INFO] [stdout] 5 | #[serde(rename_all = "snake_case", tag = "type")] [INFO] [stdout] 6 | pub enum Value { [INFO] [stdout] | ----- `Value` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/war/src/utils/serde/repr.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Value` [INFO] [stdout] 5 | #[serde(rename_all = "snake_case", tag = "type")] [INFO] [stdout] 6 | pub enum Value { [INFO] [stdout] | ----- `Value` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/war/src/utils/serde/repr.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Object` [INFO] [stdout] 40 | pub struct Object { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/war/src/utils/serde/repr.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Object` [INFO] [stdout] 40 | pub struct Object { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/war/src/utils/serde/repr.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ObjectProperties` [INFO] [stdout] 52 | #[serde(untagged)] [INFO] [stdout] 53 | pub enum ObjectProperties { [INFO] [stdout] | ---------------- `ObjectProperties` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/war/src/utils/serde/repr.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ObjectProperties` [INFO] [stdout] 52 | #[serde(untagged)] [INFO] [stdout] 53 | pub enum ObjectProperties { [INFO] [stdout] | ---------------- `ObjectProperties` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/war/src/utils/serde_lossy/ser.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Repr` [INFO] [stdout] 123 | #[serde(untagged)] [INFO] [stdout] 124 | enum Repr<'a> { [INFO] [stdout] | ---- `Repr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `war` (lib) due to 14 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `save_game_version`, `save_file_crc`, and `padding` are never read [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/drivers/generic/save/keensavegamemanager.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct KeenSaveGameHeader { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 10 | pub header_name: [u8; 128], [INFO] [stdout] 11 | pub save_game_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub save_file_crc: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub padding: [u8; 508], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/oc/occlassmanager.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct OCClassManager__ScriptUnpacked { [INFO] [stdout] | ------------------------------ field in this struct [INFO] [stdout] 192 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ext` are never read [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/world/resource/resourcecache.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ResourceLoadInfo<'b> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 5 | pub name: &'b str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub ext: &'b str, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, u64> [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/darksiders/client/dssavegamemanager.rs:196:37 [INFO] [stdout] | [INFO] [stdout] 196 | stream.seek(SeekFrom::Start(data_offset.try_into()?))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/darksiders/client/dssavegamemanager.rs:196:37 [INFO] [stdout] | [INFO] [stdout] 196 | stream.seek(SeekFrom::Start(data_offset.try_into()?))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/darksiders/client/dssavegamemanager.rs:337:36 [INFO] [stdout] | [INFO] [stdout] 337 | let index: usize = stream.read_u8()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/darksiders/client/dssavegamemanager.rs:337:36 [INFO] [stdout] | [INFO] [stdout] 337 | let index: usize = stream.read_u8()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/darksiders/client/dssavegamemanager.rs:344:36 [INFO] [stdout] | [INFO] [stdout] 344 | let index: usize = stream.read_u8()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/darksiders/client/dssavegamemanager.rs:344:36 [INFO] [stdout] | [INFO] [stdout] 344 | let index: usize = stream.read_u8()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/io/binaryobjectreader.rs:199:35 [INFO] [stdout] | [INFO] [stdout] 199 | let mut buf = vec![0; len.try_into()?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/io/binaryobjectreader.rs:199:35 [INFO] [stdout] | [INFO] [stdout] 199 | let mut buf = vec![0; len.try_into()?]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/io/stream.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let length = usize::try_from(length).map_err(|_| derailed())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/script/common/insexecutor.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | let string = buf.gread_with(pc, length.try_into()?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/script/common/insexecutor.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | let string = buf.gread_with(pc, length.try_into()?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, i64> [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/world/resource/resourcepackage.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | analysis.seek(SeekFrom::Current(substream_len.try_into()?))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/darksiders1/code/vigil/gfc/world/resource/resourcepackage.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | analysis.seek(SeekFrom::Current(substream_len.try_into()?))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/war/src/utils/serde/de.rs:92:46 [INFO] [stdout] | [INFO] [stdout] 92 | match self.object_database.entry(id.try_into().map_err(|_| ())?) { [INFO] [stdout] | ^^^^^^^^^^^^^ [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] --> crates/war/src/utils/serde/repr.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Value` [INFO] [stdout] 5 | #[serde(rename_all = "snake_case", tag = "type")] [INFO] [stdout] 6 | pub enum Value { [INFO] [stdout] | ----- `Value` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/war/src/utils/serde/repr.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Value` [INFO] [stdout] 5 | #[serde(rename_all = "snake_case", tag = "type")] [INFO] [stdout] 6 | pub enum Value { [INFO] [stdout] | ----- `Value` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/war/src/utils/serde/repr.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Object` [INFO] [stdout] 40 | pub struct Object { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/war/src/utils/serde/repr.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Object` [INFO] [stdout] 40 | pub struct Object { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/war/src/utils/serde/repr.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ObjectProperties` [INFO] [stdout] 52 | #[serde(untagged)] [INFO] [stdout] 53 | pub enum ObjectProperties { [INFO] [stdout] | ---------------- `ObjectProperties` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/war/src/utils/serde/repr.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ObjectProperties` [INFO] [stdout] 52 | #[serde(untagged)] [INFO] [stdout] 53 | pub enum ObjectProperties { [INFO] [stdout] | ---------------- `ObjectProperties` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crates/war/src/utils/serde_lossy/ser.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Repr` [INFO] [stdout] 123 | #[serde(untagged)] [INFO] [stdout] 124 | enum Repr<'a> { [INFO] [stdout] | ---- `Repr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `war` (lib test) due to 14 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5fcb5a3929e7242a2be37ed2bb5d876fb9c6973309ed2d7f566b8ea58c24e123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fcb5a3929e7242a2be37ed2bb5d876fb9c6973309ed2d7f566b8ea58c24e123", kill_on_drop: false }` [INFO] [stdout] 5fcb5a3929e7242a2be37ed2bb5d876fb9c6973309ed2d7f566b8ea58c24e123