[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] building masuke5/rcc against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasuke5%2Frcc" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/masuke5/rcc on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-4-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1920f9bdfd4f207e5c5ee25d8d917bacf3f5e9b2b7d26a53280df9d19576ae0 [INFO] running `Command { std: "docker" "start" "-a" "b1920f9bdfd4f207e5c5ee25d8d917bacf3f5e9b2b7d26a53280df9d19576ae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1920f9bdfd4f207e5c5ee25d8d917bacf3f5e9b2b7d26a53280df9d19576ae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1920f9bdfd4f207e5c5ee25d8d917bacf3f5e9b2b7d26a53280df9d19576ae0", kill_on_drop: false }` [INFO] [stdout] b1920f9bdfd4f207e5c5ee25d8d917bacf3f5e9b2b7d26a53280df9d19576ae0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe60ca916610bd495b6f47aeca3fa09a5ed76799d1537a3c664e074971710c33 [INFO] running `Command { std: "docker" "start" "-a" "fe60ca916610bd495b6f47aeca3fa09a5ed76799d1537a3c664e074971710c33", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.57 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling rgb v0.8.13 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling colored v1.8.0 [INFO] [stderr] Compiling 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.43s [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" "fe60ca916610bd495b6f47aeca3fa09a5ed76799d1537a3c664e074971710c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe60ca916610bd495b6f47aeca3fa09a5ed76799d1537a3c664e074971710c33", kill_on_drop: false }` [INFO] [stdout] fe60ca916610bd495b6f47aeca3fa09a5ed76799d1537a3c664e074971710c33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58fa9c303828ad40c4162da4884e9c47bd59f3fdddebd0c53baa3dc7ed9032e8 [INFO] running `Command { std: "docker" "start" "-a" "58fa9c303828ad40c4162da4884e9c47bd59f3fdddebd0c53baa3dc7ed9032e8", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [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" "58fa9c303828ad40c4162da4884e9c47bd59f3fdddebd0c53baa3dc7ed9032e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58fa9c303828ad40c4162da4884e9c47bd59f3fdddebd0c53baa3dc7ed9032e8", kill_on_drop: false }` [INFO] [stdout] 58fa9c303828ad40c4162da4884e9c47bd59f3fdddebd0c53baa3dc7ed9032e8