[INFO] fetching crate moeval 0.1.0-alpha.1... [INFO] checking moeval-0.1.0-alpha.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate moeval 0.1.0-alpha.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate moeval 0.1.0-alpha.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate moeval 0.1.0-alpha.1 [INFO] finished tweaking crates.io crate moeval 0.1.0-alpha.1 [INFO] tweaked toml for crates.io crate moeval 0.1.0-alpha.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate moeval 0.1.0-alpha.1 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bevy_utils v0.14.0 [INFO] [stderr] Downloaded bevy_utils_proc_macros v0.14.0 [INFO] [stderr] Downloaded pest_derive v2.7.6 [INFO] [stderr] Downloaded pest_generator v2.7.6 [INFO] [stderr] Downloaded pest_meta v2.7.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.75 [INFO] [stderr] Downloaded cc v1.1.4 [INFO] [stderr] Downloaded regex v1.9.4 [INFO] [stderr] Downloaded regex-automata v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43266035bb1615329377c94f327bec989482389a86b10f2b90ef4aae548656d5 [INFO] running `Command { std: "docker" "start" "-a" "43266035bb1615329377c94f327bec989482389a86b10f2b90ef4aae548656d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43266035bb1615329377c94f327bec989482389a86b10f2b90ef4aae548656d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43266035bb1615329377c94f327bec989482389a86b10f2b90ef4aae548656d5", kill_on_drop: false }` [INFO] [stdout] 43266035bb1615329377c94f327bec989482389a86b10f2b90ef4aae548656d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb4ea3a0e6b7d658c62018bb24becf55b39c3b5721214da3d613fefed6d09d83 [INFO] running `Command { std: "docker" "start" "-a" "cb4ea3a0e6b7d658c62018bb24becf55b39c3b5721214da3d613fefed6d09d83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking memchr v2.6.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.1.4 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking regex-automata v0.3.7 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking regex v1.9.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.14.0 [INFO] [stderr] Checking bevy_utils v0.14.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling pest v2.7.6 [INFO] [stderr] Compiling pest_meta v2.7.6 [INFO] [stderr] Compiling pest_generator v2.7.6 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pest_derive v2.7.6 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking moeval v0.1.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stdout] warning: unused variable: `return_ty` [INFO] [stdout] --> src/compiler.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | return_ty, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `return_ty: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | fn add(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | fn sub(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | fn mul(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | fn div(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | fn modulo(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | fn pow(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | fn compare(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | fn logic_and(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | fn logic_or(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/vm/object.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | fn call(&mut self, args: &[ValueRef]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/vm/object.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | fn index_get(&self, index: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/vm/object.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/object.rs:166:44 [INFO] [stdout] | [INFO] [stdout] 166 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `member` [INFO] [stdout] --> src/vm/object.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | fn property_get(&mut self, member: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_member` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `member` [INFO] [stdout] --> src/vm/object.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | fn property_set(&mut self, member: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_member` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/object.rs:180:46 [INFO] [stdout] | [INFO] [stdout] 180 | fn property_set(&mut self, member: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `member` [INFO] [stdout] --> src/vm/object.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | member: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_member` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/vm/object.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | args: &[ValueRef], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/vm/object.rs:1299:24 [INFO] [stdout] | [INFO] [stdout] 1299 | fn call(&mut self, args: &[ValueRef]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compile_toplevel` is never used [INFO] [stdout] --> src/compiler.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl<'short, 'long: 'short> FunctionCompiler<'short, 'long> { [INFO] [stdout] | ----------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | fn compile_toplevel(&mut self, toplevel: TopLevelItem) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TopLevelItem` is never used [INFO] [stdout] --> src/compiler/ast.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum TopLevelItem { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopLevelItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | Loop(LoopStatement), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | Loop(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Call` is never constructed [INFO] [stdout] --> src/compiler/ast.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | Call(String, Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | Enum(EnumItem), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 | Enum(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | Struct(StructItem), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 | Struct(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `variants` are never read [INFO] [stdout] --> src/compiler/ast.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EnumItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 48 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | pub variants: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | Simple(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 | Simple(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/compiler/ast.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | Tuple(String, Vec), [INFO] [stdout] | ----- ^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 55 | Tuple((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `fields` are never read [INFO] [stdout] --> src/compiler/ast.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct StructItem { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ty` are never read [INFO] [stdout] --> src/compiler/ast.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct StructField { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 66 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | pub ty: TypeExpression, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/compiler/ast.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct FunctionParam { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 80 | pub name: String, [INFO] [stdout] 81 | pub ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionParam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/compiler/ast.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct LetStatement { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 86 | pub name: String, [INFO] [stdout] 87 | pub ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LetStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/compiler/ast.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct LoopStatement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 100 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoopStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | Array(Box), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 123 | Array(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | Tuple(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 124 | Tuple(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/compiler/ast.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | Generic(String, Vec), [INFO] [stdout] | ------- ^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 125 | Generic((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | UserDefined(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 126 | UserDefined(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | Impl(Box), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 127 | Impl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | Environment(EnvironmentExpression), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 136 | Environment(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | Tuple(TupleExpression), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 137 | Tuple(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | Try(Box), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 146 | Try(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_identifier` is never used [INFO] [stdout] --> src/compiler/ast.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 150 | impl Expression { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | pub(crate) fn is_identifier(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | Literal(LiteralExpression), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 210 | Literal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:341:28 [INFO] [stdout] | [INFO] [stdout] 341 | pub struct TupleExpression(pub Vec); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `TupleExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:350:34 [INFO] [stdout] | [INFO] [stdout] 350 | pub struct EnvironmentExpression(pub String); [INFO] [stdout] | --------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `EnvironmentExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression_input` is never used [INFO] [stdout] --> src/compiler/parser.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn parse_expression_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flow_graph` is never used [INFO] [stdout] --> src/ir/builder.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a> Builder<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn flow_graph(&mut self) -> &FlowGraph { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `emit`, `extend`, `len`, and `iter` are never used [INFO] [stdout] --> src/ir/instruction.rs:358:12 [INFO] [stdout] | [INFO] [stdout] 357 | impl Instructions { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 358 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn emit(&mut self, instruction: Instruction) -> InstId { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn extend(&mut self, other: Instructions) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `id`, and `as_usize` are never used [INFO] [stdout] --> src/ir/types.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 54 | impl $name { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(id: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn id(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn as_usize(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | id_entity!(InstId); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stdout] warning: unused imports: `Promise`, `RuntimeError`, and `Value` [INFO] [stdout] --> tests/eval.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use moeval::{Environment, Evaluator, Promise, RuntimeError, Value, ValueRef}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Future`, `TryFutureExt`, and `TryFuture` [INFO] [stdout] --> tests/eval.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, FutureExt, TryFuture, TryFutureExt}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> tests/eval.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, FutureExt, TryFuture, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_ty` [INFO] [stdout] --> src/compiler.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | return_ty, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `return_ty: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | fn add(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | fn sub(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | fn mul(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | fn div(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | fn modulo(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | fn pow(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | fn compare(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | fn logic_and(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/vm/object.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | fn logic_or(&self, other: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/vm/object.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | fn call(&mut self, args: &[ValueRef]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/vm/object.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | fn index_get(&self, index: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/vm/object.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/object.rs:166:44 [INFO] [stdout] | [INFO] [stdout] 166 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `member` [INFO] [stdout] --> src/vm/object.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | fn property_get(&mut self, member: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_member` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `member` [INFO] [stdout] --> src/vm/object.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | fn property_set(&mut self, member: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_member` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/object.rs:180:46 [INFO] [stdout] | [INFO] [stdout] 180 | fn property_set(&mut self, member: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `member` [INFO] [stdout] --> src/vm/object.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | member: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_member` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/vm/object.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | args: &[ValueRef], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/vm/object.rs:1299:24 [INFO] [stdout] | [INFO] [stdout] 1299 | fn call(&mut self, args: &[ValueRef]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compile_toplevel` is never used [INFO] [stdout] --> src/compiler.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl<'short, 'long: 'short> FunctionCompiler<'short, 'long> { [INFO] [stdout] | ----------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | fn compile_toplevel(&mut self, toplevel: TopLevelItem) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TopLevelItem` is never used [INFO] [stdout] --> src/compiler/ast.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum TopLevelItem { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopLevelItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | Loop(LoopStatement), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | Loop(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Call` is never constructed [INFO] [stdout] --> src/compiler/ast.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | Call(String, Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | Enum(EnumItem), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 | Enum(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | Struct(StructItem), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 | Struct(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `variants` are never read [INFO] [stdout] --> src/compiler/ast.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EnumItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 48 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | pub variants: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | Simple(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 | Simple(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/compiler/ast.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | Tuple(String, Vec), [INFO] [stdout] | ----- ^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 55 | Tuple((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `fields` are never read [INFO] [stdout] --> src/compiler/ast.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct StructItem { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ty` are never read [INFO] [stdout] --> src/compiler/ast.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct StructField { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 66 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | pub ty: TypeExpression, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/compiler/ast.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct FunctionParam { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 80 | pub name: String, [INFO] [stdout] 81 | pub ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionParam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/compiler/ast.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct LetStatement { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 86 | pub name: String, [INFO] [stdout] 87 | pub ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LetStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/compiler/ast.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct LoopStatement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 100 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoopStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | Array(Box), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 123 | Array(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | Tuple(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 124 | Tuple(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/compiler/ast.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | Generic(String, Vec), [INFO] [stdout] | ------- ^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 125 | Generic((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | UserDefined(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 126 | UserDefined(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | Impl(Box), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 127 | Impl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | Environment(EnvironmentExpression), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 136 | Environment(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | Tuple(TupleExpression), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 137 | Tuple(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | Try(Box), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 146 | Try(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_identifier` is never used [INFO] [stdout] --> src/compiler/ast.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 150 | impl Expression { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | pub(crate) fn is_identifier(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | Literal(LiteralExpression), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 210 | Literal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:341:28 [INFO] [stdout] | [INFO] [stdout] 341 | pub struct TupleExpression(pub Vec); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `TupleExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast.rs:350:34 [INFO] [stdout] | [INFO] [stdout] 350 | pub struct EnvironmentExpression(pub String); [INFO] [stdout] | --------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `EnvironmentExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression_input` is never used [INFO] [stdout] --> src/compiler/parser.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn parse_expression_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flow_graph` is never used [INFO] [stdout] --> src/ir/builder.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a> Builder<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn flow_graph(&mut self) -> &FlowGraph { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `emit`, `extend`, `len`, and `iter` are never used [INFO] [stdout] --> src/ir/instruction.rs:358:12 [INFO] [stdout] | [INFO] [stdout] 357 | impl Instructions { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 358 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn emit(&mut self, instruction: Instruction) -> InstId { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn extend(&mut self, other: Instructions) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `id`, and `as_usize` are never used [INFO] [stdout] --> src/ir/types.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 54 | impl $name { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(id: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn id(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn as_usize(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | id_entity!(InstId); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.44s [INFO] running `Command { std: "docker" "inspect" "cb4ea3a0e6b7d658c62018bb24becf55b39c3b5721214da3d613fefed6d09d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb4ea3a0e6b7d658c62018bb24becf55b39c3b5721214da3d613fefed6d09d83", kill_on_drop: false }` [INFO] [stdout] cb4ea3a0e6b7d658c62018bb24becf55b39c3b5721214da3d613fefed6d09d83