[INFO] updating cached repository https://github.com/Lapz/tox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76df92fe9c1fe48a9831cdceb465673a29a3cd14 [INFO] checking Lapz/tox/76df92fe9c1fe48a9831cdceb465673a29a3cd14 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLapz%2Ftox" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lapz/tox on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lapz/tox [INFO] finished tweaking git repo https://github.com/Lapz/tox [INFO] tweaked toml for git repo https://github.com/Lapz/tox written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Lapz/tox 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9160ff1d9c7d222425867084dc2875a5b17b3c55159e591f6bb438523e4ef53a [INFO] running `Command { std: "docker" "start" "-a" "9160ff1d9c7d222425867084dc2875a5b17b3c55159e591f6bb438523e4ef53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9160ff1d9c7d222425867084dc2875a5b17b3c55159e591f6bb438523e4ef53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9160ff1d9c7d222425867084dc2875a5b17b3c55159e591f6bb438523e4ef53a", kill_on_drop: false }` [INFO] [stdout] 9160ff1d9c7d222425867084dc2875a5b17b3c55159e591f6bb438523e4ef53a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6dfcb4d31a22bd97b9370cf43781455b6e672ff3f3a87e79479b46f0445b750 [INFO] running `Command { std: "docker" "start" "-a" "c6dfcb4d31a22bd97b9370cf43781455b6e672ff3f3a87e79479b46f0445b750", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking maybe-uninit v2.0.0 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Checking memoffset v0.5.4 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking thin-dst v1.1.0 [INFO] [stderr] Checking text_unit v0.1.10 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking smol_str v0.1.15 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking codespan-reporting v0.9.2 (https://github.com/Lapz/codespan#da024a67) [INFO] [stderr] Checking codespan-reporting v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking rowan v0.9.1 [INFO] [stderr] Checking ryu v1.0.5 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking memchr v2.3.3 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.63 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking unic-common v0.7.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking unic-char-range v0.7.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unic-char-property v0.7.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unic-ucd-version v0.7.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking unic-ucd-segment v0.7.0 [INFO] [stderr] Checking terminal_size v0.1.12 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.63 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking console v0.10.3 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking unic-segment v0.7.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking heck v0.3.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking addr2line v0.12.1 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.63 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling salsa-macros v0.14.1 [INFO] [stderr] Compiling tracing-attributes v0.1.13 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.63 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Checking tracing v0.1.24 [INFO] [stderr] Checking salsa v0.14.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.63 [INFO] [stderr] Checking errors v0.1.0 (/opt/rustwide/workdir/errors) [INFO] [stderr] Checking syntax v0.1.0 (/opt/rustwide/workdir/syntax) [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir/parser) [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking semant v0.1.0 (/opt/rustwide/workdir/semant) [INFO] [stderr] Checking serde_yaml v0.8.12 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking ron v0.4.2 [INFO] [stderr] Checking ron v0.5.1 [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> semant/src/resolver/class.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data::FunctionData` [INFO] [stdout] --> semant/src/resolver.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use data::FunctionData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> semant/src/resolver/class.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data::FunctionData` [INFO] [stdout] --> semant/src/resolver.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use data::FunctionData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tracing-subscriber v0.2.16 [INFO] [stderr] Checking insta v0.16.0 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> semant/src/lower/function.rs:220:114 [INFO] [stdout] | [INFO] [stdout] 220 | op @ hir::BinOp::PlusEqual | op @ hir::BinOp::DivEqual | op @hir::BinOp::MinusEqual | op @ hir::BinOp::DivEqual => { [INFO] [stdout] | -------------------- matches all the relevant values ^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking codegen v0.1.0 (/opt/rustwide/workdir/codegen) [INFO] [stderr] Checking tox-wasm v0.1.0 (/opt/rustwide/workdir/tox-wasm) [INFO] [stderr] Checking ir v0.1.0 (/opt/rustwide/workdir/ir) [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `l` [INFO] [stdout] --> ir/src/builder.rs:269:36 [INFO] [stdout] | [INFO] [stdout] 269 | self.expr(expr)l; [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `l` [INFO] [stdout] --> ir/src/builder.rs:269:36 [INFO] [stdout] | [INFO] [stdout] 269 | self.expr(expr)l; [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db::File` [INFO] [stdout] --> codegen/src/db.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use errors::{db::File, FileId, WithError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> ir/src/builder.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use semant::{Function, IndexMap, InferDataMap, Span, StackedMap, Typed}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Name` [INFO] [stdout] --> ir/src/builder.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use semant::hir::{Literal, Name, NameId, UnaryOp,self,}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ir::Instruction` [INFO] [stdout] --> ir/src/db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ir::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> ir/src/builder.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use semant::{Function, IndexMap, InferDataMap, Span, StackedMap, Typed}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Name` [INFO] [stdout] --> ir/src/builder.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use semant::hir::{Literal, Name, NameId, UnaryOp,self,}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ir::Instruction` [INFO] [stdout] --> ir/src/db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ir::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db::File` [INFO] [stdout] --> codegen/src/db.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use errors::{db::File, FileId, WithError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolver` [INFO] [stdout] --> tox-wasm/src/lib.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | let WithError(resolver, mut errors) = db.resolve_source_file(handle); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolver` [INFO] [stdout] --> tox-wasm/src/lib.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | let WithError(resolver, mut errors) = db.resolve_source_file(handle); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: Eq` is not satisfied [INFO] [stdout] --> ir/src/ir.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq, Clone, Eq)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 18 | f_bits: f32, [INFO] [stdout] | ^^^^^^^^^^^ the trait `Eq` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Eq`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `AssertParamIsEq` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cmp.rs:358:1 [INFO] [stdout] = note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pats` [INFO] [stdout] --> ir/src/builder.rs:391:36 [INFO] [stdout] | [INFO] [stdout] 391 | Pattern::Tuple(pats) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> ir/src/builder.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | for (i, param) in function.params.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gp` [INFO] [stdout] --> codegen/src/hir.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let gp = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bp` [INFO] [stdout] --> codegen/src/hir.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let bp = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: Eq` is not satisfied [INFO] [stdout] --> ir/src/ir.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq, Clone, Eq)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 18 | f_bits: f32, [INFO] [stdout] | ^^^^^^^^^^^ the trait `Eq` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Eq`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `AssertParamIsEq` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cmp.rs:358:1 [INFO] [stdout] = note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> codegen/src/hir.rs:309:33 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn push_args(&mut self, args: &[Typed],ret:&Type) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> codegen/src/hir.rs:309:54 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn push_args(&mut self, args: &[Typed],ret:&Type) -> std::io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gp` [INFO] [stdout] --> codegen/src/hir.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let gp = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bp` [INFO] [stdout] --> codegen/src/hir.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let bp = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pats` [INFO] [stdout] --> ir/src/builder.rs:391:36 [INFO] [stdout] | [INFO] [stdout] 391 | Pattern::Tuple(pats) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> ir/src/builder.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | for (i, param) in function.params.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> codegen/src/hir.rs:852:13 [INFO] [stdout] | [INFO] [stdout] 465 | Expr::Index { base, index } => { [INFO] [stdout] | --------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 852 | Expr::Index { base, index } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ir` (lib test) due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> codegen/src/hir.rs:457:34 [INFO] [stdout] | [INFO] [stdout] 457 | Expr::Call { callee, args, .. } => { [INFO] [stdout] | ^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gp` [INFO] [stdout] --> codegen/src/hir.rs:461:25 [INFO] [stdout] | [INFO] [stdout] 461 | let mut gp = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fp` [INFO] [stdout] --> codegen/src/hir.rs:462:25 [INFO] [stdout] | [INFO] [stdout] 462 | let mut fp = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> codegen/src/hir.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | Expr::Array(items) => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> codegen/src/hir.rs:836:37 [INFO] [stdout] | [INFO] [stdout] 836 | Literal::String(string) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> codegen/src/hir.rs:852:27 [INFO] [stdout] | [INFO] [stdout] 852 | Expr::Index { base, index } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> codegen/src/hir.rs:852:33 [INFO] [stdout] | [INFO] [stdout] 852 | Expr::Index { base, index } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> codegen/src/hir.rs:309:33 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn push_args(&mut self, args: &[Typed],ret:&Type) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> codegen/src/hir.rs:309:54 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn push_args(&mut self, args: &[Typed],ret:&Type) -> std::io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> codegen/src/hir.rs:852:13 [INFO] [stdout] | [INFO] [stdout] 465 | Expr::Index { base, index } => { [INFO] [stdout] | --------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 852 | Expr::Index { base, index } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> codegen/src/hir.rs:457:34 [INFO] [stdout] | [INFO] [stdout] 457 | Expr::Call { callee, args, .. } => { [INFO] [stdout] | ^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gp` [INFO] [stdout] --> codegen/src/hir.rs:461:25 [INFO] [stdout] | [INFO] [stdout] 461 | let mut gp = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fp` [INFO] [stdout] --> codegen/src/hir.rs:462:25 [INFO] [stdout] | [INFO] [stdout] 462 | let mut fp = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> codegen/src/hir.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | Expr::Array(items) => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> codegen/src/hir.rs:836:37 [INFO] [stdout] | [INFO] [stdout] 836 | Literal::String(string) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> codegen/src/hir.rs:852:27 [INFO] [stdout] | [INFO] [stdout] 852 | Expr::Index { base, index } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> codegen/src/hir.rs:852:33 [INFO] [stdout] | [INFO] [stdout] 852 | Expr::Index { base, index } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> codegen/src/hir.rs:461:21 [INFO] [stdout] | [INFO] [stdout] 461 | let mut gp = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> codegen/src/hir.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 462 | let mut fp = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> codegen/src/hir.rs:860:19 [INFO] [stdout] | [INFO] [stdout] 860 | let WithError(program, mut errors) = db.lower(file_id); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolver` [INFO] [stdout] --> codegen/src/hir.rs:861:19 [INFO] [stdout] | [INFO] [stdout] 861 | let WithError(resolver, _) = db.resolve_source_file(file_id); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GP_MAX` is never used [INFO] [stdout] --> codegen/src/hir.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const GP_MAX: isize = 6; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FP_MAX` is never used [INFO] [stdout] --> codegen/src/hir.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const FP_MAX: isize = 8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id` and `frame_info` are never read [INFO] [stdout] --> codegen/src/hir.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) struct Codegen { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | file_id: FileId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 43 | frame_info: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Codegen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_addr`, `push_args`, and `store` are never used [INFO] [stdout] --> codegen/src/hir.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 87 | / impl<'a, DB> Codegen<&'a DB> [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | DB: CodegenDatabase, [INFO] [stdout] | |________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn get_addr(&mut self, pat: &Typed) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn push_args(&mut self, args: &[Typed],ret:&Type) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn store(&mut self, ty: &Type) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ir` (lib) due to 3 previous errors; 5 warnings emitted [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | emit!(self, ".text")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | emit!(self, ".globl _main"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | emit!(self, ".globl _main"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | emit!(self, "_main:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | emit!(self, "_main:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | emit!(self, "{}:", name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | emit!(self, "{}:", name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | emit!(self, "push %rbp"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | emit!(self, "push %rbp"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | emit!(self, "mov %rsp, %rbp"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | emit!(self, "mov %rsp, %rbp"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | emit!(self, "sub ${}, %rsp", frame.stack_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | emit!(self, "sub ${}, %rsp", frame.stack_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | emit!(self, "lea format(%rip), %rdi")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | emit!(self, "mov (%rax), %esi")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | emit!(self, "xor %eax, %eax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | emit!(self, "call _printf")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | emit!(self, ".L.return.{}:", name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | emit!(self, ".L.return.{}:", name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | emit!(self, "push %rax") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | emit!(self, "sub $8, %rsp")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | emit!(self, "movsd %xmm0, (%rsp)") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | emit!(self, "movsd (%rsp), %xmm{}", reg)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | emit!(self, "add $8, %rsp") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | emit!(self, "movq %rax, {}(%rbp)", offset)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | emit!(self, "movq {}(%rbp), %rax", info.offset)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | emit!(self, "movss %rax, %xmm0")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 300 | 1 => emit!(self, "movsbl (%rax), %eax"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 301 | 2 => emit!(self, "movswl (%rax), %eax"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:302:18 [INFO] [stdout] | [INFO] [stdout] 302 | 4 => emit!(self, "movslq (%rax), %rax"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | emit!(self, "mov (%rax), %rax") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | emit!(self, "pop %rdi"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | emit!(self, "pop %rdi"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | emit!(self, "movss %xmm0, (%rdi)")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:362:18 [INFO] [stdout] | [INFO] [stdout] 362 | 1 => emit!(self, "mov %al, (%rdi)"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:363:18 [INFO] [stdout] | [INFO] [stdout] 363 | 2 => emit!(self, "mov %ax, (%rdi)"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:364:18 [INFO] [stdout] | [INFO] [stdout] 364 | 4 => emit!(self, "mov %eax, (%rdi)"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | emit!(self, "mov %rax, (%rdi)") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | emit!(self, "xorps %xmm1, %xmm1")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | emit!(self, "ucomiss %xmm1, %xmm0") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | emit!(self, "cmp $0, %eax") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | emit!(self, "cmp $0, %rax") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | emit!(self, "popq $rdx")?; // base address [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 476 | emit!(self, "movq (%rdx, %rax,{}) , %rax ", base.ty.size())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:480:49 [INFO] [stdout] | [INFO] [stdout] 480 | Some(LoopInfo { after, .. }) => emit!(self, "jmp {}", after)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:485:49 [INFO] [stdout] | [INFO] [stdout] 485 | Some(LoopInfo { start, .. }) => emit!(self, "jmp {}", start)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | emit!(self, "jz {}", else_expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | emit!(self, "jz {}", else_expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 505 | emit!(self, "jmp {}", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:507:17 [INFO] [stdout] | [INFO] [stdout] 507 | emit!(self, "{}:", else_expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | emit!(self, "{}:", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | emit!(self, "jz {}", after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | emit!(self, "jz {}", after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:525:17 [INFO] [stdout] | [INFO] [stdout] 525 | emit!(self, "{}:", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:536:17 [INFO] [stdout] | [INFO] [stdout] 536 | emit!(self, "{}:", start); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:536:17 [INFO] [stdout] | [INFO] [stdout] 536 | emit!(self, "{}:", start); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:540:17 [INFO] [stdout] | [INFO] [stdout] 540 | emit!(self, "jz {}", after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:540:17 [INFO] [stdout] | [INFO] [stdout] 540 | emit!(self, "jz {}", after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | emit!(self, "jmp {}", start)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:546:17 [INFO] [stdout] | [INFO] [stdout] 546 | emit!(self, "{}:", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:557:17 [INFO] [stdout] | [INFO] [stdout] 557 | emit!(self, "jmp .L.return.{}", name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:563:21 [INFO] [stdout] | [INFO] [stdout] 563 | emit!(self, "lea {}(%rbp), %rax", info.offset)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:576:29 [INFO] [stdout] | [INFO] [stdout] 576 | ... emit!(self, "mov $1, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:577:29 [INFO] [stdout] | [INFO] [stdout] 577 | ... emit!(self, "shl $31, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:578:29 [INFO] [stdout] | [INFO] [stdout] 578 | ... emit!(self, "movq %raq, %xmm1")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:579:29 [INFO] [stdout] | [INFO] [stdout] 579 | ... emit!(self, "xorps %xmm1, %xmm0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:579:29 [INFO] [stdout] | [INFO] [stdout] 579 | ... emit!(self, "xorps %xmm1, %xmm0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:582:29 [INFO] [stdout] | [INFO] [stdout] 582 | ... emit!(self, "negq %rax"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:582:29 [INFO] [stdout] | [INFO] [stdout] 582 | ... emit!(self, "negq %rax"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:590:21 [INFO] [stdout] | [INFO] [stdout] 590 | emit!(self, "sete %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:591:21 [INFO] [stdout] | [INFO] [stdout] 591 | emit!(self, "movzx %al, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:611:33 [INFO] [stdout] | [INFO] [stdout] 611 | ... emit!(self, "popq %rdx")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:612:33 [INFO] [stdout] | [INFO] [stdout] 612 | / ... emit!( [INFO] [stdout] 613 | | ... self, [INFO] [stdout] 614 | | ... "{} %rdx, %rax", [INFO] [stdout] 615 | | ... match op { [INFO] [stdout] ... | [INFO] [stdout] 624 | | ... } [INFO] [stdout] 625 | | ... )?; [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:634:33 [INFO] [stdout] | [INFO] [stdout] 634 | ... emit!(self, "popq %rdx")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:635:33 [INFO] [stdout] | [INFO] [stdout] 635 | ... emit!(self, "mulq %rdx")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:644:33 [INFO] [stdout] | [INFO] [stdout] 644 | ... emit!(self, "popq %rdi")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:647:37 [INFO] [stdout] | [INFO] [stdout] 647 | ... emit!(self, "cqto")? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:649:37 [INFO] [stdout] | [INFO] [stdout] 649 | ... emit!(self, "cqto")? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:652:33 [INFO] [stdout] | [INFO] [stdout] 652 | ... emit!(self, "divq %rdi")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:665:33 [INFO] [stdout] | [INFO] [stdout] 665 | ... emit!(self, "popq %rdx")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:667:33 [INFO] [stdout] | [INFO] [stdout] 667 | ... emit!(self, "cmpq %rax, %rdx")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:671:41 [INFO] [stdout] | [INFO] [stdout] 671 | ... emit!(self, "setl %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:674:41 [INFO] [stdout] | [INFO] [stdout] 674 | ... emit!(self, "setle %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:678:41 [INFO] [stdout] | [INFO] [stdout] 678 | ... emit!(self, "setg %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> codegen/src/hir.rs:461:21 [INFO] [stdout] | [INFO] [stdout] 461 | let mut gp = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:681:41 [INFO] [stdout] | [INFO] [stdout] 681 | ... emit!(self, "setge %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> codegen/src/hir.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 462 | let mut fp = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:685:41 [INFO] [stdout] | [INFO] [stdout] 685 | ... emit!(self, "setne %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:689:41 [INFO] [stdout] | [INFO] [stdout] 689 | ... emit!(self, "sete %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:694:33 [INFO] [stdout] | [INFO] [stdout] 694 | ... emit!(self, "andb $1,%al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:696:33 [INFO] [stdout] | [INFO] [stdout] 696 | ... emit!(self, "movzbq %al, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:711:44 [INFO] [stdout] | [INFO] [stdout] 711 | ... BinOp::Plus => emit!(self, "addss %xmm1, %xmm0")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:712:45 [INFO] [stdout] | [INFO] [stdout] 712 | ... BinOp::Minus => emit!(self, "subss %xmm1, %xmm0")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:713:44 [INFO] [stdout] | [INFO] [stdout] 713 | ... BinOp::Mult => emit!(self, "mulss %xmm1, %xmm0")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:714:43 [INFO] [stdout] | [INFO] [stdout] 714 | ... BinOp::Div => emit!(self, "divss %xmm1, %xmm0")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> codegen/src/hir.rs:860:19 [INFO] [stdout] | [INFO] [stdout] 860 | let WithError(program, mut errors) = db.lower(file_id); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:721:33 [INFO] [stdout] | [INFO] [stdout] 721 | ... emit!(self, "ucomiss %xmm0, %xmm1")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolver` [INFO] [stdout] --> codegen/src/hir.rs:861:19 [INFO] [stdout] | [INFO] [stdout] 861 | let WithError(resolver, _) = db.resolve_source_file(file_id); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:725:41 [INFO] [stdout] | [INFO] [stdout] 725 | ... emit!(self, "ucomiss %xmm1, %xmm0")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:726:41 [INFO] [stdout] | [INFO] [stdout] 726 | ... emit!(self, "seta %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:729:41 [INFO] [stdout] | [INFO] [stdout] 729 | ... emit!(self, "ucomiss %xmm1, %xmm0")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:730:41 [INFO] [stdout] | [INFO] [stdout] 730 | ... emit!(self, "setae %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:734:41 [INFO] [stdout] | [INFO] [stdout] 734 | ... emit!(self, "seta %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:737:41 [INFO] [stdout] | [INFO] [stdout] 737 | ... emit!(self, "setae %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:741:41 [INFO] [stdout] | [INFO] [stdout] 741 | ... emit!(self, "setne %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:742:41 [INFO] [stdout] | [INFO] [stdout] 742 | ... emit!(self, "setp %cl")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:743:41 [INFO] [stdout] | [INFO] [stdout] 743 | ... emit!(self, "orb %cl, %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:747:41 [INFO] [stdout] | [INFO] [stdout] 747 | ... emit!(self, "setne %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:748:41 [INFO] [stdout] | [INFO] [stdout] 748 | ... emit!(self, "setp %cl")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:749:41 [INFO] [stdout] | [INFO] [stdout] 749 | ... emit!(self, "and %cl, %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:754:33 [INFO] [stdout] | [INFO] [stdout] 754 | ... emit!(self, "andb $1,%al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:756:33 [INFO] [stdout] | [INFO] [stdout] 756 | ... emit!(self, "movzbq %al, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:771:25 [INFO] [stdout] | [INFO] [stdout] 771 | emit!(self, "je {}", skip)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:776:25 [INFO] [stdout] | [INFO] [stdout] 776 | emit!(self, "je {}", skip)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:778:25 [INFO] [stdout] | [INFO] [stdout] 778 | emit!(self, "movq $1, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:780:25 [INFO] [stdout] | [INFO] [stdout] 780 | emit!(self, "jmp {}", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:781:25 [INFO] [stdout] | [INFO] [stdout] 781 | emit!(self, "{}:", skip)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:782:25 [INFO] [stdout] | [INFO] [stdout] 782 | emit!(self, "movq , %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:783:25 [INFO] [stdout] | [INFO] [stdout] 783 | emit!(self, "{}:", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:792:25 [INFO] [stdout] | [INFO] [stdout] 792 | emit!(self, "jne {}", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:797:25 [INFO] [stdout] | [INFO] [stdout] 797 | emit!(self, "jne {}", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:799:25 [INFO] [stdout] | [INFO] [stdout] 799 | emit!(self, "movq $0, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:801:25 [INFO] [stdout] | [INFO] [stdout] 801 | emit!(self, "jmp {}", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:802:25 [INFO] [stdout] | [INFO] [stdout] 802 | emit!(self, "{}:", true_part)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:803:25 [INFO] [stdout] | [INFO] [stdout] 803 | emit!(self, "movq $1, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:804:25 [INFO] [stdout] | [INFO] [stdout] 804 | emit!(self, "{}:", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:832:25 [INFO] [stdout] | [INFO] [stdout] 832 | emit!(self, "mov ${}, %eax # float {}", unsafe { u.i_bits }, float); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:832:25 [INFO] [stdout] | [INFO] [stdout] 832 | emit!(self, "mov ${}, %eax # float {}", unsafe { u.i_bits }, float); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:834:25 [INFO] [stdout] | [INFO] [stdout] 834 | emit!(self, "movq %rax, %xmm0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:834:25 [INFO] [stdout] | [INFO] [stdout] 834 | emit!(self, "movq %rax, %xmm0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:879:5 [INFO] [stdout] | [INFO] [stdout] 879 | emit!(builder.file, ".file 1 \"{}\"", db.name(file_id)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:885:5 [INFO] [stdout] | [INFO] [stdout] 885 | emit!(builder.file, "format: .asciz \"%d\n\""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:885:5 [INFO] [stdout] | [INFO] [stdout] 885 | emit!(builder.file, "format: .asciz \"%d\n\""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GP_MAX` is never used [INFO] [stdout] --> codegen/src/hir.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const GP_MAX: isize = 6; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FP_MAX` is never used [INFO] [stdout] --> codegen/src/hir.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const FP_MAX: isize = 8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id` and `frame_info` are never read [INFO] [stdout] --> codegen/src/hir.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) struct Codegen { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | file_id: FileId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 43 | frame_info: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Codegen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_addr`, `push_args`, and `store` are never used [INFO] [stdout] --> codegen/src/hir.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 87 | / impl<'a, DB> Codegen<&'a DB> [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | DB: CodegenDatabase, [INFO] [stdout] | |________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn get_addr(&mut self, pat: &Typed) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn push_args(&mut self, args: &[Typed],ret:&Type) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn store(&mut self, ty: &Type) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | emit!(self, ".text")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | emit!(self, ".globl _main"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | emit!(self, ".globl _main"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | emit!(self, "_main:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | emit!(self, "_main:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | emit!(self, "{}:", name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | emit!(self, "{}:", name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | emit!(self, "push %rbp"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | emit!(self, "push %rbp"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | emit!(self, "mov %rsp, %rbp"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | emit!(self, "mov %rsp, %rbp"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | emit!(self, "sub ${}, %rsp", frame.stack_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | emit!(self, "sub ${}, %rsp", frame.stack_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | emit!(self, "lea format(%rip), %rdi")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | emit!(self, "mov (%rax), %esi")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | emit!(self, "xor %eax, %eax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | emit!(self, "call _printf")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | emit!(self, ".L.return.{}:", name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | emit!(self, ".L.return.{}:", name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | emit!(self, "push %rax") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | emit!(self, "sub $8, %rsp")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | emit!(self, "movsd %xmm0, (%rsp)") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | emit!(self, "movsd (%rsp), %xmm{}", reg)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | emit!(self, "add $8, %rsp") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | emit!(self, "movq %rax, {}(%rbp)", offset)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | emit!(self, "movq {}(%rbp), %rax", info.offset)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | emit!(self, "movss %rax, %xmm0")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 300 | 1 => emit!(self, "movsbl (%rax), %eax"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 301 | 2 => emit!(self, "movswl (%rax), %eax"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 150 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:302:18 [INFO] [stdout] | [INFO] [stdout] 302 | 4 => emit!(self, "movslq (%rax), %rax"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | emit!(self, "mov (%rax), %rax") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | emit!(self, "pop %rdi"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | emit!(self, "pop %rdi"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | emit!(self, "movss %xmm0, (%rdi)")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:362:18 [INFO] [stdout] | [INFO] [stdout] 362 | 1 => emit!(self, "mov %al, (%rdi)"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:363:18 [INFO] [stdout] | [INFO] [stdout] 363 | 2 => emit!(self, "mov %ax, (%rdi)"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:364:18 [INFO] [stdout] | [INFO] [stdout] 364 | 4 => emit!(self, "mov %eax, (%rdi)"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | emit!(self, "mov %rax, (%rdi)") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | emit!(self, "xorps %xmm1, %xmm1")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | emit!(self, "ucomiss %xmm1, %xmm0") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | emit!(self, "cmp $0, %eax") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | emit!(self, "cmp $0, %rax") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | emit!(self, "popq $rdx")?; // base address [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 476 | emit!(self, "movq (%rdx, %rax,{}) , %rax ", base.ty.size())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:480:49 [INFO] [stdout] | [INFO] [stdout] 480 | Some(LoopInfo { after, .. }) => emit!(self, "jmp {}", after)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:485:49 [INFO] [stdout] | [INFO] [stdout] 485 | Some(LoopInfo { start, .. }) => emit!(self, "jmp {}", start)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | emit!(self, "jz {}", else_expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | emit!(self, "jz {}", else_expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 505 | emit!(self, "jmp {}", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:507:17 [INFO] [stdout] | [INFO] [stdout] 507 | emit!(self, "{}:", else_expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | emit!(self, "{}:", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | emit!(self, "jz {}", after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | emit!(self, "jz {}", after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:525:17 [INFO] [stdout] | [INFO] [stdout] 525 | emit!(self, "{}:", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:536:17 [INFO] [stdout] | [INFO] [stdout] 536 | emit!(self, "{}:", start); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:536:17 [INFO] [stdout] | [INFO] [stdout] 536 | emit!(self, "{}:", start); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:540:17 [INFO] [stdout] | [INFO] [stdout] 540 | emit!(self, "jz {}", after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:540:17 [INFO] [stdout] | [INFO] [stdout] 540 | emit!(self, "jz {}", after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | emit!(self, "jmp {}", start)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:546:17 [INFO] [stdout] | [INFO] [stdout] 546 | emit!(self, "{}:", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:557:17 [INFO] [stdout] | [INFO] [stdout] 557 | emit!(self, "jmp .L.return.{}", name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:563:21 [INFO] [stdout] | [INFO] [stdout] 563 | emit!(self, "lea {}(%rbp), %rax", info.offset)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:576:29 [INFO] [stdout] | [INFO] [stdout] 576 | ... emit!(self, "mov $1, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:577:29 [INFO] [stdout] | [INFO] [stdout] 577 | ... emit!(self, "shl $31, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:578:29 [INFO] [stdout] | [INFO] [stdout] 578 | ... emit!(self, "movq %raq, %xmm1")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:579:29 [INFO] [stdout] | [INFO] [stdout] 579 | ... emit!(self, "xorps %xmm1, %xmm0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:579:29 [INFO] [stdout] | [INFO] [stdout] 579 | ... emit!(self, "xorps %xmm1, %xmm0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:582:29 [INFO] [stdout] | [INFO] [stdout] 582 | ... emit!(self, "negq %rax"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:582:29 [INFO] [stdout] | [INFO] [stdout] 582 | ... emit!(self, "negq %rax"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:590:21 [INFO] [stdout] | [INFO] [stdout] 590 | emit!(self, "sete %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:591:21 [INFO] [stdout] | [INFO] [stdout] 591 | emit!(self, "movzx %al, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:611:33 [INFO] [stdout] | [INFO] [stdout] 611 | ... emit!(self, "popq %rdx")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:612:33 [INFO] [stdout] | [INFO] [stdout] 612 | / ... emit!( [INFO] [stdout] 613 | | ... self, [INFO] [stdout] 614 | | ... "{} %rdx, %rax", [INFO] [stdout] 615 | | ... match op { [INFO] [stdout] ... | [INFO] [stdout] 624 | | ... } [INFO] [stdout] 625 | | ... )?; [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:634:33 [INFO] [stdout] | [INFO] [stdout] 634 | ... emit!(self, "popq %rdx")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:635:33 [INFO] [stdout] | [INFO] [stdout] 635 | ... emit!(self, "mulq %rdx")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:644:33 [INFO] [stdout] | [INFO] [stdout] 644 | ... emit!(self, "popq %rdi")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:647:37 [INFO] [stdout] | [INFO] [stdout] 647 | ... emit!(self, "cqto")? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:649:37 [INFO] [stdout] | [INFO] [stdout] 649 | ... emit!(self, "cqto")? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:652:33 [INFO] [stdout] | [INFO] [stdout] 652 | ... emit!(self, "divq %rdi")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:665:33 [INFO] [stdout] | [INFO] [stdout] 665 | ... emit!(self, "popq %rdx")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:667:33 [INFO] [stdout] | [INFO] [stdout] 667 | ... emit!(self, "cmpq %rax, %rdx")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:671:41 [INFO] [stdout] | [INFO] [stdout] 671 | ... emit!(self, "setl %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:674:41 [INFO] [stdout] | [INFO] [stdout] 674 | ... emit!(self, "setle %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:678:41 [INFO] [stdout] | [INFO] [stdout] 678 | ... emit!(self, "setg %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:681:41 [INFO] [stdout] | [INFO] [stdout] 681 | ... emit!(self, "setge %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:685:41 [INFO] [stdout] | [INFO] [stdout] 685 | ... emit!(self, "setne %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:689:41 [INFO] [stdout] | [INFO] [stdout] 689 | ... emit!(self, "sete %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:694:33 [INFO] [stdout] | [INFO] [stdout] 694 | ... emit!(self, "andb $1,%al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:696:33 [INFO] [stdout] | [INFO] [stdout] 696 | ... emit!(self, "movzbq %al, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:711:44 [INFO] [stdout] | [INFO] [stdout] 711 | ... BinOp::Plus => emit!(self, "addss %xmm1, %xmm0")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:712:45 [INFO] [stdout] | [INFO] [stdout] 712 | ... BinOp::Minus => emit!(self, "subss %xmm1, %xmm0")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:713:44 [INFO] [stdout] | [INFO] [stdout] 713 | ... BinOp::Mult => emit!(self, "mulss %xmm1, %xmm0")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:714:43 [INFO] [stdout] | [INFO] [stdout] 714 | ... BinOp::Div => emit!(self, "divss %xmm1, %xmm0")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:721:33 [INFO] [stdout] | [INFO] [stdout] 721 | ... emit!(self, "ucomiss %xmm0, %xmm1")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:725:41 [INFO] [stdout] | [INFO] [stdout] 725 | ... emit!(self, "ucomiss %xmm1, %xmm0")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:726:41 [INFO] [stdout] | [INFO] [stdout] 726 | ... emit!(self, "seta %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:729:41 [INFO] [stdout] | [INFO] [stdout] 729 | ... emit!(self, "ucomiss %xmm1, %xmm0")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:730:41 [INFO] [stdout] | [INFO] [stdout] 730 | ... emit!(self, "setae %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:734:41 [INFO] [stdout] | [INFO] [stdout] 734 | ... emit!(self, "seta %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:737:41 [INFO] [stdout] | [INFO] [stdout] 737 | ... emit!(self, "setae %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:741:41 [INFO] [stdout] | [INFO] [stdout] 741 | ... emit!(self, "setne %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:742:41 [INFO] [stdout] | [INFO] [stdout] 742 | ... emit!(self, "setp %cl")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:743:41 [INFO] [stdout] | [INFO] [stdout] 743 | ... emit!(self, "orb %cl, %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:747:41 [INFO] [stdout] | [INFO] [stdout] 747 | ... emit!(self, "setne %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:748:41 [INFO] [stdout] | [INFO] [stdout] 748 | ... emit!(self, "setp %cl")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:749:41 [INFO] [stdout] | [INFO] [stdout] 749 | ... emit!(self, "and %cl, %al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:754:33 [INFO] [stdout] | [INFO] [stdout] 754 | ... emit!(self, "andb $1,%al")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:756:33 [INFO] [stdout] | [INFO] [stdout] 756 | ... emit!(self, "movzbq %al, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:771:25 [INFO] [stdout] | [INFO] [stdout] 771 | emit!(self, "je {}", skip)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:776:25 [INFO] [stdout] | [INFO] [stdout] 776 | emit!(self, "je {}", skip)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:778:25 [INFO] [stdout] | [INFO] [stdout] 778 | emit!(self, "movq $1, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:780:25 [INFO] [stdout] | [INFO] [stdout] 780 | emit!(self, "jmp {}", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:781:25 [INFO] [stdout] | [INFO] [stdout] 781 | emit!(self, "{}:", skip)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:782:25 [INFO] [stdout] | [INFO] [stdout] 782 | emit!(self, "movq , %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:783:25 [INFO] [stdout] | [INFO] [stdout] 783 | emit!(self, "{}:", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:792:25 [INFO] [stdout] | [INFO] [stdout] 792 | emit!(self, "jne {}", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:797:25 [INFO] [stdout] | [INFO] [stdout] 797 | emit!(self, "jne {}", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:799:25 [INFO] [stdout] | [INFO] [stdout] 799 | emit!(self, "movq $0, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:801:25 [INFO] [stdout] | [INFO] [stdout] 801 | emit!(self, "jmp {}", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:802:25 [INFO] [stdout] | [INFO] [stdout] 802 | emit!(self, "{}:", true_part)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:803:25 [INFO] [stdout] | [INFO] [stdout] 803 | emit!(self, "movq $1, %rax")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:804:25 [INFO] [stdout] | [INFO] [stdout] 804 | emit!(self, "{}:", after)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:832:25 [INFO] [stdout] | [INFO] [stdout] 832 | emit!(self, "mov ${}, %eax # float {}", unsafe { u.i_bits }, float); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:832:25 [INFO] [stdout] | [INFO] [stdout] 832 | emit!(self, "mov ${}, %eax # float {}", unsafe { u.i_bits }, float); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:834:25 [INFO] [stdout] | [INFO] [stdout] 834 | emit!(self, "movq %rax, %xmm0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:834:25 [INFO] [stdout] | [INFO] [stdout] 834 | emit!(self, "movq %rax, %xmm0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:879:5 [INFO] [stdout] | [INFO] [stdout] 879 | emit!(builder.file, ".file 1 \"{}\"", db.name(file_id)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:885:5 [INFO] [stdout] | [INFO] [stdout] 885 | emit!(builder.file, "format: .asciz \"%d\n\""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> codegen/src/hir.rs:885:5 [INFO] [stdout] | [INFO] [stdout] 885 | emit!(builder.file, "format: .asciz \"%d\n\""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` which comes from the expansion of the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 150 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> semant/src/lower/function.rs:220:114 [INFO] [stdout] | [INFO] [stdout] 220 | op @ hir::BinOp::PlusEqual | op @ hir::BinOp::DivEqual | op @hir::BinOp::MinusEqual | op @ hir::BinOp::DivEqual => { [INFO] [stdout] | -------------------- matches all the relevant values ^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c6dfcb4d31a22bd97b9370cf43781455b6e672ff3f3a87e79479b46f0445b750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6dfcb4d31a22bd97b9370cf43781455b6e672ff3f3a87e79479b46f0445b750", kill_on_drop: false }` [INFO] [stdout] c6dfcb4d31a22bd97b9370cf43781455b6e672ff3f3a87e79479b46f0445b750