[INFO] cloning repository https://github.com/Phytolizer/pl0 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Phytolizer/pl0" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhytolizer%2Fpl0", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhytolizer%2Fpl0'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60fe757c011288acfb90f23c6c5f57ebdcc202da [INFO] checking Phytolizer/pl0/60fe757c011288acfb90f23c6c5f57ebdcc202da against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhytolizer%2Fpl0" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Phytolizer/pl0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Phytolizer/pl0 [INFO] finished tweaking git repo https://github.com/Phytolizer/pl0 [INFO] tweaked toml for git repo https://github.com/Phytolizer/pl0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Phytolizer/pl0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded psm v0.1.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddb42178ed122ac871abdb28824a465354dbd9faa348792268d3ff84aab7e76c [INFO] running `Command { std: "docker" "start" "-a" "ddb42178ed122ac871abdb28824a465354dbd9faa348792268d3ff84aab7e76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddb42178ed122ac871abdb28824a465354dbd9faa348792268d3ff84aab7e76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddb42178ed122ac871abdb28824a465354dbd9faa348792268d3ff84aab7e76c", kill_on_drop: false }` [INFO] [stdout] ddb42178ed122ac871abdb28824a465354dbd9faa348792268d3ff84aab7e76c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3227f96d3437ade703d26ee5e3bd5ee57730bc3ae962d071bc94517e35ed5042 [INFO] running `Command { std: "docker" "start" "-a" "3227f96d3437ade703d26ee5e3bd5ee57730bc3ae962d071bc94517e35ed5042", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling psm v0.1.20 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking pl0 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> src/compile.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn compile(tree: SyntaxTree) -> crate::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_option` is never used [INFO] [stdout] --> src/tree.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl OrError { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn into_option(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/tree.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) struct SyntaxTree { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 59 | pub(crate) root: OrError>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `const_section`, `var_section`, `procedures`, and `body` are never read [INFO] [stdout] --> src/tree.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 64 | pub(crate) const_section: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 65 | pub(crate) var_section: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 66 | pub(crate) procedures: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | pub(crate) body: OrError, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `equal_token`, and `value` are never read [INFO] [stdout] --> src/tree.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct ConstEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 72 | pub(crate) name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | pub(crate) equal_token: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | pub(crate) value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `var_kw`, `entries`, and `semicolon_token` are never read [INFO] [stdout] --> src/tree.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) struct VarSection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 79 | pub(crate) var_kw: Token, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | pub(crate) entries: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 81 | pub(crate) semicolon_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `body` are never read [INFO] [stdout] --> src/tree.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct Procedure { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 86 | pub(crate) name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] 87 | pub(crate) body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Procedure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | Assignment(AssignmentStatement), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 92 | Assignment(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | ProcedureCall(Token), [INFO] [stdout] | ------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 93 | ProcedureCall(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | Read(Token), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 94 | Read(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | Write(Expression), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 95 | Write(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | Block(Vec>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 96 | Block(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | If(IfStatement), [INFO] [stdout] | -- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 97 | If(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | While(WhileStatement), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 98 | While(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variable` and `expression` are never read [INFO] [stdout] --> src/tree.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) struct AssignmentStatement { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 104 | pub(crate) variable: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 105 | pub(crate) expression: Expression, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignmentStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `condition` and `body` are never read [INFO] [stdout] --> src/tree.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) struct IfStatement { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 110 | pub(crate) condition: OrError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | pub(crate) body: OrError>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `condition` and `body` are never read [INFO] [stdout] --> src/tree.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) struct WhileStatement { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 116 | pub(crate) condition: OrError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 117 | pub(crate) body: OrError>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | Odd(Expression), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` 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] 122 | Odd(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | Comparison(ComparisonCondition), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` 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] 123 | Comparison(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `operator`, and `right` are never read [INFO] [stdout] --> src/tree.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) struct ComparisonCondition { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 128 | pub(crate) left: Expression, [INFO] [stdout] | ^^^^ [INFO] [stdout] 129 | pub(crate) operator: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 130 | pub(crate) right: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComparisonCondition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sign`, `first`, and `rest` are never read [INFO] [stdout] --> src/tree.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 134 | pub(crate) struct Expression { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 135 | pub(crate) sign: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 136 | pub(crate) first: Term, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 137 | pub(crate) rest: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator` and `term` are never read [INFO] [stdout] --> src/tree.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) struct PrefixedTerm { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 142 | pub(crate) operator: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 143 | pub(crate) term: Term, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrefixedTerm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first` and `rest` are never read [INFO] [stdout] --> src/tree.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 147 | pub(crate) struct Term { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 148 | pub(crate) first: Factor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 149 | pub(crate) rest: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Term` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator` and `factor` are never read [INFO] [stdout] --> src/tree.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) struct PrefixedFactor { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 154 | pub(crate) operator: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 155 | pub(crate) factor: Factor, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrefixedFactor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | Variable(Token), [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Factor` 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] 160 | Variable(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | Number(Token), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Factor` 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] 161 | Number(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | Parenthesized(OrError>), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Factor` 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] 162 | Parenthesized(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> src/compile.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn compile(tree: SyntaxTree) -> crate::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_option` is never used [INFO] [stdout] --> src/tree.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl OrError { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn into_option(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/tree.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) struct SyntaxTree { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 59 | pub(crate) root: OrError>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `const_section`, `var_section`, `procedures`, and `body` are never read [INFO] [stdout] --> src/tree.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 64 | pub(crate) const_section: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 65 | pub(crate) var_section: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 66 | pub(crate) procedures: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | pub(crate) body: OrError, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `equal_token`, and `value` are never read [INFO] [stdout] --> src/tree.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct ConstEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 72 | pub(crate) name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | pub(crate) equal_token: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | pub(crate) value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `var_kw`, `entries`, and `semicolon_token` are never read [INFO] [stdout] --> src/tree.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) struct VarSection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 79 | pub(crate) var_kw: Token, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | pub(crate) entries: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 81 | pub(crate) semicolon_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `body` are never read [INFO] [stdout] --> src/tree.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct Procedure { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 86 | pub(crate) name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] 87 | pub(crate) body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Procedure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | Assignment(AssignmentStatement), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 92 | Assignment(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | ProcedureCall(Token), [INFO] [stdout] | ------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 93 | ProcedureCall(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | Read(Token), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 94 | Read(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | Write(Expression), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 95 | Write(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | Block(Vec>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 96 | Block(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | If(IfStatement), [INFO] [stdout] | -- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 97 | If(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | While(WhileStatement), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 98 | While(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variable` and `expression` are never read [INFO] [stdout] --> src/tree.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) struct AssignmentStatement { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 104 | pub(crate) variable: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 105 | pub(crate) expression: Expression, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignmentStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `condition` and `body` are never read [INFO] [stdout] --> src/tree.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) struct IfStatement { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 110 | pub(crate) condition: OrError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | pub(crate) body: OrError>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `condition` and `body` are never read [INFO] [stdout] --> src/tree.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) struct WhileStatement { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 116 | pub(crate) condition: OrError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 117 | pub(crate) body: OrError>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | Odd(Expression), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` 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] 122 | Odd(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | Comparison(ComparisonCondition), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` 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] 123 | Comparison(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `operator`, and `right` are never read [INFO] [stdout] --> src/tree.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) struct ComparisonCondition { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 128 | pub(crate) left: Expression, [INFO] [stdout] | ^^^^ [INFO] [stdout] 129 | pub(crate) operator: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 130 | pub(crate) right: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComparisonCondition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sign`, `first`, and `rest` are never read [INFO] [stdout] --> src/tree.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 134 | pub(crate) struct Expression { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 135 | pub(crate) sign: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 136 | pub(crate) first: Term, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 137 | pub(crate) rest: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator` and `term` are never read [INFO] [stdout] --> src/tree.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) struct PrefixedTerm { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 142 | pub(crate) operator: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 143 | pub(crate) term: Term, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrefixedTerm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first` and `rest` are never read [INFO] [stdout] --> src/tree.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 147 | pub(crate) struct Term { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 148 | pub(crate) first: Factor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 149 | pub(crate) rest: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Term` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator` and `factor` are never read [INFO] [stdout] --> src/tree.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) struct PrefixedFactor { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 154 | pub(crate) operator: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 155 | pub(crate) factor: Factor, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrefixedFactor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | Variable(Token), [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Factor` 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] 160 | Variable(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | Number(Token), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Factor` 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] 161 | Number(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tree.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | Parenthesized(OrError>), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Factor` 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] 162 | Parenthesized(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.13s [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3227f96d3437ade703d26ee5e3bd5ee57730bc3ae962d071bc94517e35ed5042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3227f96d3437ade703d26ee5e3bd5ee57730bc3ae962d071bc94517e35ed5042", kill_on_drop: false }` [INFO] [stdout] 3227f96d3437ade703d26ee5e3bd5ee57730bc3ae962d071bc94517e35ed5042