[INFO] cloning repository https://github.com/radu-matei/wal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/radu-matei/wal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradu-matei%2Fwal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradu-matei%2Fwal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 677c5243052109b5960fb27c3543467d3adfbf7c [INFO] checking radu-matei/wal against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradu-matei%2Fwal" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/radu-matei/wal on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/radu-matei/wal [INFO] finished tweaking git repo https://github.com/radu-matei/wal [INFO] tweaked toml for git repo https://github.com/radu-matei/wal written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/radu-matei/wal 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 128789bc9e056a165be9ec38b3f2a89e2f40a05ba40d3cc3008e0640cf262564 [INFO] running `Command { std: "docker" "start" "-a" "128789bc9e056a165be9ec38b3f2a89e2f40a05ba40d3cc3008e0640cf262564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "128789bc9e056a165be9ec38b3f2a89e2f40a05ba40d3cc3008e0640cf262564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "128789bc9e056a165be9ec38b3f2a89e2f40a05ba40d3cc3008e0640cf262564", kill_on_drop: false }` [INFO] [stdout] 128789bc9e056a165be9ec38b3f2a89e2f40a05ba40d3cc3008e0640cf262564 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05ef8370d5a4cffc9754a0e7a4e5f0817f2fe0f10449f3326fffc893694e5e80 [INFO] running `Command { std: "docker" "start" "-a" "05ef8370d5a4cffc9754a0e7a4e5f0817f2fe0f10449f3326fffc893694e5e80", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking wal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ReadBytesExt` [INFO] [stdout] --> src/code.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `result` [INFO] [stdout] --> src/code.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{error, fmt, io, result}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `lexer::Lexer`, `parser::Parser` [INFO] [stdout] --> src/eval.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | lexer::Lexer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | object::{Environment, Function, Object}, [INFO] [stdout] 8 | parser::Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token` [INFO] [stdout] --> src/repl.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{eval, lexer, object, parser, token}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadBytesExt` [INFO] [stdout] --> src/code.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `result` [INFO] [stdout] --> src/code.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{error, fmt, io, result}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token` [INFO] [stdout] --> src/repl.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{eval, lexer, object, parser, token}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/code.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | _ => Err(CodeError::UknownOpCode(format!( [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/code.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn parse(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/compiler.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn compile(&mut self, node: Node) -> Result<(), CompilerError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/code.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | _ => Err(CodeError::UknownOpCode(format!( [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/code.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn parse(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `One` is never constructed [INFO] [stdout] --> src/code.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | enum Width { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 46 | One = 1, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Width` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/code.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct Definition<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 52 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Definition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/compiler.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn compile(&mut self, node: Node) -> Result<(), CompilerError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `One` is never constructed [INFO] [stdout] --> src/code.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | enum Width { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 46 | One = 1, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Width` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/code.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct Definition<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 52 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Definition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "05ef8370d5a4cffc9754a0e7a4e5f0817f2fe0f10449f3326fffc893694e5e80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ef8370d5a4cffc9754a0e7a4e5f0817f2fe0f10449f3326fffc893694e5e80", kill_on_drop: false }` [INFO] [stdout] 05ef8370d5a4cffc9754a0e7a4e5f0817f2fe0f10449f3326fffc893694e5e80 [INFO] checking radu-matei/wal against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradu-matei%2Fwal" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/radu-matei/wal on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/radu-matei/wal [INFO] finished tweaking git repo https://github.com/radu-matei/wal [INFO] tweaked toml for git repo https://github.com/radu-matei/wal written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/radu-matei/wal 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfcf9c1efe6c6cd0b107aa6b80f04f46ed22d3057b0b133ab6f3b24c6a154f1e [INFO] running `Command { std: "docker" "start" "-a" "bfcf9c1efe6c6cd0b107aa6b80f04f46ed22d3057b0b133ab6f3b24c6a154f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfcf9c1efe6c6cd0b107aa6b80f04f46ed22d3057b0b133ab6f3b24c6a154f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfcf9c1efe6c6cd0b107aa6b80f04f46ed22d3057b0b133ab6f3b24c6a154f1e", kill_on_drop: false }` [INFO] [stdout] bfcf9c1efe6c6cd0b107aa6b80f04f46ed22d3057b0b133ab6f3b24c6a154f1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fa9e4f9a04a41c9f7ed373f375d68ec49b8e5989303ea6414499c4c256f5880 [INFO] running `Command { std: "docker" "start" "-a" "2fa9e4f9a04a41c9f7ed373f375d68ec49b8e5989303ea6414499c4c256f5880", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking wal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ReadBytesExt` [INFO] [stdout] --> src/code.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `result` [INFO] [stdout] --> src/code.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{error, fmt, io, result}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `lexer::Lexer`, `parser::Parser` [INFO] [stdout] --> src/eval.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | lexer::Lexer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | object::{Environment, Function, Object}, [INFO] [stdout] 8 | parser::Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token` [INFO] [stdout] --> src/repl.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{eval, lexer, object, parser, token}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadBytesExt` [INFO] [stdout] --> src/code.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `result` [INFO] [stdout] --> src/code.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{error, fmt, io, result}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token` [INFO] [stdout] --> src/repl.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{eval, lexer, object, parser, token}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/code.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | _ => Err(CodeError::UknownOpCode(format!( [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/code.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn parse(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/compiler.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn compile(&mut self, node: Node) -> Result<(), CompilerError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/code.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | _ => Err(CodeError::UknownOpCode(format!( [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/code.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn parse(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/compiler.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn compile(&mut self, node: Node) -> Result<(), CompilerError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `One` is never constructed [INFO] [stdout] --> src/code.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | enum Width { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 46 | One = 1, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Width` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/code.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct Definition<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 52 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Definition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `One` is never constructed [INFO] [stdout] --> src/code.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | enum Width { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 46 | One = 1, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Width` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/code.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct Definition<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 52 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Definition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "2fa9e4f9a04a41c9f7ed373f375d68ec49b8e5989303ea6414499c4c256f5880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fa9e4f9a04a41c9f7ed373f375d68ec49b8e5989303ea6414499c4c256f5880", kill_on_drop: false }` [INFO] [stdout] 2fa9e4f9a04a41c9f7ed373f375d68ec49b8e5989303ea6414499c4c256f5880