[INFO] cloning repository https://github.com/bazhenovc/mtld [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bazhenovc/mtld" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbazhenovc%2Fmtld", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbazhenovc%2Fmtld'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 238fbd6ff9421da54dfcc36540ca114f4b98cbef [INFO] checking bazhenovc/mtld/238fbd6ff9421da54dfcc36540ca114f4b98cbef against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbazhenovc%2Fmtld" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bazhenovc/mtld on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bazhenovc/mtld [INFO] finished tweaking git repo https://github.com/bazhenovc/mtld [INFO] tweaked toml for git repo https://github.com/bazhenovc/mtld written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bazhenovc/mtld 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d3edda83d06f6029e2849d6f74909b28e4df4d9187947fcc4cb538dd6aaab9d [INFO] running `Command { std: "docker" "start" "-a" "8d3edda83d06f6029e2849d6f74909b28e4df4d9187947fcc4cb538dd6aaab9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d3edda83d06f6029e2849d6f74909b28e4df4d9187947fcc4cb538dd6aaab9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d3edda83d06f6029e2849d6f74909b28e4df4d9187947fcc4cb538dd6aaab9d", kill_on_drop: false }` [INFO] [stdout] 8d3edda83d06f6029e2849d6f74909b28e4df4d9187947fcc4cb538dd6aaab9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02a7fd151656f54ee55870890072f4d8124e7f15d08983c0fd4477ec3d521996 [INFO] running `Command { std: "docker" "start" "-a" "02a7fd151656f54ee55870890072f4d8124e7f15d08983c0fd4477ec3d521996", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling basis-universal-sys v0.3.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking deranged v0.3.10 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.3 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking basis-universal v0.3.1 [INFO] [stderr] Checking mtld v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | InvalidParameter(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | InvalidParameter(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidImage(std::path::PathBuf), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | InvalidImage(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | MetadataParse(serde_json::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | MetadataParse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Network(reqwest::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Network(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Zip(zip::result::ZipError), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | Zip(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | Image(image::ImageError), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | Image(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | BasisUniversal(basis_universal::CompressorErrorCode), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | BasisUniversal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / #[structopt( [INFO] [stdout] 39 | | long = "download-resolutions", [INFO] [stdout] 40 | | help = "Download using the first resolution from this list, try next one if failed", [INFO] [stdout] 41 | | default_value = "4K,3K,2K,1K" [INFO] [stdout] 42 | | )] [INFO] [stdout] 43 | | download_resolutions: ArgumentVec, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / #[structopt( [INFO] [stdout] 46 | | long = "download-extensions", [INFO] [stdout] 47 | | help = "Download using the first extension form this list, try next one if failed", [INFO] [stdout] 48 | | default_value = "JPG,PNG" [INFO] [stdout] 49 | | )] [INFO] [stdout] 50 | | download_extensions: ArgumentVec, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / #[structopt( [INFO] [stdout] 91 | | long = "pack-normal-map-type", [INFO] [stdout] 92 | | help = "Normal map type to use for packing", [INFO] [stdout] 93 | | default_value = "OpenGL" [INFO] [stdout] 94 | | )] [INFO] [stdout] 95 | | pack_normal_map_type: crate::pack::NormalMapType, [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mtld` (bin "mtld") due to 4 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | InvalidParameter(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | InvalidParameter(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidImage(std::path::PathBuf), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | InvalidImage(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | MetadataParse(serde_json::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | MetadataParse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Network(reqwest::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Network(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Zip(zip::result::ZipError), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | Zip(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | Image(image::ImageError), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | Image(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application_error.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | BasisUniversal(basis_universal::CompressorErrorCode), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | BasisUniversal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / #[structopt( [INFO] [stdout] 39 | | long = "download-resolutions", [INFO] [stdout] 40 | | help = "Download using the first resolution from this list, try next one if failed", [INFO] [stdout] 41 | | default_value = "4K,3K,2K,1K" [INFO] [stdout] 42 | | )] [INFO] [stdout] 43 | | download_resolutions: ArgumentVec, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / #[structopt( [INFO] [stdout] 46 | | long = "download-extensions", [INFO] [stdout] 47 | | help = "Download using the first extension form this list, try next one if failed", [INFO] [stdout] 48 | | default_value = "JPG,PNG" [INFO] [stdout] 49 | | )] [INFO] [stdout] 50 | | download_extensions: ArgumentVec, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / #[structopt( [INFO] [stdout] 91 | | long = "pack-normal-map-type", [INFO] [stdout] 92 | | help = "Normal map type to use for packing", [INFO] [stdout] 93 | | default_value = "OpenGL" [INFO] [stdout] 94 | | )] [INFO] [stdout] 95 | | pack_normal_map_type: crate::pack::NormalMapType, [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mtld` (bin "mtld" test) due to 4 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "02a7fd151656f54ee55870890072f4d8124e7f15d08983c0fd4477ec3d521996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02a7fd151656f54ee55870890072f4d8124e7f15d08983c0fd4477ec3d521996", kill_on_drop: false }` [INFO] [stdout] 02a7fd151656f54ee55870890072f4d8124e7f15d08983c0fd4477ec3d521996