[INFO] cloning repository https://github.com/megabytesofrem/deimos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/megabytesofrem/deimos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegabytesofrem%2Fdeimos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegabytesofrem%2Fdeimos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05db244aa453a5b7b4b8e526abfc54d75e9dbc02 [INFO] checking megabytesofrem/deimos against master#561b5dea1e7e5c21f0fb550ca579229ceb878297 for pr-124661 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegabytesofrem%2Fdeimos" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megabytesofrem/deimos on toolchain 561b5dea1e7e5c21f0fb550ca579229ceb878297 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+561b5dea1e7e5c21f0fb550ca579229ceb878297" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/megabytesofrem/deimos [INFO] finished tweaking git repo https://github.com/megabytesofrem/deimos [INFO] tweaked toml for git repo https://github.com/megabytesofrem/deimos written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/megabytesofrem/deimos 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" "+561b5dea1e7e5c21f0fb550ca579229ceb878297" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking megabytesofrem/deimos against try#8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8 for pr-124661 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegabytesofrem%2Fdeimos" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megabytesofrem/deimos on toolchain 8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/megabytesofrem/deimos [INFO] finished tweaking git repo https://github.com/megabytesofrem/deimos [INFO] tweaked toml for git repo https://github.com/megabytesofrem/deimos written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/megabytesofrem/deimos 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" "+8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking megabytesofrem/deimos against try#8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8 for pr-124661 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegabytesofrem%2Fdeimos" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megabytesofrem/deimos on toolchain 8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/megabytesofrem/deimos [INFO] finished tweaking git repo https://github.com/megabytesofrem/deimos [INFO] tweaked toml for git repo https://github.com/megabytesofrem/deimos written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/megabytesofrem/deimos 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" "+8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f91e15a37c24d9da327d0c8bc69c89cc746f586efd8884fcefb8ff2a8d7e58a [INFO] running `Command { std: "docker" "start" "-a" "3f91e15a37c24d9da327d0c8bc69c89cc746f586efd8884fcefb8ff2a8d7e58a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f91e15a37c24d9da327d0c8bc69c89cc746f586efd8884fcefb8ff2a8d7e58a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f91e15a37c24d9da327d0c8bc69c89cc746f586efd8884fcefb8ff2a8d7e58a", kill_on_drop: false }` [INFO] [stdout] 3f91e15a37c24d9da327d0c8bc69c89cc746f586efd8884fcefb8ff2a8d7e58a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 260f6548547a762ec84262c9028eabb2f54820225b03a6047864d25de8b504ee [INFO] running `Command { std: "docker" "start" "-a" "260f6548547a762ec84262c9028eabb2f54820225b03a6047864d25de8b504ee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Checking logos v0.14.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking deimos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Ty` [INFO] [stdout] --> src/parser/expr.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::syntax::ast::{Expr, Literal, Ty}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ty` [INFO] [stdout] --> src/parser/expr.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::syntax::ast::{Expr, Literal, Ty}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_name` [INFO] [stdout] --> src/backend/module_info.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let module_name = self.name.to_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment_string` [INFO] [stdout] --> src/backend/module_info.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let comment_string = format!("// Generated header for module: {}\n", self.name); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dstring` [INFO] [stdout] --> src/backend/transpile.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let dstring = std::fs::read_to_string("c_lib/dstring.h").expect("Failed to read dstring.h"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prelude` [INFO] [stdout] --> src/backend/transpile.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let prelude = std::fs::read_to_string("c_lib/prelude.h").expect("Failed to read prelude.h"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/backend/transpile.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | fn compile_ast(&mut self, ast: &TypedAst) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_name` [INFO] [stdout] --> src/backend/module_info.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let module_name = self.name.to_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment_string` [INFO] [stdout] --> src/backend/module_info.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let comment_string = format!("// Generated header for module: {}\n", self.name); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dstring` [INFO] [stdout] --> src/backend/transpile.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let dstring = std::fs::read_to_string("c_lib/dstring.h").expect("Failed to read dstring.h"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prelude` [INFO] [stdout] --> src/backend/transpile.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let prelude = std::fs::read_to_string("c_lib/prelude.h").expect("Failed to read prelude.h"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/backend/transpile.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | fn compile_ast(&mut self, ast: &TypedAst) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/middle/type_infer.rs:180:24 [INFO] [stdout] | [INFO] [stdout] 180 | Expr::Cast(expr, ty) => Ok(ty.clone()), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/middle/type_infer.rs:180:24 [INFO] [stdout] | [INFO] [stdout] 180 | Expr::Cast(expr, ty) => Ok(ty.clone()), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/parser/expr.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let location = self.peek().map(|t| t.location).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/parser/expr.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let location = self.peek().map(|t| t.location).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array` [INFO] [stdout] --> src/parser/expr.rs:301:37 [INFO] [stdout] | [INFO] [stdout] 301 | fn parse_array_index(&mut self, array: &Expr) -> parser::Return> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array` [INFO] [stdout] --> src/parser/expr.rs:301:37 [INFO] [stdout] | [INFO] [stdout] 301 | fn parse_array_index(&mut self, array: &Expr) -> parser::Return> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser/stmt.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | let token = self.expect(TokenKind::KwModule)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_info` [INFO] [stdout] --> src/parser/stmt.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | let mut module_info = ModuleInfo::new(name.literal.to_string()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/stmt.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let mut module_info = ModuleInfo::new(name.literal.to_string()); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser/stmt.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let token = self.expect(TokenKind::KwStruct)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser/stmt.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | let token = self.expect(TokenKind::KwEnum)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser/stmt.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | let token = self.expect(TokenKind::KwModule)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_info` [INFO] [stdout] --> src/parser/stmt.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | let mut module_info = ModuleInfo::new(name.literal.to_string()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/stmt.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let mut module_info = ModuleInfo::new(name.literal.to_string()); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser/stmt.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let token = self.expect(TokenKind::KwStruct)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser/stmt.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | let token = self.expect(TokenKind::KwEnum)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prefix_module_name` is never used [INFO] [stdout] --> src/backend/module_info.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl ModuleInfo { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn prefix_module_name(&self, module_name: &str, func_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `emit`, `emit_line`, `increase_indent`, and `decrease_indent` are never used [INFO] [stdout] --> src/backend/pretty_print.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PrettyPrinter { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn emit(&mut self, str: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn emit_line(&mut self, str: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn increase_indent(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn decrease_indent(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/parser/mod.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'p> Parser<'p> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub(crate) fn check(&mut self, kind: TokenKind) -> Return> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_params` is never used [INFO] [stdout] --> src/parser/tidbits.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'p> Parser<'p> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub(crate) fn parse_params(&mut self) -> parser::Return> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prefix_module_name` is never used [INFO] [stdout] --> src/backend/module_info.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl ModuleInfo { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn prefix_module_name(&self, module_name: &str, func_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `emit`, `emit_line`, `increase_indent`, and `decrease_indent` are never used [INFO] [stdout] --> src/backend/pretty_print.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PrettyPrinter { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn emit(&mut self, str: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn emit_line(&mut self, str: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn increase_indent(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn decrease_indent(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/parser/mod.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'p> Parser<'p> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub(crate) fn check(&mut self, kind: TokenKind) -> Return> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_params` is never used [INFO] [stdout] --> src/parser/tidbits.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'p> Parser<'p> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub(crate) fn parse_params(&mut self) -> parser::Return> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_ast` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let typed_ast = Typecheck::check(ast).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_ast` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_ast` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let typed_ast = Typecheck::check(ast).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_ast` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.94s [INFO] running `Command { std: "docker" "inspect" "260f6548547a762ec84262c9028eabb2f54820225b03a6047864d25de8b504ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "260f6548547a762ec84262c9028eabb2f54820225b03a6047864d25de8b504ee", kill_on_drop: false }` [INFO] [stdout] 260f6548547a762ec84262c9028eabb2f54820225b03a6047864d25de8b504ee