[INFO] cloning repository https://github.com/Shnatsel/wondermagick [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shnatsel/wondermagick" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShnatsel%2Fwondermagick", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShnatsel%2Fwondermagick'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00c12e601e3dab9f24bc3bb485ef11a946f7dd82 [INFO] checking Shnatsel/wondermagick/00c12e601e3dab9f24bc3bb485ef11a946f7dd82 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShnatsel%2Fwondermagick" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shnatsel/wondermagick on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Shnatsel/wondermagick [INFO] finished tweaking git repo https://github.com/Shnatsel/wondermagick [INFO] tweaked toml for git repo https://github.com/Shnatsel/wondermagick written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Shnatsel/wondermagick 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b104795c72418073c3020e6a18f98b2a603a0d69a26052851afbb8e933241473 [INFO] running `Command { std: "docker" "start" "-a" "b104795c72418073c3020e6a18f98b2a603a0d69a26052851afbb8e933241473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b104795c72418073c3020e6a18f98b2a603a0d69a26052851afbb8e933241473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b104795c72418073c3020e6a18f98b2a603a0d69a26052851afbb8e933241473", kill_on_drop: false }` [INFO] [stdout] b104795c72418073c3020e6a18f98b2a603a0d69a26052851afbb8e933241473 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c901491e228ab102df6b1b783d41651bd66b09fdb04bd8fe074ba54a573928ff [INFO] running `Command { std: "docker" "start" "-a" "c901491e228ab102df6b1b783d41651bd66b09fdb04bd8fe074ba54a573928ff", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking bitstream-io v2.5.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling current_platform v0.2.0 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking mutate_once v0.1.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking kamadak-exif v0.5.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling structmeta-derive v0.2.0 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Compiling structmeta v0.2.0 [INFO] [stderr] Compiling derive-quickcheck-arbitrary v0.1.3 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ravif v0.11.8 [INFO] [stderr] Checking image v0.25.2 (https://github.com/image-rs/image.git#98ceb719) [INFO] [stderr] Checking fast_image_resize v4.2.0 [INFO] [stderr] Checking wondermagick v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wondermagick` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/arg_parsers/filename.rs [INFO] [stderr] * src/error.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | ($expr:expr $(,)?) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 52 | ($expr:expr_2021 $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/error.rs:52:6 [INFO] [stderr] | [INFO] [stderr] 52 | ($expr:expr_2021 $(,)?) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/arg_parsers/filename.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn new(path: PathBuf) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/arg_parsers/filename.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(path: PathBuf) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/arg_parsers/filename.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl InputFileArg { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(path: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_exists` is never used [INFO] [stdout] --> src/arg_parsers/filename.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn file_exists(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/wm-convert.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wondermagick` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/arg_parsers/filename.rs [INFO] [stderr] * src/error.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/utils/arbitrary.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn optional_positive_float(gen: &mut quickcheck::Gen) -> Option { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/error.rs:52:6 [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/utils/arbitrary.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | if bool::arbitrary(gen) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 52 | ($expr:expr_2021 $(,)?) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/arg_parsers/filename.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn new(path: PathBuf) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/utils/arbitrary.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | Some(positive_float(gen)) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/utils/arbitrary.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn positive_float(gen: &mut quickcheck::Gen) -> f64 { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/utils/arbitrary.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | nonzero_float(gen).abs() [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/utils/arbitrary.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn finite_float(gen: &mut quickcheck::Gen) -> f64 { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/utils/arbitrary.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | let raw = f64::arbitrary(gen); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/utils/arbitrary.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn nonzero_float(gen: &mut quickcheck::Gen) -> f64 { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/utils/arbitrary.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let float = finite_float(gen); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/utils/arbitrary.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn optional_nonzero_float(gen: &mut quickcheck::Gen) -> Option { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/utils/arbitrary.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | if bool::arbitrary(gen) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/utils/arbitrary.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | Some(nonzero_float(gen)) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | ($expr:expr $(,)?) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 52 | ($expr:expr_2021 $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/arg_parsers/filename.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(path: PathBuf) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/arg_parsers/filename.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl InputFileArg { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(path: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_exists` is never used [INFO] [stdout] --> src/arg_parsers/filename.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn file_exists(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/wm-convert.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.23s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking wondermagick v0.1.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/utils/arbitrary.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn optional_positive_float(gen: &mut quickcheck::Gen) -> Option { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 6 | pub fn optional_positive_float(r#gen: &mut quickcheck::Gen) -> Option { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/utils/arbitrary.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | if bool::arbitrary(gen) { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/utils/arbitrary.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | Some(positive_float(gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/utils/arbitrary.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn positive_float(gen: &mut quickcheck::Gen) -> f64 { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 15 | pub fn positive_float(r#gen: &mut quickcheck::Gen) -> f64 { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/utils/arbitrary.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | nonzero_float(gen).abs() [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/utils/arbitrary.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn finite_float(gen: &mut quickcheck::Gen) -> f64 { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 20 | pub fn finite_float(r#gen: &mut quickcheck::Gen) -> f64 { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/utils/arbitrary.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | let raw = f64::arbitrary(gen); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/utils/arbitrary.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn nonzero_float(gen: &mut quickcheck::Gen) -> f64 { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 30 | pub fn nonzero_float(r#gen: &mut quickcheck::Gen) -> f64 { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/utils/arbitrary.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let float = finite_float(gen); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/utils/arbitrary.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn optional_nonzero_float(gen: &mut quickcheck::Gen) -> Option { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 40 | pub fn optional_nonzero_float(r#gen: &mut quickcheck::Gen) -> Option { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/utils/arbitrary.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | if bool::arbitrary(gen) { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/utils/arbitrary.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | Some(nonzero_float(gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quickcheck::Arbitrary` [INFO] [stdout] --> src/utils/arbitrary.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use quickcheck::Arbitrary; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/arg_parsers/filename.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(path: PathBuf) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/arg_parsers/filename.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl InputFileArg { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(path: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_exists` is never used [INFO] [stdout] --> src/arg_parsers/filename.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn file_exists(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/arg_parsers/filename.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(path: PathBuf) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wondermagick` (lib test) due to 13 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c901491e228ab102df6b1b783d41651bd66b09fdb04bd8fe074ba54a573928ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c901491e228ab102df6b1b783d41651bd66b09fdb04bd8fe074ba54a573928ff", kill_on_drop: false }` [INFO] [stdout] c901491e228ab102df6b1b783d41651bd66b09fdb04bd8fe074ba54a573928ff