[INFO] cloning repository https://github.com/Marwes/haskell-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Marwes/haskell-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarwes%2Fhaskell-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarwes%2Fhaskell-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1dbde0937e65939eae8752605dde52c96a6a6e2 [INFO] checking Marwes/haskell-compiler/c1dbde0937e65939eae8752605dde52c96a6a6e2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarwes%2Fhaskell-compiler" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Marwes/haskell-compiler 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] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/Marwes/haskell-compiler [INFO] finished tweaking git repo https://github.com/Marwes/haskell-compiler [INFO] tweaked toml for git repo https://github.com/Marwes/haskell-compiler written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Marwes/haskell-compiler 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5347f415d492ff81e7acf8400179a85a23622df3cfce95f910e3c181cf839726 [INFO] running `Command { std: "docker" "start" "-a" "5347f415d492ff81e7acf8400179a85a23622df3cfce95f910e3c181cf839726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5347f415d492ff81e7acf8400179a85a23622df3cfce95f910e3c181cf839726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5347f415d492ff81e7acf8400179a85a23622df3cfce95f910e3c181cf839726", kill_on_drop: false }` [INFO] [stdout] 5347f415d492ff81e7acf8400179a85a23622df3cfce95f910e3c181cf839726 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 632737c00029a9f1a69c4249d66653cb9de65fbb8078f79d90a88f6e1232a197 [INFO] running `Command { std: "docker" "start" "-a" "632737c00029a9f1a69c4249d66653cb9de65fbb8078f79d90a88f6e1232a197", 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 log v0.4.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking haskell-compiler v0.0.2 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `haskell_compiler` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] * src/parser.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] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/main.rs:15:6 [INFO] [stderr] | [INFO] [stderr] 15 | ($e:expr_2021, $f:expr_2021, $($p:pat),*) => ({ [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/main.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | ($e:expr_2021, $f:expr_2021, $($p:pat),*) => ({ [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:65:6 [INFO] [stderr] | [INFO] [stderr] 65 | ($e: expr_2021, $p: ident (..)) => ({ [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:71:6 [INFO] [stderr] | [INFO] [stderr] 71 | ($e: expr_2021, $p: ident) => ({ [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:80:6 [INFO] [stderr] | [INFO] [stderr] 80 | ($e: expr_2021, $p: ident ($x: ident)) => ({ [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:89:6 [INFO] [stderr] | [INFO] [stderr] 89 | ($e: expr_2021, $p: pat) => ( [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:98:6 [INFO] [stderr] | [INFO] [stderr] 98 | ($parser: expr_2021, [$($expected: expr_2021),+]) => { unexpected!($parser, $parser.lexer.current().token, $($expected),+) }; [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:98:29 [INFO] [stderr] | [INFO] [stderr] 98 | ($parser: expr_2021, [$($expected: expr_2021),+]) => { unexpected!($parser, $parser.lexer.current().token, $($expected),+) }; [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] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/deriving.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut gen = DerivingGen { name_supply: NameSupply::new() }; [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] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/deriving.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | bindings.push(gen.generate_eq(data)); [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/deriving.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | let b = gen.generate_ord(data); [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] --> src/parser.rs:99:6 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | ($e:expr, $f:expr, $($p:pat),*) => ({ [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] 15 | ($e:expr_2021, $f:expr, $($p:pat),*) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | ($e:expr, $f:expr, $($p:pat),*) => ({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 15 | ($e:expr, $f:expr_2021, $($p:pat),*) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 99 | ($parser: expr_2021, $token: expr_2021, $($expected: expr_2021),+) => { { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | ($e: expr, $p: ident (..)) => ({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 65 | ($e: expr_2021, $p: ident (..)) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | ($e: expr, $p: ident) => ({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 71 | ($e: expr_2021, $p: ident) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused macro definition: `expect1` [INFO] [stdout] --> src/parser.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | macro_rules! expect1 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | ($e: expr, $p: ident ($x: ident)) => ({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 80 | ($e: expr_2021, $p: ident ($x: ident)) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: unused macro definition: `matches` [INFO] [stdout] --> src/parser.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | macro_rules! matches { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | ($e: expr, $p: pat) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 89 | ($e: expr_2021, $p: pat) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | ($parser: expr, [$($expected: expr),+]) => { unexpected!($parser, $parser.lexer.current().token, $($expected),+) }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 98 | ($parser: expr_2021, [$($expected: expr),+]) => { unexpected!($parser, $parser.lexer.current().token, $($expected),+) }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | ($parser: expr, [$($expected: expr),+]) => { unexpected!($parser, $parser.lexer.current().token, $($expected),+) }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 98 | ($parser: expr, [$($expected: expr_2021),+]) => { unexpected!($parser, $parser.lexer.current().token, $($expected),+) }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/parser.rs:99:26 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | ($parser: expr, $token: expr, $($expected: 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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 99 | ($parser: expr_2021, $token: expr, $($expected: expr),+) => { { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | ($parser: expr, $token: expr, $($expected: 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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 99 | ($parser: expr, $token: expr_2021, $($expected: expr),+) => { { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 99 | ($parser: expr_2021, $token: expr_2021, $($expected: expr_2021),+) => { { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:99:48 [INFO] [stdout] | [INFO] [stdout] 99 | ($parser: expr, $token: expr, $($expected: 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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 99 | ($parser: expr, $token: expr, $($expected: expr_2021),+) => { { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: unused imports: `Application` and `Variable` [INFO] [stdout] --> src/core.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::types::Type::{Application, Variable}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused import: `Constructor` [INFO] [stdout] --> src/core.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::module::{Constructor, DataDefinition, TypeDeclaration, Newtype}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: function `tuple_type` is never used [INFO] [stdout] --> src/types.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn tuple_type(n: usize) -> (String, Type) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: method `visit_module` is never used [INFO] [stdout] --> src/module.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 282 | pub trait Visitor : Sized { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 295 | fn visit_module(&mut self, module: &Module) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: function `walk_module` is never used [INFO] [stdout] --> src/module.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn walk_module>(visitor: &mut V, module: &Module) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: method `has_instance` is never used [INFO] [stdout] --> src/typecheck.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Types { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn has_instance(&self, classname: Name, typ: &TcType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: method `valid` is never used [INFO] [stdout] --> src/lexer.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl > Lexer { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn valid(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/parser.rs:99:47 [INFO] [stdout] warning: field `from` is never read [INFO] [stdout] --> src/graph.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Edge { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 24 | from: VertexIndex, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: method `get_assembly` is never used [INFO] [stdout] --> src/vm.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl <'a> VM { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn get_assembly(&self, index: usize) -> &Assembly { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 99 | ($parser: expr_2021, $token: expr_2021, $($expected: expr_2021),+) => { { [INFO] [stdout] warning: associated function `from_expr` is never used [INFO] [stdout] --> src/core.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Module { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 20 | pub fn from_expr(expr: Expr) -> Module { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: method `visit_pattern` is never used [INFO] [stdout] --> src/core.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub trait Visitor : Sized { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 217 | fn visit_pattern(&mut self, _pattern: &Pattern) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: method `visit_pattern` is never used [INFO] [stdout] --> src/core.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub trait Visitor: Sized { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 276 | fn visit_pattern(&mut self, _pattern: &mut Pattern) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: trait `Visitor` is never used [INFO] [stdout] --> src/core.rs:330:15 [INFO] [stdout] | [INFO] [stdout] 330 | pub trait Visitor : Sized { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: function `walk_module` is never used [INFO] [stdout] --> src/core.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn walk_module, Ident>(visitor: &mut V, mut module: Module) -> Module { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: function `walk_binding` is never used [INFO] [stdout] --> src/core.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn walk_binding, Ident>(visitor: &mut V, binding: Binding) -> Binding { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: function `walk_expr` is never used [INFO] [stdout] --> src/core.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn walk_expr, Ident>(visitor: &mut V, expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused macro definition: `expect1` [INFO] [stdout] warning: function `walk_alternative` is never used [INFO] [stdout] --> src/core.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn walk_alternative, Ident>(visitor: &mut V, alt: Alternative) -> Alternative { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/parser.rs:79:14 [INFO] [stdout] warning: function `translate_expr` is never used [INFO] [stdout] --> src/core.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn translate_expr(expr: module::TypedExpr) -> Expr> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/typecheck.rs:554:20 [INFO] [stdout] | [INFO] [stdout] 554 | if let Type::Variable(ref rvar) = **r { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/typecheck.rs:574:17 [INFO] [stdout] | [INFO] [stdout] 574 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 554 ~ match **r { Type::Variable(ref rvar) => { [INFO] [stdout] 555 | constraints.iter() [INFO] [stdout] ... [INFO] [stdout] 573 | .unwrap_or_else(|| self.check_instance_constraints(constraints, &**lvar, &**ltype, new_constraints)) [INFO] [stdout] 574 ~ } _ => { [INFO] [stdout] 575 | Err(intern("Unknown error")) [INFO] [stdout] 576 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 79 | macro_rules! expect1 { [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `matches` [INFO] [stderr] --> src/parser.rs:88:14 [INFO] [stderr] | [INFO] [stderr] 88 | macro_rules! matches { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `haskell_compiler` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] * src/parser.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] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/main.rs:15:6 [INFO] [stderr] | [INFO] [stderr] 15 | ($e:expr_2021, $f:expr_2021, $($p:pat),*) => ({ [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/main.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | ($e:expr_2021, $f:expr_2021, $($p:pat),*) => ({ [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:65:6 [INFO] [stderr] | [INFO] [stderr] 65 | ($e: expr_2021, $p: ident (..)) => ({ [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:71:6 [INFO] [stderr] | [INFO] [stderr] 71 | ($e: expr_2021, $p: ident) => ({ [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:80:6 [INFO] [stderr] | [INFO] [stderr] 80 | ($e: expr_2021, $p: ident ($x: ident)) => ({ [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:89:6 [INFO] [stderr] | [INFO] [stderr] 89 | ($e: expr_2021, $p: pat) => ( [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:98:6 [INFO] [stderr] | [INFO] [stderr] 98 | ($parser: expr_2021, [$($expected: expr_2021),+]) => { unexpected!($parser, $parser.lexer.current().token, $($expected),+) }; [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:98:29 [INFO] [stderr] | [INFO] [stderr] 98 | ($parser: expr_2021, [$($expected: expr_2021),+]) => { unexpected!($parser, $parser.lexer.current().token, $($expected),+) }; [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:99:6 [INFO] [stderr] | [INFO] [stderr] 99 | ($parser: expr_2021, $token: expr_2021, $($expected: 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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:99:26 [INFO] [stderr] | [INFO] [stderr] 99 | ($parser: expr_2021, $token: expr_2021, $($expected: 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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:99:47 [INFO] [stderr] | [INFO] [stderr] 99 | ($parser: expr_2021, $token: expr_2021, $($expected: expr_2021),+) => { { [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/deriving.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut gen = DerivingGen { name_supply: NameSupply::new() }; [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] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/deriving.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | bindings.push(gen.generate_eq(data)); [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] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/deriving.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | let b = gen.generate_ord(data); [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] = 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 macro definition: `expect1` [INFO] [stderr] --> src/parser.rs:79:14 [INFO] [stderr] | [INFO] [stderr] 79 | macro_rules! expect1 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `matches` [INFO] [stderr] --> src/parser.rs:88:14 [INFO] [stderr] | [INFO] [stderr] 88 | macro_rules! matches { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors; 2 warnings 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | ($e:expr, $f:expr, $($p:pat),*) => ({ [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] 15 | ($e:expr_2021, $f:expr, $($p:pat),*) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | ($e:expr, $f:expr, $($p:pat),*) => ({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 15 | ($e:expr, $f:expr_2021, $($p:pat),*) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | ($e: expr, $p: ident (..)) => ({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 65 | ($e: expr_2021, $p: ident (..)) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | ($e: expr, $p: ident) => ({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 71 | ($e: expr_2021, $p: ident) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `expect1` [INFO] [stdout] --> src/parser.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | macro_rules! expect1 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | ($e: expr, $p: ident ($x: ident)) => ({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 80 | ($e: expr_2021, $p: ident ($x: ident)) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `matches` [INFO] [stdout] --> src/parser.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | macro_rules! matches { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | ($e: expr, $p: pat) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 89 | ($e: expr_2021, $p: pat) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | ($parser: expr, [$($expected: expr),+]) => { unexpected!($parser, $parser.lexer.current().token, $($expected),+) }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 98 | ($parser: expr_2021, [$($expected: expr),+]) => { unexpected!($parser, $parser.lexer.current().token, $($expected),+) }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | ($parser: expr, [$($expected: expr),+]) => { unexpected!($parser, $parser.lexer.current().token, $($expected),+) }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 98 | ($parser: expr, [$($expected: expr_2021),+]) => { unexpected!($parser, $parser.lexer.current().token, $($expected),+) }; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | ($parser: expr, $token: expr, $($expected: 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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 99 | ($parser: expr_2021, $token: expr, $($expected: expr),+) => { { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | ($parser: expr, $token: expr, $($expected: 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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 99 | ($parser: expr, $token: expr_2021, $($expected: expr),+) => { { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:99:48 [INFO] [stdout] | [INFO] [stdout] 99 | ($parser: expr, $token: expr, $($expected: 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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 99 | ($parser: expr, $token: expr, $($expected: expr_2021),+) => { { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Application` and `Variable` [INFO] [stdout] --> src/core.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::types::Type::{Application, Variable}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Constructor` [INFO] [stdout] --> src/core.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::module::{Constructor, DataDefinition, TypeDeclaration, Newtype}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_type` is never used [INFO] [stdout] --> src/types.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn tuple_type(n: usize) -> (String, Type) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_type` is never used [INFO] [stdout] --> src/types.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn char_type() -> Type { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_type` is never used [INFO] [stdout] --> src/types.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn int_type() -> Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bool_type` is never used [INFO] [stdout] --> src/types.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn bool_type() -> Type { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `double_type` is never used [INFO] [stdout] --> src/types.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn double_type() -> Type { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_type` is never used [INFO] [stdout] --> src/types.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn function_type(arg: &Type, result: &Type) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `io` is never used [INFO] [stdout] --> src/types.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn io(typ: Type) -> Type { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unit` is never used [INFO] [stdout] --> src/types.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn unit() -> Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visit_module` is never used [INFO] [stdout] --> src/module.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 282 | pub trait Visitor : Sized { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 295 | fn visit_module(&mut self, module: &Module) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_module` is never used [INFO] [stdout] --> src/module.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn walk_module>(visitor: &mut V, module: &Module) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_string` is never used [INFO] [stdout] --> src/compiler.rs:1051:8 [INFO] [stdout] | [INFO] [stdout] 1051 | pub fn compile_string(module: &str) -> Result, ::std::string::String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_instance` is never used [INFO] [stdout] --> src/typecheck.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Types { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn has_instance(&self, classname: Name, typ: &TcType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `typecheck_module_` and `typecheck_expr_` are never used [INFO] [stdout] --> src/typecheck.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl <'a> TypeEnvironment<'a> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn typecheck_module_(&mut self, module: &mut Module) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | pub fn typecheck_expr_(&mut self, expr: &mut TypedExpr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `typecheck_string` is never used [INFO] [stdout] --> src/typecheck.rs:1613:8 [INFO] [stdout] | [INFO] [stdout] 1613 | pub fn typecheck_string(module: &str) -> Result>, ::std::string::String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `valid` is never used [INFO] [stdout] --> src/lexer.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl > Lexer { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn valid(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_string` is never used [INFO] [stdout] --> src/parser.rs:1136:8 [INFO] [stdout] | [INFO] [stdout] 1136 | pub fn parse_string(contents: &str) -> ParseResult> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `from` is never read [INFO] [stdout] --> src/graph.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Edge { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 24 | from: VertexIndex, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_main_string` is never used [INFO] [stdout] --> src/vm.rs:625:8 [INFO] [stdout] | [INFO] [stdout] 625 | pub fn execute_main_string(module: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visitor` is never used [INFO] [stdout] --> src/core.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | pub trait Visitor : Sized { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_module` is never used [INFO] [stdout] --> src/core.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn walk_module, Ident>(visitor: &mut V, module: &Module) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_binding` is never used [INFO] [stdout] --> src/core.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn walk_binding, Ident>(visitor: &mut V, binding: &Binding) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_expr` is never used [INFO] [stdout] --> src/core.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn walk_expr, Ident>(visitor: &mut V, expr: &Expr) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_alternative` is never used [INFO] [stdout] --> src/core.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn walk_alternative, Ident>(visitor: &mut V, alt: &Alternative) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.76s [INFO] [stdout] warning: method `visit_pattern` is never used [INFO] [stdout] --> src/core.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub trait Visitor: Sized { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 276 | fn visit_pattern(&mut self, _pattern: &mut Pattern) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visitor` is never used [INFO] [stdout] --> src/core.rs:330:15 [INFO] [stdout] | [INFO] [stdout] 330 | pub trait Visitor : Sized { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_module` is never used [INFO] [stdout] --> src/core.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn walk_module, Ident>(visitor: &mut V, mut module: Module) -> Module { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_binding` is never used [INFO] [stdout] --> src/core.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn walk_binding, Ident>(visitor: &mut V, binding: Binding) -> Binding { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_expr` is never used [INFO] [stdout] --> src/core.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn walk_expr, Ident>(visitor: &mut V, expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_alternative` is never used [INFO] [stdout] --> src/core.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn walk_alternative, Ident>(visitor: &mut V, alt: Alternative) -> Alternative { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_and_print_expr` is never used [INFO] [stdout] --> src/repl.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn run_and_print_expr(expr_str: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/typecheck.rs:554:20 [INFO] [stdout] | [INFO] [stdout] 554 | if let Type::Variable(ref rvar) = **r { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/typecheck.rs:574:17 [INFO] [stdout] | [INFO] [stdout] 574 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 554 ~ match **r { Type::Variable(ref rvar) => { [INFO] [stdout] 555 | constraints.iter() [INFO] [stdout] ... [INFO] [stdout] 573 | .unwrap_or_else(|| self.check_instance_constraints(constraints, &**lvar, &**ltype, new_constraints)) [INFO] [stdout] 574 ~ } _ => { [INFO] [stdout] 575 | Err(intern("Unknown error")) [INFO] [stdout] 576 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking haskell-compiler v0.0.2 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/deriving.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut gen = DerivingGen { name_supply: NameSupply::new() }; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 9 | let mut r#gen = DerivingGen { name_supply: NameSupply::new() }; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/deriving.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut gen = DerivingGen { name_supply: NameSupply::new() }; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 9 | let mut r#gen = DerivingGen { name_supply: NameSupply::new() }; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/deriving.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | bindings.push(gen.generate_eq(data)); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/deriving.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | bindings.push(gen.generate_eq(data)); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/deriving.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | let b = gen.generate_ord(data); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/deriving.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | let b = gen.generate_ord(data); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `expect1` [INFO] [stdout] --> src/parser.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | macro_rules! expect1 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `matches` [INFO] [stdout] --> src/parser.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | macro_rules! matches { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Application` and `Variable` [INFO] [stdout] --> src/core.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::types::Type::{Application, Variable}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Constructor` [INFO] [stdout] --> src/core.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::module::{Constructor, DataDefinition, TypeDeclaration, Newtype}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `expect1` [INFO] [stdout] --> src/parser.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | macro_rules! expect1 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `matches` [INFO] [stdout] --> src/parser.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | macro_rules! matches { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Application` and `Variable` [INFO] [stdout] --> src/core.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::types::Type::{Application, Variable}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Constructor` [INFO] [stdout] --> src/core.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::module::{Constructor, DataDefinition, TypeDeclaration, Newtype}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `haskell-compiler` (bin "haskell-compiler") due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `haskell-compiler` (bin "haskell-compiler" test) due to 4 previous errors; 4 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" "632737c00029a9f1a69c4249d66653cb9de65fbb8078f79d90a88f6e1232a197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "632737c00029a9f1a69c4249d66653cb9de65fbb8078f79d90a88f6e1232a197", kill_on_drop: false }` [INFO] [stdout] 632737c00029a9f1a69c4249d66653cb9de65fbb8078f79d90a88f6e1232a197