[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 never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradu-matei%2Fwal" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a5a13de2fd9ee1b7f4db53e9a4b676cca17393c8f7a43150f546cacecac9a62c [INFO] running `Command { std: "docker" "start" "-a" "a5a13de2fd9ee1b7f4db53e9a4b676cca17393c8f7a43150f546cacecac9a62c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5a13de2fd9ee1b7f4db53e9a4b676cca17393c8f7a43150f546cacecac9a62c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5a13de2fd9ee1b7f4db53e9a4b676cca17393c8f7a43150f546cacecac9a62c", kill_on_drop: false }` [INFO] [stdout] a5a13de2fd9ee1b7f4db53e9a4b676cca17393c8f7a43150f546cacecac9a62c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3d02586b0d5c72019eb6c8153c7b6931d32ae76da0aa9c0a69be89ee539962be [INFO] running `Command { std: "docker" "start" "-a" "3d02586b0d5c72019eb6c8153c7b6931d32ae76da0aa9c0a69be89ee539962be", 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 1.27s [INFO] running `Command { std: "docker" "inspect" "3d02586b0d5c72019eb6c8153c7b6931d32ae76da0aa9c0a69be89ee539962be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d02586b0d5c72019eb6c8153c7b6931d32ae76da0aa9c0a69be89ee539962be", kill_on_drop: false }` [INFO] [stdout] 3d02586b0d5c72019eb6c8153c7b6931d32ae76da0aa9c0a69be89ee539962be [INFO] checking radu-matei/wal against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradu-matei%2Fwal" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/radu-matei/wal on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "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-3-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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 064fadc257c6687fb1a5b473889736b6abc5c01df2c63aaf74f6a5417144cb4c [INFO] running `Command { std: "docker" "start" "-a" "064fadc257c6687fb1a5b473889736b6abc5c01df2c63aaf74f6a5417144cb4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "064fadc257c6687fb1a5b473889736b6abc5c01df2c63aaf74f6a5417144cb4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "064fadc257c6687fb1a5b473889736b6abc5c01df2c63aaf74f6a5417144cb4c", kill_on_drop: false }` [INFO] [stdout] 064fadc257c6687fb1a5b473889736b6abc5c01df2c63aaf74f6a5417144cb4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 851a009acb7fe719a2d2174e527a48caf35db52bc6836f7dda7ac48737031460 [INFO] running `Command { std: "docker" "start" "-a" "851a009acb7fe719a2d2174e527a48caf35db52bc6836f7dda7ac48737031460", 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: 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: 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: 9 warnings emitted [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "851a009acb7fe719a2d2174e527a48caf35db52bc6836f7dda7ac48737031460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "851a009acb7fe719a2d2174e527a48caf35db52bc6836f7dda7ac48737031460", kill_on_drop: false }` [INFO] [stdout] 851a009acb7fe719a2d2174e527a48caf35db52bc6836f7dda7ac48737031460