[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] testing Phytolizer/pl0 against master#9e297bf54d31eb3b30067208ff9af4416945a2ed for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhytolizer%2Fpl0" "/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/Phytolizer/pl0 on toolchain 9e297bf54d31eb3b30067208ff9af4416945a2ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "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-3-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" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1bff7fe633d0db63951164e403822669995fe0adf25066f32d169f9912b3fc7 [INFO] running `Command { std: "docker" "start" "-a" "b1bff7fe633d0db63951164e403822669995fe0adf25066f32d169f9912b3fc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1bff7fe633d0db63951164e403822669995fe0adf25066f32d169f9912b3fc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1bff7fe633d0db63951164e403822669995fe0adf25066f32d169f9912b3fc7", kill_on_drop: false }` [INFO] [stdout] b1bff7fe633d0db63951164e403822669995fe0adf25066f32d169f9912b3fc7 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2b7c89a79f619624762fd09ededac9c2d88aaa520f7b2e1e24c093fc7696b29 [INFO] running `Command { std: "docker" "start" "-a" "b2b7c89a79f619624762fd09ededac9c2d88aaa520f7b2e1e24c093fc7696b29", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling psm v0.1.20 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.87s [INFO] running `Command { std: "docker" "inspect" "b2b7c89a79f619624762fd09ededac9c2d88aaa520f7b2e1e24c093fc7696b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2b7c89a79f619624762fd09ededac9c2d88aaa520f7b2e1e24c093fc7696b29", kill_on_drop: false }` [INFO] [stdout] b2b7c89a79f619624762fd09ededac9c2d88aaa520f7b2e1e24c093fc7696b29 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b494261955a20311e97e15f2b4028222b07bf2c5968d3d435a15610ad56e8725 [INFO] running `Command { std: "docker" "start" "-a" "b494261955a20311e97e15f2b4028222b07bf2c5968d3d435a15610ad56e8725", kill_on_drop: false }` [INFO] [stderr] Compiling 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "b494261955a20311e97e15f2b4028222b07bf2c5968d3d435a15610ad56e8725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b494261955a20311e97e15f2b4028222b07bf2c5968d3d435a15610ad56e8725", kill_on_drop: false }` [INFO] [stdout] b494261955a20311e97e15f2b4028222b07bf2c5968d3d435a15610ad56e8725 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 01fc42aa191a704e847e0626b82ba8a88147252a024de6c091aa854b455df59d [INFO] running `Command { std: "docker" "start" "-a" "01fc42aa191a704e847e0626b82ba8a88147252a024de6c091aa854b455df59d", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `tree` [INFO] [stderr] --> src/compile.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | pub(crate) fn compile(tree: SyntaxTree) -> crate::Result> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `into_option` is never used [INFO] [stderr] --> src/tree.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 9 | impl OrError { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 17 | pub(crate) fn into_option(self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `root` is never read [INFO] [stderr] --> src/tree.rs:59:16 [INFO] [stderr] | [INFO] [stderr] 58 | pub(crate) struct SyntaxTree { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 59 | pub(crate) root: OrError>, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SyntaxTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `const_section`, `var_section`, `procedures`, and `body` are never read [INFO] [stderr] --> src/tree.rs:64:16 [INFO] [stderr] | [INFO] [stderr] 63 | pub(crate) struct Block { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 64 | pub(crate) const_section: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 65 | pub(crate) var_section: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 66 | pub(crate) procedures: Vec>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 67 | pub(crate) body: OrError, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `equal_token`, and `value` are never read [INFO] [stderr] --> src/tree.rs:72:16 [INFO] [stderr] | [INFO] [stderr] 71 | pub(crate) struct ConstEntry { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 72 | pub(crate) name: Token, [INFO] [stderr] | ^^^^ [INFO] [stderr] 73 | pub(crate) equal_token: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 74 | pub(crate) value: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConstEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `var_kw`, `entries`, and `semicolon_token` are never read [INFO] [stderr] --> src/tree.rs:79:16 [INFO] [stderr] | [INFO] [stderr] 78 | pub(crate) struct VarSection { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 79 | pub(crate) var_kw: Token, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 80 | pub(crate) entries: Option>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 81 | pub(crate) semicolon_token: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VarSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `body` are never read [INFO] [stderr] --> src/tree.rs:86:16 [INFO] [stderr] | [INFO] [stderr] 85 | pub(crate) struct Procedure { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 86 | pub(crate) name: Token, [INFO] [stderr] | ^^^^ [INFO] [stderr] 87 | pub(crate) body: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Procedure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/tree.rs:92:16 [INFO] [stderr] | [INFO] [stderr] 92 | Assignment(AssignmentStatement), [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 92 | Assignment(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/tree.rs:93:19 [INFO] [stderr] | [INFO] [stderr] 93 | ProcedureCall(Token), [INFO] [stderr] | ------------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 93 | ProcedureCall(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/tree.rs:94:10 [INFO] [stderr] | [INFO] [stderr] 94 | Read(Token), [INFO] [stderr] | ---- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 94 | Read(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/tree.rs:95:11 [INFO] [stderr] | [INFO] [stderr] 95 | Write(Expression), [INFO] [stderr] | ----- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 95 | Write(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/tree.rs:96:11 [INFO] [stderr] | [INFO] [stderr] 96 | Block(Vec>), [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 96 | Block(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/tree.rs:97:8 [INFO] [stderr] | [INFO] [stderr] 97 | If(IfStatement), [INFO] [stderr] | -- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 97 | If(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/tree.rs:98:11 [INFO] [stderr] | [INFO] [stderr] 98 | While(WhileStatement), [INFO] [stderr] | ----- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 98 | While(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: fields `variable` and `expression` are never read [INFO] [stderr] --> src/tree.rs:104:16 [INFO] [stderr] | [INFO] [stderr] 103 | pub(crate) struct AssignmentStatement { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 104 | pub(crate) variable: Token, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 105 | pub(crate) expression: Expression, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AssignmentStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `condition` and `body` are never read [INFO] [stderr] --> src/tree.rs:110:16 [INFO] [stderr] | [INFO] [stderr] 109 | pub(crate) struct IfStatement { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 110 | pub(crate) condition: OrError, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 111 | pub(crate) body: OrError>, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IfStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `condition` and `body` are never read [INFO] [stderr] --> src/tree.rs:116:16 [INFO] [stderr] | [INFO] [stderr] 115 | pub(crate) struct WhileStatement { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 116 | pub(crate) condition: OrError, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 117 | pub(crate) body: OrError>, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WhileStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/tree.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | Odd(Expression), [INFO] [stderr] | --- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 122 | Odd(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/tree.rs:123:16 [INFO] [stderr] | [INFO] [stderr] 123 | Comparison(ComparisonCondition), [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 123 | Comparison(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: fields `left`, `operator`, and `right` are never read [INFO] [stderr] --> src/tree.rs:128:16 [INFO] [stderr] | [INFO] [stderr] 127 | pub(crate) struct ComparisonCondition { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 128 | pub(crate) left: Expression, [INFO] [stderr] | ^^^^ [INFO] [stderr] 129 | pub(crate) operator: Token, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 130 | pub(crate) right: Expression, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ComparisonCondition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `sign`, `first`, and `rest` are never read [INFO] [stderr] --> src/tree.rs:135:16 [INFO] [stderr] | [INFO] [stderr] 134 | pub(crate) struct Expression { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 135 | pub(crate) sign: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 136 | pub(crate) first: Term, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 137 | pub(crate) rest: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `operator` and `term` are never read [INFO] [stderr] --> src/tree.rs:142:16 [INFO] [stderr] | [INFO] [stderr] 141 | pub(crate) struct PrefixedTerm { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 142 | pub(crate) operator: Token, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 143 | pub(crate) term: Term, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PrefixedTerm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `first` and `rest` are never read [INFO] [stderr] --> src/tree.rs:148:16 [INFO] [stderr] | [INFO] [stderr] 147 | pub(crate) struct Term { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 148 | pub(crate) first: Factor, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 149 | pub(crate) rest: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Term` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `operator` and `factor` are never read [INFO] [stderr] --> src/tree.rs:154:16 [INFO] [stderr] | [INFO] [stderr] 153 | pub(crate) struct PrefixedFactor { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 154 | pub(crate) operator: Token, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 155 | pub(crate) factor: Factor, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PrefixedFactor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/tree.rs:160:14 [INFO] [stderr] | [INFO] [stderr] 160 | Variable(Token), [INFO] [stderr] | -------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 160 | Variable(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/tree.rs:161:12 [INFO] [stderr] | [INFO] [stderr] 161 | Number(Token), [INFO] [stderr] | ------ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 161 | Number(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/tree.rs:162:19 [INFO] [stderr] | [INFO] [stderr] 162 | Parenthesized(OrError>), [INFO] [stderr] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 162 | Parenthesized(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: `pl0` (bin "pl0" test) generated 27 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pl0-f2e7cdb4cad8461c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "01fc42aa191a704e847e0626b82ba8a88147252a024de6c091aa854b455df59d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01fc42aa191a704e847e0626b82ba8a88147252a024de6c091aa854b455df59d", kill_on_drop: false }` [INFO] [stdout] 01fc42aa191a704e847e0626b82ba8a88147252a024de6c091aa854b455df59d [INFO] testing Phytolizer/pl0 against try#61a9ac64344e91d62f5496627ff363d177f9daab for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhytolizer%2Fpl0" "/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/Phytolizer/pl0 on toolchain 61a9ac64344e91d62f5496627ff363d177f9daab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "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-3-tc2/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" "+61a9ac64344e91d62f5496627ff363d177f9daab" "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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d11fa52da6dd1e6d2d7801fda93510af2186b7eb70c3e1cd6d4b94b533fc60d8 [INFO] running `Command { std: "docker" "start" "-a" "d11fa52da6dd1e6d2d7801fda93510af2186b7eb70c3e1cd6d4b94b533fc60d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d11fa52da6dd1e6d2d7801fda93510af2186b7eb70c3e1cd6d4b94b533fc60d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d11fa52da6dd1e6d2d7801fda93510af2186b7eb70c3e1cd6d4b94b533fc60d8", kill_on_drop: false }` [INFO] [stdout] d11fa52da6dd1e6d2d7801fda93510af2186b7eb70c3e1cd6d4b94b533fc60d8 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f93664dfa572bd5e13e11a6a8cf2fbcbd812edde4150fb56a0a2115c37e6b229 [INFO] running `Command { std: "docker" "start" "-a" "f93664dfa572bd5e13e11a6a8cf2fbcbd812edde4150fb56a0a2115c37e6b229", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling psm v0.1.20 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] error: reached the type-length limit while instantiating `terminated::, Block, Option, nom::error::Error<...>, ..., ...>` [INFO] [stdout] --> src/parse.rs:634:23 [INFO] [stdout] | [INFO] [stdout] 634 | all_consuming(terminated( [INFO] [stdout] | _______________________^ [INFO] [stdout] 635 | | block(), [INFO] [stdout] 636 | | expect(token(TokenType::Period), "Expected '.' at end of program"), [INFO] [stdout] 637 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#![type_length_limit="8678635"]` attribute to your crate [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pl0-2047c1a331ca8b0d.long-type.txt' [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pl0` (bin "pl0") due to 2 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f93664dfa572bd5e13e11a6a8cf2fbcbd812edde4150fb56a0a2115c37e6b229", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f93664dfa572bd5e13e11a6a8cf2fbcbd812edde4150fb56a0a2115c37e6b229", kill_on_drop: false }` [INFO] [stdout] f93664dfa572bd5e13e11a6a8cf2fbcbd812edde4150fb56a0a2115c37e6b229