[INFO] fetching crate candid_parser 0.2.0-beta.4... [INFO] checking candid_parser-0.2.0-beta.4 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate candid_parser 0.2.0-beta.4 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate candid_parser 0.2.0-beta.4 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 candid_parser 0.2.0-beta.4 [INFO] finished tweaking crates.io crate candid_parser 0.2.0-beta.4 [INFO] tweaked toml for crates.io crate candid_parser 0.2.0-beta.4 written to /workspace/builds/worker-7-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 163 packages to latest compatible versions [INFO] [stderr] Adding fake v2.10.0 (available: v3.0.1) [INFO] [stderr] Adding lalrpop v0.20.2 (available: v0.22.0) [INFO] [stderr] Adding lalrpop-util v0.20.2 (available: v0.22.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.3) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7fe006180793c6326d08ab28efc884bc360a3232a457cd3eaa62223cf5917007 [INFO] running `Command { std: "docker" "start" "-a" "7fe006180793c6326d08ab28efc884bc360a3232a457cd3eaa62223cf5917007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fe006180793c6326d08ab28efc884bc360a3232a457cd3eaa62223cf5917007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fe006180793c6326d08ab28efc884bc360a3232a457cd3eaa62223cf5917007", kill_on_drop: false }` [INFO] [stdout] 7fe006180793c6326d08ab28efc884bc360a3232a457cd3eaa62223cf5917007 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2169ca92bd5efc6d380a3f7cec61315324a659dd3b0286f2a125363967c28688 [INFO] running `Command { std: "docker" "start" "-a" "2169ca92bd5efc6d380a3f7cec61315324a659dd3b0286f2a125363967c28688", 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 serde v1.0.215 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Checking num-modular v0.6.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking num-order v1.2.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking similar-asserts v1.6.0 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking goldenfile v1.7.3 [INFO] [stderr] Compiling logos-codegen v0.14.2 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling logos-derive v0.14.2 [INFO] [stderr] Compiling test-generator v0.3.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking logos v0.14.2 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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 toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking handlebars v6.2.0 [INFO] [stderr] Checking candid v0.10.10 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling candid_parser v0.2.0-beta.4 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `candid_parser` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs [INFO] [stderr] * src/token.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 one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/token.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | use super::super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::grammar::Token [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:8630:31 [INFO] [stderr] | [INFO] [stderr] 8630 | use super::super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::grammar::Token [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:17280:31 [INFO] [stderr] | [INFO] [stderr] 17280 | use super::super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::grammar::Token [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:25647:31 [INFO] [stderr] | [INFO] [stderr] 25647 | use super::super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::grammar::Token [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:34099:31 [INFO] [stderr] | [INFO] [stderr] 34099 | use super::super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::grammar::Token [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:42626:31 [INFO] [stderr] | [INFO] [stderr] 42626 | use super::super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::grammar::Token [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:50911:31 [INFO] [stderr] | [INFO] [stderr] 50911 | use super::super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | TypeInner::Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::grammar::Token [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/token.rs:106:28 [INFO] [stderr] | [INFO] [stderr] 106 | impl std::fmt::Display for Token { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/token.rs:112:33 [INFO] [stderr] | [INFO] [stderr] 112 | fn parse_number(lex: &mut Lexer) -> String { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/token.rs:122:24 [INFO] [stderr] | [INFO] [stderr] 122 | lex: Lexer<'input, Token>, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stderr] --> src/token.rs:126:19 [INFO] [stderr] | [INFO] [stderr] 126 | let lex = Token::lexer(input); [INFO] [stderr] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Var(ref s) => ident(s), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/token.rs:160:49 [INFO] [stderr] | [INFO] [stderr] 160 | pub(crate) type ParserError = ParseError; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/token.rs:173:32 [INFO] [stderr] | [INFO] [stderr] 173 | type Item = Result<(usize, Token, usize), LexicalError>; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | Opt(ref t) => str("IDL.Opt").append(enclose("(", pp_ty(t), ")")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | Vec(ref t) => str("IDL.Vec").append(enclose("(", pp_ty(t), ")")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] --> src/token.rs:182:16 [INFO] [stderr] | [INFO] [stderr] 182 | Ok(Token::StartComment) => { [INFO] [stderr] | ^^^^^ use of undeclared type `Token` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/token.rs:203:40 [INFO] [stderr] | [INFO] [stderr] 203 | self.lex = lex.morph::(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stderr] --> src/token.rs:206:16 [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] | [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | Variant(ref fs) => str("IDL.Variant").append(pp_fields(fs)), [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] 206 | Ok(Token::StartString) => { [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | Func(ref func) => str("IDL.Func").append(pp_function(func)), [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Service(ref serv) => str("IDL.Service").append(pp_service(serv)), [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/token.rs:278:40 [INFO] [stderr] | [INFO] [stderr] 278 | self.lex = lex.morph::(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stderr] --> src/token.rs:279:38 [INFO] [stderr] | [INFO] [stderr] 279 | Some(Ok((span.start, Token::Text(result), self.lex.span().end))) [INFO] [stderr] | ^^^^^ use of undeclared type `Token` [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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/bindings/javascript.rs:246:31 [INFO] [stdout] | [INFO] [stdout] 246 | let init = if let TypeInner::Class(ref args, _) = actor.as_ref() { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | IDLValue::Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | TypeInner::Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | Var(ref s) => escape(s, false), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | Opt(ref t) => str("?").append(pp_ty(t)), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | Vec(ref t) if matches!(t.as_ref(), Nat8) => str("Blob"), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Vec(ref t) => enclose("[", pp_ty(t), "]"), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | Variant(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | Func(ref func) => pp_function(func), [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | Service(ref serv) => pp_service(serv), [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | Class(ref args, ref t) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | Service(ref serv) => doc.append(pp_service(serv)), [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | Var(ref s) => doc.append(s), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | TypeInner::Service(ref serv) => pp_service(serv), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | Var(ref id) => { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | Opt(ref t) => str("Option").append(enclose("<", self.pp_ty(t, is_ref), ">")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | Vec(ref t) if matches!(t.as_ref(), Nat8) => str("serde_bytes::ByteBuf"), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | Vec(ref t) => str("Vec").append(enclose("<", self.pp_ty(t, is_ref), ">")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | Record(ref fs) => self.pp_record_fields(fs, false, is_ref), [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | Variant(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:525:17 [INFO] [stdout] | [INFO] [stdout] 525 | TypeInner::Func(ref f) => enclose("candid::func!(", self.pp_ty_func(f), ")"), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Var(ref id) => { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Opt(ref t) => str("[] | ").append(enclose("[", pp_ty(env, t, is_ref), "]")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Vec(ref t) => { [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | Var(ref id) => { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | Variant(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | TypeInner::Func(ref func) => pp_function(env, func), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | TypeInner::Service(ref serv) => kwd("export interface") [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | TypeInner::Func(ref func) => kwd("export type") [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | TypeInner::Service(ref serv) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/test.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Input::Text(ref s) => Ok(super::parse_idl_args(s)?.annotate_types(true, env, types)?), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/test.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Input::Blob(ref bytes) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/test.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | Input::Blob(ref blob) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: `impl CallbackResult<'s, std::string::String, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [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/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [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] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, bool, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [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/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, char, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [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/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, char, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [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/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/configs.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(state) = self.open_tree.unwrap().state.as_ref() { [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/configs.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | } [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] 85 ~ match self.open_tree.unwrap().state.as_ref() { Some(state) => { [INFO] [stdout] 86 | let delta = self.config.merge_config(state, None); [INFO] [stdout] 87 | let path = self.open_path.clone(); [INFO] [stdout] 88 | self.update_config_source(delta, &path); [INFO] [stdout] 89 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/configs.rs:231:16 [INFO] [stdout] | [INFO] [stdout] 231 | if let Some(subtree) = tree.subtree.get(&path[i]) { [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/configs.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | } 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] 231 ~ match tree.subtree.get(&path[i]) { Some(subtree) => { [INFO] [stdout] 232 | tree = subtree; [INFO] [stdout] 233 | i += 1; [INFO] [stdout] 234 ~ } _ => { [INFO] [stdout] 235 | break; [INFO] [stdout] 236 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `candid_parser` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs [INFO] [stderr] * src/token.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 one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/token.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | use super::super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::grammar::Token [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:8630:31 [INFO] [stderr] | [INFO] [stderr] 8630 | use super::super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::grammar::Token [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:17280:31 [INFO] [stderr] | [INFO] [stderr] 17280 | use super::super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::grammar::Token [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:25647:31 [INFO] [stderr] | [INFO] [stderr] 25647 | use super::super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | TypeInner::Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::grammar::Token [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:34099:31 [INFO] [stderr] | [INFO] [stderr] 34099 | use super::super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::grammar::Token [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:42626:31 [INFO] [stderr] | [INFO] [stderr] 42626 | use super::super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::grammar::Token [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::super::token::Token` [INFO] [stderr] --> /opt/rustwide/target/debug/build/candid_parser-e9d02b014be11a6c/out/grammar.rs:50911:31 [INFO] [stderr] | [INFO] [stderr] 50911 | use super::super::token::{Token, error2, LexicalError, Span}; [INFO] [stderr] | ^^^^^ no `Token` in `token` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::grammar::Token [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/token.rs:106:28 [INFO] [stderr] | [INFO] [stderr] 106 | impl std::fmt::Display for Token { [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Var(ref s) => ident(s), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] | ^^^^^ not found in this scope [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | Opt(ref t) => str("IDL.Opt").append(enclose("(", pp_ty(t), ")")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | Vec(ref t) => str("IDL.Vec").append(enclose("(", pp_ty(t), ")")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] --> src/token.rs:112:33 [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | Variant(ref fs) => str("IDL.Variant").append(pp_fields(fs)), [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] | [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | Func(ref func) => str("IDL.Func").append(pp_function(func)), [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] 112 | fn parse_number(lex: &mut Lexer) -> String { [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Service(ref serv) => str("IDL.Service").append(pp_service(serv)), [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] | ^^^^^ not found in this scope [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:246:31 [INFO] [stdout] | [INFO] [stdout] 246 | let init = if let TypeInner::Class(ref args, _) = actor.as_ref() { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | IDLValue::Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | TypeInner::Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] --> src/token.rs:122:24 [INFO] [stderr] | [INFO] [stderr] 122 | lex: Lexer<'input, Token>, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stderr] --> src/token.rs:126:19 [INFO] [stderr] | [INFO] [stderr] 126 | let lex = Token::lexer(input); [INFO] [stderr] | ^^^^^ use of undeclared type `Token` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/token.rs:160:49 [INFO] [stderr] | [INFO] [stderr] 160 | pub(crate) type ParserError = ParseError; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/token.rs:173:32 [INFO] [stderr] | [INFO] [stderr] 173 | type Item = Result<(usize, Token, usize), LexicalError>; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | Var(ref s) => escape(s, false), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | Opt(ref t) => str("?").append(pp_ty(t)), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] --> src/token.rs:182:16 [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | Vec(ref t) if matches!(t.as_ref(), Nat8) => str("Blob"), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] | [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Vec(ref t) => enclose("[", pp_ty(t), "]"), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] 182 | Ok(Token::StartComment) => { [INFO] [stderr] | ^^^^^ use of undeclared type `Token` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/token.rs:203:40 [INFO] [stderr] | [INFO] [stderr] 203 | self.lex = lex.morph::(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stderr] --> src/token.rs:206:16 [INFO] [stderr] | [INFO] [stderr] 206 | Ok(Token::StartString) => { [INFO] [stderr] | ^^^^^ use of undeclared type `Token` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/token.rs:278:40 [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] | [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | Variant(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] 278 | self.lex = lex.morph::(); [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | Func(ref func) => pp_function(func), [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stderr] --> src/token.rs:279:38 [INFO] [stderr] | [INFO] [stderr] 279 | Some(Ok((span.start, Token::Text(result), self.lex.span().end))) [INFO] [stderr] | ^^^^^ use of undeclared type `Token` [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | Service(ref serv) => pp_service(serv), [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | Class(ref args, ref t) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] Original diagnostics will follow. [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | Service(ref serv) => doc.append(pp_service(serv)), [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | Var(ref s) => doc.append(s), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | TypeInner::Service(ref serv) => pp_service(serv), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | Var(ref id) => { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | Opt(ref t) => str("Option").append(enclose("<", self.pp_ty(t, is_ref), ">")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | Vec(ref t) if matches!(t.as_ref(), Nat8) => str("serde_bytes::ByteBuf"), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | Vec(ref t) => str("Vec").append(enclose("<", self.pp_ty(t, is_ref), ">")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | Record(ref fs) => self.pp_record_fields(fs, false, is_ref), [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | Variant(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:525:17 [INFO] [stdout] | [INFO] [stdout] 525 | TypeInner::Func(ref f) => enclose("candid::func!(", self.pp_ty_func(f), ")"), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Var(ref id) => { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Opt(ref t) => str("[] | ").append(enclose("[", pp_ty(env, t, is_ref), "]")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Vec(ref t) => { [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | Var(ref id) => { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | Variant(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | TypeInner::Func(ref func) => pp_function(env, func), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | TypeInner::Service(ref serv) => kwd("export interface") [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | TypeInner::Func(ref func) => kwd("export type") [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | TypeInner::Service(ref serv) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/test.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Input::Text(ref s) => Ok(super::parse_idl_args(s)?.annotate_types(true, env, types)?), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/test.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Input::Blob(ref bytes) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/test.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | Input::Blob(ref blob) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [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: `impl CallbackResult<'s, std::string::String, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [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/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [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] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, bool, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [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/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, char, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [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/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, char, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [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/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq, Ord, PartialOrd)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/configs.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(state) = self.open_tree.unwrap().state.as_ref() { [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/configs.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | } [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] 85 ~ match self.open_tree.unwrap().state.as_ref() { Some(state) => { [INFO] [stdout] 86 | let delta = self.config.merge_config(state, None); [INFO] [stdout] 87 | let path = self.open_path.clone(); [INFO] [stdout] 88 | self.update_config_source(delta, &path); [INFO] [stdout] 89 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/configs.rs:231:16 [INFO] [stdout] | [INFO] [stdout] 231 | if let Some(subtree) = tree.subtree.get(&path[i]) { [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/configs.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | } 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] 231 ~ match tree.subtree.get(&path[i]) { Some(subtree) => { [INFO] [stdout] 232 | tree = subtree; [INFO] [stdout] 233 | i += 1; [INFO] [stdout] 234 ~ } _ => { [INFO] [stdout] 235 | break; [INFO] [stdout] 236 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.96s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling candid_parser v0.2.0-beta.4 (/tmp/fixit) [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | TypeInner::Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Var(ref s) => ident(s), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | Opt(ref t) => str("IDL.Opt").append(enclose("(", pp_ty(t), ")")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | Vec(ref t) => str("IDL.Vec").append(enclose("(", pp_ty(t), ")")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | Variant(ref fs) => str("IDL.Variant").append(pp_fields(fs)), [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | Func(ref func) => str("IDL.Func").append(pp_function(func)), [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Service(ref serv) => str("IDL.Service").append(pp_service(serv)), [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:246:31 [INFO] [stdout] | [INFO] [stdout] 246 | let init = if let TypeInner::Class(ref args, _) = actor.as_ref() { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | TypeInner::Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Var(ref s) => ident(s), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | IDLValue::Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | Opt(ref t) => str("IDL.Opt").append(enclose("(", pp_ty(t), ")")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | Vec(ref t) => str("IDL.Vec").append(enclose("(", pp_ty(t), ")")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | Variant(ref fs) => str("IDL.Variant").append(pp_fields(fs)), [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | Func(ref func) => str("IDL.Func").append(pp_function(func)), [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Service(ref serv) => str("IDL.Service").append(pp_service(serv)), [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:246:31 [INFO] [stdout] | [INFO] [stdout] 246 | let init = if let TypeInner::Class(ref args, _) = actor.as_ref() { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | TypeInner::Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/javascript.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | IDLValue::Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | Var(ref s) => escape(s, false), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | Opt(ref t) => str("?").append(pp_ty(t)), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | Vec(ref t) if matches!(t.as_ref(), Nat8) => str("Blob"), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Vec(ref t) => enclose("[", pp_ty(t), "]"), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | Variant(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | Func(ref func) => pp_function(func), [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | Service(ref serv) => pp_service(serv), [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | Class(ref args, ref t) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | Service(ref serv) => doc.append(pp_service(serv)), [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | Var(ref s) => doc.append(s), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | TypeInner::Service(ref serv) => pp_service(serv), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | TypeInner::Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | Var(ref s) => escape(s, false), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | Opt(ref t) => str("?").append(pp_ty(t)), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | Vec(ref t) if matches!(t.as_ref(), Nat8) => str("Blob"), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Vec(ref t) => enclose("[", pp_ty(t), "]"), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | Variant(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | Func(ref func) => pp_function(func), [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | Service(ref serv) => pp_service(serv), [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | Class(ref args, ref t) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | Service(ref serv) => doc.append(pp_service(serv)), [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | Var(ref s) => doc.append(s), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/motoko.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | TypeInner::Service(ref serv) => pp_service(serv), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | Var(ref id) => { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | Opt(ref t) => str("Option").append(enclose("<", self.pp_ty(t, is_ref), ">")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | Vec(ref t) if matches!(t.as_ref(), Nat8) => str("serde_bytes::ByteBuf"), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | Vec(ref t) => str("Vec").append(enclose("<", self.pp_ty(t, is_ref), ">")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | Record(ref fs) => self.pp_record_fields(fs, false, is_ref), [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | Variant(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | Var(ref id) => { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | Opt(ref t) => str("Option").append(enclose("<", self.pp_ty(t, is_ref), ">")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | Vec(ref t) if matches!(t.as_ref(), Nat8) => str("serde_bytes::ByteBuf"), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | Vec(ref t) => str("Vec").append(enclose("<", self.pp_ty(t, is_ref), ">")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | Record(ref fs) => self.pp_record_fields(fs, false, is_ref), [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | Variant(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:525:17 [INFO] [stdout] | [INFO] [stdout] 525 | TypeInner::Func(ref f) => enclose("candid::func!(", self.pp_ty_func(f), ")"), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/rust.rs:525:17 [INFO] [stdout] | [INFO] [stdout] 525 | TypeInner::Func(ref f) => enclose("candid::func!(", self.pp_ty_func(f), ")"), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Var(ref id) => { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Opt(ref t) => str("[] | ").append(enclose("[", pp_ty(env, t, is_ref), "]")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Vec(ref t) => { [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | Var(ref id) => { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | Variant(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | TypeInner::Func(ref func) => pp_function(env, func), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | TypeInner::Service(ref serv) => kwd("export interface") [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | TypeInner::Func(ref func) => kwd("export type") [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | TypeInner::Service(ref serv) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Var(ref id) => { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Opt(ref t) => str("[] | ").append(enclose("[", pp_ty(env, t, is_ref), "]")), [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Vec(ref t) => { [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | Var(ref id) => { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Record(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | Variant(ref fs) => { [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | TypeInner::Func(ref func) => pp_function(env, func), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | TypeInner::Service(ref serv) => kwd("export interface") [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | TypeInner::Func(ref func) => kwd("export type") [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/bindings/typescript.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | TypeInner::Service(ref serv) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/test.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Input::Text(ref s) => Ok(super::parse_idl_args(s)?.annotate_types(true, env, types)?), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/test.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Input::Blob(ref bytes) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/test.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | Input::Blob(ref blob) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/test.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Input::Text(ref s) => Ok(super::parse_idl_args(s)?.annotate_types(true, env, types)?), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/test.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Input::Blob(ref bytes) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/test.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | Input::Blob(ref blob) => { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `candid_parser` (lib) due to 43 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `candid_parser` (lib test) due to 43 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" "2169ca92bd5efc6d380a3f7cec61315324a659dd3b0286f2a125363967c28688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2169ca92bd5efc6d380a3f7cec61315324a659dd3b0286f2a125363967c28688", kill_on_drop: false }` [INFO] [stdout] 2169ca92bd5efc6d380a3f7cec61315324a659dd3b0286f2a125363967c28688