[INFO] cloning repository https://github.com/Robert-M-Lucas/whython-8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Robert-M-Lucas/whython-8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobert-M-Lucas%2Fwhython-8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobert-M-Lucas%2Fwhython-8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ceedd400c1f423576873c7656eeb31d6af90debb [INFO] checking Robert-M-Lucas/whython-8/ceedd400c1f423576873c7656eeb31d6af90debb against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobert-M-Lucas%2Fwhython-8" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Robert-M-Lucas/whython-8 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Robert-M-Lucas/whython-8 [INFO] finished tweaking git repo https://github.com/Robert-M-Lucas/whython-8 [INFO] tweaked toml for git repo https://github.com/Robert-M-Lucas/whython-8 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Robert-M-Lucas/whython-8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 667e841435b9d5e919273c5e5c02665ba3f927cea704f31df20b92b355dad688 [INFO] running `Command { std: "docker" "start" "-a" "667e841435b9d5e919273c5e5c02665ba3f927cea704f31df20b92b355dad688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "667e841435b9d5e919273c5e5c02665ba3f927cea704f31df20b92b355dad688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "667e841435b9d5e919273c5e5c02665ba3f927cea704f31df20b92b355dad688", kill_on_drop: false }` [INFO] [stdout] 667e841435b9d5e919273c5e5c02665ba3f927cea704f31df20b92b355dad688 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c126342d78a7d8d2328a62ece77da7ac0b04e89ed4fdf22a8edfe91f65e3177 [INFO] running `Command { std: "docker" "start" "-a" "8c126342d78a7d8d2328a62ece77da7ac0b04e89ed4fdf22a8edfe91f65e3177", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking brownstone v3.0.0 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking joinery v2.1.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking b-box v0.1.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking clap_builder v4.5.11 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Checking termsize v0.1.9 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking nom-supreme v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling unique-type-id-derive v1.3.0 [INFO] [stderr] Compiling color-print-proc-macro v0.3.6 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive-getters v0.5.0 [INFO] [stderr] Checking unique-type-id v1.3.0 [INFO] [stderr] Checking color-print v0.3.6 [INFO] [stderr] Checking clap v4.5.11 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking whython-8 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `whython_8` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/root/compiler/global_tracker.rs [INFO] [stderr] * src/root/errors/mod.rs [INFO] [stderr] * src/root/name_resolver/name_resolvers.rs [INFO] [stderr] * src/root/name_resolver/resolve.rs [INFO] [stderr] * src/root/parser/parse_toplevel.rs [INFO] [stderr] * src/root/parser/path_storage.rs [INFO] [stderr] * src/root/utils/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/root/utils/mod.rs:38:6 [INFO] [stderr] | [INFO] [stderr] 38 | ($out: expr_2021, $($tts:tt)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/root/compiler/global_tracker.rs:17:50 [INFO] [stderr] | [INFO] [stderr] 16 | impl<'a> GlobalTracker<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 17 | pub fn new(path_storage: &'a PathStorage) -> GlobalTracker { [INFO] [stderr] | ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/root/errors/mod.rs:72:73 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn with_context<'a>(&'a self, path_storage: &'a PathStorage) -> WErrContext { [INFO] [stderr] | -- lifetime `'a` declared here ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/root/parser/parse_toplevel.rs:16:58 [INFO] [stderr] | [INFO] [stderr] 16 | pub type ToplevelTestFn<'a> = fn(Span<'a>) -> ParseResult, TopLevelTokens>; [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `global_tracker` [INFO] [stderr] --> src/root/name_resolver/name_resolvers.rs:403:9 [INFO] [stderr] | [INFO] [stderr] 403 | global_tracker: &GlobalTracker, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_tracker` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `main_file` [INFO] [stderr] --> src/root/name_resolver/resolve.rs:51:5 [INFO] [stderr] | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/root/compiler/global_tracker.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> GlobalTracker<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 17 | pub fn new(path_storage: &'a PathStorage) -> GlobalTracker { [INFO] [stdout] | ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 51 | main_file: bool, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `last` [INFO] [stderr] --> src/root/parser/path_storage.rs:145:18 [INFO] [stderr] | [INFO] [stderr] 145 | let Some(last) = path_span.chars().last() else { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_last` [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/root/errors/mod.rs:72:73 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn with_context<'a>(&'a self, path_storage: &'a PathStorage) -> WErrContext { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_getters::Getters` [INFO] [stdout] --> src/root/name_resolver/name_resolvers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_getters::Getters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::root::compiler::global_tracker::GlobalTracker` [INFO] [stdout] --> src/root/name_resolver/resolve_function_signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::root::compiler::global_tracker::GlobalTracker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::root::compiler::global_tracker::GlobalTracker` [INFO] [stdout] --> src/root/name_resolver/resolve_names.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::root::compiler::global_tracker::GlobalTracker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/root/parser/parse_toplevel.rs:16:58 [INFO] [stdout] | [INFO] [stdout] 16 | pub type ToplevelTestFn<'a> = fn(Span<'a>) -> ParseResult, TopLevelTokens>; [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/root/utils/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | ($out: expr, $($tts:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 38 | ($out: expr_2021, $($tts:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_tracker` [INFO] [stdout] --> src/root/name_resolver/name_resolvers.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | global_tracker: &GlobalTracker, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_tracker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_file` [INFO] [stdout] --> src/root/name_resolver/resolve.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | main_file: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last` [INFO] [stdout] --> src/root/parser/path_storage.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | let Some(last) = path_span.chars().last() else { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toplevel` is never used [INFO] [stdout] --> src/root/assembler/assembly_builder.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl AssemblyBuilder { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn toplevel(&mut self, line: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `functions_mut` is never used [INFO] [stdout] --> src/root/compiler/global_tracker.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> GlobalTracker<'a> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn functions_mut(&mut self) -> &mut HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/root/name_resolver/name_resolvers.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | File(FileID), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | File(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_local_variable_unnamed` is never used [INFO] [stdout] --> src/root/name_resolver/name_resolvers.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl GlobalTable { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn add_local_variable_unnamed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/root/name_resolver/resolve_names.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct UserType { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ToLocation` is never used [INFO] [stdout] --> src/root/parser/location.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ToLocation<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_location`, `from_span`, and `into_location` are never used [INFO] [stdout] --> src/root/parser/location.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> ToLocation<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn from_location(location: Location) -> ToLocation<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn from_span(span: Span<'a>) -> ToLocation<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn into_location(self) -> Location { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/root/parser/location.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | enum ErrorLocation { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 56 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `none` and `has_location` are never used [INFO] [stdout] --> src/root/parser/location.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl LocationTyped { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn none() -> LocationTyped { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn has_location(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_simple` and `into_inner` are never used [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl UnresolvedTypeRefToken { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 62 | pub fn from_simple( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn into_inner(self) -> FullNameToken { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_evaluable` is never used [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl FullNameToken { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn into_evaluable(self) -> EvaluableToken { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | StaticAccess(Box, SimpleNameToken), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FullNameTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 124 | StaticAccess(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | DynamicAccess(Box, SimpleNameToken), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FullNameTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 125 | DynamicAccess(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_evaluable_token` is never used [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl FullNameTokens { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 129 | pub fn into_evaluable_token(self) -> EvaluableTokens { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_if.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct IfToken { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_initialisation.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct InitialisationToken { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 16 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitialisationToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_prefix_opt_t` is never used [INFO] [stdout] --> src/root/parser/parse_function/parse_operator.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl OperatorToken { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 60 | pub fn is_prefix_opt_t(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_prefix_op` and `is_infix_op` are never used [INFO] [stdout] --> src/root/parser/parse_function/parse_operator.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl OperatorTokens { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 97 | pub fn is_prefix_op(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_infix_op(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_while.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WhileToken { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 16 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_indirection` and `immediate` are never used [INFO] [stdout] --> src/root/shared/common.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TypeID { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 11 | pub fn with_indirection(self, elements: usize, indirection: usize) -> TypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn immediate(self, elements: usize) -> TypeRef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `plus` and `minus` are never used [INFO] [stdout] --> src/root/shared/common.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Indirection { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn plus(&self, amount: usize) -> Indirection { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn minus(&self, amount: usize) -> Indirection { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_array` is never used [INFO] [stdout] --> src/root/shared/common.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl TypeRef { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn is_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | if let Err(e) = fs::create_dir_all(path) { [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/root.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | } [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] 61 ~ match fs::create_dir_all(path) { Err(e) => { [INFO] [stdout] 62 | if !matches!(e.kind(), ErrorKind::AlreadyExists) { [INFO] [stdout] ... [INFO] [stdout] 65 | } [INFO] [stdout] 66 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root/compiler/compile_function.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let return_type = if let Some(t) = return_type { [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/root/compiler/compile_function.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | } 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] 33 ~ let return_type = match return_type { Some(t) => { [INFO] [stdout] 34 | Some(global_table.resolve_to_type_ref(&t, None)?) [INFO] [stdout] 35 ~ } _ => { [INFO] [stdout] 36 | None [INFO] [stdout] 37 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `args:` in this pattern is redundant [INFO] [stdout] --> src/root/compiler/evaluation/into.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | args: args, [INFO] [stdout] | ^^^^^^^^^^ help: use shorthand field pattern: `args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `args:` in this pattern is redundant [INFO] [stdout] --> src/root/compiler/evaluation/new.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | args: args, [INFO] [stdout] | ^^^^^^^^^^ help: use shorthand field pattern: `args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root/name_resolver/resolve.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some((file_id, tokens)) = ast.remove_entry(&file_id) { [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/root/name_resolver/resolve.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | } 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] 113 ~ match ast.remove_entry(&file_id) { Some((file_id, tokens)) => { [INFO] [stdout] 114 | resolve_file( [INFO] [stdout] ... [INFO] [stdout] 125 | Ok(()) [INFO] [stdout] 126 ~ } _ => { [INFO] [stdout] 127 | process_order.push(file_id); [INFO] [stdout] ... [INFO] [stdout] 132 | WErr::ne(NRErrs::CircularImport(s), location.clone()) [INFO] [stdout] 133 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root/parser/parse_function.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | let (s, return_type) = if let Ok((s, _)) = tag::<_, _, ErrorTree>("->")(s) { [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/root/parser/parse_function.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | } 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] 73 ~ let (s, return_type) = match tag::<_, _, ErrorTree>("->")(s) { Ok((s, _)) => { [INFO] [stdout] 74 | let (s, _) = discard_ignored(s)?; [INFO] [stdout] ... [INFO] [stdout] 77 | (discard_ignored(s)?.0, Some(return_type)) [INFO] [stdout] 78 ~ } _ => { [INFO] [stdout] 79 | (s, None) [INFO] [stdout] 80 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | if let Ok((ns, _)) = char::('&')(ns) { [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/root/parser/parse_function/parse_evaluable.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | } 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] 175 ~ match char::('&')(ns) { Ok((ns, _)) => { [INFO] [stdout] 176 | indirection += 1; [INFO] [stdout] 177 | s = ns; [INFO] [stdout] 178 ~ } _ => { [INFO] [stdout] 179 | s = ns; [INFO] [stdout] 180 | break; [INFO] [stdout] 181 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:246:16 [INFO] [stdout] | [INFO] [stdout] 246 | if let Ok((ns, _)) = char::<_, ErrorTree>(';')(ns) { [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/root/parser/parse_function/parse_evaluable.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 246 ~ match char::<_, ErrorTree>(';')(ns) { Ok((ns, _)) => { [INFO] [stdout] 247 | if evaluables.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 258 | break; [INFO] [stdout] 259 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | let ns = if let Ok((ns, inner)) = parse_terminator_default_set(s, &BRACKET_TERMINATOR) { [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/root/parser/parse_function/parse_evaluable.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 285 ~ let ns = match parse_terminator_default_set(s, &BRACKET_TERMINATOR) { Ok((ns, inner)) => { [INFO] [stdout] 286 | let (_, evaluable) = parse_evaluable(inner, containing_class, false)?; [INFO] [stdout] 287 | evaluables.push((TempEvaluableTokensOne::EvaluableToken(evaluable), inner)); [INFO] [stdout] 288 | ns [INFO] [stdout] 289 ~ } _ => { [INFO] [stdout] 290 | let t_span = ns; [INFO] [stdout] ... [INFO] [stdout] 356 | ns [INFO] [stdout] 357 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root/parser/parse_function/parse_if.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let ns = if let Ok((ns, _)) = tag::<_, _, ErrorTree>("else")(ns) { [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/root/parser/parse_function/parse_if.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | } 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] 54 ~ let ns = match tag::<_, _, ErrorTree>("else")(ns) { Ok((ns, _)) => { [INFO] [stdout] 55 | ns [INFO] [stdout] 56 ~ } _ => { [INFO] [stdout] 57 | s = ns; [INFO] [stdout] 58 | break; [INFO] [stdout] 59 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root/parser/parse_function/parse_if.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | let (ns, condition) = if let Ok((ns, _)) = (require_ignored, tag("if")).parse(ns) { [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/root/parser/parse_function/parse_if.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | } 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] 61 ~ let (ns, condition) = match (require_ignored, tag("if")).parse(ns) { Ok((ns, _)) => { [INFO] [stdout] 62 | let (ns, _) = discard_ignored(ns)?; [INFO] [stdout] ... [INFO] [stdout] 65 | (ns, Some(condition)) [INFO] [stdout] 66 ~ } _ => { [INFO] [stdout] 67 | (ns, None) [INFO] [stdout] 68 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root/parser/parse_function/parse_if.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(condition) = condition { [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/root/parser/parse_function/parse_if.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | } 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] 76 ~ match condition { Some(condition) => { [INFO] [stdout] 77 | elifs.push((condition, contents)); [INFO] [stdout] 78 ~ } _ => { [INFO] [stdout] 79 | // ? Handle else [INFO] [stdout] ... [INFO] [stdout] 89 | )); [INFO] [stdout] 90 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root/parser/parse_function/parse_operator.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | if let Ok((s, x)) = tag::<_, _, ErrorTree>(operator)(s) { [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/root/parser/parse_function/parse_operator.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 166 ~ match tag::<_, _, ErrorTree>(operator)(s) { Ok((s, x)) => { [INFO] [stdout] 167 | return Ok(( [INFO] [stdout] ... [INFO] [stdout] 173 | )); [INFO] [stdout] 174 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root/parser/parse_parameters.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | if let Ok((ns, _)) = char::('&')(s) { [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/root/parser/parse_parameters.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | } 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] 39 ~ match char::('&')(s) { Ok((ns, _)) => { [INFO] [stdout] 40 | has_ref = true; [INFO] [stdout] 41 | ns [INFO] [stdout] 42 ~ } _ => { [INFO] [stdout] 43 | s [INFO] [stdout] 44 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root/parser/parse_util.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if let Ok((ns, _)) = multispace1::<_, ErrorTree>(s) { [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/root/parser/parse_util.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 27 ~ match multispace1::<_, ErrorTree>(s) { Ok((ns, _)) => { [INFO] [stdout] 28 | s = ns; [INFO] [stdout] 29 | found = true; [INFO] [stdout] 30 | // ever_found = true; [INFO] [stdout] 31 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root/parser/parse_util.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | if let Ok((ns, _)) = multispace1::<_, ErrorTree>(s) { [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/root/parser/parse_util.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 49 ~ match multispace1::<_, ErrorTree>(s) { Ok((ns, _)) => { [INFO] [stdout] 50 | s = ns; [INFO] [stdout] 51 | found = true; [INFO] [stdout] 52 | ever_found = true; [INFO] [stdout] 53 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/root/parser/path_storage.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | while let Ok((rem, c)) = anychar::<_, ErrorTree>(path_rem) { [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/root/parser/path_storage.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/root/utils/mod.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | ($out: expr_2021, $($tts:tt)*) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #123742 for more information [INFO] [stdout] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/root/compiler/global_tracker.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> GlobalTracker<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 17 | pub fn new(path_storage: &'a PathStorage) -> GlobalTracker { [INFO] [stdout] | ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/root/errors/mod.rs:72:73 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn with_context<'a>(&'a self, path_storage: &'a PathStorage) -> WErrContext { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/root/parser/parse_toplevel.rs:16:58 [INFO] [stdout] | [INFO] [stdout] 16 | pub type ToplevelTestFn<'a> = fn(Span<'a>) -> ParseResult, TopLevelTokens>; [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_tracker` [INFO] [stdout] --> src/root/name_resolver/name_resolvers.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | global_tracker: &GlobalTracker, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_tracker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_file` [INFO] [stdout] --> src/root/name_resolver/resolve.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | main_file: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last` [INFO] [stdout] --> src/root/parser/path_storage.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | let Some(last) = path_span.chars().last() else { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `whython-8` (bin "whython-8" test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8c126342d78a7d8d2328a62ece77da7ac0b04e89ed4fdf22a8edfe91f65e3177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c126342d78a7d8d2328a62ece77da7ac0b04e89ed4fdf22a8edfe91f65e3177", kill_on_drop: false }` [INFO] [stdout] 8c126342d78a7d8d2328a62ece77da7ac0b04e89ed4fdf22a8edfe91f65e3177