[INFO] cloning repository https://github.com/MicroCBer/CeleMod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MicroCBer/CeleMod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMicroCBer%2FCeleMod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMicroCBer%2FCeleMod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 132927595a5db2fd95e091194177d1a51704570a [INFO] checking MicroCBer/CeleMod/132927595a5db2fd95e091194177d1a51704570a 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%2FMicroCBer%2FCeleMod" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 32% (37/113) Updating files: 33% (38/113) Updating files: 34% (39/113) Updating files: 35% (40/113) Updating files: 36% (41/113) Updating files: 37% (42/113) Updating files: 38% (43/113) Updating files: 39% (45/113) Updating files: 40% (46/113) Updating files: 41% (47/113) Updating files: 42% (48/113) Updating files: 43% (49/113) Updating files: 44% (50/113) Updating files: 45% (51/113) Updating files: 46% (52/113) Updating files: 47% (54/113) Updating files: 48% (55/113) Updating files: 49% (56/113) Updating files: 50% (57/113) Updating files: 51% (58/113) Updating files: 52% (59/113) Updating files: 53% (60/113) Updating files: 54% (62/113) Updating files: 55% (63/113) Updating files: 56% (64/113) Updating files: 57% (65/113) Updating files: 58% (66/113) Updating files: 59% (67/113) Updating files: 60% (68/113) Updating files: 61% (69/113) Updating files: 62% (71/113) Updating files: 63% (72/113) Updating files: 64% (73/113) Updating files: 65% (74/113) Updating files: 66% (75/113) Updating files: 67% (76/113) Updating files: 68% (77/113) Updating files: 69% (78/113) Updating files: 70% (80/113) Updating files: 71% (81/113) Updating files: 72% (82/113) Updating files: 73% (83/113) Updating files: 74% (84/113) Updating files: 75% (85/113) Updating files: 76% (86/113) Updating files: 77% (88/113) Updating files: 78% (89/113) Updating files: 79% (90/113) Updating files: 80% (91/113) Updating files: 81% (92/113) Updating files: 82% (93/113) Updating files: 83% (94/113) Updating files: 84% (95/113) Updating files: 85% (97/113) Updating files: 86% (98/113) Updating files: 87% (99/113) Updating files: 88% (100/113) Updating files: 89% (101/113) Updating files: 90% (102/113) Updating files: 91% (103/113) Updating files: 92% (104/113) Updating files: 93% (106/113) Updating files: 94% (107/113) Updating files: 95% (108/113) Updating files: 96% (109/113) Updating files: 97% (110/113) Updating files: 98% (111/113) Updating files: 99% (112/113) Updating files: 100% (113/113) Updating files: 100% (113/113), done. [INFO] validating manifest of git repo https://github.com/MicroCBer/CeleMod 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] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/MicroCBer/CeleMod [INFO] finished tweaking git repo https://github.com/MicroCBer/CeleMod [INFO] tweaked toml for git repo https://github.com/MicroCBer/CeleMod written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MicroCBer/CeleMod 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 82eb3e7ed5ac8608b458e671285e97cd903f78c40b23e37a08b56b700a24103e [INFO] running `Command { std: "docker" "start" "-a" "82eb3e7ed5ac8608b458e671285e97cd903f78c40b23e37a08b56b700a24103e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82eb3e7ed5ac8608b458e671285e97cd903f78c40b23e37a08b56b700a24103e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82eb3e7ed5ac8608b458e671285e97cd903f78c40b23e37a08b56b700a24103e", kill_on_drop: false }` [INFO] [stdout] 82eb3e7ed5ac8608b458e671285e97cd903f78c40b23e37a08b56b700a24103e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4b5a104cb6321d4dfb531ab125713fbd32f1785056d1ac548b932395d0c55361 [INFO] running `Command { std: "docker" "start" "-a" "4b5a104cb6321d4dfb531ab125713fbd32f1785056d1ac548b932395d0c55361", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling winnow v0.6.1 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling winnow v0.5.39 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cfg-expr v0.15.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling gio v0.15.12 [INFO] [stderr] Compiling toml_edit v0.22.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling toml v0.8.10 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling system-deps v6.2.0 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling libsqlite3-sys v0.25.2 [INFO] [stderr] Compiling tempfile v3.10.0 [INFO] [stderr] Compiling glib-macros v0.15.13 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling glib-sys v0.15.10 [INFO] [stderr] Compiling gobject-sys v0.15.10 [INFO] [stderr] Compiling gio-sys v0.15.10 [INFO] [stderr] Compiling gdk-sys v0.15.1 [INFO] [stderr] Compiling pango-sys v0.15.10 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.15.10 [INFO] [stderr] Compiling cairo-sys-rs v0.15.1 [INFO] [stderr] Compiling atk-sys v0.15.1 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling gtk-sys v0.15.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Checking glib v0.15.12 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling gtk v0.15.5 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling winres v0.1.12 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling game-scanner v1.2.0 (https://github.com/EqualGames/game-scanner?branch=dependabot/cargo/sysinfo-0.28.2#94dcbd08) [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling gtk3-macros v0.15.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking is-docker v0.2.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking is-wsl v0.4.0 [INFO] [stderr] Checking sysinfo v0.28.4 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Compiling cele-mod v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking ruzstd v0.3.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking open v5.0.1 [INFO] [stderr] Checking sciter-rs v0.5.58 (https://github.com/MicroCBer/rust-sciter#518076af) [INFO] [stderr] Checking strip_bom v1.0.0 [INFO] [stderr] Checking serde_yaml v0.9.31 [INFO] [stderr] Checking pango v0.15.10 [INFO] [stderr] Checking cairo-rs v0.15.12 [INFO] [stderr] Checking atk v0.15.1 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking rusqlite v0.28.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Compiling include-bytes-zstd-macro v0.1.0 [INFO] [stderr] Checking include-bytes-zstd v0.1.0 [INFO] [stderr] Checking ureq v2.9.1 [INFO] [stderr] Checking gdk-pixbuf v0.15.11 [INFO] [stderr] Checking gdk v0.15.4 [INFO] [stderr] Checking msgbox v0.7.0 [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/blacklist.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | (format!( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 47 | .join("\n")), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 ~ format!( [INFO] [stdout] 38 | "# Profile: {}\n# This file is generated by CeleMod\n\n\n", [INFO] [stdout] ... [INFO] [stdout] 46 | .collect::>() [INFO] [stdout] 47 ~ .join("\n"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/everest.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/blacklist.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | (format!( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 47 | .join("\n")), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 ~ format!( [INFO] [stdout] 38 | "# Profile: {}\n# This file is generated by CeleMod\n\n\n", [INFO] [stdout] ... [INFO] [stdout] 46 | .collect::>() [INFO] [stdout] 47 ~ .join("\n"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/everest.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_output_path` [INFO] [stdout] --> src/aria2c.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let tmp_output_path = tmp_dir_path [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_output_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_size` is never read [INFO] [stdout] --> src/aria2c.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut total_size = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `progress` is never read [INFO] [stdout] --> src/aria2c.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut progress = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aria2c.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut req = ureq::get(url); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aria2c.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut resp = req.call(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aria2c.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(mut resp) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_output_path` [INFO] [stdout] --> src/aria2c.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let tmp_output_path = tmp_dir_path [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_output_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_size` is never read [INFO] [stdout] --> src/aria2c.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut total_size = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `progress` is never read [INFO] [stdout] --> src/aria2c.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut progress = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aria2c.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut req = ureq::get(url); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aria2c.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut resp = req.call(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aria2c.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(mut resp) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_NO_WINDOW` is never used [INFO] [stdout] --> src/aria2c.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | const CREATE_NO_WINDOW: u32 = 0x08000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DETACHED_PROCESS` is never used [INFO] [stdout] --> src/aria2c.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | const DETACHED_PROCESS: u32 = 0x00000008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_NO_WINDOW` is never used [INFO] [stdout] --> src/everest.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | const CREATE_NO_WINDOW: u32 = 0x08000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DETACHED_PROCESS` is never used [INFO] [stdout] --> src/everest.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | const DETACHED_PROCESS: u32 = 0x00000008; [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:176:69 [INFO] [stdout] | [INFO] [stdout] 176 | let cache_date = cache_path.metadata().ok().map(|v| v.modified().unwrap()); [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:709:19 [INFO] [stdout] | [INFO] [stdout] 705 | callback: sciter::Value, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 708 | let callback2 = callback.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 709 | match everest::download_and_install_everest(&game_path, &url, &mut |msg, progress| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 710 | | callback [INFO] [stdout] 711 | | .call(None, &make_args!(msg, progress as f64), None) [INFO] [stdout] 712 | | .unwrap(); [INFO] [stdout] 713 | | }) { [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:737:19 [INFO] [stdout] | [INFO] [stdout] 734 | fn do_self_update(&self, url: String, callback: sciter::Value) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 737 | match aria2c::download_file_with_progress( [INFO] [stdout] | ___________________^ [INFO] [stdout] 738 | | &url, [INFO] [stdout] 739 | | tmp.to_string_lossy().as_ref(), [INFO] [stdout] 740 | | &mut |progress| { [INFO] [stdout] ... | [INFO] [stdout] 749 | | false, [INFO] [stdout] 750 | | ) { [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/aria2c.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 122 | let mut command = Command::new(aria2c_path); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | let command = command.spawn(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | let mut child = match command { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | Ok(child) => child, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | Err(_) => bail!("Failed to start aria2c process."), [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let err: Arc> = Arc::new(Mutex::new(String::new())); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let stderr = child.stderr.take().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | let err_ref = Arc::clone(&err); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | // 读取错误输出 [INFO] [stdout] 166 | let thread = std::thread::spawn(move || { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let stdout = child.stdout.take().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | let reader = BufReader::new(stdout); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | match child.wait() { [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] warning: constant `CREATE_NO_WINDOW` is never used [INFO] [stdout] --> src/aria2c.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | const CREATE_NO_WINDOW: u32 = 0x08000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DETACHED_PROCESS` is never used [INFO] [stdout] --> src/aria2c.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | const DETACHED_PROCESS: u32 = 0x00000008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_NO_WINDOW` is never used [INFO] [stdout] --> src/everest.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | const CREATE_NO_WINDOW: u32 = 0x08000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DETACHED_PROCESS` is never used [INFO] [stdout] --> src/everest.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | const DETACHED_PROCESS: u32 = 0x00000008; [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:176:69 [INFO] [stdout] | [INFO] [stdout] 176 | let cache_date = cache_path.metadata().ok().map(|v| v.modified().unwrap()); [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:709:19 [INFO] [stdout] | [INFO] [stdout] 705 | callback: sciter::Value, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 708 | let callback2 = callback.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 709 | match everest::download_and_install_everest(&game_path, &url, &mut |msg, progress| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 710 | | callback [INFO] [stdout] 711 | | .call(None, &make_args!(msg, progress as f64), None) [INFO] [stdout] 712 | | .unwrap(); [INFO] [stdout] 713 | | }) { [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:737:19 [INFO] [stdout] | [INFO] [stdout] 734 | fn do_self_update(&self, url: String, callback: sciter::Value) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 737 | match aria2c::download_file_with_progress( [INFO] [stdout] | ___________________^ [INFO] [stdout] 738 | | &url, [INFO] [stdout] 739 | | tmp.to_string_lossy().as_ref(), [INFO] [stdout] 740 | | &mut |progress| { [INFO] [stdout] ... | [INFO] [stdout] 749 | | false, [INFO] [stdout] 750 | | ) { [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/aria2c.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 122 | let mut command = Command::new(aria2c_path); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | let command = command.spawn(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | let mut child = match command { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | Ok(child) => child, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | Err(_) => bail!("Failed to start aria2c process."), [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let err: Arc> = Arc::new(Mutex::new(String::new())); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let stderr = child.stderr.take().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | let err_ref = Arc::clone(&err); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | // 读取错误输出 [INFO] [stdout] 166 | let thread = std::thread::spawn(move || { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let stdout = child.stdout.take().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | let reader = BufReader::new(stdout); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | match child.wait() { [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 4 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cele-mod` (bin "cele-mod" test) due to 5 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cele-mod` (bin "cele-mod") due to 5 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4b5a104cb6321d4dfb531ab125713fbd32f1785056d1ac548b932395d0c55361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b5a104cb6321d4dfb531ab125713fbd32f1785056d1ac548b932395d0c55361", kill_on_drop: false }` [INFO] [stdout] 4b5a104cb6321d4dfb531ab125713fbd32f1785056d1ac548b932395d0c55361