[INFO] fetching crate calyx-frontend 0.7.1... [INFO] checking calyx-frontend-0.7.1 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate calyx-frontend 0.7.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate calyx-frontend 0.7.1 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate calyx-frontend 0.7.1 [INFO] finished tweaking crates.io crate calyx-frontend 0.7.1 [INFO] tweaked toml for crates.io crate calyx-frontend 0.7.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 103 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding strum v0.25.0 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.25.3 (available: v0.26.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b1488989d24c52aaffff1bec3c2fb5846f41cbe95c318eb95d4a2b3e3c09b52 [INFO] running `Command { std: "docker" "start" "-a" "5b1488989d24c52aaffff1bec3c2fb5846f41cbe95c318eb95d4a2b3e3c09b52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b1488989d24c52aaffff1bec3c2fb5846f41cbe95c318eb95d4a2b3e3c09b52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b1488989d24c52aaffff1bec3c2fb5846f41cbe95c318eb95d4a2b3e3c09b52", kill_on_drop: false }` [INFO] [stdout] 5b1488989d24c52aaffff1bec3c2fb5846f41cbe95c318eb95d4a2b3e3c09b52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0875a17d2fdd0a6a5a2a5594704fe8e944e04ba8cd25aaa3c9266b505cb72f8 [INFO] running `Command { std: "docker" "start" "-a" "b0875a17d2fdd0a6a5a2a5594704fe8e944e04ba8cd25aaa3c9266b505cb72f8", 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 proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking symbol_table v0.3.0 [INFO] [stderr] Checking string-interner v0.14.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking calyx-utils v0.7.1 [INFO] [stderr] Compiling pest_consume_macros v1.1.0 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Checking pest_consume v1.1.3 [INFO] [stderr] Checking calyx-frontend v0.7.1 (/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 `calyx_frontend` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [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: expected identifier [INFO] [stderr] --> src/parser.rs:1253:56 [INFO] [stderr] | [INFO] [stderr] 1253 | ) -> ParseResult + use<>> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `parse_with_userdata` found for struct `CalyxParser` in the current scope [INFO] [stderr] --> src/parser.rs:66:26 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct CalyxParser; [INFO] [stderr] | ---------------------- function or associated item `parse_with_userdata` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 66 | CalyxParser::parse_with_userdata(Rule::file, content, user_data) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `CalyxParser` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `parse_with_userdata`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `pest_consume::Parser` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `file` found for struct `CalyxParser` in the current scope [INFO] [stderr] --> src/parser.rs:82:32 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct CalyxParser; [INFO] [stderr] | ---------------------- function or associated item `file` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 82 | let out = CalyxParser::file(input).map_err(|e| { [INFO] [stderr] | ^^^^ function or associated item not found in `CalyxParser` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `parse_with_userdata` found for struct `CalyxParser` in the current scope [INFO] [stderr] --> src/parser.rs:111:26 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct CalyxParser; [INFO] [stderr] | ---------------------- function or associated item `parse_with_userdata` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 111 | CalyxParser::parse_with_userdata(Rule::file, contents, user_data) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `CalyxParser` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `parse_with_userdata`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `pest_consume::Parser` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `file` found for struct `CalyxParser` in the current scope [INFO] [stderr] --> src/parser.rs:120:32 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct CalyxParser; [INFO] [stderr] | ---------------------- function or associated item `file` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 120 | let out = CalyxParser::file(input).map_err(|e| { [INFO] [stderr] | ^^^^ function or associated item not found in `CalyxParser` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `term` found for struct `CalyxParser` in the current scope [INFO] [stderr] --> src/parser.rs:145:27 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct CalyxParser; [INFO] [stderr] | ---------------------- function or associated item `term` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 145 | Self::term(Node::new_with_user_data(primary, ud.clone())) [INFO] [stderr] | ^^^^ function or associated item not found in `CalyxParser` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `static_term` found for struct `CalyxParser` in the current scope [INFO] [stderr] --> src/parser.rs:167:44 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct CalyxParser; [INFO] [stderr] | ---------------------- function or associated item `static_term` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 167 | Rule::static_term => Self::static_term( [INFO] [stderr] | ^^^^^^^^^^^ function or associated item not found in `CalyxParser` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/lib_sig.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | PrimitiveInfo::Extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____________help: desugar the match ergonomics: `&mut` [INFO] [stdout] | | [INFO] [stdout] 53 | | ref mut is_source, .. [INFO] [stdout] 54 | | } => *is_source = true, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/lib_sig.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | PrimitiveInfo::Inline { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____________help: desugar the match ergonomics: `&mut` [INFO] [stdout] | | [INFO] [stdout] 56 | | ref mut is_source, .. [INFO] [stdout] 57 | | } => *is_source = true, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:1108:24 [INFO] [stdout] | [INFO] [stdout] 1108 | if let Width::Const { value } = pd.width { [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/parser.rs:1115:21 [INFO] [stdout] | [INFO] [stdout] 1115 | } else { [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] 1108 ~ match pd.width { Width::Const { value } => { [INFO] [stdout] 1109 | Ok(PortDef::new( [INFO] [stdout] ... [INFO] [stdout] 1114 | )) [INFO] [stdout] 1115 ~ } _ => { [INFO] [stdout] 1116 | Err(input.error("Components cannot use parameters")) [INFO] [stdout] 1117 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:1141:24 [INFO] [stdout] | [INFO] [stdout] 1141 | if let Width::Const { value } = pd.width { [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/parser.rs:1148:21 [INFO] [stdout] | [INFO] [stdout] 1148 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1141 ~ match pd.width { Width::Const { value } => { [INFO] [stdout] 1142 | Ok(PortDef::new( [INFO] [stdout] ... [INFO] [stdout] 1147 | )) [INFO] [stdout] 1148 ~ } _ => { [INFO] [stdout] 1149 | Err(input.error("Components cannot use parameters")) [INFO] [stdout] 1150 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:1175:24 [INFO] [stdout] | [INFO] [stdout] 1175 | if let Width::Const { value } = pd.width { [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/parser.rs:1182:21 [INFO] [stdout] | [INFO] [stdout] 1182 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1175 ~ match pd.width { Width::Const { value } => { [INFO] [stdout] 1176 | Ok(PortDef::new( [INFO] [stdout] ... [INFO] [stdout] 1181 | )) [INFO] [stdout] 1182 ~ } _ => { [INFO] [stdout] 1183 | Err(input.error("Components cannot use parameters")) [INFO] [stdout] 1184 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/parser.rs:1253:22 [INFO] [stdout] | [INFO] [stdout] 1253 | ) -> ParseResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/parser.rs:1252:16 [INFO] [stdout] | [INFO] [stdout] 1252 | input: Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1253 | ) -> ParseResult + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:1293:32 [INFO] [stdout] | [INFO] [stdout] 1293 | ... if let Some((_, prim_inlines)) = namespace.externs.iter_mut().find(|(filename, _)| filename.is_none()) { [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/parser.rs:1295:29 [INFO] [stdout] | [INFO] [stdout] 1295 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1293 ~ match namespace.externs.iter_mut().find(|(filename, _)| filename.is_none()) { Some((_, prim_inlines)) => { [INFO] [stdout] 1294 | prim_inlines.push(prim) [INFO] [stdout] 1295 ~ } _ => { [INFO] [stdout] 1296 | namespace.externs.push((None, vec![prim])); [INFO] [stdout] 1297 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:1317:32 [INFO] [stdout] | [INFO] [stdout] 1317 | ... if let Some((_, prim_inlines)) = namespace.externs.iter_mut().find(|(filename, _)| filename.is_none()) { [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/parser.rs:1319:29 [INFO] [stdout] | [INFO] [stdout] 1319 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1317 ~ match namespace.externs.iter_mut().find(|(filename, _)| filename.is_none()) { Some((_, prim_inlines)) => { [INFO] [stdout] 1318 | prim_inlines.push(prim) [INFO] [stdout] 1319 ~ } _ => { [INFO] [stdout] 1320 | namespace.externs.push((None, vec![prim])); [INFO] [stdout] 1321 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `calyx_frontend` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/parser.rs [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/lib_sig.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | PrimitiveInfo::Extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____________help: desugar the match ergonomics: `&mut` [INFO] [stdout] | | [INFO] [stdout] 53 | | ref mut is_source, .. [INFO] [stdout] 54 | | } => *is_source = true, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [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: expected identifier [INFO] [stderr] --> src/parser.rs:1253:56 [INFO] [stderr] | [INFO] [stderr] 1253 | ) -> ParseResult + use<>> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `parse_with_userdata` found for struct `CalyxParser` in the current scope [INFO] [stderr] --> src/parser.rs:66:26 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct CalyxParser; [INFO] [stderr] | ---------------------- function or associated item `parse_with_userdata` not found for this struct [INFO] [stderr] ... [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/lib_sig.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | PrimitiveInfo::Inline { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____________help: desugar the match ergonomics: `&mut` [INFO] [stdout] | | [INFO] [stdout] 56 | | ref mut is_source, .. [INFO] [stdout] 57 | | } => *is_source = true, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 66 | CalyxParser::parse_with_userdata(Rule::file, content, user_data) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `CalyxParser` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `parse_with_userdata`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `pest_consume::Parser` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `file` found for struct `CalyxParser` in the current scope [INFO] [stderr] --> src/parser.rs:82:32 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct CalyxParser; [INFO] [stderr] | ---------------------- function or associated item `file` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 82 | let out = CalyxParser::file(input).map_err(|e| { [INFO] [stderr] | ^^^^ function or associated item not found in `CalyxParser` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `parse_with_userdata` found for struct `CalyxParser` in the current scope [INFO] [stderr] --> src/parser.rs:111:26 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct CalyxParser; [INFO] [stderr] | ---------------------- function or associated item `parse_with_userdata` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 111 | CalyxParser::parse_with_userdata(Rule::file, contents, user_data) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `CalyxParser` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `parse_with_userdata`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `pest_consume::Parser` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `file` found for struct `CalyxParser` in the current scope [INFO] [stderr] --> src/parser.rs:120:32 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct CalyxParser; [INFO] [stderr] | ---------------------- function or associated item `file` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 120 | let out = CalyxParser::file(input).map_err(|e| { [INFO] [stderr] | ^^^^ function or associated item not found in `CalyxParser` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:1108:24 [INFO] [stdout] | [INFO] [stdout] 1108 | if let Width::Const { value } = pd.width { [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/parser.rs:1115:21 [INFO] [stdout] | [INFO] [stdout] 1115 | } else { [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] 1108 ~ match pd.width { Width::Const { value } => { [INFO] [stdout] 1109 | Ok(PortDef::new( [INFO] [stdout] ... [INFO] [stdout] 1114 | )) [INFO] [stdout] 1115 ~ } _ => { [INFO] [stdout] 1116 | Err(input.error("Components cannot use parameters")) [INFO] [stdout] 1117 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:1141:24 [INFO] [stdout] | [INFO] [stdout] 1141 | if let Width::Const { value } = pd.width { [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/parser.rs:1148:21 [INFO] [stdout] | [INFO] [stdout] 1148 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1141 ~ match pd.width { Width::Const { value } => { [INFO] [stdout] 1142 | Ok(PortDef::new( [INFO] [stdout] ... [INFO] [stdout] 1147 | )) [INFO] [stdout] 1148 ~ } _ => { [INFO] [stdout] 1149 | Err(input.error("Components cannot use parameters")) [INFO] [stdout] 1150 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0599]: no function or associated item named `term` found for struct `CalyxParser` in the current scope [INFO] [stderr] --> src/parser.rs:145:27 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct CalyxParser; [INFO] [stderr] | ---------------------- function or associated item `term` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 145 | Self::term(Node::new_with_user_data(primary, ud.clone())) [INFO] [stderr] | ^^^^ function or associated item not found in `CalyxParser` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `static_term` found for struct `CalyxParser` in the current scope [INFO] [stderr] --> src/parser.rs:167:44 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct CalyxParser; [INFO] [stderr] | ---------------------- function or associated item `static_term` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 167 | Rule::static_term => Self::static_term( [INFO] [stderr] | ^^^^^^^^^^^ function or associated item not found in `CalyxParser` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:1175:24 [INFO] [stdout] | [INFO] [stdout] 1175 | if let Width::Const { value } = pd.width { [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/parser.rs:1182:21 [INFO] [stdout] | [INFO] [stdout] 1182 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1175 ~ match pd.width { Width::Const { value } => { [INFO] [stdout] 1176 | Ok(PortDef::new( [INFO] [stdout] ... [INFO] [stdout] 1181 | )) [INFO] [stdout] 1182 ~ } _ => { [INFO] [stdout] 1183 | Err(input.error("Components cannot use parameters")) [INFO] [stdout] 1184 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/parser.rs:1253:22 [INFO] [stdout] | [INFO] [stdout] 1253 | ) -> ParseResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/parser.rs:1252:16 [INFO] [stdout] | [INFO] [stdout] 1252 | input: Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1253 | ) -> ParseResult + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:1293:32 [INFO] [stdout] | [INFO] [stdout] 1293 | ... if let Some((_, prim_inlines)) = namespace.externs.iter_mut().find(|(filename, _)| filename.is_none()) { [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/parser.rs:1295:29 [INFO] [stdout] | [INFO] [stdout] 1295 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1293 ~ match namespace.externs.iter_mut().find(|(filename, _)| filename.is_none()) { Some((_, prim_inlines)) => { [INFO] [stdout] 1294 | prim_inlines.push(prim) [INFO] [stdout] 1295 ~ } _ => { [INFO] [stdout] 1296 | namespace.externs.push((None, vec![prim])); [INFO] [stdout] 1297 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:1317:32 [INFO] [stdout] | [INFO] [stdout] 1317 | ... if let Some((_, prim_inlines)) = namespace.externs.iter_mut().find(|(filename, _)| filename.is_none()) { [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/parser.rs:1319:29 [INFO] [stdout] | [INFO] [stdout] 1319 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1317 ~ match namespace.externs.iter_mut().find(|(filename, _)| filename.is_none()) { Some((_, prim_inlines)) => { [INFO] [stdout] 1318 | prim_inlines.push(prim) [INFO] [stdout] 1319 ~ } _ => { [INFO] [stdout] 1320 | namespace.externs.push((None, vec![prim])); [INFO] [stdout] 1321 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.99s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking calyx-frontend v0.7.1 (/tmp/fixit) [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/lib_sig.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | PrimitiveInfo::Extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____________help: desugar the match ergonomics: `&mut` [INFO] [stdout] | | [INFO] [stdout] 53 | | ref mut is_source, .. [INFO] [stdout] 54 | | } => *is_source = true, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/lib_sig.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | PrimitiveInfo::Inline { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____________help: desugar the match ergonomics: `&mut` [INFO] [stdout] | | [INFO] [stdout] 56 | | ref mut is_source, .. [INFO] [stdout] 57 | | } => *is_source = true, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `calyx-frontend` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/lib_sig.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | PrimitiveInfo::Extern { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____________help: desugar the match ergonomics: `&mut` [INFO] [stdout] | | [INFO] [stdout] 53 | | ref mut is_source, .. [INFO] [stdout] 54 | | } => *is_source = true, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/lib_sig.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | PrimitiveInfo::Inline { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____________help: desugar the match ergonomics: `&mut` [INFO] [stdout] | | [INFO] [stdout] 56 | | ref mut is_source, .. [INFO] [stdout] 57 | | } => *is_source = true, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `calyx-frontend` (lib test) due to 2 previous errors [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" "b0875a17d2fdd0a6a5a2a5594704fe8e944e04ba8cd25aaa3c9266b505cb72f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0875a17d2fdd0a6a5a2a5594704fe8e944e04ba8cd25aaa3c9266b505cb72f8", kill_on_drop: false }` [INFO] [stdout] b0875a17d2fdd0a6a5a2a5594704fe8e944e04ba8cd25aaa3c9266b505cb72f8