[INFO] cloning repository https://github.com/angelini/steel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/angelini/steel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelini%2Fsteel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelini%2Fsteel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e26b482a62fbc0d21e880e6c2815e8c1e40842f8 [INFO] checking angelini/steel against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelini%2Fsteel" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/angelini/steel [INFO] finished tweaking git repo https://github.com/angelini/steel [INFO] tweaked toml for git repo https://github.com/angelini/steel written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/angelini/steel on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/angelini/steel already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4b1b7e25d39e18a841fc94903981138f2e2554ba23df9199c342638d2e89fa4 [INFO] running `Command { std: "docker" "start" "-a" "a4b1b7e25d39e18a841fc94903981138f2e2554ba23df9199c342638d2e89fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4b1b7e25d39e18a841fc94903981138f2e2554ba23df9199c342638d2e89fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4b1b7e25d39e18a841fc94903981138f2e2554ba23df9199c342638d2e89fa4", kill_on_drop: false }` [INFO] [stdout] a4b1b7e25d39e18a841fc94903981138f2e2554ba23df9199c342638d2e89fa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8124932bb28e321d72e331415253696d8c14521c95b2dbd0e829a20b358d7450 [INFO] running `Command { std: "docker" "start" "-a" "8124932bb28e321d72e331415253696d8c14521c95b2dbd0e829a20b358d7450", kill_on_drop: false }` [INFO] [stderr] Checking steel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 57 | Expression::Empty => {} [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 58 | Expression::Definition(name, expr) => { [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 63 | Expression::Call(identifier, arguments) => { [INFO] [stdout] | --------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | Expression::StaticValue(value) => self.emit(chunk_id, Op::LoadImmediate(value)), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 80 | _ => { [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 57 | Expression::Empty => {} [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 58 | Expression::Definition(name, expr) => { [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 63 | Expression::Call(identifier, arguments) => { [INFO] [stdout] | --------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | Expression::StaticValue(value) => self.emit(chunk_id, Op::LoadImmediate(value)), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 80 | _ => { [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/native.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn execute_native(func: NativeFn, args: &[Value]) -> Value { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/native.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn execute_native(func: NativeFn, args: &[Value]) -> Value { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> src/vm.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn execute(&mut self, chunk: &Chunk) -> Result<(), VmError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/native.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn execute_native(func: NativeFn, args: &[Value]) -> Value { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/native.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn execute_native(func: NativeFn, args: &[Value]) -> Value { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> src/vm.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn execute(&mut self, chunk: &Chunk) -> Result<(), VmError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | LexError(LexError), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AstError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 10 - LexError(LexError), [INFO] [stdout] 10 + LexError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | UnexpectedToken(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AstError` has a derived impl for the trait `Debug`, but this is 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] 12 - UnexpectedToken(String), [INFO] [stdout] 12 + UnexpectedToken(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/ast.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Ast { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | Push(usize), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is 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] 13 - Push(usize), [INFO] [stdout] 13 + Push(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | LoadImmediate(Value), [INFO] [stdout] | ------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is 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] 14 - LoadImmediate(Value), [INFO] [stdout] 14 + LoadImmediate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | Define(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is 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] 16 - Define(String), [INFO] [stdout] 16 + Define(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Lookup(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is 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] 17 - Lookup(String), [INFO] [stdout] 17 + Lookup(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Call(ChunkId), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is 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] 18 - Call(ChunkId), [INFO] [stdout] 18 + Call(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lexer.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | UnexpectedChar(Location, char), [INFO] [stdout] | -------------- ^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LexError` has a derived impl for the trait `Debug`, but this is 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] 27 - UnexpectedChar(Location, char), [INFO] [stdout] 27 + UnexpectedChar((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | LexError(LexError), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AstError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 10 - LexError(LexError), [INFO] [stdout] 10 + LexError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | UnexpectedToken(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AstError` has a derived impl for the trait `Debug`, but this is 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] 12 - UnexpectedToken(String), [INFO] [stdout] 12 + UnexpectedToken(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/ast.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Ast { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | Push(usize), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is 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] 13 - Push(usize), [INFO] [stdout] 13 + Push(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | LoadImmediate(Value), [INFO] [stdout] | ------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is 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] 14 - LoadImmediate(Value), [INFO] [stdout] 14 + LoadImmediate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | Define(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is 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] 16 - Define(String), [INFO] [stdout] 16 + Define(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Lookup(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is 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] 17 - Lookup(String), [INFO] [stdout] 17 + Lookup(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | UnexpectedEnd(Location), [INFO] [stdout] | ------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LexError` has a derived impl for the trait `Debug`, but this is 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] 28 - UnexpectedEnd(Location), [INFO] [stdout] 28 + UnexpectedEnd(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NativeFn` is never used [INFO] [stdout] --> src/native.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum NativeFn { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_native` is never used [INFO] [stdout] --> src/native.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn execute_native(func: NativeFn, args: &[Value]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `globals` is never read [INFO] [stdout] --> src/vm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Vm { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 9 | globals: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/main.rs:43:71 [INFO] [stdout] | [INFO] [stdout] 43 | fn compile(ast: Ast, debug: bool) -> Result, CompileError> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 44 | | let compiler = Compiler::new(); [INFO] [stdout] 45 | | let chunks = compiler.compile(ast)?; [INFO] [stdout] ... | [INFO] [stdout] 60 | | Ok(chunks) [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/main.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | let chunks = compiler.compile(ast)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/main.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | let chunks = compiler.compile(ast)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/main.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | let chunks = compiler.compile(ast)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(chunks) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/main.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | Ok(ast) => match compile(ast, debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter(&self) -> Iter<'_, Expression> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Call(ChunkId), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is 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] 18 - Call(ChunkId), [INFO] [stdout] 18 + Call(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lexer.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | UnexpectedChar(Location, char), [INFO] [stdout] | -------------- ^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LexError` has a derived impl for the trait `Debug`, but this is 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] 27 - UnexpectedChar(Location, char), [INFO] [stdout] 27 + UnexpectedChar((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | UnexpectedEnd(Location), [INFO] [stdout] | ------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LexError` has a derived impl for the trait `Debug`, but this is 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] 28 - UnexpectedEnd(Location), [INFO] [stdout] 28 + UnexpectedEnd(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NativeFn` is never used [INFO] [stdout] --> src/native.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum NativeFn { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_native` is never used [INFO] [stdout] --> src/native.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn execute_native(func: NativeFn, args: &[Value]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `globals` is never read [INFO] [stdout] --> src/vm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Vm { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 9 | globals: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/compiler.rs:46:76 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn compile(mut self, ast: Ast) -> Result, CompileError> { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 47 | | for expression in ast.into_iter() { [INFO] [stdout] 48 | | self.compile_expression(expression)?; [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/compiler.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | self.compile_expression(expression)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/main.rs:43:71 [INFO] [stdout] | [INFO] [stdout] 43 | fn compile(ast: Ast, debug: bool) -> Result, CompileError> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 44 | | let compiler = Compiler::new(); [INFO] [stdout] 45 | | let chunks = compiler.compile(ast)?; [INFO] [stdout] ... | [INFO] [stdout] 60 | | Ok(chunks) [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | self.compile_expression(expression)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/main.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | let chunks = compiler.compile(ast)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/compiler.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | self.compile_expression(expression)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/main.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | let chunks = compiler.compile(ast)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/main.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | let chunks = compiler.compile(ast)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/compiler.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(self.chunks) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(chunks) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/main.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | Ok(ast) => match compile(ast, debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler.rs:53:95 [INFO] [stdout] | [INFO] [stdout] 53 | fn compile_expression(&mut self, expression: Expression) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 54 | | let chunk_id = self.new_chunk_id(); [INFO] [stdout] 55 | | [INFO] [stdout] 56 | | match expression { [INFO] [stdout] ... | [INFO] [stdout] 86 | | Ok(chunk_id) [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter(&self) -> Iter<'_, Expression> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/compiler.rs:46:76 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn compile(mut self, ast: Ast) -> Result, CompileError> { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 47 | | for expression in ast.into_iter() { [INFO] [stdout] 48 | | self.compile_expression(expression)?; [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/compiler.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | self.compile_expression(expression)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | self.compile_expression(expression)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/compiler.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | self.compile_expression(expression)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/compiler.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(self.chunks) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler.rs:53:95 [INFO] [stdout] | [INFO] [stdout] 53 | fn compile_expression(&mut self, expression: Expression) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 54 | | let chunk_id = self.new_chunk_id(); [INFO] [stdout] 55 | | [INFO] [stdout] 56 | | match expression { [INFO] [stdout] ... | [INFO] [stdout] 86 | | Ok(chunk_id) [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/compiler.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | let body = self.compile_expression(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | let body = self.compile_expression(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | let body = self.compile_expression(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/compiler.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | let arg_chunks = arguments [INFO] [stdout] | __________________________________^ [INFO] [stdout] 66 | | .into_iter() [INFO] [stdout] 67 | | .map(|argument| self.compile_expression(argument)) [INFO] [stdout] 68 | | .collect::, CompileError>>()?; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/compiler.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | let arg_chunks = arguments [INFO] [stdout] | __________________________________^ [INFO] [stdout] 66 | | .into_iter() [INFO] [stdout] 67 | | .map(|argument| self.compile_expression(argument)) [INFO] [stdout] 68 | | .collect::, CompileError>>()?; [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|argument| self.compile_expression(argument)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | let arg_chunks = arguments [INFO] [stdout] | __________________________________^ [INFO] [stdout] 66 | | .into_iter() [INFO] [stdout] 67 | | .map(|argument| self.compile_expression(argument)) [INFO] [stdout] 68 | | .collect::, CompileError>>()?; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | Ok(chunk_id) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/compiler.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | let body = self.compile_expression(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | let body = self.compile_expression(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | let body = self.compile_expression(*expr)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/compiler.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | let arg_chunks = arguments [INFO] [stdout] | __________________________________^ [INFO] [stdout] 66 | | .into_iter() [INFO] [stdout] 67 | | .map(|argument| self.compile_expression(argument)) [INFO] [stdout] 68 | | .collect::, CompileError>>()?; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CompileError> [INFO] [stdout] --> src/compiler.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | let arg_chunks = arguments [INFO] [stdout] | __________________________________^ [INFO] [stdout] 66 | | .into_iter() [INFO] [stdout] 67 | | .map(|argument| self.compile_expression(argument)) [INFO] [stdout] 68 | | .collect::, CompileError>>()?; [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|argument| self.compile_expression(argument)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | let arg_chunks = arguments [INFO] [stdout] | __________________________________^ [INFO] [stdout] 66 | | .into_iter() [INFO] [stdout] 67 | | .map(|argument| self.compile_expression(argument)) [INFO] [stdout] 68 | | .collect::, CompileError>>()?; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/compiler.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | Ok(chunk_id) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `steel` (bin "steel") due to 20 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `steel` (bin "steel" test) due to 20 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8124932bb28e321d72e331415253696d8c14521c95b2dbd0e829a20b358d7450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8124932bb28e321d72e331415253696d8c14521c95b2dbd0e829a20b358d7450", kill_on_drop: false }` [INFO] [stdout] 8124932bb28e321d72e331415253696d8c14521c95b2dbd0e829a20b358d7450