[INFO] cloning repository https://github.com/Maxuss/galevm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Maxuss/galevm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxuss%2Fgalevm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxuss%2Fgalevm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0521d94b08a47d8aa9190b323f69ad8113cf5a3 [INFO] checking Maxuss/galevm/b0521d94b08a47d8aa9190b323f69ad8113cf5a3 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxuss%2Fgalevm" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Maxuss/galevm 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/Maxuss/galevm [INFO] finished tweaking git repo https://github.com/Maxuss/galevm [INFO] tweaked toml for git repo https://github.com/Maxuss/galevm written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Maxuss/galevm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1f1ae6a00d84c5d28fee521ad6934f3951e6313e98bab53728c1e62be28bc33 [INFO] running `Command { std: "docker" "start" "-a" "a1f1ae6a00d84c5d28fee521ad6934f3951e6313e98bab53728c1e62be28bc33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1f1ae6a00d84c5d28fee521ad6934f3951e6313e98bab53728c1e62be28bc33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1f1ae6a00d84c5d28fee521ad6934f3951e6313e98bab53728c1e62be28bc33", kill_on_drop: false }` [INFO] [stdout] a1f1ae6a00d84c5d28fee521ad6934f3951e6313e98bab53728c1e62be28bc33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53d98410471054be2d362b8cc9ee80750edc33ae2b7d67ea7231e894d0ef7add [INFO] running `Command { std: "docker" "start" "-a" "53d98410471054be2d362b8cc9ee80750edc33ae2b7d67ea7231e894d0ef7add", 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 libc v0.2.121 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking galevm v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `galevm` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/tks/expr.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/tks/expr.rs:89:6 [INFO] [stderr] | [INFO] [stderr] 89 | ($tk:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/tks/expr.rs:142:38 [INFO] [stderr] | [INFO] [stderr] 142 | Expression::StaticAccess(path) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/tks/expr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tks/expr.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | ($tk:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 90 | ($tk:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> src/tks/kw.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::visit::{Scope, Visitable, Visitor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/var.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex, MutexGuard}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/visit.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/tks/expr.rs:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | Expression::StaticAccess(path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tks/expr.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | while let Ok(_) = &mut visitor.peek_token() { [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/tks/expr.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tks/expr.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | if let Token::Expression(box expr) = &mut expr { [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/tks/expr.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | } 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] 215 ~ match &mut expr { Token::Expression(box expr) => { [INFO] [stdout] 216 | match expr { [INFO] [stdout] ... [INFO] [stdout] 224 | } [INFO] [stdout] 225 ~ } _ => { [INFO] [stdout] 226 | break; [INFO] [stdout] 227 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tks/expr.rs:238:15 [INFO] [stdout] | [INFO] [stdout] 238 | while let Ok(Token::Expression(expr)) = &mut visitor.peek_token() { [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/tks/expr.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tks/kw.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Literal::Ident(name) = &mut visitor.next_token()?.as_lit_no_ident(visitor, "Expected an element to export!") { [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/tks/kw.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | } 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] 57 ~ match &mut visitor.next_token()?.as_lit_no_ident(visitor, "Expected an element to export!") { Literal::Ident(name) => { [INFO] [stdout] 58 | visitor.export(name.to_owned()); [INFO] [stdout] 59 ~ } _ => { [INFO] [stdout] 60 | bail!("Expected an ident to be exported!") [INFO] [stdout] 61 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tks/kw.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | if let Literal::Ident(name) = &mut visitor.next_token()?.as_lit_no_ident(visitor, "Expected an element to import!") { [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/tks/kw.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | } 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] 64 ~ match &mut visitor.next_token()?.as_lit_no_ident(visitor, "Expected an element to import!") { Literal::Ident(name) => { [INFO] [stdout] 65 | let (scope, name) = name.rsplit_once("::").unwrap(); [INFO] [stdout] ... [INFO] [stdout] 69 | ); [INFO] [stdout] 70 ~ } _ => { [INFO] [stdout] 71 | bail!("Expected an ident to be imported!") [INFO] [stdout] 72 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tks/kw.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | if let Literal::Ident(name) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 76 | | &mut visitor.next_token()?.as_lit("Expected a variable name!") [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/tks/kw.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | } 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] 75 ~ match &mut visitor.next_token()?.as_lit("Expected a variable name!") [INFO] [stdout] 76 ~ { Literal::Ident(name) => { [INFO] [stdout] 77 | let value = visitor [INFO] [stdout] ... [INFO] [stdout] 80 | visitor.add_var(name.to_owned(), value) [INFO] [stdout] 81 ~ } _ => { [INFO] [stdout] 82 | panic!("Expected an ident name for variable!") [INFO] [stdout] 83 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tks/kw.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | if let Literal::Ident(name) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 88 | | &mut visitor.next_token()?.as_lit("Expected a variable name!") [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/tks/kw.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 87 ~ match &mut visitor.next_token()?.as_lit("Expected a variable name!") [INFO] [stdout] 88 ~ { Literal::Ident(name) => { [INFO] [stdout] 89 | let value = visitor [INFO] [stdout] ... [INFO] [stdout] 92 | visitor.add_const(name.to_owned(), value); [INFO] [stdout] 93 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tks/kw.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | let out_ty = if let Literal::TypeName(name) = visitor [INFO] [stdout] | __________________________________^ - [INFO] [stdout] | | _______________________________________________________________| [INFO] [stdout] 101 | || .next_token()? [INFO] [stdout] | ||__________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 102 | | .as_lit("Expected a function output type!") [INFO] [stdout] | |________________________________________________________________^ [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/tks/kw.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | } 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] 100 ~ let out_ty = match visitor [INFO] [stdout] 101 | .next_token()? [INFO] [stdout] 102 | .as_lit("Expected a function output type!") [INFO] [stdout] 103 ~ { Literal::TypeName(name) => { [INFO] [stdout] 104 | name [INFO] [stdout] 105 ~ } _ => { [INFO] [stdout] 106 | panic!("Expected a type name of function's output type!") [INFO] [stdout] 107 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/visit.rs:419:15 [INFO] [stdout] | [INFO] [stdout] 419 | while let Some(tk) = &mut self.tks.pop_back() { [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/visit.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/visit.rs:427:15 [INFO] [stdout] | [INFO] [stdout] 427 | while let Some(tk) = &mut self.tks.pop_front() { [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/visit.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / extern_fns!(visitor { [INFO] [stdout] 39 | | scope "std" { [INFO] [stdout] 40 | | extern fn panic(message) -> void; [INFO] [stdout] 41 | | extern fn exit(code) -> void; [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] = note: this warning originates in the macro `extern_fns` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib/io.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / extern_fns!(visitor { [INFO] [stdout] 48 | | scope "std::io" { [INFO] [stdout] 49 | | extern fn print(value) -> void; [INFO] [stdout] 50 | | extern fn println(value) -> void; [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `extern_fns` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib/math.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / extern_fns!(visitor { [INFO] [stdout] 63 | | scope "std::math" { [INFO] [stdout] 64 | | extern fn min(min, val) -> num; [INFO] [stdout] 65 | | extern fn max(max, val) -> num; [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `extern_fns` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib/strs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / extern_fns!(visitor { [INFO] [stdout] 12 | | scope "std::str" { [INFO] [stdout] 13 | | extern fn stringify(value) -> str; [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `extern_fns` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib/mem.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / extern_fns!(visitor { [INFO] [stdout] 30 | | scope "std::mem" { [INFO] [stdout] 31 | | extern fn transmute(value, ty) -> unknown; [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `extern_fns` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/tks/expr.rs:89:6 [INFO] [stdout] | [INFO] [stdout] 89 | ($tk:expr_2021) => { [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: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/var.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex, MutexGuard}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/tks/expr.rs:142:38 [INFO] [stdout] | [INFO] [stdout] 142 | Expression::StaticAccess(path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 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 `galevm` (lib test) due to 2 previous errors; 2 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" "53d98410471054be2d362b8cc9ee80750edc33ae2b7d67ea7231e894d0ef7add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53d98410471054be2d362b8cc9ee80750edc33ae2b7d67ea7231e894d0ef7add", kill_on_drop: false }` [INFO] [stdout] 53d98410471054be2d362b8cc9ee80750edc33ae2b7d67ea7231e894d0ef7add