[INFO] cloning repository https://github.com/JoshuaRadin37/modular_lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoshuaRadin37/modular_lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fmodular_lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fmodular_lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b3a5165042f23fa89755219dd049d9da2465e7c [INFO] checking JoshuaRadin37/modular_lang/6b3a5165042f23fa89755219dd049d9da2465e7c against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fmodular_lang" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JoshuaRadin37/modular_lang on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JoshuaRadin37/modular_lang [INFO] finished tweaking git repo https://github.com/JoshuaRadin37/modular_lang [INFO] tweaked toml for git repo https://github.com/JoshuaRadin37/modular_lang written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JoshuaRadin37/modular_lang 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b49b8da8b611f57ca70c514265dc28858cb826595e8b7a6f6c036414bc67212 [INFO] running `Command { std: "docker" "start" "-a" "5b49b8da8b611f57ca70c514265dc28858cb826595e8b7a6f6c036414bc67212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b49b8da8b611f57ca70c514265dc28858cb826595e8b7a6f6c036414bc67212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b49b8da8b611f57ca70c514265dc28858cb826595e8b7a6f6c036414bc67212", kill_on_drop: false }` [INFO] [stdout] 5b49b8da8b611f57ca70c514265dc28858cb826595e8b7a6f6c036414bc67212 [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=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11afcf1c54efa4ae429c9615fc402ff4657a24ccbfb15f7d1546225206f68c21 [INFO] running `Command { std: "docker" "start" "-a" "11afcf1c54efa4ae429c9615fc402ff4657a24ccbfb15f7d1546225206f68c21", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking indexed v0.2.0 [INFO] [stderr] Checking modular_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir/lexer) [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> lexer/src/lexing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 195 | lerr!("There must be a following ' in a char literal") [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `lerr` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 218 | _ => lerr!("Unsupported escape code"), [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 221 | Some('\n') => lerr!("Strings must be on the same line"), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 225 | None => lerr!("Non-terminated String"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 313 | lerr!(".. is not a valid operator, needs to be either . or ...") [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `lerr` [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 395 | _ => lerr!("Unsupported character"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 399 | lerr!("No token created!") [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `lerr` [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn is_invariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | fn is_covariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | fn is_contravariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | fn can_cast_to(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Char` is never constructed [INFO] [stdout] --> core/src/types/primitives.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Char; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn is_invariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | fn is_covariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | fn is_contravariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | fn can_cast_to(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Char` is never constructed [INFO] [stdout] --> core/src/types/primitives.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Char; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> lexer/src/lexing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 195 | lerr!("There must be a following ' in a char literal") [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `lerr` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 218 | _ => lerr!("Unsupported escape code"), [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 221 | Some('\n') => lerr!("Strings must be on the same line"), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 225 | None => lerr!("Non-terminated String"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 313 | lerr!(".. is not a valid operator, needs to be either . or ...") [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `lerr` [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 395 | _ => lerr!("Unsupported character"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 399 | lerr!("No token created!") [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `lerr` [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename`, `line_number`, and `column` are never read [INFO] [stdout] --> lexer/src/tokenization.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 23 | token_type: TokenType, [INFO] [stdout] 24 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | column: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> lexer/src/lexing.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LexError(&'static str); [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking trees v0.3.0 [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename`, `line_number`, and `column` are never read [INFO] [stdout] --> lexer/src/tokenization.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 23 | token_type: TokenType, [INFO] [stdout] 24 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | column: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> lexer/src/lexing.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LexError(&'static str); [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> lexer/src/lexing.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | lexer.single_lex(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 437 | let _ = lexer.single_lex(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking virtual_machine v0.1.0 (/opt/rustwide/workdir/virtual_machine) [INFO] [stdout] warning: unused variable: `details` [INFO] [stdout] --> virtual_machine/src/instruction_set/immediate.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | DetailedType(details) => unimplemented!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_details` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `details` [INFO] [stdout] --> virtual_machine/src/instruction_set/immediate.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | DetailedType(details) => unimplemented!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_details` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> virtual_machine/src/memory.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let mut reader = self.static_memory.read().expect("Statics poisoned"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> virtual_machine/src/memory.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let mut reader = self.static_memory.read().expect("Statics poisoned"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> virtual_machine/src/memory.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let mut reader = self.static_memory.read().expect("Statics poisoned"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> virtual_machine/src/memory.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let mut reader = self.static_memory.read().expect("Statics poisoned"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> virtual_machine/src/resolution/types/mod.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let key: &FullIdentifier = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> virtual_machine/src/resolution/types/mod.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let key: &FullIdentifier = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> virtual_machine/src/resolution/types/mod.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let key: &FullIdentifier = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> virtual_machine/src/resolution/types/mod.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let key: &FullIdentifier = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> virtual_machine/src/vm.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | Instruction::Throw(imm) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_imm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MID` is never used [INFO] [stdout] --> virtual_machine/src/memory.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MID: usize = MAX_MEM / 2; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 38 | fn add(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 55 | fn sub(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 72 | fn mul(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 89 | fn div(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 106 | fn rem(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 123 | fn bitand(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 138 | fn bitor(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:154:15 [INFO] [stdout] | [INFO] [stdout] 153 | fn bitxor(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> virtual_machine/src/vm.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | Instruction::Throw(imm) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_imm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/resolution.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn remove(self, other: &Self) -> Result, ()> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let mut self_iter = IntoIterator::into_iter(self); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(Some(FromIterator::from_iter(self_iter))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | std::mem::replace(&mut self.0, next); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 154 | let _ = std::mem::replace(&mut self.0, next); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MID` is never used [INFO] [stdout] --> virtual_machine/src/memory.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MID: usize = MAX_MEM / 2; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/resolution.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 163 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | IdentifierIter(Some(self)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/resolution/functions.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn with_name(name: FullIdentifier) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | FunctionBuilder { [INFO] [stdout] 38 | in_progress: Function { [INFO] [stdout] | __________________________^ [INFO] [stdout] 39 | | identifier: name, [INFO] [stdout] 40 | | parameters: vec![], [INFO] [stdout] 41 | | ret_type: Option::None, [INFO] [stdout] 42 | | instructions: vec![], [INFO] [stdout] 43 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/vm.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 137 | let val: Immediate = self.pop()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | self.push(unsafe { (*immediate).clone() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/vm.rs:312:15 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn execute(&mut self, instructions: Vec, start: usize) -> Result { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 312 | match self.pop()? { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 38 | fn add(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/vm.rs:330:15 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn headless_execute(instructions: Vec, start: usize) -> Result { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 319 | let mut vm = VirtualMachine::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | match vm.pop()? { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 55 | fn sub(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 72 | fn mul(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 89 | fn div(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 106 | fn rem(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 123 | fn bitand(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 138 | fn bitor(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/instruction_set/arithmetic.rs:154:15 [INFO] [stdout] | [INFO] [stdout] 153 | fn bitxor(self, rhs: Immediate) -> Self::Output { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | match (self, rhs) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/resolution.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn remove(self, other: &Self) -> Result, ()> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let mut self_iter = IntoIterator::into_iter(self); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(Some(FromIterator::from_iter(self_iter))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | std::mem::replace(&mut self.0, next); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 154 | let _ = std::mem::replace(&mut self.0, next); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/resolution.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 163 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | IdentifierIter(Some(self)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/resolution/functions.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn with_name(name: FullIdentifier) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | FunctionBuilder { [INFO] [stdout] 38 | in_progress: Function { [INFO] [stdout] | __________________________^ [INFO] [stdout] 39 | | identifier: name, [INFO] [stdout] 40 | | parameters: vec![], [INFO] [stdout] 41 | | ret_type: Option::None, [INFO] [stdout] 42 | | instructions: vec![], [INFO] [stdout] 43 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | Identifier::from("x1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 248 | let _ = Identifier::from("x1"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | Identifier::from("_x"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 249 | let _ = Identifier::from("_x"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | Identifier::from("_1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 250 | let _ = Identifier::from("_1"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | Identifier::from("lights_on"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 251 | let _ = Identifier::from("lights_on"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | Identifier::from("1x"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 257 | let _ = Identifier::from("1x"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | Identifier::from("1 x"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 263 | let _ = Identifier::from("1 x"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | Identifier::from("x#"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 269 | let _ = Identifier::from("x#"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/vm.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 137 | let val: Immediate = self.pop()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | self.push(unsafe { (*immediate).clone() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/vm.rs:312:15 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn execute(&mut self, instructions: Vec, start: usize) -> Result { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 312 | match self.pop()? { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> virtual_machine/src/vm.rs:330:15 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn headless_execute(instructions: Vec, start: usize) -> Result { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 319 | let mut vm = VirtualMachine::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | match vm.pop()? { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `virtual_machine` (lib) due to 15 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `virtual_machine` (lib test) due to 15 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "11afcf1c54efa4ae429c9615fc402ff4657a24ccbfb15f7d1546225206f68c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11afcf1c54efa4ae429c9615fc402ff4657a24ccbfb15f7d1546225206f68c21", kill_on_drop: false }` [INFO] [stdout] 11afcf1c54efa4ae429c9615fc402ff4657a24ccbfb15f7d1546225206f68c21