[INFO] cloning repository https://github.com/higumachan/rust-9cc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/higumachan/rust-9cc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Frust-9cc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Frust-9cc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8fe6951d269f018702c835fe007d735d82c3ca9 [INFO] building higumachan/rust-9cc against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Frust-9cc" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/higumachan/rust-9cc on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/higumachan/rust-9cc [INFO] finished tweaking git repo https://github.com/higumachan/rust-9cc [INFO] tweaked toml for git repo https://github.com/higumachan/rust-9cc written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/higumachan/rust-9cc 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21e37d869cd7716fd8f97db84d0940a53c4d0ea4f44df4b30b5116cf9f71450a [INFO] running `Command { std: "docker" "start" "-a" "21e37d869cd7716fd8f97db84d0940a53c4d0ea4f44df4b30b5116cf9f71450a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21e37d869cd7716fd8f97db84d0940a53c4d0ea4f44df4b30b5116cf9f71450a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21e37d869cd7716fd8f97db84d0940a53c4d0ea4f44df4b30b5116cf9f71450a", kill_on_drop: false }` [INFO] [stdout] 21e37d869cd7716fd8f97db84d0940a53c4d0ea4f44df4b30b5116cf9f71450a [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd51b430bcdbb9d13228888104e7fc6667b4b93c0d4280e8dfa2a3f1d2614e2f [INFO] running `Command { std: "docker" "start" "-a" "fd51b430bcdbb9d13228888104e7fc6667b4b93c0d4280e8dfa2a3f1d2614e2f", kill_on_drop: false }` [INFO] [stderr] Compiling rust-9cc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DefineVariable`, `Parameter`, and `REGISTER_SIZE` [INFO] [stdout] --> src/generator.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::{DefineVariable, Node, Operator2, Parameter, Type, REGISTER_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/generator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/generator.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | for (register, param) in REGISTERS.iter().zip(define_function.params().iter()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/generator.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | InvalidTypeSize(usize), [INFO] [stdout] | --------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GenerateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 14 | InvalidTypeSize(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DuplicatedVariable` and `UndefinedVariable` are never constructed [INFO] [stdout] --> src/generator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum GenerateError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | DuplicatedVariable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | UndefinedVariable(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenerateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `ty` are never used [INFO] [stdout] --> src/parser.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Parameter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn ty(&self) -> &Type { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | ExpectReserved(String), [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 66 | ExpectReserved(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | ExpectInt(Token), [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 69 | ExpectInt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | NotDefinedVariable(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 71 | NotDefinedVariable(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExpectFunctionDefine` and `NotDefinedFunction` are never constructed [INFO] [stdout] --> src/parser.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 68 | ExpectFunctionDefine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | NotDefinedFunction(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `consume_int` is never used [INFO] [stdout] --> src/parser.rs:388:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl TokenStream { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 388 | fn consume_int(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ne` is never constructed [INFO] [stdout] --> src/parser.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 561 | pub enum Operator2 { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 567 | Ne, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator2` 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: method `implicit_conversion` is never used [INFO] [stdout] --> src/parser.rs:604:12 [INFO] [stdout] | [INFO] [stdout] 579 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 604 | pub fn implicit_conversion(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/parser.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 613 | pub struct LocalVariable { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 614 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` 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: methods `name` and `ty` are never used [INFO] [stdout] --> src/parser.rs:623:12 [INFO] [stdout] | [INFO] [stdout] 619 | impl LocalVariable { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 623 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | pub fn ty(&self) -> &Type { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_local_value` is never used [INFO] [stdout] --> src/parser.rs:811:12 [INFO] [stdout] | [INFO] [stdout] 802 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 811 | pub fn as_local_value(&self) -> Option<&LocalVariable> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `reserved`, `as_reserved`, `as_num`, and `as_eof` are never used [INFO] [stdout] --> src/tokenizer.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Token { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 22 | pub fn reserved(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn as_reserved(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn as_num(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn as_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `line_number`, `source_code_line`, and `pos` are never read [INFO] [stdout] --> src/tokenizer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct TokenizeError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 69 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 70 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 71 | source_code_line: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenizeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "fd51b430bcdbb9d13228888104e7fc6667b4b93c0d4280e8dfa2a3f1d2614e2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd51b430bcdbb9d13228888104e7fc6667b4b93c0d4280e8dfa2a3f1d2614e2f", kill_on_drop: false }` [INFO] [stdout] fd51b430bcdbb9d13228888104e7fc6667b4b93c0d4280e8dfa2a3f1d2614e2f [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79acd4d7808aa5512889914d4bc712d723e531579a2220025537c3c6a360670f [INFO] running `Command { std: "docker" "start" "-a" "79acd4d7808aa5512889914d4bc712d723e531579a2220025537c3c6a360670f", kill_on_drop: false }` [INFO] [stderr] Compiling rust-9cc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DefineVariable`, `Parameter`, and `REGISTER_SIZE` [INFO] [stdout] --> src/generator.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::{DefineVariable, Node, Operator2, Parameter, Type, REGISTER_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/generator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/generator.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | for (register, param) in REGISTERS.iter().zip(define_function.params().iter()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/generator.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | InvalidTypeSize(usize), [INFO] [stdout] | --------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GenerateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 14 | InvalidTypeSize(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DuplicatedVariable` and `UndefinedVariable` are never constructed [INFO] [stdout] --> src/generator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum GenerateError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | DuplicatedVariable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | UndefinedVariable(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenerateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `ty` are never used [INFO] [stdout] --> src/parser.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Parameter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn ty(&self) -> &Type { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | ExpectReserved(String), [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 66 | ExpectReserved(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | ExpectInt(Token), [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 69 | ExpectInt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | NotDefinedVariable(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 71 | NotDefinedVariable(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExpectFunctionDefine` and `NotDefinedFunction` are never constructed [INFO] [stdout] --> src/parser.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 68 | ExpectFunctionDefine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | NotDefinedFunction(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `consume_int` is never used [INFO] [stdout] --> src/parser.rs:388:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl TokenStream { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 388 | fn consume_int(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ne` is never constructed [INFO] [stdout] --> src/parser.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 561 | pub enum Operator2 { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 567 | Ne, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator2` 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: method `implicit_conversion` is never used [INFO] [stdout] --> src/parser.rs:604:12 [INFO] [stdout] | [INFO] [stdout] 579 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 604 | pub fn implicit_conversion(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/parser.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 613 | pub struct LocalVariable { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 614 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` 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: methods `name` and `ty` are never used [INFO] [stdout] --> src/parser.rs:623:12 [INFO] [stdout] | [INFO] [stdout] 619 | impl LocalVariable { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 623 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | pub fn ty(&self) -> &Type { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_local_value` is never used [INFO] [stdout] --> src/parser.rs:811:12 [INFO] [stdout] | [INFO] [stdout] 802 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 811 | pub fn as_local_value(&self) -> Option<&LocalVariable> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `reserved`, `as_reserved`, `as_num`, and `as_eof` are never used [INFO] [stdout] --> src/tokenizer.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Token { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 22 | pub fn reserved(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn as_reserved(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn as_num(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn as_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `line_number`, `source_code_line`, and `pos` are never read [INFO] [stdout] --> src/tokenizer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct TokenizeError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 69 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 70 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 71 | source_code_line: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenizeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "79acd4d7808aa5512889914d4bc712d723e531579a2220025537c3c6a360670f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79acd4d7808aa5512889914d4bc712d723e531579a2220025537c3c6a360670f", kill_on_drop: false }` [INFO] [stdout] 79acd4d7808aa5512889914d4bc712d723e531579a2220025537c3c6a360670f