[INFO] cloning repository https://github.com/nathanielfernandes/sea [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nathanielfernandes/sea" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanielfernandes%2Fsea", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanielfernandes%2Fsea'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4396021588d0e4eb7e9538ed8d584e4c99300a6f [INFO] checking nathanielfernandes/sea against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanielfernandes%2Fsea" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nathanielfernandes/sea [INFO] finished tweaking git repo https://github.com/nathanielfernandes/sea [INFO] tweaked toml for git repo https://github.com/nathanielfernandes/sea written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nathanielfernandes/sea on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nathanielfernandes/sea 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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14a38e78e88cd8922a7940860fc3d8c8a3ca09cc1e666d76050616ca475ec2c7 [INFO] running `Command { std: "docker" "start" "-a" "14a38e78e88cd8922a7940860fc3d8c8a3ca09cc1e666d76050616ca475ec2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14a38e78e88cd8922a7940860fc3d8c8a3ca09cc1e666d76050616ca475ec2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14a38e78e88cd8922a7940860fc3d8c8a3ca09cc1e666d76050616ca475ec2c7", kill_on_drop: false }` [INFO] [stdout] 14a38e78e88cd8922a7940860fc3d8c8a3ca09cc1e666d76050616ca475ec2c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d8a351a0cfe76037588a3413030fca5a982e7ff8cd4c5c2b1e83baf7f76aa8e [INFO] running `Command { std: "docker" "start" "-a" "9d8a351a0cfe76037588a3413030fca5a982e7ff8cd4c5c2b1e83baf7f76aa8e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking sea v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IRType` and `IRVariable` [INFO] [stdout] --> src/compiler/mod.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | Block, Context, IRConstant, IRExpression, IRFunction, IRFunctionInner, IRStatement, IRType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | IRTypeInner, IRValue, IRVariable, InternedString, TypeId, VariableId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IRType` and `IRVariable` [INFO] [stdout] --> src/compiler/mod.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | Block, Context, IRConstant, IRExpression, IRFunction, IRFunctionInner, IRStatement, IRType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | IRTypeInner, IRValue, IRVariable, InternedString, TypeId, VariableId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middle/mod.rs:517:25 [INFO] [stdout] | [INFO] [stdout] 517 | let mut ctx = $comp.ctx(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 587 | / builtins! { [INFO] [stdout] 588 | | [comp] [INFO] [stdout] 589 | | [INFO] [stdout] 590 | | fn core::add(T, T) -> T; [INFO] [stdout] ... | [INFO] [stdout] 599 | | fn println(Any) -> Unit; [INFO] [stdout] 600 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `builtins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_mutable` [INFO] [stdout] --> src/middle/mod.rs:1067:17 [INFO] [stdout] | [INFO] [stdout] 1067 | is_mutable, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `is_mutable: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_kind` [INFO] [stdout] --> src/middle/mod.rs:1099:17 [INFO] [stdout] | [INFO] [stdout] 1099 | function_kind, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `function_kind: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/middle/mod.rs:1137:36 [INFO] [stdout] | [INFO] [stdout] 1137 | Statement::WhileLoop { condition, body } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/middle/mod.rs:1137:47 [INFO] [stdout] | [INFO] [stdout] 1137 | Statement::WhileLoop { condition, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/middle/mod.rs:1138:33 [INFO] [stdout] | [INFO] [stdout] 1138 | Statement::Struct { name, fields } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/middle/mod.rs:1138:39 [INFO] [stdout] | [INFO] [stdout] 1138 | Statement::Struct { name, fields } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/middle/mod.rs:1061:16 [INFO] [stdout] | [INFO] [stdout] 1061 | Span { start, end, value }: &Span, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `start: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/middle/mod.rs:1061:23 [INFO] [stdout] | [INFO] [stdout] 1061 | Span { start, end, value }: &Span, [INFO] [stdout] | ^^^ help: try ignoring the field: `end: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/middle/mod.rs:1374:34 [INFO] [stdout] | [INFO] [stdout] 1374 | Expression::Access { expr, field } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `expr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/middle/mod.rs:1374:40 [INFO] [stdout] | [INFO] [stdout] 1374 | Expression::Access { expr, field } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `field: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_prefix` is never read [INFO] [stdout] --> src/compiler/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Compiler { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | user_prefix: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `RESULT_TYPE`, `TRY`, `OK`, `EXPECT_BOOL`, and `BUILTIN_FUNCTIONS` are never used [INFO] [stdout] --> src/compiler/mod.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 23 | impl Compiler { [INFO] [stdout] | ------------- associated constants in this implementation [INFO] [stdout] 24 | const VALUE_TYPE: &'static str = "Value"; [INFO] [stdout] 25 | const RESULT_TYPE: &'static str = "Result"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | const TRY: &'static str = "Try"; [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | const OK: &'static str = "Ok"; [INFO] [stdout] | ^^ [INFO] [stdout] 28 | const EXPECT_BOOL: &'static str = "EXPECT_BOOL"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | const BUILTIN_FUNCTIONS: &'static [&'static str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `symbol` is never used [INFO] [stdout] --> src/compiler/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Compiler { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | fn symbol(&self, value: &str, skip: bool) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAIN` is never used [INFO] [stdout] --> src/compiler/mod.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | const MAIN: &str = "/* {{main}} */"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Unreachable` is never used [INFO] [stdout] --> src/middle/mod.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | fn Unreachable(&self) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/middle/mod.rs:632:8 [INFO] [stdout] | [INFO] [stdout] 545 | impl IRCompiler { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 632 | fn add_type(&self, ty: IRType) -> TypeId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | fn update_type(&self, ty: TypeId, new_ty: IRType) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 641 | fn set_type(&mut self, path: Path, ty: TypeId) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | fn get_builtin(&self, path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | fn Bool(&self) -> TypeId { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 678 | fn Int(&self) -> TypeId { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | fn Float(&self) -> TypeId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | fn String(&self) -> TypeId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 704 | fn Unreachable(&self) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 811 | fn next_block(&self) -> BlockId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 991 | fn get_local(&self, id: VariableId) -> &IRVariable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/middle/mod.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn strings(&self) -> std::cell::Ref> { [INFO] [stdout] | ^^^^^ -------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn strings(&self) -> std::cell::Ref<'_, Pool> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/middle/mod.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn strings_mut(&self) -> std::cell::RefMut> { [INFO] [stdout] | ^^^^^ ----------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn strings_mut(&self) -> std::cell::RefMut<'_, Pool> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/middle/mod.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn metadata(&self) -> std::cell::Ref { [INFO] [stdout] | ^^^^^ ---------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 277 | pub fn metadata(&self) -> std::cell::Ref<'_, IRVariableMetadata> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/middle/mod.rs:615:16 [INFO] [stdout] | [INFO] [stdout] 615 | fn ctx_ref(&self) -> std::cell::Ref { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 615 | fn ctx_ref(&self) -> std::cell::Ref<'_, Context> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/middle/mod.rs:619:12 [INFO] [stdout] | [INFO] [stdout] 619 | fn ctx(&self) -> std::cell::RefMut { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 619 | fn ctx(&self) -> std::cell::RefMut<'_, Context> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middle/mod.rs:517:25 [INFO] [stdout] | [INFO] [stdout] 517 | let mut ctx = $comp.ctx(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 587 | / builtins! { [INFO] [stdout] 588 | | [comp] [INFO] [stdout] 589 | | [INFO] [stdout] 590 | | fn core::add(T, T) -> T; [INFO] [stdout] ... | [INFO] [stdout] 599 | | fn println(Any) -> Unit; [INFO] [stdout] 600 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `builtins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_mutable` [INFO] [stdout] --> src/middle/mod.rs:1067:17 [INFO] [stdout] | [INFO] [stdout] 1067 | is_mutable, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `is_mutable: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_kind` [INFO] [stdout] --> src/middle/mod.rs:1099:17 [INFO] [stdout] | [INFO] [stdout] 1099 | function_kind, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `function_kind: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/middle/mod.rs:1137:36 [INFO] [stdout] | [INFO] [stdout] 1137 | Statement::WhileLoop { condition, body } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/middle/mod.rs:1137:47 [INFO] [stdout] | [INFO] [stdout] 1137 | Statement::WhileLoop { condition, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/middle/mod.rs:1138:33 [INFO] [stdout] | [INFO] [stdout] 1138 | Statement::Struct { name, fields } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/middle/mod.rs:1138:39 [INFO] [stdout] | [INFO] [stdout] 1138 | Statement::Struct { name, fields } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/middle/mod.rs:1061:16 [INFO] [stdout] | [INFO] [stdout] 1061 | Span { start, end, value }: &Span, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `start: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/middle/mod.rs:1061:23 [INFO] [stdout] | [INFO] [stdout] 1061 | Span { start, end, value }: &Span, [INFO] [stdout] | ^^^ help: try ignoring the field: `end: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/middle/mod.rs:1374:34 [INFO] [stdout] | [INFO] [stdout] 1374 | Expression::Access { expr, field } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `expr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/middle/mod.rs:1374:40 [INFO] [stdout] | [INFO] [stdout] 1374 | Expression::Access { expr, field } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `field: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_prefix` is never read [INFO] [stdout] --> src/compiler/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Compiler { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | user_prefix: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `RESULT_TYPE`, `TRY`, `OK`, `EXPECT_BOOL`, and `BUILTIN_FUNCTIONS` are never used [INFO] [stdout] --> src/compiler/mod.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 23 | impl Compiler { [INFO] [stdout] | ------------- associated constants in this implementation [INFO] [stdout] 24 | const VALUE_TYPE: &'static str = "Value"; [INFO] [stdout] 25 | const RESULT_TYPE: &'static str = "Result"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | const TRY: &'static str = "Try"; [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | const OK: &'static str = "Ok"; [INFO] [stdout] | ^^ [INFO] [stdout] 28 | const EXPECT_BOOL: &'static str = "EXPECT_BOOL"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | const BUILTIN_FUNCTIONS: &'static [&'static str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `symbol` is never used [INFO] [stdout] --> src/compiler/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Compiler { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | fn symbol(&self, value: &str, skip: bool) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAIN` is never used [INFO] [stdout] --> src/compiler/mod.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | const MAIN: &str = "/* {{main}} */"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Unreachable` is never used [INFO] [stdout] --> src/middle/mod.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | fn Unreachable(&self) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/middle/mod.rs:632:8 [INFO] [stdout] | [INFO] [stdout] 545 | impl IRCompiler { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 632 | fn add_type(&self, ty: IRType) -> TypeId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | fn update_type(&self, ty: TypeId, new_ty: IRType) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 641 | fn set_type(&mut self, path: Path, ty: TypeId) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | fn get_builtin(&self, path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | fn Bool(&self) -> TypeId { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 678 | fn Int(&self) -> TypeId { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | fn Float(&self) -> TypeId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | fn String(&self) -> TypeId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 704 | fn Unreachable(&self) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 811 | fn next_block(&self) -> BlockId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 991 | fn get_local(&self, id: VariableId) -> &IRVariable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/middle/mod.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn strings(&self) -> std::cell::Ref> { [INFO] [stdout] | ^^^^^ -------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn strings(&self) -> std::cell::Ref<'_, Pool> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/middle/mod.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn strings_mut(&self) -> std::cell::RefMut> { [INFO] [stdout] | ^^^^^ ----------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn strings_mut(&self) -> std::cell::RefMut<'_, Pool> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/middle/mod.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn metadata(&self) -> std::cell::Ref { [INFO] [stdout] | ^^^^^ ---------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 277 | pub fn metadata(&self) -> std::cell::Ref<'_, IRVariableMetadata> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/middle/mod.rs:615:16 [INFO] [stdout] | [INFO] [stdout] 615 | fn ctx_ref(&self) -> std::cell::Ref { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 615 | fn ctx_ref(&self) -> std::cell::Ref<'_, Context> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/middle/mod.rs:619:12 [INFO] [stdout] | [INFO] [stdout] 619 | fn ctx(&self) -> std::cell::RefMut { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 619 | fn ctx(&self) -> std::cell::RefMut<'_, Context> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea::parser::debug::print_statement` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sea::parser::debug::print_statement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea::parser::debug::print_statement` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sea::parser::debug::print_statement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.88s [INFO] running `Command { std: "docker" "inspect" "9d8a351a0cfe76037588a3413030fca5a982e7ff8cd4c5c2b1e83baf7f76aa8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d8a351a0cfe76037588a3413030fca5a982e7ff8cd4c5c2b1e83baf7f76aa8e", kill_on_drop: false }` [INFO] [stdout] 9d8a351a0cfe76037588a3413030fca5a982e7ff8cd4c5c2b1e83baf7f76aa8e