[INFO] cloning repository https://github.com/masuke5/rcc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/masuke5/rcc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasuke5%2Frcc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasuke5%2Frcc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c40a6779dcd7c88563edf7e0aae538b03204a64a [INFO] checking masuke5/rcc against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasuke5%2Frcc" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/masuke5/rcc on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/masuke5/rcc [INFO] finished tweaking git repo https://github.com/masuke5/rcc [INFO] tweaked toml for git repo https://github.com/masuke5/rcc written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/masuke5/rcc 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40b02c217bd793428beab5be5c32fd813c241d9d6f667089664d61072f7a2e5d [INFO] running `Command { std: "docker" "start" "-a" "40b02c217bd793428beab5be5c32fd813c241d9d6f667089664d61072f7a2e5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40b02c217bd793428beab5be5c32fd813c241d9d6f667089664d61072f7a2e5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40b02c217bd793428beab5be5c32fd813c241d9d6f667089664d61072f7a2e5d", kill_on_drop: false }` [INFO] [stdout] 40b02c217bd793428beab5be5c32fd813c241d9d6f667089664d61072f7a2e5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6e5ff4c6460f2e1ddcd0f676a48783b16f2b3fd6435e088414e1f271baf7fe0 [INFO] running `Command { std: "docker" "start" "-a" "e6e5ff4c6460f2e1ddcd0f676a48783b16f2b3fd6435e088414e1f271baf7fe0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.57 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking rgb v0.8.13 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking rcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 144 | Type::Float => add_mnemonic!(self, "movss [rsp], {}", reg), [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: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 145 | Type::Double => add_mnemonic!(self, "movsd [rsp], {}", reg), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 166 | Location::Local(offset) => add_mnemonic!(self, "mov rax, [rbp-{}]", offset), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 187 | Location::Local(offset) => add_mnemonic!(self, "lea rax, [rbp-{}]", offset), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 188 | Location::Global(name) => add_mnemonic!(self, "lea rax, {}", self.id_map.name(&name)), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 408 | Infix::Add => add_mnemonic!(self, "addsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 409 | Infix::Sub => add_mnemonic!(self, "subsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 410 | Infix::Mul => add_mnemonic!(self, "mulsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 411 | Infix::Div => add_mnemonic!(self, "divsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 460 | Infix::Add => add_mnemonic!(self, "addss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 461 | Infix::Sub => add_mnemonic!(self, "subss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 462 | Infix::Mul => add_mnemonic!(self, "mulss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 463 | Infix::Div => add_mnemonic!(self, "divss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 537 | Infix::Add => add_mnemonic!(self, "add rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 538 | Infix::Sub => add_mnemonic!(self, "sub rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 539 | Infix::Mul => add_mnemonic!(self, "imul rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 549 | Infix::BitAnd => add_mnemonic!(self, "and rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 550 | Infix::BitOr => add_mnemonic!(self, "or rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 551 | Infix::BitXor => add_mnemonic!(self, "xor rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:43:71 [INFO] [stdout] | [INFO] [stdout] 43 | $self.code.push_str(&format!(concat!($prefix, "{}:\n"), $num)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 914 | add_label!(self, ".Lend", label_num) [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 `add_label` [INFO] [stdout] = note: this warning originates in the macro `add_label` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1112 | (Type::Int, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".int {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 144 | Type::Float => add_mnemonic!(self, "movss [rsp], {}", reg), [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: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 145 | Type::Double => add_mnemonic!(self, "movsd [rsp], {}", reg), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 166 | Location::Local(offset) => add_mnemonic!(self, "mov rax, [rbp-{}]", offset), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 187 | Location::Local(offset) => add_mnemonic!(self, "lea rax, [rbp-{}]", offset), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 188 | Location::Global(name) => add_mnemonic!(self, "lea rax, {}", self.id_map.name(&name)), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 408 | Infix::Add => add_mnemonic!(self, "addsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 409 | Infix::Sub => add_mnemonic!(self, "subsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 410 | Infix::Mul => add_mnemonic!(self, "mulsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 411 | Infix::Div => add_mnemonic!(self, "divsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 460 | Infix::Add => add_mnemonic!(self, "addss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 461 | Infix::Sub => add_mnemonic!(self, "subss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1113 | (Type::Char, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".byte {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 462 | Infix::Mul => add_mnemonic!(self, "mulss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1114 | (Type::Short, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".value {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1115 | (Type::Long, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".quad {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1116 | (Type::Pointer(_), ExprKind::Address(variable)) => add_mnemonic!(self, ".quad {}", self.id_map.name(&global!(variable))), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | ... "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1120 | ...r)), ExprKind::Literal(Literal::String(num))) => add_mnemonic!(self, ".quad .Ltext{}", num), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 463 | Infix::Div => add_mnemonic!(self, "divss xmm0, xmm1"), [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 `add_mnemonic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bind_by_move_pattern_guards` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns, bind_by_move_pattern_guards)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 537 | Infix::Add => add_mnemonic!(self, "add rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 538 | Infix::Sub => add_mnemonic!(self, "sub rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 539 | Infix::Mul => add_mnemonic!(self, "imul rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 549 | Infix::BitAnd => add_mnemonic!(self, "and rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 550 | Infix::BitOr => add_mnemonic!(self, "or rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 551 | Infix::BitXor => add_mnemonic!(self, "xor rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:43:71 [INFO] [stdout] | [INFO] [stdout] 43 | $self.code.push_str(&format!(concat!($prefix, "{}:\n"), $num)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 914 | add_label!(self, ".Lend", label_num) [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 `add_label` [INFO] [stdout] = note: this warning originates in the macro `add_label` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1112 | (Type::Int, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".int {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1113 | (Type::Char, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".byte {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1114 | (Type::Short, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".value {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1115 | (Type::Long, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".quad {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1116 | (Type::Pointer(_), ExprKind::Address(variable)) => add_mnemonic!(self, ".quad {}", self.id_map.name(&global!(variable))), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | ... "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1120 | ...r)), ExprKind::Literal(Literal::String(num))) => add_mnemonic!(self, ".quad .Ltext{}", num), [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 `add_mnemonic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bind_by_move_pattern_guards` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns, bind_by_move_pattern_guards)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop_xmm` is never used [INFO] [stdout] --> src/gen.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Generator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | fn pop_xmm(&mut self, reg: &'static str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `global_variables` is never read [INFO] [stdout] --> src/ast.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 277 | pub declarations: Vec, [INFO] [stdout] 278 | pub global_variables: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` 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 `end_line` is never read [INFO] [stdout] --> src/error.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Span { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub end_line: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Span` 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: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/sema.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | / mem::replace(expr, Expr { [INFO] [stdout] 77 | | kind: ExprKind::Literal(Literal::Number(inner_expr.ty().get_size() as i64)), [INFO] [stdout] 78 | | ty: Some(Type::Int), [INFO] [stdout] 79 | | span: inner_expr.span.clone(), [INFO] [stdout] 80 | | }); [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] 76 | let _ = mem::replace(expr, Expr { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop_xmm` is never used [INFO] [stdout] --> src/gen.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Generator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | fn pop_xmm(&mut self, reg: &'static str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `global_variables` is never read [INFO] [stdout] --> src/ast.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 277 | pub declarations: Vec, [INFO] [stdout] 278 | pub global_variables: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` 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 `end_line` is never read [INFO] [stdout] --> src/error.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Span { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub end_line: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Span` 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: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/sema.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | / mem::replace(expr, Expr { [INFO] [stdout] 77 | | kind: ExprKind::Literal(Literal::Number(inner_expr.ty().get_size() as i64)), [INFO] [stdout] 78 | | ty: Some(Type::Int), [INFO] [stdout] 79 | | span: inner_expr.span.clone(), [INFO] [stdout] 80 | | }); [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] 76 | let _ = mem::replace(expr, Expr { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e6e5ff4c6460f2e1ddcd0f676a48783b16f2b3fd6435e088414e1f271baf7fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6e5ff4c6460f2e1ddcd0f676a48783b16f2b3fd6435e088414e1f271baf7fe0", kill_on_drop: false }` [INFO] [stdout] e6e5ff4c6460f2e1ddcd0f676a48783b16f2b3fd6435e088414e1f271baf7fe0 [INFO] checking masuke5/rcc against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasuke5%2Frcc" "/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/masuke5/rcc on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/masuke5/rcc [INFO] finished tweaking git repo https://github.com/masuke5/rcc [INFO] tweaked toml for git repo https://github.com/masuke5/rcc written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/masuke5/rcc 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69e6b7a518af123e678bf7185cbe51dc5eaa306b751020b043d3f4355fc74a9c [INFO] running `Command { std: "docker" "start" "-a" "69e6b7a518af123e678bf7185cbe51dc5eaa306b751020b043d3f4355fc74a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69e6b7a518af123e678bf7185cbe51dc5eaa306b751020b043d3f4355fc74a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69e6b7a518af123e678bf7185cbe51dc5eaa306b751020b043d3f4355fc74a9c", kill_on_drop: false }` [INFO] [stdout] 69e6b7a518af123e678bf7185cbe51dc5eaa306b751020b043d3f4355fc74a9c [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 -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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22aa4bf91bbcaaa87f70beb2be85485ea563549b7c8fb503f9ce12e2e6bd9beb [INFO] running `Command { std: "docker" "start" "-a" "22aa4bf91bbcaaa87f70beb2be85485ea563549b7c8fb503f9ce12e2e6bd9beb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.57 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking rgb v0.8.13 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking rcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 144 | Type::Float => add_mnemonic!(self, "movss [rsp], {}", reg), [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: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 145 | Type::Double => add_mnemonic!(self, "movsd [rsp], {}", reg), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 166 | Location::Local(offset) => add_mnemonic!(self, "mov rax, [rbp-{}]", offset), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 187 | Location::Local(offset) => add_mnemonic!(self, "lea rax, [rbp-{}]", offset), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 188 | Location::Global(name) => add_mnemonic!(self, "lea rax, {}", self.id_map.name(&name)), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 408 | Infix::Add => add_mnemonic!(self, "addsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 409 | Infix::Sub => add_mnemonic!(self, "subsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 410 | Infix::Mul => add_mnemonic!(self, "mulsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 411 | Infix::Div => add_mnemonic!(self, "divsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 460 | Infix::Add => add_mnemonic!(self, "addss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 461 | Infix::Sub => add_mnemonic!(self, "subss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 462 | Infix::Mul => add_mnemonic!(self, "mulss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 463 | Infix::Div => add_mnemonic!(self, "divss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 537 | Infix::Add => add_mnemonic!(self, "add rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 538 | Infix::Sub => add_mnemonic!(self, "sub rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 539 | Infix::Mul => add_mnemonic!(self, "imul rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 549 | Infix::BitAnd => add_mnemonic!(self, "and rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 550 | Infix::BitOr => add_mnemonic!(self, "or rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 551 | Infix::BitXor => add_mnemonic!(self, "xor rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:43:71 [INFO] [stdout] | [INFO] [stdout] 43 | $self.code.push_str(&format!(concat!($prefix, "{}:\n"), $num)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 914 | add_label!(self, ".Lend", label_num) [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 `add_label` [INFO] [stdout] = note: this warning originates in the macro `add_label` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1112 | (Type::Int, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".int {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1113 | (Type::Char, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".byte {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1114 | (Type::Short, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".value {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1115 | (Type::Long, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".quad {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1116 | (Type::Pointer(_), ExprKind::Address(variable)) => add_mnemonic!(self, ".quad {}", self.id_map.name(&global!(variable))), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | ... "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1120 | ...r)), ExprKind::Literal(Literal::String(num))) => add_mnemonic!(self, ".quad .Ltext{}", num), [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 `add_mnemonic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bind_by_move_pattern_guards` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns, bind_by_move_pattern_guards)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 144 | Type::Float => add_mnemonic!(self, "movss [rsp], {}", reg), [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: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 145 | Type::Double => add_mnemonic!(self, "movsd [rsp], {}", reg), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 166 | Location::Local(offset) => add_mnemonic!(self, "mov rax, [rbp-{}]", offset), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 187 | Location::Local(offset) => add_mnemonic!(self, "lea rax, [rbp-{}]", offset), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 188 | Location::Global(name) => add_mnemonic!(self, "lea rax, {}", self.id_map.name(&name)), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 408 | Infix::Add => add_mnemonic!(self, "addsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 409 | Infix::Sub => add_mnemonic!(self, "subsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 410 | Infix::Mul => add_mnemonic!(self, "mulsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 411 | Infix::Div => add_mnemonic!(self, "divsd xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 460 | Infix::Add => add_mnemonic!(self, "addss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 461 | Infix::Sub => add_mnemonic!(self, "subss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 462 | Infix::Mul => add_mnemonic!(self, "mulss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 463 | Infix::Div => add_mnemonic!(self, "divss xmm0, xmm1"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 537 | Infix::Add => add_mnemonic!(self, "add rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 538 | Infix::Sub => add_mnemonic!(self, "sub rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 539 | Infix::Mul => add_mnemonic!(self, "imul rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 549 | Infix::BitAnd => add_mnemonic!(self, "and rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 550 | Infix::BitOr => add_mnemonic!(self, "or rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | $self.code.push_str(concat!(" ", $s, "\n")); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 551 | Infix::BitXor => add_mnemonic!(self, "xor rax, rdi"), [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 `add_mnemonic` (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] --> src/gen.rs:43:71 [INFO] [stdout] | [INFO] [stdout] 43 | $self.code.push_str(&format!(concat!($prefix, "{}:\n"), $num)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 914 | add_label!(self, ".Lend", label_num) [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 `add_label` [INFO] [stdout] = note: this warning originates in the macro `add_label` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1112 | (Type::Int, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".int {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1113 | (Type::Char, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".byte {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1114 | (Type::Short, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".value {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1115 | (Type::Long, ExprKind::Literal(Literal::Number(num))) => add_mnemonic!(self, ".quad {}", num), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | $self.code.push_str(&format!(concat!(" ", $fmt, "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1116 | (Type::Pointer(_), ExprKind::Address(variable)) => add_mnemonic!(self, ".quad {}", self.id_map.name(&global!(variable))), [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 `add_mnemonic` (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] --> src/gen.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | ... "\n"), $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1120 | ...r)), ExprKind::Literal(Literal::String(num))) => add_mnemonic!(self, ".quad .Ltext{}", num), [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 `add_mnemonic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bind_by_move_pattern_guards` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns, bind_by_move_pattern_guards)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop_xmm` is never used [INFO] [stdout] --> src/gen.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Generator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | fn pop_xmm(&mut self, reg: &'static str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `global_variables` is never read [INFO] [stdout] --> src/ast.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 277 | pub declarations: Vec, [INFO] [stdout] 278 | pub global_variables: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` 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 `end_line` is never read [INFO] [stdout] --> src/error.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Span { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub end_line: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Span` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] --> src/parser.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | ty: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 555 | let kind = if let Some(ident) = ident { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 556 | match self.find_var(&ident) { [INFO] [stdout] 557 | Some(var) => ExprKind::Address(var.clone()), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 563 | new_expr!(self, kind) [INFO] [stdout] | --------------------- in this macro invocation [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] = note: this error originates in the macro `new_expr` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> src/parser.rs:794:31 [INFO] [stdout] | [INFO] [stdout] 789 | let expr = self.parse_expr(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 794 | StmtKind::While(expr, Box::new(self.parse_stmt())) [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] --> src/parser.rs:831:47 [INFO] [stdout] | [INFO] [stdout] 802 | let init_stmt = if let Some(stmt) = self.expect_define_stmt() { [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] ... [INFO] [stdout] 805 | let expr = self.parse_expr(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 814 | let cond = if !self.consume(TokenKind::Semicolon) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 815 | let expr = self.parse_expr(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 823 | let expr3 = if !self.consume(TokenKind::Semicolon) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 831 | StmtKind::For(init_stmt, cond, expr3, Box::new(self.parse_stmt())) [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] --> src/parser.rs:902:14 [INFO] [stdout] | [INFO] [stdout] 858 | let ty = self.expect_type(false, true)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 862 | let mut ty = ty; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 882 | let initializer = if self.consume(TokenKind::Assign) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 901 | let var = self.define_variable(&ident, &ty, false); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 902 | Some(StmtKind::Define(var, initializer)) [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] --> src/parser.rs:973:39 [INFO] [stdout] | [INFO] [stdout] 962 | let expr = self.parse_expr(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 966 | let stmt = self.parse_stmt(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 972 | let cases = mem::replace(&mut self.cases, Vec::new()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 973 | StmtKind::Switch(expr, cases, Box::new(stmt), has_default) [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] --> src/parser.rs:1135:14 [INFO] [stdout] | [INFO] [stdout] 1094 | fn parse_global_var_decl(&mut self, ty: Type, ident: &Id, is_static: bool) -> Option { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1095 | // 添字演算子があったら配列型にする [INFO] [stdout] 1096 | let mut ty = ty; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1114 | let initializer = if self.consume(TokenKind::Assign) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1133 | let variable = Variable::new(ty, Location::Global(*ident)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1134 | self.global_variables.insert(*ident, variable.clone()); [INFO] [stdout] 1135 | Some(DeclarationKind::GlobalVariable(variable, initializer, is_static)) [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] --> src/sema.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | / mem::replace(expr, Expr { [INFO] [stdout] 77 | | kind: ExprKind::Literal(Literal::Number(inner_expr.ty().get_size() as i64)), [INFO] [stdout] 78 | | ty: Some(Type::Int), [INFO] [stdout] 79 | | span: inner_expr.span.clone(), [INFO] [stdout] 80 | | }); [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] 76 | let _ = mem::replace(expr, Expr { [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] --> src/sema.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 137 | let args_ = args.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Some(func.return_type.clone()) [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 7 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop_xmm` is never used [INFO] [stdout] --> src/gen.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Generator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | fn pop_xmm(&mut self, reg: &'static str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `global_variables` is never read [INFO] [stdout] --> src/ast.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 277 | pub declarations: Vec, [INFO] [stdout] 278 | pub global_variables: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` 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 `end_line` is never read [INFO] [stdout] --> src/error.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Span { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub end_line: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Span` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] --> src/parser.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | ty: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 555 | let kind = if let Some(ident) = ident { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 556 | match self.find_var(&ident) { [INFO] [stdout] 557 | Some(var) => ExprKind::Address(var.clone()), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 563 | new_expr!(self, kind) [INFO] [stdout] | --------------------- in this macro invocation [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] = note: this error originates in the macro `new_expr` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> src/parser.rs:794:31 [INFO] [stdout] | [INFO] [stdout] 789 | let expr = self.parse_expr(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 794 | StmtKind::While(expr, Box::new(self.parse_stmt())) [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] --> src/parser.rs:831:47 [INFO] [stdout] | [INFO] [stdout] 802 | let init_stmt = if let Some(stmt) = self.expect_define_stmt() { [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] ... [INFO] [stdout] 805 | let expr = self.parse_expr(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 814 | let cond = if !self.consume(TokenKind::Semicolon) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 815 | let expr = self.parse_expr(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 823 | let expr3 = if !self.consume(TokenKind::Semicolon) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 831 | StmtKind::For(init_stmt, cond, expr3, Box::new(self.parse_stmt())) [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] --> src/parser.rs:902:14 [INFO] [stdout] | [INFO] [stdout] 858 | let ty = self.expect_type(false, true)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 862 | let mut ty = ty; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 882 | let initializer = if self.consume(TokenKind::Assign) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 901 | let var = self.define_variable(&ident, &ty, false); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 902 | Some(StmtKind::Define(var, initializer)) [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] --> src/parser.rs:973:39 [INFO] [stdout] | [INFO] [stdout] 962 | let expr = self.parse_expr(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 966 | let stmt = self.parse_stmt(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 972 | let cases = mem::replace(&mut self.cases, Vec::new()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 973 | StmtKind::Switch(expr, cases, Box::new(stmt), has_default) [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] --> src/parser.rs:1135:14 [INFO] [stdout] | [INFO] [stdout] 1094 | fn parse_global_var_decl(&mut self, ty: Type, ident: &Id, is_static: bool) -> Option { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1095 | // 添字演算子があったら配列型にする [INFO] [stdout] 1096 | let mut ty = ty; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1114 | let initializer = if self.consume(TokenKind::Assign) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1133 | let variable = Variable::new(ty, Location::Global(*ident)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1134 | self.global_variables.insert(*ident, variable.clone()); [INFO] [stdout] 1135 | Some(DeclarationKind::GlobalVariable(variable, initializer, is_static)) [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] [stderr] error: could not compile `rcc` (bin "rcc" test) due to 8 previous errors; 57 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/sema.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | / mem::replace(expr, Expr { [INFO] [stdout] 77 | | kind: ExprKind::Literal(Literal::Number(inner_expr.ty().get_size() as i64)), [INFO] [stdout] 78 | | ty: Some(Type::Int), [INFO] [stdout] 79 | | span: inner_expr.span.clone(), [INFO] [stdout] 80 | | }); [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] 76 | let _ = mem::replace(expr, Expr { [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] --> src/sema.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 137 | let args_ = args.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Some(func.return_type.clone()) [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 7 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rcc` (bin "rcc") due to 8 previous errors; 57 warnings emitted [INFO] running `Command { std: "docker" "inspect" "22aa4bf91bbcaaa87f70beb2be85485ea563549b7c8fb503f9ce12e2e6bd9beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22aa4bf91bbcaaa87f70beb2be85485ea563549b7c8fb503f9ce12e2e6bd9beb", kill_on_drop: false }` [INFO] [stdout] 22aa4bf91bbcaaa87f70beb2be85485ea563549b7c8fb503f9ce12e2e6bd9beb