[INFO] cloning repository https://github.com/yarml/LogiCraft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yarml/LogiCraft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyarml%2FLogiCraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyarml%2FLogiCraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7cb2d1dfc02705fdedf498982c68f68e54defb73 [INFO] checking yarml/LogiCraft against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyarml%2FLogiCraft" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yarml/LogiCraft on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yarml/LogiCraft [INFO] finished tweaking git repo https://github.com/yarml/LogiCraft [INFO] tweaked toml for git repo https://github.com/yarml/LogiCraft written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yarml/LogiCraft 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded peg-runtime v0.8.3 [INFO] [stderr] Downloaded peg v0.8.4 [INFO] [stderr] Downloaded peg-macros v0.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6a63a98ae40e54f932ddb7c4f2a9781b4ad9739aed3b06370f94364f68a751c [INFO] running `Command { std: "docker" "start" "-a" "c6a63a98ae40e54f932ddb7c4f2a9781b4ad9739aed3b06370f94364f68a751c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6a63a98ae40e54f932ddb7c4f2a9781b4ad9739aed3b06370f94364f68a751c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6a63a98ae40e54f932ddb7c4f2a9781b4ad9739aed3b06370f94364f68a751c", kill_on_drop: false }` [INFO] [stdout] c6a63a98ae40e54f932ddb7c4f2a9781b4ad9739aed3b06370f94364f68a751c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 039021ebc1d7b6cd60e53f9f975bb068b5b054d9a90ff06ffca243e5a16f93e2 [INFO] running `Command { std: "docker" "start" "-a" "039021ebc1d7b6cd60e53f9f975bb068b5b054d9a90ff06ffca243e5a16f93e2", kill_on_drop: false }` [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling peg-runtime v0.8.3 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling zip v2.1.6 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling peg-macros v0.8.4 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking peg v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking serde v1.0.204 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking logicraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/grammar/semantics/symbol.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | Message, MessageType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/grammar/semantics/mod.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | message::{highlight::HighlightType, line::LineType, Message, MessageType}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifier` [INFO] [stdout] --> src/grammar/semantics/mod.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | identifier::{CallTarget, Identifier}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/grammar/semantics/symbol.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | Message, MessageType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/grammar/semantics/mod.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | message::{highlight::HighlightType, line::LineType, Message, MessageType}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifier` [INFO] [stdout] --> src/grammar/semantics/mod.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | identifier::{CallTarget, Identifier}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> src/grammar/semantics/error.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | typ: MessageType, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct OptionalTypedName { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 17 | pub name: WithLineInfo, [INFO] [stdout] 18 | pub typ: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionalTypedName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | AtomBoolean(WithLineInfo), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 23 | AtomBoolean(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | AtomInteger(WithLineInfo), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 24 | AtomInteger(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | AtomFloat(WithLineInfo), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 25 | AtomFloat(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | AtomString(WithLineInfo), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 26 | AtomString(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | UnOp(WithLineInfo, Box), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 31 | UnOp((), Box), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | BinOp(Box, WithLineInfo, Box), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 32 | BinOp(Box, (), Box), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | Assignment { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 39 | target: Identifier, [INFO] [stdout] 40 | op: WithLineInfo, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attributes`, `params`, and `ret_type` are never read [INFO] [stdout] --> src/grammar/parser/ast.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | FnDecl { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 48 | attributes: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | name: WithLineInfo, [INFO] [stdout] 50 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | ret_type: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `fields` are never read [INFO] [stdout] --> src/grammar/parser/ast.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | StructDecl { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 58 | name: WithLineInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `analyzed` is never read [INFO] [stdout] --> src/grammar/semantics/mod.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Analyzer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 23 | program: HashMap, [INFO] [stdout] 24 | analyzed: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `report` is never read [INFO] [stdout] --> src/grammar/semantics/error.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ErrorManager<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | report: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `raw_line` are never used [INFO] [stdout] --> src/grammar/semantics/error.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> ErrorManager<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn add(&mut self, message: Message) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn raw_line(&self, num: usize) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of_root_identifier` is never used [INFO] [stdout] --> src/grammar/semantics/module.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl ModulePath { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn of_root_identifier(id: &Identifier) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/semantics/symbol.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Local(Name), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolvedName` has derived impls for the traits `Clone` and `Debug`, but these are 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] 35 | Local(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/semantics/symbol.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | Global(Vec), [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolvedName` has derived impls for the traits `Clone` and `Debug`, but these are 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] 36 | Global(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Help` and `Warning` are never constructed [INFO] [stdout] --> src/report/message/mod.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum MessageType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 19 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExitIfEntailed` and `OnlyReport` are never constructed [INFO] [stdout] --> src/report/message/mod.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum ExitBehavior { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 27 | AlwaysExit(i32), [INFO] [stdout] 28 | ExitIfEntailed(i32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | OnlyReport, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExitBehavior` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Suggestion` is never constructed [INFO] [stdout] --> src/report/message/highlight.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum HighlightType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 8 | Suggestion, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HighlightType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Suggestion` is never constructed [INFO] [stdout] --> src/report/message/line.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum LineType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 6 | Source, [INFO] [stdout] 7 | Suggestion, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> src/grammar/semantics/error.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | typ: MessageType, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct OptionalTypedName { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 17 | pub name: WithLineInfo, [INFO] [stdout] 18 | pub typ: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionalTypedName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | AtomBoolean(WithLineInfo), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 23 | AtomBoolean(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | AtomInteger(WithLineInfo), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 24 | AtomInteger(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | AtomFloat(WithLineInfo), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 25 | AtomFloat(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | AtomString(WithLineInfo), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 26 | AtomString(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | UnOp(WithLineInfo, Box), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 31 | UnOp((), Box), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | BinOp(Box, WithLineInfo, Box), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 32 | BinOp(Box, (), Box), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | Assignment { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 39 | target: Identifier, [INFO] [stdout] 40 | op: WithLineInfo, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attributes`, `params`, and `ret_type` are never read [INFO] [stdout] --> src/grammar/parser/ast.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | FnDecl { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 48 | attributes: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | name: WithLineInfo, [INFO] [stdout] 50 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | ret_type: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `fields` are never read [INFO] [stdout] --> src/grammar/parser/ast.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | StructDecl { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 58 | name: WithLineInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `analyzed` is never read [INFO] [stdout] --> src/grammar/semantics/mod.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Analyzer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 23 | program: HashMap, [INFO] [stdout] 24 | analyzed: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `report` is never read [INFO] [stdout] --> src/grammar/semantics/error.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ErrorManager<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | report: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `raw_line` are never used [INFO] [stdout] --> src/grammar/semantics/error.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> ErrorManager<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn add(&mut self, message: Message) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn raw_line(&self, num: usize) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of_root_identifier` is never used [INFO] [stdout] --> src/grammar/semantics/module.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl ModulePath { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn of_root_identifier(id: &Identifier) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/semantics/symbol.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Local(Name), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolvedName` has derived impls for the traits `Clone` and `Debug`, but these are 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] 35 | Local(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/semantics/symbol.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | Global(Vec), [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolvedName` has derived impls for the traits `Clone` and `Debug`, but these are 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] 36 | Global(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Help` and `Warning` are never constructed [INFO] [stdout] --> src/report/message/mod.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum MessageType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 19 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExitIfEntailed` and `OnlyReport` are never constructed [INFO] [stdout] --> src/report/message/mod.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum ExitBehavior { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 27 | AlwaysExit(i32), [INFO] [stdout] 28 | ExitIfEntailed(i32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | OnlyReport, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExitBehavior` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Suggestion` is never constructed [INFO] [stdout] --> src/report/message/highlight.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum HighlightType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 8 | Suggestion, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HighlightType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Suggestion` is never constructed [INFO] [stdout] --> src/report/message/line.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum LineType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 6 | Source, [INFO] [stdout] 7 | Suggestion, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.68s [INFO] running `Command { std: "docker" "inspect" "039021ebc1d7b6cd60e53f9f975bb068b5b054d9a90ff06ffca243e5a16f93e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "039021ebc1d7b6cd60e53f9f975bb068b5b054d9a90ff06ffca243e5a16f93e2", kill_on_drop: false }` [INFO] [stdout] 039021ebc1d7b6cd60e53f9f975bb068b5b054d9a90ff06ffca243e5a16f93e2 [INFO] checking yarml/LogiCraft against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyarml%2FLogiCraft" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yarml/LogiCraft on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yarml/LogiCraft [INFO] finished tweaking git repo https://github.com/yarml/LogiCraft [INFO] tweaked toml for git repo https://github.com/yarml/LogiCraft written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yarml/LogiCraft 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfd046e8aaf9efea177d87880725c9c4deca0cbed2ebc1c3340f63c5a8df1967 [INFO] running `Command { std: "docker" "start" "-a" "bfd046e8aaf9efea177d87880725c9c4deca0cbed2ebc1c3340f63c5a8df1967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfd046e8aaf9efea177d87880725c9c4deca0cbed2ebc1c3340f63c5a8df1967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfd046e8aaf9efea177d87880725c9c4deca0cbed2ebc1c3340f63c5a8df1967", kill_on_drop: false }` [INFO] [stdout] bfd046e8aaf9efea177d87880725c9c4deca0cbed2ebc1c3340f63c5a8df1967 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0faf2891a1228f815246452bf3849df240bb25d44505806fb5a5eaa3ca7d0506 [INFO] running `Command { std: "docker" "start" "-a" "0faf2891a1228f815246452bf3849df240bb25d44505806fb5a5eaa3ca7d0506", kill_on_drop: false }` [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling zip v2.1.6 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling peg-runtime v0.8.3 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Compiling peg-macros v0.8.4 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking peg v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking serde v1.0.204 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking logicraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/grammar/semantics/symbol.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | Message, MessageType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/grammar/semantics/mod.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | message::{highlight::HighlightType, line::LineType, Message, MessageType}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifier` [INFO] [stdout] --> src/grammar/semantics/mod.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | identifier::{CallTarget, Identifier}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/grammar/semantics/symbol.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | Message, MessageType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/grammar/semantics/mod.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | message::{highlight::HighlightType, line::LineType, Message, MessageType}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifier` [INFO] [stdout] --> src/grammar/semantics/mod.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | identifier::{CallTarget, Identifier}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> src/grammar/semantics/error.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | typ: MessageType, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> src/grammar/semantics/error.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | typ: MessageType, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct OptionalTypedName { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 17 | pub name: WithLineInfo, [INFO] [stdout] 18 | pub typ: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionalTypedName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | AtomBoolean(WithLineInfo), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 23 | AtomBoolean(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | AtomInteger(WithLineInfo), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 24 | AtomInteger(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | AtomFloat(WithLineInfo), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 25 | AtomFloat(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | AtomString(WithLineInfo), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 26 | AtomString(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | UnOp(WithLineInfo, Box), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 31 | UnOp((), Box), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | BinOp(Box, WithLineInfo, Box), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 32 | BinOp(Box, (), Box), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | Assignment { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 39 | target: Identifier, [INFO] [stdout] 40 | op: WithLineInfo, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attributes`, `params`, and `ret_type` are never read [INFO] [stdout] --> src/grammar/parser/ast.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | FnDecl { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 48 | attributes: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | name: WithLineInfo, [INFO] [stdout] 50 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | ret_type: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `fields` are never read [INFO] [stdout] --> src/grammar/parser/ast.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | StructDecl { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 58 | name: WithLineInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `analyzed` is never read [INFO] [stdout] --> src/grammar/semantics/mod.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Analyzer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 23 | program: HashMap, [INFO] [stdout] 24 | analyzed: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `report` is never read [INFO] [stdout] --> src/grammar/semantics/error.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ErrorManager<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | report: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `raw_line` are never used [INFO] [stdout] --> src/grammar/semantics/error.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> ErrorManager<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn add(&mut self, message: Message) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn raw_line(&self, num: usize) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of_root_identifier` is never used [INFO] [stdout] --> src/grammar/semantics/module.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl ModulePath { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn of_root_identifier(id: &Identifier) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/semantics/symbol.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Local(Name), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolvedName` has derived impls for the traits `Clone` and `Debug`, but these are 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] 35 | Local(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/semantics/symbol.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | Global(Vec), [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolvedName` has derived impls for the traits `Clone` and `Debug`, but these are 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] 36 | Global(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Help` and `Warning` are never constructed [INFO] [stdout] --> src/report/message/mod.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum MessageType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 19 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExitIfEntailed` and `OnlyReport` are never constructed [INFO] [stdout] --> src/report/message/mod.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum ExitBehavior { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 27 | AlwaysExit(i32), [INFO] [stdout] 28 | ExitIfEntailed(i32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | OnlyReport, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExitBehavior` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Suggestion` is never constructed [INFO] [stdout] --> src/report/message/highlight.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum HighlightType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 8 | Suggestion, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HighlightType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Suggestion` is never constructed [INFO] [stdout] --> src/report/message/line.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum LineType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 6 | Source, [INFO] [stdout] 7 | Suggestion, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | op:unop() _? x:@ { Expression::UnOp(op, x.into()) } [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 94 | x:(@) _? op:binop(Precedence::Lowest) _? y:@ { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | Expression::BinOp(x.into(), op, y.into()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:95:41 [INFO] [stdout] | [INFO] [stdout] 94 | x:(@) _? op:binop(Precedence::Lowest) _? y:@ { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | Expression::BinOp(x.into(), op, y.into()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 98 | x:(@) _? op:binop(Precedence::Low) _? y:@ { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Expression::BinOp(x.into(), op, y.into()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 98 | x:(@) _? op:binop(Precedence::Low) _? y:@ { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Expression::BinOp(x.into(), op, y.into()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 102 | x:(@) _? op:binop(Precedence::High) _? y:@ { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | Expression::BinOp(x.into(), op, y.into()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 102 | x:(@) _? op:binop(Precedence::High) _? y:@ { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | Expression::BinOp(x.into(), op, y.into()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 150 | s:(s:(statement() ** stmt_sep()) stmt_sep() { s })? { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | s.unwrap_or(Vec::new()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pipeline.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | .filter(|path| match fs::metadata(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `logicraft` (bin "logicraft") due to 10 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct OptionalTypedName { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 17 | pub name: WithLineInfo, [INFO] [stdout] 18 | pub typ: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionalTypedName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | AtomBoolean(WithLineInfo), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 23 | AtomBoolean(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | AtomInteger(WithLineInfo), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 24 | AtomInteger(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | AtomFloat(WithLineInfo), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 25 | AtomFloat(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | AtomString(WithLineInfo), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 26 | AtomString(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | UnOp(WithLineInfo, Box), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 31 | UnOp((), Box), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | BinOp(Box, WithLineInfo, Box), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 32 | BinOp(Box, (), Box), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/grammar/parser/ast.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | Assignment { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 39 | target: Identifier, [INFO] [stdout] 40 | op: WithLineInfo, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attributes`, `params`, and `ret_type` are never read [INFO] [stdout] --> src/grammar/parser/ast.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | FnDecl { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 48 | attributes: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | name: WithLineInfo, [INFO] [stdout] 50 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | ret_type: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `fields` are never read [INFO] [stdout] --> src/grammar/parser/ast.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | StructDecl { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 58 | name: WithLineInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `analyzed` is never read [INFO] [stdout] --> src/grammar/semantics/mod.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Analyzer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 23 | program: HashMap, [INFO] [stdout] 24 | analyzed: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `report` is never read [INFO] [stdout] --> src/grammar/semantics/error.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ErrorManager<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | report: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `raw_line` are never used [INFO] [stdout] --> src/grammar/semantics/error.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> ErrorManager<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn add(&mut self, message: Message) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn raw_line(&self, num: usize) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of_root_identifier` is never used [INFO] [stdout] --> src/grammar/semantics/module.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl ModulePath { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn of_root_identifier(id: &Identifier) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/semantics/symbol.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Local(Name), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolvedName` has derived impls for the traits `Clone` and `Debug`, but these are 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] 35 | Local(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/grammar/semantics/symbol.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | Global(Vec), [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResolvedName` has derived impls for the traits `Clone` and `Debug`, but these are 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] 36 | Global(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Help` and `Warning` are never constructed [INFO] [stdout] --> src/report/message/mod.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum MessageType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 19 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExitIfEntailed` and `OnlyReport` are never constructed [INFO] [stdout] --> src/report/message/mod.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum ExitBehavior { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 27 | AlwaysExit(i32), [INFO] [stdout] 28 | ExitIfEntailed(i32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | OnlyReport, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExitBehavior` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Suggestion` is never constructed [INFO] [stdout] --> src/report/message/highlight.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum HighlightType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 8 | Suggestion, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HighlightType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Suggestion` is never constructed [INFO] [stdout] --> src/report/message/line.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum LineType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 6 | Source, [INFO] [stdout] 7 | Suggestion, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | op:unop() _? x:@ { Expression::UnOp(op, x.into()) } [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 94 | x:(@) _? op:binop(Precedence::Lowest) _? y:@ { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | Expression::BinOp(x.into(), op, y.into()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:95:41 [INFO] [stdout] | [INFO] [stdout] 94 | x:(@) _? op:binop(Precedence::Lowest) _? y:@ { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | Expression::BinOp(x.into(), op, y.into()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 98 | x:(@) _? op:binop(Precedence::Low) _? y:@ { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Expression::BinOp(x.into(), op, y.into()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 98 | x:(@) _? op:binop(Precedence::Low) _? y:@ { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Expression::BinOp(x.into(), op, y.into()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 102 | x:(@) _? op:binop(Precedence::High) _? y:@ { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | Expression::BinOp(x.into(), op, y.into()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 102 | x:(@) _? op:binop(Precedence::High) _? y:@ { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | Expression::BinOp(x.into(), op, y.into()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/grammar/parser/peg.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 150 | s:(s:(statement() ** stmt_sep()) stmt_sep() { s })? { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | s.unwrap_or(Vec::new()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pipeline.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | .filter(|path| match fs::metadata(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `logicraft` (bin "logicraft" test) due to 10 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0faf2891a1228f815246452bf3849df240bb25d44505806fb5a5eaa3ca7d0506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0faf2891a1228f815246452bf3849df240bb25d44505806fb5a5eaa3ca7d0506", kill_on_drop: false }` [INFO] [stdout] 0faf2891a1228f815246452bf3849df240bb25d44505806fb5a5eaa3ca7d0506