[INFO] cloning repository https://github.com/myuon/iolite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/myuon/iolite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyuon%2Fiolite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyuon%2Fiolite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3702f0a2e71aad40461c3a14db3776582c52876e [INFO] checking myuon/iolite against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyuon%2Fiolite" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/myuon/iolite [INFO] finished tweaking git repo https://github.com/myuon/iolite [INFO] tweaked toml for git repo https://github.com/myuon/iolite written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/myuon/iolite on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/myuon/iolite 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a89b2dc43d94ff43db8290de017e63c4e97cd6270f1c0f05e10ce3a23bfa0613 [INFO] running `Command { std: "docker" "start" "-a" "a89b2dc43d94ff43db8290de017e63c4e97cd6270f1c0f05e10ce3a23bfa0613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a89b2dc43d94ff43db8290de017e63c4e97cd6270f1c0f05e10ce3a23bfa0613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a89b2dc43d94ff43db8290de017e63c4e97cd6270f1c0f05e10ce3a23bfa0613", kill_on_drop: false }` [INFO] [stdout] a89b2dc43d94ff43db8290de017e63c4e97cd6270f1c0f05e10ce3a23bfa0613 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 751cd4c36e8d783e13861e880738a66017b1643c0ebdc99971d419790357702a [INFO] running `Command { std: "docker" "start" "-a" "751cd4c36e8d783e13861e880738a66017b1643c0ebdc99971d419790357702a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling unicode-canonical-combining-class v0.5.0 [INFO] [stderr] Compiling unicode-general-category v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Compiling unicode-joining-type v0.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking bitreader v0.3.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking getrandom v0.2.13 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking glyph-names v0.2.0 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking ucd-trie v0.1.6 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking mmapio v0.9.1 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling instability v0.3.2 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking ouroboros v0.17.2 [INFO] [stderr] Checking allsorts v0.14.2 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking rust-fontconfig v0.1.7 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking dap v0.4.1-alpha1 [INFO] [stderr] Checking lsp-types v0.95.1 [INFO] [stderr] Checking iolite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated field `dap::requests::SetBreakpointsArguments::lines` [INFO] [stdout] --> src/dap_server.rs:638:21 [INFO] [stdout] | [INFO] [stdout] 638 | lines: None, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `span` is never read [INFO] [stdout] --> src/compiler/typechecker.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `span` is never read [INFO] [stdout] --> src/compiler/typechecker.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parsed_order` is never read [INFO] [stdout] --> src/compiler/mod.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct LoadedModule { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 138 | pub parsed_order: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoadedModule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verbose` and `pop_executed_result` are never used [INFO] [stdout] --> src/compiler/mod.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Compiler { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn verbose(&mut self, verbose: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | pub fn pop_executed_result(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_type` is never used [INFO] [stdout] --> src/compiler/ir.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl TypeTag { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn from_type(ty: &Type) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trap_stdout` is never used [INFO] [stdout] --> src/compiler/linker.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Linker { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn trap_stdout(&mut self, trap_stderr: Arc>>>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `memory_view_64` and `load_f32` are never used [INFO] [stdout] --> src/compiler/runtime.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Runtime { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn memory_view_64(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn load_f32(&self, address: u32) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jsonrpc` is never read [INFO] [stdout] --> src/utils/lsp/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RpcMessageRequest { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 11 | pub jsonrpc: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrModule> [INFO] [stdout] --> src/compiler/mod.rs:451:22 [INFO] [stdout] | [INFO] [stdout] 451 | let ir = ir_code_gen.program(module.module.clone().unwrap())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/mod.rs:451:22 [INFO] [stdout] | [INFO] [stdout] 451 | let ir = ir_code_gen.program(module.module.clone().unwrap())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:106:89 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn program(&mut self, module: Module) -> Result { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 107 | | let mut decls = vec![]; [INFO] [stdout] 108 | | [INFO] [stdout] 109 | | for decl in &module.declarations { [INFO] [stdout] ... | [INFO] [stdout] 188 | | Ok(ir_module) [INFO] [stdout] 189 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, Vec> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | decls.extend(self.decl(decl)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | decls.extend(self.decl(decl)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | decls.extend(self.decl(decl)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | Ok(ir_module) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:191:96 [INFO] [stdout] | [INFO] [stdout] 191 | fn decl(&mut self, decl: Source) -> Result, IrCodeGeneratorError> { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 192 | | match decl.data { [INFO] [stdout] 193 | | Declaration::Function { [INFO] [stdout] 194 | | name, [INFO] [stdout] ... | [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | / match decl.data { [INFO] [stdout] 193 | | Declaration::Function { [INFO] [stdout] 194 | | name, [INFO] [stdout] 195 | | params, [INFO] [stdout] ... | [INFO] [stdout] 270 | | Declaration::Newtype { .. } => Ok(vec![]), [INFO] [stdout] 271 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | } => { [INFO] [stdout] | __________________^ [INFO] [stdout] 200 | | self.escaped = vec![]; [INFO] [stdout] 201 | | [INFO] [stdout] 202 | | if meta_tags.contains(&MetaTag::Test) { [INFO] [stdout] ... | [INFO] [stdout] 238 | | }]) [INFO] [stdout] 239 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:207:32 [INFO] [stdout] | [INFO] [stdout] 207 | let term = self.block(body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:207:32 [INFO] [stdout] | [INFO] [stdout] 207 | let term = self.block(body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:207:32 [INFO] [stdout] | [INFO] [stdout] 207 | let term = self.block(body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | / Ok(vec![IrDecl::Fun { [INFO] [stdout] 234 | | name: symbol, [INFO] [stdout] 235 | | args: params.into_iter().map(|p| p.0.data).collect(), [INFO] [stdout] 236 | | body: Box::new(body), [INFO] [stdout] 237 | | escaped: self.escaped.clone(), [INFO] [stdout] 238 | | }]) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:240:56 [INFO] [stdout] | [INFO] [stdout] 240 | Declaration::Let { name, ty: _, value } => { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 241 | | let value = self.expr(value)?; [INFO] [stdout] 242 | | [INFO] [stdout] 243 | | self.init_function.push(IrTerm::Store { [INFO] [stdout] ... | [INFO] [stdout] 251 | | Ok(vec![IrDecl::Let { name: name.data }]) [INFO] [stdout] 252 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | let value = self.expr(value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | let value = self.expr(value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | let value = self.expr(value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | Ok(vec![IrDecl::Let { name: name.data }]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 253 | Declaration::Struct { .. } => Ok(vec![]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:254:39 [INFO] [stdout] | [INFO] [stdout] 254 | Declaration::Import(_) => Ok(vec![]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:255:58 [INFO] [stdout] | [INFO] [stdout] 255 | Declaration::DeclareFunction { name, .. } => Ok(vec![IrDecl::Declared(name.data)]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:256:44 [INFO] [stdout] | [INFO] [stdout] 256 | Declaration::Module(module) => { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 257 | | let current_module = self.current_module.clone(); [INFO] [stdout] 258 | | self.current_module = module.name.clone(); [INFO] [stdout] ... | [INFO] [stdout] 268 | | Ok(decls) [INFO] [stdout] 269 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, Vec> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | decls.extend(self.decl(decl)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | decls.extend(self.decl(decl)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | decls.extend(self.decl(decl)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | Ok(decls) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:270:44 [INFO] [stdout] | [INFO] [stdout] 270 | Declaration::Newtype { .. } => Ok(vec![]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:274:88 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn expr(&mut self, expr: Source) -> Result { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 275 | | match expr.data { [INFO] [stdout] 276 | | Expr::Lit(lit) => match lit.data { [INFO] [stdout] 277 | | Literal::Nil => Ok(IrTerm::Nil), [INFO] [stdout] ... | [INFO] [stdout] 586 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | / match expr.data { [INFO] [stdout] 276 | | Expr::Lit(lit) => match lit.data { [INFO] [stdout] 277 | | Literal::Nil => Ok(IrTerm::Nil), [INFO] [stdout] 278 | | Literal::Integer(i) => Ok(IrTerm::Int(i.data)), [INFO] [stdout] ... | [INFO] [stdout] 585 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:276:31 [INFO] [stdout] | [INFO] [stdout] 276 | Expr::Lit(lit) => match lit.data { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 277 | | Literal::Nil => Ok(IrTerm::Nil), [INFO] [stdout] 278 | | Literal::Integer(i) => Ok(IrTerm::Int(i.data)), [INFO] [stdout] 279 | | Literal::Float(f) => Ok(IrTerm::Float(f.data)), [INFO] [stdout] ... | [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:277:33 [INFO] [stdout] | [INFO] [stdout] 277 | Literal::Nil => Ok(IrTerm::Nil), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:278:40 [INFO] [stdout] | [INFO] [stdout] 278 | Literal::Integer(i) => Ok(IrTerm::Int(i.data)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:279:38 [INFO] [stdout] | [INFO] [stdout] 279 | Literal::Float(f) => Ok(IrTerm::Float(f.data)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:280:37 [INFO] [stdout] | [INFO] [stdout] 280 | Literal::Bool(b) => Ok(IrTerm::Bool(b.data)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:281:39 [INFO] [stdout] | [INFO] [stdout] 281 | Literal::String(s) => { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 282 | | let str_id = format!("str_{}", nanoid!()); [INFO] [stdout] 283 | | self.data [INFO] [stdout] 284 | | .insert(str_id.clone(), s.data.clone().into_bytes()); [INFO] [stdout] ... | [INFO] [stdout] 289 | | ])) [INFO] [stdout] 290 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | / Ok(self.slice(vec![ [INFO] [stdout] 287 | | IrTerm::DataPointer(str_id), [INFO] [stdout] 288 | | IrTerm::Int(s.data.len() as i32), [INFO] [stdout] 289 | | ])) [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:297:18 [INFO] [stdout] | [INFO] [stdout] 297 | } => { [INFO] [stdout] | __________________^ [INFO] [stdout] 298 | | let left = self.expr(*left)?; [INFO] [stdout] 299 | | let right = self.expr(*right)?; [INFO] [stdout] 300 | | let op = match (op.data, ty) { [INFO] [stdout] ... | [INFO] [stdout] 342 | | }) [INFO] [stdout] 343 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 298 | let left = self.expr(*left)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 298 | let left = self.expr(*left)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 298 | let left = self.expr(*left)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | let right = self.expr(*right)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | let right = self.expr(*right)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | let right = self.expr(*right)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | / Ok(IrTerm::Op { [INFO] [stdout] 340 | | op, [INFO] [stdout] 341 | | args: vec![left, right], [INFO] [stdout] 342 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:348:18 [INFO] [stdout] | [INFO] [stdout] 348 | } => match newtype { [INFO] [stdout] | __________________^ [INFO] [stdout] 349 | | Some(_) => Ok(self.expr(args[0].clone())?), [INFO] [stdout] 350 | | None => { [INFO] [stdout] 351 | | let mut ir_args = vec![]; [INFO] [stdout] ... | [INFO] [stdout] 388 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:349:28 [INFO] [stdout] | [INFO] [stdout] 349 | Some(_) => Ok(self.expr(args[0].clone())?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:349:31 [INFO] [stdout] | [INFO] [stdout] 349 | Some(_) => Ok(self.expr(args[0].clone())?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:349:31 [INFO] [stdout] | [INFO] [stdout] 349 | Some(_) => Ok(self.expr(args[0].clone())?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:349:31 [INFO] [stdout] | [INFO] [stdout] 349 | Some(_) => Ok(self.expr(args[0].clone())?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:350:25 [INFO] [stdout] | [INFO] [stdout] 350 | None => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 351 | | let mut ir_args = vec![]; [INFO] [stdout] 352 | | for arg in args { [INFO] [stdout] 353 | | ir_args.push(self.expr(arg)?); [INFO] [stdout] ... | [INFO] [stdout] 387 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:353:38 [INFO] [stdout] | [INFO] [stdout] 353 | ir_args.push(self.expr(arg)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:353:38 [INFO] [stdout] | [INFO] [stdout] 353 | ir_args.push(self.expr(arg)?); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:353:38 [INFO] [stdout] | [INFO] [stdout] 353 | ir_args.push(self.expr(arg)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 356 | let callee = self.expr_left_value(*callee)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 356 | let callee = self.expr_left_value(*callee)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 356 | let callee = self.expr_left_value(*callee)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 357 | / match callee { [INFO] [stdout] 358 | | IrTerm::Ident(ident) if self.declared.contains(&ident) => { [INFO] [stdout] 359 | | Ok(IrTerm::ExtCall { [INFO] [stdout] 360 | | callee: ident, [INFO] [stdout] ... | [INFO] [stdout] 385 | | }), [INFO] [stdout] 386 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:358:83 [INFO] [stdout] | [INFO] [stdout] 358 | IrTerm::Ident(ident) if self.declared.contains(&ident) => { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 359 | | Ok(IrTerm::ExtCall { [INFO] [stdout] 360 | | callee: ident, [INFO] [stdout] 361 | | args: ir_args, [INFO] [stdout] 362 | | }) [INFO] [stdout] 363 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:359:29 [INFO] [stdout] | [INFO] [stdout] 359 | / ... Ok(IrTerm::ExtCall { [INFO] [stdout] 360 | | ... callee: ident, [INFO] [stdout] 361 | | ... args: ir_args, [INFO] [stdout] 362 | | ... }) [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | / { [INFO] [stdout] 367 | | Ok(IrTerm::StaticCall { [INFO] [stdout] 368 | | callee: ident, [INFO] [stdout] 369 | | args: ir_args, [INFO] [stdout] 370 | | }) [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:367:29 [INFO] [stdout] | [INFO] [stdout] 367 | / ... Ok(IrTerm::StaticCall { [INFO] [stdout] 368 | | ... callee: ident, [INFO] [stdout] 369 | | ... args: ir_args, [INFO] [stdout] 370 | | ... }) [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | / { [INFO] [stdout] 377 | | Ok(IrTerm::StaticCall { [INFO] [stdout] 378 | | callee: format!("{}_{}", module, name), [INFO] [stdout] 379 | | args: ir_args, [INFO] [stdout] 380 | | }) [INFO] [stdout] 381 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:377:29 [INFO] [stdout] | [INFO] [stdout] 377 | / ... Ok(IrTerm::StaticCall { [INFO] [stdout] 378 | | ... callee: format!("{}_{}", module, name), [INFO] [stdout] 379 | | ... args: ir_args, [INFO] [stdout] 380 | | ... }) [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:382:30 [INFO] [stdout] | [INFO] [stdout] 382 | _ => Ok(IrTerm::DynamicCall { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 383 | | callee: Box::new(callee), [INFO] [stdout] 384 | | args: ir_args, [INFO] [stdout] 385 | | }), [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:389:44 [INFO] [stdout] | [INFO] [stdout] 389 | Expr::Match { cond, cases } => { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 390 | | // currently, cases are `true => cases[0], false => cases[1]` [INFO] [stdout] 391 | | let cond = self.expr(*cond)?; [INFO] [stdout] ... | [INFO] [stdout] 400 | | }) [INFO] [stdout] 401 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | let cond = self.expr(*cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | let cond = self.expr(*cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | let cond = self.expr(*cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:393:28 [INFO] [stdout] | [INFO] [stdout] 393 | let then = self.expr(cases[0].clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:393:28 [INFO] [stdout] | [INFO] [stdout] 393 | let then = self.expr(cases[0].clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:393:28 [INFO] [stdout] | [INFO] [stdout] 393 | let then = self.expr(cases[0].clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | let else_ = self.expr(cases[1].clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | let else_ = self.expr(cases[1].clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | let else_ = self.expr(cases[1].clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 396 | / Ok(IrTerm::If { [INFO] [stdout] 397 | | cond: Box::new(cond), [INFO] [stdout] 398 | | then: Box::new(then), [INFO] [stdout] 399 | | else_: Box::new(else_), [INFO] [stdout] 400 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:402:49 [INFO] [stdout] | [INFO] [stdout] 402 | Expr::New { ty, argument: expr } => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 403 | | let expr = self.expr(*expr)?; [INFO] [stdout] 404 | | [INFO] [stdout] 405 | | match ty.data { [INFO] [stdout] ... | [INFO] [stdout] 422 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:403:28 [INFO] [stdout] | [INFO] [stdout] 403 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:403:28 [INFO] [stdout] | [INFO] [stdout] 403 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:403:28 [INFO] [stdout] | [INFO] [stdout] 403 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | / match ty.data { [INFO] [stdout] 406 | | Type::Ptr(item) => Ok(self.allocate(IrTerm::Op { [INFO] [stdout] 407 | | op: IrOp::MulInt, [INFO] [stdout] 408 | | args: vec![expr, IrTerm::Int(item.sizeof() as i32)], [INFO] [stdout] ... | [INFO] [stdout] 420 | | _ => todo!(), [INFO] [stdout] 421 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:406:40 [INFO] [stdout] | [INFO] [stdout] 406 | Type::Ptr(item) => Ok(self.allocate(IrTerm::Op { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 407 | | op: IrOp::MulInt, [INFO] [stdout] 408 | | args: vec![expr, IrTerm::Int(item.sizeof() as i32)], [INFO] [stdout] 409 | | })), [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:410:42 [INFO] [stdout] | [INFO] [stdout] 410 | Type::Array(item) => { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 411 | | // FIXME: expr will be evaluated twice [INFO] [stdout] 412 | | Ok(self.slice(vec![ [INFO] [stdout] 413 | | self.allocate(IrTerm::Op { [INFO] [stdout] ... | [INFO] [stdout] 418 | | ])) [INFO] [stdout] 419 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:412:25 [INFO] [stdout] | [INFO] [stdout] 412 | / Ok(self.slice(vec![ [INFO] [stdout] 413 | | self.allocate(IrTerm::Op { [INFO] [stdout] 414 | | op: IrOp::MulInt, [INFO] [stdout] 415 | | args: vec![expr.clone(), IrTerm::Int(item.sizeof() as i32)], [INFO] [stdout] 416 | | }), [INFO] [stdout] 417 | | expr, [INFO] [stdout] 418 | | ])) [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:423:35 [INFO] [stdout] | [INFO] [stdout] 423 | Expr::Block(block) => self.block(*block), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:424:50 [INFO] [stdout] | [INFO] [stdout] 424 | Expr::Struct { name, mut fields } => { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 425 | | let struct_ty = self [INFO] [stdout] 426 | | .types [INFO] [stdout] 427 | | .as_ref() [INFO] [stdout] ... | [INFO] [stdout] 445 | | Ok(self.slice(values)) [INFO] [stdout] 446 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:442:33 [INFO] [stdout] | [INFO] [stdout] 442 | values.push(self.expr(expr)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:442:33 [INFO] [stdout] | [INFO] [stdout] 442 | values.push(self.expr(expr)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:442:33 [INFO] [stdout] | [INFO] [stdout] 442 | values.push(self.expr(expr)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 445 | Ok(self.slice(values)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:451:18 [INFO] [stdout] | [INFO] [stdout] 451 | } => { [INFO] [stdout] | __________________^ [INFO] [stdout] 452 | | let expr = self.expr(*expr)?; [INFO] [stdout] 453 | | [INFO] [stdout] 454 | | let term = match conversion.unwrap() { [INFO] [stdout] ... | [INFO] [stdout] 463 | | }) [INFO] [stdout] 464 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:460:17 [INFO] [stdout] | [INFO] [stdout] 460 | / Ok(IrTerm::Op { [INFO] [stdout] 461 | | op: term, [INFO] [stdout] 462 | | args: vec![expr], [INFO] [stdout] 463 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:465:45 [INFO] [stdout] | [INFO] [stdout] 465 | Expr::UniOp { expr, op, ty } => { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 466 | | let expr = self.expr(*expr)?; [INFO] [stdout] 467 | | [INFO] [stdout] 468 | | match op.data { [INFO] [stdout] ... | [INFO] [stdout] 488 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:466:28 [INFO] [stdout] | [INFO] [stdout] 466 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:466:28 [INFO] [stdout] | [INFO] [stdout] 466 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:466:28 [INFO] [stdout] | [INFO] [stdout] 466 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:468:17 [INFO] [stdout] | [INFO] [stdout] 468 | / match op.data { [INFO] [stdout] 469 | | UniOp::Negate => match ty { [INFO] [stdout] 470 | | Type::Int => Ok(IrTerm::Op { [INFO] [stdout] 471 | | op: IrOp::NegateInt, [INFO] [stdout] ... | [INFO] [stdout] 486 | | }, [INFO] [stdout] 487 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:469:38 [INFO] [stdout] | [INFO] [stdout] 469 | UniOp::Negate => match ty { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 470 | | Type::Int => Ok(IrTerm::Op { [INFO] [stdout] 471 | | op: IrOp::NegateInt, [INFO] [stdout] 472 | | args: vec![expr], [INFO] [stdout] ... | [INFO] [stdout] 478 | | _ => todo!(), [INFO] [stdout] 479 | | }, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:470:38 [INFO] [stdout] | [INFO] [stdout] 470 | Type::Int => Ok(IrTerm::Op { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 471 | | op: IrOp::NegateInt, [INFO] [stdout] 472 | | args: vec![expr], [INFO] [stdout] 473 | | }), [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:474:40 [INFO] [stdout] | [INFO] [stdout] 474 | Type::Float => Ok(IrTerm::Op { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 475 | | op: IrOp::NegateFloat, [INFO] [stdout] 476 | | args: vec![expr], [INFO] [stdout] 477 | | }), [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:480:35 [INFO] [stdout] | [INFO] [stdout] 480 | UniOp::Not => match ty { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 481 | | Type::Bool => Ok(IrTerm::Op { [INFO] [stdout] 482 | | op: IrOp::NotEq, [INFO] [stdout] 483 | | args: vec![expr, IrTerm::Bool(true)], [INFO] [stdout] 484 | | }), [INFO] [stdout] 485 | | _ => todo!(), [INFO] [stdout] 486 | | }, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:481:39 [INFO] [stdout] | [INFO] [stdout] 481 | Type::Bool => Ok(IrTerm::Op { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 482 | | op: IrOp::NotEq, [INFO] [stdout] 483 | | args: vec![expr, IrTerm::Bool(true)], [INFO] [stdout] 484 | | }), [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:495:18 [INFO] [stdout] | [INFO] [stdout] 495 | } => { [INFO] [stdout] | __________________^ [INFO] [stdout] 496 | | let mut ir_args = vec![self.expr(*expr)?]; [INFO] [stdout] 497 | | for arg in args { [INFO] [stdout] 498 | | ir_args.push(self.expr(arg)?); [INFO] [stdout] ... | [INFO] [stdout] 504 | | }) [INFO] [stdout] 505 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:496:40 [INFO] [stdout] | [INFO] [stdout] 496 | let mut ir_args = vec![self.expr(*expr)?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:496:40 [INFO] [stdout] | [INFO] [stdout] 496 | let mut ir_args = vec![self.expr(*expr)?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:496:40 [INFO] [stdout] | [INFO] [stdout] 496 | let mut ir_args = vec![self.expr(*expr)?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:498:34 [INFO] [stdout] | [INFO] [stdout] 498 | ir_args.push(self.expr(arg)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:498:34 [INFO] [stdout] | [INFO] [stdout] 498 | ir_args.push(self.expr(arg)?); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:498:34 [INFO] [stdout] | [INFO] [stdout] 498 | ir_args.push(self.expr(arg)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | / Ok(IrTerm::StaticCall { [INFO] [stdout] 502 | | callee: call_symbol.unwrap().replace("::", "_"), [INFO] [stdout] 503 | | args: ir_args, [INFO] [stdout] 504 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:506:47 [INFO] [stdout] | [INFO] [stdout] 506 | Expr::Index { ty, ptr, index } => { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 507 | | let term = self.expr_left_value(Source::span( [INFO] [stdout] 508 | | Expr::Index { [INFO] [stdout] 509 | | ty: ty.clone(), [INFO] [stdout] ... | [INFO] [stdout] 530 | | }) [INFO] [stdout] 531 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:507:28 [INFO] [stdout] | [INFO] [stdout] 507 | let term = self.expr_left_value(Source::span( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 508 | | Expr::Index { [INFO] [stdout] 509 | | ty: ty.clone(), [INFO] [stdout] 510 | | ptr, [INFO] [stdout] ... | [INFO] [stdout] 513 | | expr.span, [INFO] [stdout] 514 | | ))?; [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:507:28 [INFO] [stdout] | [INFO] [stdout] 507 | let term = self.expr_left_value(Source::span( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 508 | | Expr::Index { [INFO] [stdout] 509 | | ty: ty.clone(), [INFO] [stdout] 510 | | ptr, [INFO] [stdout] ... | [INFO] [stdout] 513 | | expr.span, [INFO] [stdout] 514 | | ))?; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:507:28 [INFO] [stdout] | [INFO] [stdout] 507 | let term = self.expr_left_value(Source::span( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 508 | | Expr::Index { [INFO] [stdout] 509 | | ty: ty.clone(), [INFO] [stdout] 510 | | ptr, [INFO] [stdout] ... | [INFO] [stdout] 513 | | expr.span, [INFO] [stdout] 514 | | ))?; [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:521:17 [INFO] [stdout] | [INFO] [stdout] 521 | / Ok(IrTerm::Op { [INFO] [stdout] 522 | | op: match item_ty.as_ref() { [INFO] [stdout] 523 | | Type::Byte => IrOp::Cast(TypeTag::Byte), [INFO] [stdout] 524 | | _ => IrOp::Cast(TypeTag::Int), [INFO] [stdout] ... | [INFO] [stdout] 529 | | }], [INFO] [stdout] 530 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:537:18 [INFO] [stdout] | [INFO] [stdout] 537 | } => { [INFO] [stdout] | __________________^ [INFO] [stdout] 538 | | let name = format!("closure_{}", nanoid!()); [INFO] [stdout] 539 | | let env_name = format!("closure_env_{}", nanoid!()); [INFO] [stdout] ... | [INFO] [stdout] 574 | | Ok(closure_pair) [INFO] [stdout] 575 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:551:28 [INFO] [stdout] | [INFO] [stdout] 551 | let term = self.block(*body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:551:28 [INFO] [stdout] | [INFO] [stdout] 551 | let term = self.block(*body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:551:28 [INFO] [stdout] | [INFO] [stdout] 551 | let term = self.block(*body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:574:17 [INFO] [stdout] | [INFO] [stdout] 574 | Ok(closure_pair) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:576:35 [INFO] [stdout] | [INFO] [stdout] 576 | Expr::Unwrap(expr) => Ok(self.expr(*expr)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:576:38 [INFO] [stdout] | [INFO] [stdout] 576 | Expr::Unwrap(expr) => Ok(self.expr(*expr)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:576:38 [INFO] [stdout] | [INFO] [stdout] 576 | Expr::Unwrap(expr) => Ok(self.expr(*expr)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:576:38 [INFO] [stdout] | [INFO] [stdout] 576 | Expr::Unwrap(expr) => Ok(self.expr(*expr)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:577:18 [INFO] [stdout] | [INFO] [stdout] 577 | _ => { [INFO] [stdout] | __________________^ [INFO] [stdout] 578 | | let term = self.expr_left_value(expr)?; [INFO] [stdout] 579 | | [INFO] [stdout] 580 | | Ok(IrTerm::Load { [INFO] [stdout] ... | [INFO] [stdout] 583 | | }) [INFO] [stdout] 584 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | let term = self.expr_left_value(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | let term = self.expr_left_value(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | let term = self.expr_left_value(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | / Ok(IrTerm::Load { [INFO] [stdout] 581 | | size: Value::size() as usize, [INFO] [stdout] 582 | | address: Box::new(term), [INFO] [stdout] 583 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:588:95 [INFO] [stdout] | [INFO] [stdout] 588 | fn expr_left_value(&mut self, expr: Source) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 589 | | match expr.data { [INFO] [stdout] 590 | | Expr::Ident(name) => { [INFO] [stdout] 591 | | if let Some((env_name, index)) = self.captured_env.get(&name.data) { [INFO] [stdout] ... | [INFO] [stdout] 673 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 589 | / match expr.data { [INFO] [stdout] 590 | | Expr::Ident(name) => { [INFO] [stdout] 591 | | if let Some((env_name, index)) = self.captured_env.get(&name.data) { [INFO] [stdout] 592 | | return Ok(IrTerm::Load { [INFO] [stdout] ... | [INFO] [stdout] 671 | | _ => todo!(), [INFO] [stdout] 672 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:590:34 [INFO] [stdout] | [INFO] [stdout] 590 | Expr::Ident(name) => { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 591 | | if let Some((env_name, index)) = self.captured_env.get(&name.data) { [INFO] [stdout] 592 | | return Ok(IrTerm::Load { [INFO] [stdout] 593 | | size: Value::size() as usize, [INFO] [stdout] ... | [INFO] [stdout] 604 | | Ok(IrTerm::Ident(name.data)) [INFO] [stdout] 605 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:592:28 [INFO] [stdout] | [INFO] [stdout] 592 | return Ok(IrTerm::Load { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 593 | | size: Value::size() as usize, [INFO] [stdout] 594 | | address: Box::new(IrTerm::Index { [INFO] [stdout] 595 | | ptr: Box::new(IrTerm::Load { [INFO] [stdout] ... | [INFO] [stdout] 600 | | }), [INFO] [stdout] 601 | | }); [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:604:17 [INFO] [stdout] | [INFO] [stdout] 604 | Ok(IrTerm::Ident(name.data)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:606:49 [INFO] [stdout] | [INFO] [stdout] 606 | Expr::Qualified { module, name } => Ok(IrTerm::Qualified(module.data, name.data)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:607:47 [INFO] [stdout] | [INFO] [stdout] 607 | Expr::Index { ty, ptr, index } => { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 608 | | let ptr = self.expr(*ptr)?; [INFO] [stdout] 609 | | let index = self.expr(*index)?; [INFO] [stdout] ... | [INFO] [stdout] 635 | | }) [INFO] [stdout] 636 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:608:27 [INFO] [stdout] | [INFO] [stdout] 608 | let ptr = self.expr(*ptr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:608:27 [INFO] [stdout] | [INFO] [stdout] 608 | let ptr = self.expr(*ptr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:608:27 [INFO] [stdout] | [INFO] [stdout] 608 | let ptr = self.expr(*ptr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:609:29 [INFO] [stdout] | [INFO] [stdout] 609 | let index = self.expr(*index)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:609:29 [INFO] [stdout] | [INFO] [stdout] 609 | let index = self.expr(*index)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:609:29 [INFO] [stdout] | [INFO] [stdout] 609 | let index = self.expr(*index)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:611:17 [INFO] [stdout] | [INFO] [stdout] 611 | / Ok(IrTerm::Index { [INFO] [stdout] 612 | | ptr: Box::new(match &ty { [INFO] [stdout] 613 | | Type::Ptr(_) => ptr, [INFO] [stdout] ... | [INFO] [stdout] 634 | | }), [INFO] [stdout] 635 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:641:18 [INFO] [stdout] | [INFO] [stdout] 641 | } => { [INFO] [stdout] | __________________^ [INFO] [stdout] 642 | | let expr = self.expr(*expr)?; [INFO] [stdout] 643 | | [INFO] [stdout] 644 | | let struct_ty = match expr_ty { [INFO] [stdout] ... | [INFO] [stdout] 669 | | }) [INFO] [stdout] 670 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:666:17 [INFO] [stdout] | [INFO] [stdout] 666 | / Ok(IrTerm::Index { [INFO] [stdout] 667 | | ptr: Box::new(expr), [INFO] [stdout] 668 | | index: Box::new(IrTerm::Int(index as i32 * Value::size())), [INFO] [stdout] 669 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:675:91 [INFO] [stdout] | [INFO] [stdout] 675 | pub fn block(&mut self, block: Source) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 676 | | let mut terms = vec![]; [INFO] [stdout] 677 | | [INFO] [stdout] 678 | | for stmt in block.data.statements { [INFO] [stdout] ... | [INFO] [stdout] 843 | | Ok(IrTerm::Items(terms)) [INFO] [stdout] 844 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:683:30 [INFO] [stdout] | [INFO] [stdout] 683 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:683:30 [INFO] [stdout] | [INFO] [stdout] 683 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:683:30 [INFO] [stdout] | [INFO] [stdout] 683 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:691:30 [INFO] [stdout] | [INFO] [stdout] 691 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:691:30 [INFO] [stdout] | [INFO] [stdout] 691 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:691:30 [INFO] [stdout] | [INFO] [stdout] 691 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:696:30 [INFO] [stdout] | [INFO] [stdout] 696 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:696:30 [INFO] [stdout] | [INFO] [stdout] 696 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:696:30 [INFO] [stdout] | [INFO] [stdout] 696 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:701:31 [INFO] [stdout] | [INFO] [stdout] 701 | let lhs = self.expr_left_value(lhs)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:701:31 [INFO] [stdout] | [INFO] [stdout] 701 | let lhs = self.expr_left_value(lhs)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:701:31 [INFO] [stdout] | [INFO] [stdout] 701 | let lhs = self.expr_left_value(lhs)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:702:31 [INFO] [stdout] | [INFO] [stdout] 702 | let rhs = self.expr(rhs)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:702:31 [INFO] [stdout] | [INFO] [stdout] 702 | let rhs = self.expr(rhs)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:702:31 [INFO] [stdout] | [INFO] [stdout] 702 | let rhs = self.expr(rhs)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:711:32 [INFO] [stdout] | [INFO] [stdout] 711 | let cond = self.expr(cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:711:32 [INFO] [stdout] | [INFO] [stdout] 711 | let cond = self.expr(cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:711:32 [INFO] [stdout] | [INFO] [stdout] 711 | let cond = self.expr(cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:712:32 [INFO] [stdout] | [INFO] [stdout] 712 | let body = self.block(body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:712:32 [INFO] [stdout] | [INFO] [stdout] 712 | let body = self.block(body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:712:32 [INFO] [stdout] | [INFO] [stdout] 712 | let body = self.block(body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:720:32 [INFO] [stdout] | [INFO] [stdout] 720 | let cond = self.expr(cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:720:32 [INFO] [stdout] | [INFO] [stdout] 720 | let cond = self.expr(cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:720:32 [INFO] [stdout] | [INFO] [stdout] 720 | let cond = self.expr(cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:721:32 [INFO] [stdout] | [INFO] [stdout] 721 | let then = self.block(then)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:721:32 [INFO] [stdout] | [INFO] [stdout] 721 | let then = self.block(then)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:721:32 [INFO] [stdout] | [INFO] [stdout] 721 | let then = self.block(then)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:723:40 [INFO] [stdout] | [INFO] [stdout] 723 | Some(block) => self.block(block)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:723:40 [INFO] [stdout] | [INFO] [stdout] 723 | Some(block) => self.block(block)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:723:40 [INFO] [stdout] | [INFO] [stdout] 723 | Some(block) => self.block(block)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:734:32 [INFO] [stdout] | [INFO] [stdout] 734 | terms.push(self.block(block)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:734:32 [INFO] [stdout] | [INFO] [stdout] 734 | terms.push(self.block(block)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:734:32 [INFO] [stdout] | [INFO] [stdout] 734 | terms.push(self.block(block)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:746:49 [INFO] [stdout] | [INFO] [stdout] 746 | ... value: Box::new(self.expr(*start)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:746:49 [INFO] [stdout] | [INFO] [stdout] 746 | ... value: Box::new(self.expr(*start)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:746:49 [INFO] [stdout] | [INFO] [stdout] 746 | ... value: Box::new(self.expr(*start)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:749:39 [INFO] [stdout] | [INFO] [stdout] 749 | ... let end = self.expr(*end)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:749:39 [INFO] [stdout] | [INFO] [stdout] 749 | ... let end = self.expr(*end)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:749:39 [INFO] [stdout] | [INFO] [stdout] 749 | ... let end = self.expr(*end)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:750:49 [INFO] [stdout] | [INFO] [stdout] 750 | ... let mut body = vec![self.block(body)?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:750:49 [INFO] [stdout] | [INFO] [stdout] 750 | ... let mut body = vec![self.block(body)?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:750:49 [INFO] [stdout] | [INFO] [stdout] 750 | ... let mut body = vec![self.block(body)?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:791:49 [INFO] [stdout] | [INFO] [stdout] 791 | ... value: Box::new(self.expr(Source::unknown(Expr::Index { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 792 | | ... ty: Type::Array(Box::new(ty.clone())), [INFO] [stdout] 793 | | ... ptr: Box::new(expr.clone()), [INFO] [stdout] 794 | | ... index: Box::new(Source::unknown(Expr::Ident(Source::unknown( [INFO] [stdout] 795 | | ... var_id.clone(), [INFO] [stdout] 796 | | ... )))), [INFO] [stdout] 797 | | ... }))?), [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:791:49 [INFO] [stdout] | [INFO] [stdout] 791 | ... value: Box::new(self.expr(Source::unknown(Expr::Index { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 792 | | ... ty: Type::Array(Box::new(ty.clone())), [INFO] [stdout] 793 | | ... ptr: Box::new(expr.clone()), [INFO] [stdout] 794 | | ... index: Box::new(Source::unknown(Expr::Ident(Source::unknown( [INFO] [stdout] 795 | | ... var_id.clone(), [INFO] [stdout] 796 | | ... )))), [INFO] [stdout] 797 | | ... }))?), [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:791:49 [INFO] [stdout] | [INFO] [stdout] 791 | ... value: Box::new(self.expr(Source::unknown(Expr::Index { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 792 | | ... ty: Type::Array(Box::new(ty.clone())), [INFO] [stdout] 793 | | ... ptr: Box::new(expr.clone()), [INFO] [stdout] 794 | | ... index: Box::new(Source::unknown(Expr::Ident(Source::unknown( [INFO] [stdout] 795 | | ... var_id.clone(), [INFO] [stdout] 796 | | ... )))), [INFO] [stdout] 797 | | ... }))?), [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:799:29 [INFO] [stdout] | [INFO] [stdout] 799 | ... self.block(body)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:799:29 [INFO] [stdout] | [INFO] [stdout] 799 | ... self.block(body)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:799:29 [INFO] [stdout] | [INFO] [stdout] 799 | ... self.block(body)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:823:37 [INFO] [stdout] | [INFO] [stdout] 823 | / ... self.expr(Source::unknown(Expr::Project { [INFO] [stdout] 824 | | ... expr_ty: Type::Array(Box::new(ty.clone())), [INFO] [stdout] 825 | | ... expr: Box::new(expr), [INFO] [stdout] 826 | | ... field: Source::unknown("length".to_string()), [INFO] [stdout] 827 | | ... }))?, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:823:37 [INFO] [stdout] | [INFO] [stdout] 823 | / ... self.expr(Source::unknown(Expr::Project { [INFO] [stdout] 824 | | ... expr_ty: Type::Array(Box::new(ty.clone())), [INFO] [stdout] 825 | | ... expr: Box::new(expr), [INFO] [stdout] 826 | | ... field: Source::unknown("length".to_string()), [INFO] [stdout] 827 | | ... }))?, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:823:37 [INFO] [stdout] | [INFO] [stdout] 823 | / ... self.expr(Source::unknown(Expr::Project { [INFO] [stdout] 824 | | ... expr_ty: Type::Array(Box::new(ty.clone())), [INFO] [stdout] 825 | | ... expr: Box::new(expr), [INFO] [stdout] 826 | | ... field: Source::unknown("length".to_string()), [INFO] [stdout] 827 | | ... }))?, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:838:24 [INFO] [stdout] | [INFO] [stdout] 838 | terms.push(self.expr(expr)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:838:24 [INFO] [stdout] | [INFO] [stdout] 838 | terms.push(self.expr(expr)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:838:24 [INFO] [stdout] | [INFO] [stdout] 838 | terms.push(self.expr(expr)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:843:9 [INFO] [stdout] | [INFO] [stdout] 843 | Ok(IrTerm::Items(terms)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iolite` (bin "iolite") due to 207 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `parsed_order` is never read [INFO] [stdout] --> src/compiler/mod.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct LoadedModule { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 138 | pub parsed_order: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoadedModule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verbose` is never used [INFO] [stdout] --> src/compiler/mod.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Compiler { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn verbose(&mut self, verbose: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_type` is never used [INFO] [stdout] --> src/compiler/ir.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl TypeTag { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn from_type(ty: &Type) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trap_stdout` is never used [INFO] [stdout] --> src/compiler/linker.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Linker { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn trap_stdout(&mut self, trap_stderr: Arc>>>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_f32` is never used [INFO] [stdout] --> src/compiler/runtime.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Runtime { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | fn load_f32(&self, address: u32) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jsonrpc` is never read [INFO] [stdout] --> src/utils/lsp/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RpcMessageRequest { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 11 | pub jsonrpc: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, IrModule> [INFO] [stdout] --> src/compiler/mod.rs:451:22 [INFO] [stdout] | [INFO] [stdout] 451 | let ir = ir_code_gen.program(module.module.clone().unwrap())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/mod.rs:451:22 [INFO] [stdout] | [INFO] [stdout] 451 | let ir = ir_code_gen.program(module.module.clone().unwrap())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:106:89 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn program(&mut self, module: Module) -> Result { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 107 | | let mut decls = vec![]; [INFO] [stdout] 108 | | [INFO] [stdout] 109 | | for decl in &module.declarations { [INFO] [stdout] ... | [INFO] [stdout] 188 | | Ok(ir_module) [INFO] [stdout] 189 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, Vec> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | decls.extend(self.decl(decl)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | decls.extend(self.decl(decl)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | decls.extend(self.decl(decl)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | Ok(ir_module) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:191:96 [INFO] [stdout] | [INFO] [stdout] 191 | fn decl(&mut self, decl: Source) -> Result, IrCodeGeneratorError> { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 192 | | match decl.data { [INFO] [stdout] 193 | | Declaration::Function { [INFO] [stdout] 194 | | name, [INFO] [stdout] ... | [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | / match decl.data { [INFO] [stdout] 193 | | Declaration::Function { [INFO] [stdout] 194 | | name, [INFO] [stdout] 195 | | params, [INFO] [stdout] ... | [INFO] [stdout] 270 | | Declaration::Newtype { .. } => Ok(vec![]), [INFO] [stdout] 271 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | } => { [INFO] [stdout] | __________________^ [INFO] [stdout] 200 | | self.escaped = vec![]; [INFO] [stdout] 201 | | [INFO] [stdout] 202 | | if meta_tags.contains(&MetaTag::Test) { [INFO] [stdout] ... | [INFO] [stdout] 238 | | }]) [INFO] [stdout] 239 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:207:32 [INFO] [stdout] | [INFO] [stdout] 207 | let term = self.block(body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:207:32 [INFO] [stdout] | [INFO] [stdout] 207 | let term = self.block(body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:207:32 [INFO] [stdout] | [INFO] [stdout] 207 | let term = self.block(body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | / Ok(vec![IrDecl::Fun { [INFO] [stdout] 234 | | name: symbol, [INFO] [stdout] 235 | | args: params.into_iter().map(|p| p.0.data).collect(), [INFO] [stdout] 236 | | body: Box::new(body), [INFO] [stdout] 237 | | escaped: self.escaped.clone(), [INFO] [stdout] 238 | | }]) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:240:56 [INFO] [stdout] | [INFO] [stdout] 240 | Declaration::Let { name, ty: _, value } => { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 241 | | let value = self.expr(value)?; [INFO] [stdout] 242 | | [INFO] [stdout] 243 | | self.init_function.push(IrTerm::Store { [INFO] [stdout] ... | [INFO] [stdout] 251 | | Ok(vec![IrDecl::Let { name: name.data }]) [INFO] [stdout] 252 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | let value = self.expr(value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | let value = self.expr(value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | let value = self.expr(value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | Ok(vec![IrDecl::Let { name: name.data }]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 253 | Declaration::Struct { .. } => Ok(vec![]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:254:39 [INFO] [stdout] | [INFO] [stdout] 254 | Declaration::Import(_) => Ok(vec![]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:255:58 [INFO] [stdout] | [INFO] [stdout] 255 | Declaration::DeclareFunction { name, .. } => Ok(vec![IrDecl::Declared(name.data)]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:256:44 [INFO] [stdout] | [INFO] [stdout] 256 | Declaration::Module(module) => { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 257 | | let current_module = self.current_module.clone(); [INFO] [stdout] 258 | | self.current_module = module.name.clone(); [INFO] [stdout] ... | [INFO] [stdout] 268 | | Ok(decls) [INFO] [stdout] 269 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, Vec> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | decls.extend(self.decl(decl)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | decls.extend(self.decl(decl)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | decls.extend(self.decl(decl)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | Ok(decls) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, IrCodeGeneratorError> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:270:44 [INFO] [stdout] | [INFO] [stdout] 270 | Declaration::Newtype { .. } => Ok(vec![]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:274:88 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn expr(&mut self, expr: Source) -> Result { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 275 | | match expr.data { [INFO] [stdout] 276 | | Expr::Lit(lit) => match lit.data { [INFO] [stdout] 277 | | Literal::Nil => Ok(IrTerm::Nil), [INFO] [stdout] ... | [INFO] [stdout] 586 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | / match expr.data { [INFO] [stdout] 276 | | Expr::Lit(lit) => match lit.data { [INFO] [stdout] 277 | | Literal::Nil => Ok(IrTerm::Nil), [INFO] [stdout] 278 | | Literal::Integer(i) => Ok(IrTerm::Int(i.data)), [INFO] [stdout] ... | [INFO] [stdout] 585 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:276:31 [INFO] [stdout] | [INFO] [stdout] 276 | Expr::Lit(lit) => match lit.data { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 277 | | Literal::Nil => Ok(IrTerm::Nil), [INFO] [stdout] 278 | | Literal::Integer(i) => Ok(IrTerm::Int(i.data)), [INFO] [stdout] 279 | | Literal::Float(f) => Ok(IrTerm::Float(f.data)), [INFO] [stdout] ... | [INFO] [stdout] 291 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:277:33 [INFO] [stdout] | [INFO] [stdout] 277 | Literal::Nil => Ok(IrTerm::Nil), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:278:40 [INFO] [stdout] | [INFO] [stdout] 278 | Literal::Integer(i) => Ok(IrTerm::Int(i.data)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:279:38 [INFO] [stdout] | [INFO] [stdout] 279 | Literal::Float(f) => Ok(IrTerm::Float(f.data)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:280:37 [INFO] [stdout] | [INFO] [stdout] 280 | Literal::Bool(b) => Ok(IrTerm::Bool(b.data)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:281:39 [INFO] [stdout] | [INFO] [stdout] 281 | Literal::String(s) => { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 282 | | let str_id = format!("str_{}", nanoid!()); [INFO] [stdout] 283 | | self.data [INFO] [stdout] 284 | | .insert(str_id.clone(), s.data.clone().into_bytes()); [INFO] [stdout] ... | [INFO] [stdout] 289 | | ])) [INFO] [stdout] 290 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | / Ok(self.slice(vec![ [INFO] [stdout] 287 | | IrTerm::DataPointer(str_id), [INFO] [stdout] 288 | | IrTerm::Int(s.data.len() as i32), [INFO] [stdout] 289 | | ])) [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:297:18 [INFO] [stdout] | [INFO] [stdout] 297 | } => { [INFO] [stdout] | __________________^ [INFO] [stdout] 298 | | let left = self.expr(*left)?; [INFO] [stdout] 299 | | let right = self.expr(*right)?; [INFO] [stdout] 300 | | let op = match (op.data, ty) { [INFO] [stdout] ... | [INFO] [stdout] 342 | | }) [INFO] [stdout] 343 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 298 | let left = self.expr(*left)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 298 | let left = self.expr(*left)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 298 | let left = self.expr(*left)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | let right = self.expr(*right)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | let right = self.expr(*right)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | let right = self.expr(*right)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | / Ok(IrTerm::Op { [INFO] [stdout] 340 | | op, [INFO] [stdout] 341 | | args: vec![left, right], [INFO] [stdout] 342 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:348:18 [INFO] [stdout] | [INFO] [stdout] 348 | } => match newtype { [INFO] [stdout] | __________________^ [INFO] [stdout] 349 | | Some(_) => Ok(self.expr(args[0].clone())?), [INFO] [stdout] 350 | | None => { [INFO] [stdout] 351 | | let mut ir_args = vec![]; [INFO] [stdout] ... | [INFO] [stdout] 388 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:349:28 [INFO] [stdout] | [INFO] [stdout] 349 | Some(_) => Ok(self.expr(args[0].clone())?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:349:31 [INFO] [stdout] | [INFO] [stdout] 349 | Some(_) => Ok(self.expr(args[0].clone())?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:349:31 [INFO] [stdout] | [INFO] [stdout] 349 | Some(_) => Ok(self.expr(args[0].clone())?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:349:31 [INFO] [stdout] | [INFO] [stdout] 349 | Some(_) => Ok(self.expr(args[0].clone())?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:350:25 [INFO] [stdout] | [INFO] [stdout] 350 | None => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 351 | | let mut ir_args = vec![]; [INFO] [stdout] 352 | | for arg in args { [INFO] [stdout] 353 | | ir_args.push(self.expr(arg)?); [INFO] [stdout] ... | [INFO] [stdout] 387 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:353:38 [INFO] [stdout] | [INFO] [stdout] 353 | ir_args.push(self.expr(arg)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:353:38 [INFO] [stdout] | [INFO] [stdout] 353 | ir_args.push(self.expr(arg)?); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:353:38 [INFO] [stdout] | [INFO] [stdout] 353 | ir_args.push(self.expr(arg)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 356 | let callee = self.expr_left_value(*callee)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 356 | let callee = self.expr_left_value(*callee)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 356 | let callee = self.expr_left_value(*callee)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 357 | / match callee { [INFO] [stdout] 358 | | IrTerm::Ident(ident) if self.declared.contains(&ident) => { [INFO] [stdout] 359 | | Ok(IrTerm::ExtCall { [INFO] [stdout] 360 | | callee: ident, [INFO] [stdout] ... | [INFO] [stdout] 385 | | }), [INFO] [stdout] 386 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:358:83 [INFO] [stdout] | [INFO] [stdout] 358 | IrTerm::Ident(ident) if self.declared.contains(&ident) => { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 359 | | Ok(IrTerm::ExtCall { [INFO] [stdout] 360 | | callee: ident, [INFO] [stdout] 361 | | args: ir_args, [INFO] [stdout] 362 | | }) [INFO] [stdout] 363 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:359:29 [INFO] [stdout] | [INFO] [stdout] 359 | / ... Ok(IrTerm::ExtCall { [INFO] [stdout] 360 | | ... callee: ident, [INFO] [stdout] 361 | | ... args: ir_args, [INFO] [stdout] 362 | | ... }) [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | / { [INFO] [stdout] 367 | | Ok(IrTerm::StaticCall { [INFO] [stdout] 368 | | callee: ident, [INFO] [stdout] 369 | | args: ir_args, [INFO] [stdout] 370 | | }) [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:367:29 [INFO] [stdout] | [INFO] [stdout] 367 | / ... Ok(IrTerm::StaticCall { [INFO] [stdout] 368 | | ... callee: ident, [INFO] [stdout] 369 | | ... args: ir_args, [INFO] [stdout] 370 | | ... }) [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | / { [INFO] [stdout] 377 | | Ok(IrTerm::StaticCall { [INFO] [stdout] 378 | | callee: format!("{}_{}", module, name), [INFO] [stdout] 379 | | args: ir_args, [INFO] [stdout] 380 | | }) [INFO] [stdout] 381 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:377:29 [INFO] [stdout] | [INFO] [stdout] 377 | / ... Ok(IrTerm::StaticCall { [INFO] [stdout] 378 | | ... callee: format!("{}_{}", module, name), [INFO] [stdout] 379 | | ... args: ir_args, [INFO] [stdout] 380 | | ... }) [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:382:30 [INFO] [stdout] | [INFO] [stdout] 382 | _ => Ok(IrTerm::DynamicCall { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 383 | | callee: Box::new(callee), [INFO] [stdout] 384 | | args: ir_args, [INFO] [stdout] 385 | | }), [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:389:44 [INFO] [stdout] | [INFO] [stdout] 389 | Expr::Match { cond, cases } => { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 390 | | // currently, cases are `true => cases[0], false => cases[1]` [INFO] [stdout] 391 | | let cond = self.expr(*cond)?; [INFO] [stdout] ... | [INFO] [stdout] 400 | | }) [INFO] [stdout] 401 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | let cond = self.expr(*cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | let cond = self.expr(*cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | let cond = self.expr(*cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:393:28 [INFO] [stdout] | [INFO] [stdout] 393 | let then = self.expr(cases[0].clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:393:28 [INFO] [stdout] | [INFO] [stdout] 393 | let then = self.expr(cases[0].clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:393:28 [INFO] [stdout] | [INFO] [stdout] 393 | let then = self.expr(cases[0].clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | let else_ = self.expr(cases[1].clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | let else_ = self.expr(cases[1].clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | let else_ = self.expr(cases[1].clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 396 | / Ok(IrTerm::If { [INFO] [stdout] 397 | | cond: Box::new(cond), [INFO] [stdout] 398 | | then: Box::new(then), [INFO] [stdout] 399 | | else_: Box::new(else_), [INFO] [stdout] 400 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:402:49 [INFO] [stdout] | [INFO] [stdout] 402 | Expr::New { ty, argument: expr } => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 403 | | let expr = self.expr(*expr)?; [INFO] [stdout] 404 | | [INFO] [stdout] 405 | | match ty.data { [INFO] [stdout] ... | [INFO] [stdout] 422 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:403:28 [INFO] [stdout] | [INFO] [stdout] 403 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:403:28 [INFO] [stdout] | [INFO] [stdout] 403 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:403:28 [INFO] [stdout] | [INFO] [stdout] 403 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | / match ty.data { [INFO] [stdout] 406 | | Type::Ptr(item) => Ok(self.allocate(IrTerm::Op { [INFO] [stdout] 407 | | op: IrOp::MulInt, [INFO] [stdout] 408 | | args: vec![expr, IrTerm::Int(item.sizeof() as i32)], [INFO] [stdout] ... | [INFO] [stdout] 420 | | _ => todo!(), [INFO] [stdout] 421 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:406:40 [INFO] [stdout] | [INFO] [stdout] 406 | Type::Ptr(item) => Ok(self.allocate(IrTerm::Op { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 407 | | op: IrOp::MulInt, [INFO] [stdout] 408 | | args: vec![expr, IrTerm::Int(item.sizeof() as i32)], [INFO] [stdout] 409 | | })), [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:410:42 [INFO] [stdout] | [INFO] [stdout] 410 | Type::Array(item) => { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 411 | | // FIXME: expr will be evaluated twice [INFO] [stdout] 412 | | Ok(self.slice(vec![ [INFO] [stdout] 413 | | self.allocate(IrTerm::Op { [INFO] [stdout] ... | [INFO] [stdout] 418 | | ])) [INFO] [stdout] 419 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:412:25 [INFO] [stdout] | [INFO] [stdout] 412 | / Ok(self.slice(vec![ [INFO] [stdout] 413 | | self.allocate(IrTerm::Op { [INFO] [stdout] 414 | | op: IrOp::MulInt, [INFO] [stdout] 415 | | args: vec![expr.clone(), IrTerm::Int(item.sizeof() as i32)], [INFO] [stdout] 416 | | }), [INFO] [stdout] 417 | | expr, [INFO] [stdout] 418 | | ])) [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:423:35 [INFO] [stdout] | [INFO] [stdout] 423 | Expr::Block(block) => self.block(*block), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:424:50 [INFO] [stdout] | [INFO] [stdout] 424 | Expr::Struct { name, mut fields } => { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 425 | | let struct_ty = self [INFO] [stdout] 426 | | .types [INFO] [stdout] 427 | | .as_ref() [INFO] [stdout] ... | [INFO] [stdout] 445 | | Ok(self.slice(values)) [INFO] [stdout] 446 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:442:33 [INFO] [stdout] | [INFO] [stdout] 442 | values.push(self.expr(expr)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:442:33 [INFO] [stdout] | [INFO] [stdout] 442 | values.push(self.expr(expr)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:442:33 [INFO] [stdout] | [INFO] [stdout] 442 | values.push(self.expr(expr)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 445 | Ok(self.slice(values)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:451:18 [INFO] [stdout] | [INFO] [stdout] 451 | } => { [INFO] [stdout] | __________________^ [INFO] [stdout] 452 | | let expr = self.expr(*expr)?; [INFO] [stdout] 453 | | [INFO] [stdout] 454 | | let term = match conversion.unwrap() { [INFO] [stdout] ... | [INFO] [stdout] 463 | | }) [INFO] [stdout] 464 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:460:17 [INFO] [stdout] | [INFO] [stdout] 460 | / Ok(IrTerm::Op { [INFO] [stdout] 461 | | op: term, [INFO] [stdout] 462 | | args: vec![expr], [INFO] [stdout] 463 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:465:45 [INFO] [stdout] | [INFO] [stdout] 465 | Expr::UniOp { expr, op, ty } => { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 466 | | let expr = self.expr(*expr)?; [INFO] [stdout] 467 | | [INFO] [stdout] 468 | | match op.data { [INFO] [stdout] ... | [INFO] [stdout] 488 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:466:28 [INFO] [stdout] | [INFO] [stdout] 466 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:466:28 [INFO] [stdout] | [INFO] [stdout] 466 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:466:28 [INFO] [stdout] | [INFO] [stdout] 466 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:468:17 [INFO] [stdout] | [INFO] [stdout] 468 | / match op.data { [INFO] [stdout] 469 | | UniOp::Negate => match ty { [INFO] [stdout] 470 | | Type::Int => Ok(IrTerm::Op { [INFO] [stdout] 471 | | op: IrOp::NegateInt, [INFO] [stdout] ... | [INFO] [stdout] 486 | | }, [INFO] [stdout] 487 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:469:38 [INFO] [stdout] | [INFO] [stdout] 469 | UniOp::Negate => match ty { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 470 | | Type::Int => Ok(IrTerm::Op { [INFO] [stdout] 471 | | op: IrOp::NegateInt, [INFO] [stdout] 472 | | args: vec![expr], [INFO] [stdout] ... | [INFO] [stdout] 478 | | _ => todo!(), [INFO] [stdout] 479 | | }, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:470:38 [INFO] [stdout] | [INFO] [stdout] 470 | Type::Int => Ok(IrTerm::Op { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 471 | | op: IrOp::NegateInt, [INFO] [stdout] 472 | | args: vec![expr], [INFO] [stdout] 473 | | }), [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:474:40 [INFO] [stdout] | [INFO] [stdout] 474 | Type::Float => Ok(IrTerm::Op { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 475 | | op: IrOp::NegateFloat, [INFO] [stdout] 476 | | args: vec![expr], [INFO] [stdout] 477 | | }), [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:480:35 [INFO] [stdout] | [INFO] [stdout] 480 | UniOp::Not => match ty { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 481 | | Type::Bool => Ok(IrTerm::Op { [INFO] [stdout] 482 | | op: IrOp::NotEq, [INFO] [stdout] 483 | | args: vec![expr, IrTerm::Bool(true)], [INFO] [stdout] 484 | | }), [INFO] [stdout] 485 | | _ => todo!(), [INFO] [stdout] 486 | | }, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:481:39 [INFO] [stdout] | [INFO] [stdout] 481 | Type::Bool => Ok(IrTerm::Op { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 482 | | op: IrOp::NotEq, [INFO] [stdout] 483 | | args: vec![expr, IrTerm::Bool(true)], [INFO] [stdout] 484 | | }), [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:495:18 [INFO] [stdout] | [INFO] [stdout] 495 | } => { [INFO] [stdout] | __________________^ [INFO] [stdout] 496 | | let mut ir_args = vec![self.expr(*expr)?]; [INFO] [stdout] 497 | | for arg in args { [INFO] [stdout] 498 | | ir_args.push(self.expr(arg)?); [INFO] [stdout] ... | [INFO] [stdout] 504 | | }) [INFO] [stdout] 505 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:496:40 [INFO] [stdout] | [INFO] [stdout] 496 | let mut ir_args = vec![self.expr(*expr)?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:496:40 [INFO] [stdout] | [INFO] [stdout] 496 | let mut ir_args = vec![self.expr(*expr)?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:496:40 [INFO] [stdout] | [INFO] [stdout] 496 | let mut ir_args = vec![self.expr(*expr)?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:498:34 [INFO] [stdout] | [INFO] [stdout] 498 | ir_args.push(self.expr(arg)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:498:34 [INFO] [stdout] | [INFO] [stdout] 498 | ir_args.push(self.expr(arg)?); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:498:34 [INFO] [stdout] | [INFO] [stdout] 498 | ir_args.push(self.expr(arg)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | / Ok(IrTerm::StaticCall { [INFO] [stdout] 502 | | callee: call_symbol.unwrap().replace("::", "_"), [INFO] [stdout] 503 | | args: ir_args, [INFO] [stdout] 504 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:506:47 [INFO] [stdout] | [INFO] [stdout] 506 | Expr::Index { ty, ptr, index } => { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 507 | | let term = self.expr_left_value(Source::span( [INFO] [stdout] 508 | | Expr::Index { [INFO] [stdout] 509 | | ty: ty.clone(), [INFO] [stdout] ... | [INFO] [stdout] 530 | | }) [INFO] [stdout] 531 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:507:28 [INFO] [stdout] | [INFO] [stdout] 507 | let term = self.expr_left_value(Source::span( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 508 | | Expr::Index { [INFO] [stdout] 509 | | ty: ty.clone(), [INFO] [stdout] 510 | | ptr, [INFO] [stdout] ... | [INFO] [stdout] 513 | | expr.span, [INFO] [stdout] 514 | | ))?; [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:507:28 [INFO] [stdout] | [INFO] [stdout] 507 | let term = self.expr_left_value(Source::span( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 508 | | Expr::Index { [INFO] [stdout] 509 | | ty: ty.clone(), [INFO] [stdout] 510 | | ptr, [INFO] [stdout] ... | [INFO] [stdout] 513 | | expr.span, [INFO] [stdout] 514 | | ))?; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:507:28 [INFO] [stdout] | [INFO] [stdout] 507 | let term = self.expr_left_value(Source::span( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 508 | | Expr::Index { [INFO] [stdout] 509 | | ty: ty.clone(), [INFO] [stdout] 510 | | ptr, [INFO] [stdout] ... | [INFO] [stdout] 513 | | expr.span, [INFO] [stdout] 514 | | ))?; [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:521:17 [INFO] [stdout] | [INFO] [stdout] 521 | / Ok(IrTerm::Op { [INFO] [stdout] 522 | | op: match item_ty.as_ref() { [INFO] [stdout] 523 | | Type::Byte => IrOp::Cast(TypeTag::Byte), [INFO] [stdout] 524 | | _ => IrOp::Cast(TypeTag::Int), [INFO] [stdout] ... | [INFO] [stdout] 529 | | }], [INFO] [stdout] 530 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:537:18 [INFO] [stdout] | [INFO] [stdout] 537 | } => { [INFO] [stdout] | __________________^ [INFO] [stdout] 538 | | let name = format!("closure_{}", nanoid!()); [INFO] [stdout] 539 | | let env_name = format!("closure_env_{}", nanoid!()); [INFO] [stdout] ... | [INFO] [stdout] 574 | | Ok(closure_pair) [INFO] [stdout] 575 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:551:28 [INFO] [stdout] | [INFO] [stdout] 551 | let term = self.block(*body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:551:28 [INFO] [stdout] | [INFO] [stdout] 551 | let term = self.block(*body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:551:28 [INFO] [stdout] | [INFO] [stdout] 551 | let term = self.block(*body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:574:17 [INFO] [stdout] | [INFO] [stdout] 574 | Ok(closure_pair) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:576:35 [INFO] [stdout] | [INFO] [stdout] 576 | Expr::Unwrap(expr) => Ok(self.expr(*expr)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:576:38 [INFO] [stdout] | [INFO] [stdout] 576 | Expr::Unwrap(expr) => Ok(self.expr(*expr)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:576:38 [INFO] [stdout] | [INFO] [stdout] 576 | Expr::Unwrap(expr) => Ok(self.expr(*expr)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:576:38 [INFO] [stdout] | [INFO] [stdout] 576 | Expr::Unwrap(expr) => Ok(self.expr(*expr)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:577:18 [INFO] [stdout] | [INFO] [stdout] 577 | _ => { [INFO] [stdout] | __________________^ [INFO] [stdout] 578 | | let term = self.expr_left_value(expr)?; [INFO] [stdout] 579 | | [INFO] [stdout] 580 | | Ok(IrTerm::Load { [INFO] [stdout] ... | [INFO] [stdout] 583 | | }) [INFO] [stdout] 584 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | let term = self.expr_left_value(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | let term = self.expr_left_value(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | let term = self.expr_left_value(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | / Ok(IrTerm::Load { [INFO] [stdout] 581 | | size: Value::size() as usize, [INFO] [stdout] 582 | | address: Box::new(term), [INFO] [stdout] 583 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:588:95 [INFO] [stdout] | [INFO] [stdout] 588 | fn expr_left_value(&mut self, expr: Source) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 589 | | match expr.data { [INFO] [stdout] 590 | | Expr::Ident(name) => { [INFO] [stdout] 591 | | if let Some((env_name, index)) = self.captured_env.get(&name.data) { [INFO] [stdout] ... | [INFO] [stdout] 673 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 589 | / match expr.data { [INFO] [stdout] 590 | | Expr::Ident(name) => { [INFO] [stdout] 591 | | if let Some((env_name, index)) = self.captured_env.get(&name.data) { [INFO] [stdout] 592 | | return Ok(IrTerm::Load { [INFO] [stdout] ... | [INFO] [stdout] 671 | | _ => todo!(), [INFO] [stdout] 672 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:590:34 [INFO] [stdout] | [INFO] [stdout] 590 | Expr::Ident(name) => { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 591 | | if let Some((env_name, index)) = self.captured_env.get(&name.data) { [INFO] [stdout] 592 | | return Ok(IrTerm::Load { [INFO] [stdout] 593 | | size: Value::size() as usize, [INFO] [stdout] ... | [INFO] [stdout] 604 | | Ok(IrTerm::Ident(name.data)) [INFO] [stdout] 605 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:592:28 [INFO] [stdout] | [INFO] [stdout] 592 | return Ok(IrTerm::Load { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 593 | | size: Value::size() as usize, [INFO] [stdout] 594 | | address: Box::new(IrTerm::Index { [INFO] [stdout] 595 | | ptr: Box::new(IrTerm::Load { [INFO] [stdout] ... | [INFO] [stdout] 600 | | }), [INFO] [stdout] 601 | | }); [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:604:17 [INFO] [stdout] | [INFO] [stdout] 604 | Ok(IrTerm::Ident(name.data)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:606:49 [INFO] [stdout] | [INFO] [stdout] 606 | Expr::Qualified { module, name } => Ok(IrTerm::Qualified(module.data, name.data)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:607:47 [INFO] [stdout] | [INFO] [stdout] 607 | Expr::Index { ty, ptr, index } => { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 608 | | let ptr = self.expr(*ptr)?; [INFO] [stdout] 609 | | let index = self.expr(*index)?; [INFO] [stdout] ... | [INFO] [stdout] 635 | | }) [INFO] [stdout] 636 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:608:27 [INFO] [stdout] | [INFO] [stdout] 608 | let ptr = self.expr(*ptr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:608:27 [INFO] [stdout] | [INFO] [stdout] 608 | let ptr = self.expr(*ptr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:608:27 [INFO] [stdout] | [INFO] [stdout] 608 | let ptr = self.expr(*ptr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:609:29 [INFO] [stdout] | [INFO] [stdout] 609 | let index = self.expr(*index)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:609:29 [INFO] [stdout] | [INFO] [stdout] 609 | let index = self.expr(*index)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:609:29 [INFO] [stdout] | [INFO] [stdout] 609 | let index = self.expr(*index)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:611:17 [INFO] [stdout] | [INFO] [stdout] 611 | / Ok(IrTerm::Index { [INFO] [stdout] 612 | | ptr: Box::new(match &ty { [INFO] [stdout] 613 | | Type::Ptr(_) => ptr, [INFO] [stdout] ... | [INFO] [stdout] 634 | | }), [INFO] [stdout] 635 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:641:18 [INFO] [stdout] | [INFO] [stdout] 641 | } => { [INFO] [stdout] | __________________^ [INFO] [stdout] 642 | | let expr = self.expr(*expr)?; [INFO] [stdout] 643 | | [INFO] [stdout] 644 | | let struct_ty = match expr_ty { [INFO] [stdout] ... | [INFO] [stdout] 669 | | }) [INFO] [stdout] 670 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | let expr = self.expr(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:666:17 [INFO] [stdout] | [INFO] [stdout] 666 | / Ok(IrTerm::Index { [INFO] [stdout] 667 | | ptr: Box::new(expr), [INFO] [stdout] 668 | | index: Box::new(IrTerm::Int(index as i32 * Value::size())), [INFO] [stdout] 669 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:675:91 [INFO] [stdout] | [INFO] [stdout] 675 | pub fn block(&mut self, block: Source) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 676 | | let mut terms = vec![]; [INFO] [stdout] 677 | | [INFO] [stdout] 678 | | for stmt in block.data.statements { [INFO] [stdout] ... | [INFO] [stdout] 843 | | Ok(IrTerm::Items(terms)) [INFO] [stdout] 844 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:683:30 [INFO] [stdout] | [INFO] [stdout] 683 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:683:30 [INFO] [stdout] | [INFO] [stdout] 683 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:683:30 [INFO] [stdout] | [INFO] [stdout] 683 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:691:30 [INFO] [stdout] | [INFO] [stdout] 691 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:691:30 [INFO] [stdout] | [INFO] [stdout] 691 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:691:30 [INFO] [stdout] | [INFO] [stdout] 691 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:696:30 [INFO] [stdout] | [INFO] [stdout] 696 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:696:30 [INFO] [stdout] | [INFO] [stdout] 696 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:696:30 [INFO] [stdout] | [INFO] [stdout] 696 | let ir = self.expr(expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:701:31 [INFO] [stdout] | [INFO] [stdout] 701 | let lhs = self.expr_left_value(lhs)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:701:31 [INFO] [stdout] | [INFO] [stdout] 701 | let lhs = self.expr_left_value(lhs)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:701:31 [INFO] [stdout] | [INFO] [stdout] 701 | let lhs = self.expr_left_value(lhs)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:702:31 [INFO] [stdout] | [INFO] [stdout] 702 | let rhs = self.expr(rhs)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:702:31 [INFO] [stdout] | [INFO] [stdout] 702 | let rhs = self.expr(rhs)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:702:31 [INFO] [stdout] | [INFO] [stdout] 702 | let rhs = self.expr(rhs)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:711:32 [INFO] [stdout] | [INFO] [stdout] 711 | let cond = self.expr(cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:711:32 [INFO] [stdout] | [INFO] [stdout] 711 | let cond = self.expr(cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:711:32 [INFO] [stdout] | [INFO] [stdout] 711 | let cond = self.expr(cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:712:32 [INFO] [stdout] | [INFO] [stdout] 712 | let body = self.block(body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:712:32 [INFO] [stdout] | [INFO] [stdout] 712 | let body = self.block(body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:712:32 [INFO] [stdout] | [INFO] [stdout] 712 | let body = self.block(body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:720:32 [INFO] [stdout] | [INFO] [stdout] 720 | let cond = self.expr(cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:720:32 [INFO] [stdout] | [INFO] [stdout] 720 | let cond = self.expr(cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:720:32 [INFO] [stdout] | [INFO] [stdout] 720 | let cond = self.expr(cond)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:721:32 [INFO] [stdout] | [INFO] [stdout] 721 | let then = self.block(then)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:721:32 [INFO] [stdout] | [INFO] [stdout] 721 | let then = self.block(then)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:721:32 [INFO] [stdout] | [INFO] [stdout] 721 | let then = self.block(then)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:723:40 [INFO] [stdout] | [INFO] [stdout] 723 | Some(block) => self.block(block)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:723:40 [INFO] [stdout] | [INFO] [stdout] 723 | Some(block) => self.block(block)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:723:40 [INFO] [stdout] | [INFO] [stdout] 723 | Some(block) => self.block(block)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:734:32 [INFO] [stdout] | [INFO] [stdout] 734 | terms.push(self.block(block)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:734:32 [INFO] [stdout] | [INFO] [stdout] 734 | terms.push(self.block(block)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:734:32 [INFO] [stdout] | [INFO] [stdout] 734 | terms.push(self.block(block)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:746:49 [INFO] [stdout] | [INFO] [stdout] 746 | ... value: Box::new(self.expr(*start)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:746:49 [INFO] [stdout] | [INFO] [stdout] 746 | ... value: Box::new(self.expr(*start)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:746:49 [INFO] [stdout] | [INFO] [stdout] 746 | ... value: Box::new(self.expr(*start)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:749:39 [INFO] [stdout] | [INFO] [stdout] 749 | ... let end = self.expr(*end)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:749:39 [INFO] [stdout] | [INFO] [stdout] 749 | ... let end = self.expr(*end)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:749:39 [INFO] [stdout] | [INFO] [stdout] 749 | ... let end = self.expr(*end)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:750:49 [INFO] [stdout] | [INFO] [stdout] 750 | ... let mut body = vec![self.block(body)?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:750:49 [INFO] [stdout] | [INFO] [stdout] 750 | ... let mut body = vec![self.block(body)?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:750:49 [INFO] [stdout] | [INFO] [stdout] 750 | ... let mut body = vec![self.block(body)?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:791:49 [INFO] [stdout] | [INFO] [stdout] 791 | ... value: Box::new(self.expr(Source::unknown(Expr::Index { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 792 | | ... ty: Type::Array(Box::new(ty.clone())), [INFO] [stdout] 793 | | ... ptr: Box::new(expr.clone()), [INFO] [stdout] 794 | | ... index: Box::new(Source::unknown(Expr::Ident(Source::unknown( [INFO] [stdout] 795 | | ... var_id.clone(), [INFO] [stdout] 796 | | ... )))), [INFO] [stdout] 797 | | ... }))?), [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:791:49 [INFO] [stdout] | [INFO] [stdout] 791 | ... value: Box::new(self.expr(Source::unknown(Expr::Index { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 792 | | ... ty: Type::Array(Box::new(ty.clone())), [INFO] [stdout] 793 | | ... ptr: Box::new(expr.clone()), [INFO] [stdout] 794 | | ... index: Box::new(Source::unknown(Expr::Ident(Source::unknown( [INFO] [stdout] 795 | | ... var_id.clone(), [INFO] [stdout] 796 | | ... )))), [INFO] [stdout] 797 | | ... }))?), [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:791:49 [INFO] [stdout] | [INFO] [stdout] 791 | ... value: Box::new(self.expr(Source::unknown(Expr::Index { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 792 | | ... ty: Type::Array(Box::new(ty.clone())), [INFO] [stdout] 793 | | ... ptr: Box::new(expr.clone()), [INFO] [stdout] 794 | | ... index: Box::new(Source::unknown(Expr::Ident(Source::unknown( [INFO] [stdout] 795 | | ... var_id.clone(), [INFO] [stdout] 796 | | ... )))), [INFO] [stdout] 797 | | ... }))?), [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:799:29 [INFO] [stdout] | [INFO] [stdout] 799 | ... self.block(body)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:799:29 [INFO] [stdout] | [INFO] [stdout] 799 | ... self.block(body)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:799:29 [INFO] [stdout] | [INFO] [stdout] 799 | ... self.block(body)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:823:37 [INFO] [stdout] | [INFO] [stdout] 823 | / ... self.expr(Source::unknown(Expr::Project { [INFO] [stdout] 824 | | ... expr_ty: Type::Array(Box::new(ty.clone())), [INFO] [stdout] 825 | | ... expr: Box::new(expr), [INFO] [stdout] 826 | | ... field: Source::unknown("length".to_string()), [INFO] [stdout] 827 | | ... }))?, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:823:37 [INFO] [stdout] | [INFO] [stdout] 823 | / ... self.expr(Source::unknown(Expr::Project { [INFO] [stdout] 824 | | ... expr_ty: Type::Array(Box::new(ty.clone())), [INFO] [stdout] 825 | | ... expr: Box::new(expr), [INFO] [stdout] 826 | | ... field: Source::unknown("length".to_string()), [INFO] [stdout] 827 | | ... }))?, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:823:37 [INFO] [stdout] | [INFO] [stdout] 823 | / ... self.expr(Source::unknown(Expr::Project { [INFO] [stdout] 824 | | ... expr_ty: Type::Array(Box::new(ty.clone())), [INFO] [stdout] 825 | | ... expr: Box::new(expr), [INFO] [stdout] 826 | | ... field: Source::unknown("length".to_string()), [INFO] [stdout] 827 | | ... }))?, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::ops::ControlFlow, compiler::ir::IrTerm> [INFO] [stdout] --> src/compiler/ir_code_gen.rs:838:24 [INFO] [stdout] | [INFO] [stdout] 838 | terms.push(self.expr(expr)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:838:24 [INFO] [stdout] | [INFO] [stdout] 838 | terms.push(self.expr(expr)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:838:24 [INFO] [stdout] | [INFO] [stdout] 838 | terms.push(self.expr(expr)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:843:9 [INFO] [stdout] | [INFO] [stdout] 843 | Ok(IrTerm::Items(terms)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:901:22 [INFO] [stdout] | [INFO] [stdout] 901 | let ir = gen.expr(expr).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/compiler/ir_code_gen.rs:1018:22 [INFO] [stdout] | [INFO] [stdout] 1018 | let ir = gen.block(block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iolite` (bin "iolite" test) due to 209 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "751cd4c36e8d783e13861e880738a66017b1643c0ebdc99971d419790357702a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "751cd4c36e8d783e13861e880738a66017b1643c0ebdc99971d419790357702a", kill_on_drop: false }` [INFO] [stdout] 751cd4c36e8d783e13861e880738a66017b1643c0ebdc99971d419790357702a