[INFO] cloning repository https://github.com/claudebarde/nyx-script [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/claudebarde/nyx-script" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudebarde%2Fnyx-script", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudebarde%2Fnyx-script'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f421d0101cf29115f0cc77baf37feeabea28d01 [INFO] checking claudebarde/nyx-script against master#0fb279be1d96464c69209053ef0f97ad63088cda for pr-143857 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudebarde%2Fnyx-script" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/claudebarde/nyx-script [INFO] finished tweaking git repo https://github.com/claudebarde/nyx-script [INFO] tweaked toml for git repo https://github.com/claudebarde/nyx-script written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/claudebarde/nyx-script on toolchain 0fb279be1d96464c69209053ef0f97ad63088cda [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/claudebarde/nyx-script 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" "+0fb279be1d96464c69209053ef0f97ad63088cda" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6630066ab53e5441d75b96149d49b125260d80c6e2acc64f6985dcdd1f9f590d [INFO] running `Command { std: "docker" "start" "-a" "6630066ab53e5441d75b96149d49b125260d80c6e2acc64f6985dcdd1f9f590d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6630066ab53e5441d75b96149d49b125260d80c6e2acc64f6985dcdd1f9f590d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6630066ab53e5441d75b96149d49b125260d80c6e2acc64f6985dcdd1f9f590d", kill_on_drop: false }` [INFO] [stdout] 6630066ab53e5441d75b96149d49b125260d80c6e2acc64f6985dcdd1f9f590d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 320dda9de583619add408de026c587b0ae085cb16a6d5c6e8a719777bd3899f0 [INFO] running `Command { std: "docker" "start" "-a" "320dda9de583619add408de026c587b0ae085cb16a6d5c6e8a719777bd3899f0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking pest v2.7.15 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Checking nyx-script v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | IdentIsKeyword(String, Position), // ident, position [INFO] [stdout] | -------------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 6 - IdentIsKeyword(String, Position), // ident, position [INFO] [stdout] 6 + IdentIsKeyword((), ()), // ident, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | PatternMatchDifferentEnums(Vec, Position), // position [INFO] [stdout] | -------------------------- ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 - PatternMatchDifferentEnums(Vec, Position), // position [INFO] [stdout] 7 + PatternMatchDifferentEnums((), ()), // position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | PatternMatchMissingCase(String, Position), // value, position [INFO] [stdout] | ----------------------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 8 - PatternMatchMissingCase(String, Position), // value, position [INFO] [stdout] 8 + PatternMatchMissingCase((), ()), // value, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | PatternMatchNoIdent(String, Position), // value, position [INFO] [stdout] | ------------------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 9 - PatternMatchNoIdent(String, Position), // value, position [INFO] [stdout] 9 + PatternMatchNoIdent((), ()), // value, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | PatternMatchNoEnum(String, Position), // value, position [INFO] [stdout] | ------------------ ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 10 - PatternMatchNoEnum(String, Position), // value, position [INFO] [stdout] 10 + PatternMatchNoEnum((), ()), // value, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | PatternMatchNoEnumAccess(String, Position), // value, position [INFO] [stdout] | ------------------------ ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 11 - PatternMatchNoEnumAccess(String, Position), // value, position [INFO] [stdout] 11 + PatternMatchNoEnumAccess((), ()), // value, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | PatternMatchTooManyCases(String, Position), // value, position [INFO] [stdout] | ------------------------ ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 12 - PatternMatchTooManyCases(String, Position), // value, position [INFO] [stdout] 12 + PatternMatchTooManyCases((), ()), // value, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | PatternMatchWrongCases(String, Position), // value, position [INFO] [stdout] | ---------------------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 13 - PatternMatchWrongCases(String, Position), // value, position [INFO] [stdout] 13 + PatternMatchWrongCases((), ()), // value, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/error.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | UnexpectedLength(usize, usize, String), // expected, actual, rule [INFO] [stdout] | ---------------- ^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 14 - UnexpectedLength(usize, usize, String), // expected, actual, rule [INFO] [stdout] 14 + UnexpectedLength((), (), ()), // expected, actual, rule [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | UnexpectedEnumLength(usize), // actual [INFO] [stdout] | -------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - UnexpectedEnumLength(usize), // actual [INFO] [stdout] 15 + UnexpectedEnumLength(()), // actual [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/error.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | UnexpectedNode(String, AstNode, Position), // expected, actual, position [INFO] [stdout] | -------------- ^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 - UnexpectedNode(String, AstNode, Position), // expected, actual, position [INFO] [stdout] 16 + UnexpectedNode((), (), ()), // expected, actual, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/error.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | UnexpectedType(NyxType, NyxType, Position), // expected, actual, position [INFO] [stdout] | -------------- ^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 17 - UnexpectedType(NyxType, NyxType, Position), // expected, actual, position [INFO] [stdout] 17 + UnexpectedType((), (), ()), // expected, actual, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | UnknownRule(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - UnknownRule(String), [INFO] [stdout] 18 + UnknownRule(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | UnknownType(String, Position), [INFO] [stdout] | ----------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 19 - UnknownType(String, Position), [INFO] [stdout] 19 + UnknownType((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | NotAnIdent(String, Position), [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 20 - NotAnIdent(String, Position), [INFO] [stdout] 20 + NotAnIdent((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | NyxCustomPrint(String, Position), [INFO] [stdout] | -------------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 21 - NyxCustomPrint(String, Position), [INFO] [stdout] 21 + NyxCustomPrint((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | UnknownCustomType(String, Position), [INFO] [stdout] | ----------------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 22 - UnknownCustomType(String, Position), [INFO] [stdout] 22 + UnknownCustomType((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | UnknownVar(String, Position), [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 - UnknownVar(String, Position), [INFO] [stdout] 23 + UnknownVar((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Boolean` and `Struct` are never constructed [INFO] [stdout] --> src/parser.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum NyxType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 31 | Boolean, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | Struct(String, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NyxType` 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 `Circuit` and `Constructor` are never constructed [INFO] [stdout] --> src/transpiler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Scope { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 8 | Global, [INFO] [stdout] 9 | Circuit(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | Constructor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | IdentIsKeyword(String, Position), // ident, position [INFO] [stdout] | -------------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 6 - IdentIsKeyword(String, Position), // ident, position [INFO] [stdout] 6 + IdentIsKeyword((), ()), // ident, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | PatternMatchDifferentEnums(Vec, Position), // position [INFO] [stdout] | -------------------------- ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 - PatternMatchDifferentEnums(Vec, Position), // position [INFO] [stdout] 7 + PatternMatchDifferentEnums((), ()), // position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | PatternMatchMissingCase(String, Position), // value, position [INFO] [stdout] | ----------------------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 8 - PatternMatchMissingCase(String, Position), // value, position [INFO] [stdout] 8 + PatternMatchMissingCase((), ()), // value, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | PatternMatchNoIdent(String, Position), // value, position [INFO] [stdout] | ------------------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 9 - PatternMatchNoIdent(String, Position), // value, position [INFO] [stdout] 9 + PatternMatchNoIdent((), ()), // value, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | PatternMatchNoEnum(String, Position), // value, position [INFO] [stdout] | ------------------ ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 10 - PatternMatchNoEnum(String, Position), // value, position [INFO] [stdout] 10 + PatternMatchNoEnum((), ()), // value, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | PatternMatchNoEnumAccess(String, Position), // value, position [INFO] [stdout] | ------------------------ ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 11 - PatternMatchNoEnumAccess(String, Position), // value, position [INFO] [stdout] 11 + PatternMatchNoEnumAccess((), ()), // value, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | PatternMatchTooManyCases(String, Position), // value, position [INFO] [stdout] | ------------------------ ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 12 - PatternMatchTooManyCases(String, Position), // value, position [INFO] [stdout] 12 + PatternMatchTooManyCases((), ()), // value, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | PatternMatchWrongCases(String, Position), // value, position [INFO] [stdout] | ---------------------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 13 - PatternMatchWrongCases(String, Position), // value, position [INFO] [stdout] 13 + PatternMatchWrongCases((), ()), // value, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/error.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | UnexpectedLength(usize, usize, String), // expected, actual, rule [INFO] [stdout] | ---------------- ^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 14 - UnexpectedLength(usize, usize, String), // expected, actual, rule [INFO] [stdout] 14 + UnexpectedLength((), (), ()), // expected, actual, rule [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | UnexpectedEnumLength(usize), // actual [INFO] [stdout] | -------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - UnexpectedEnumLength(usize), // actual [INFO] [stdout] 15 + UnexpectedEnumLength(()), // actual [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/error.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | UnexpectedNode(String, AstNode, Position), // expected, actual, position [INFO] [stdout] | -------------- ^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 - UnexpectedNode(String, AstNode, Position), // expected, actual, position [INFO] [stdout] 16 + UnexpectedNode((), (), ()), // expected, actual, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/error.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | UnexpectedType(NyxType, NyxType, Position), // expected, actual, position [INFO] [stdout] | -------------- ^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 17 - UnexpectedType(NyxType, NyxType, Position), // expected, actual, position [INFO] [stdout] 17 + UnexpectedType((), (), ()), // expected, actual, position [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | UnknownRule(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - UnknownRule(String), [INFO] [stdout] 18 + UnknownRule(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | UnknownType(String, Position), [INFO] [stdout] | ----------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 19 - UnknownType(String, Position), [INFO] [stdout] 19 + UnknownType((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | NotAnIdent(String, Position), [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 20 - NotAnIdent(String, Position), [INFO] [stdout] 20 + NotAnIdent((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | NyxCustomPrint(String, Position), [INFO] [stdout] | -------------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 21 - NyxCustomPrint(String, Position), [INFO] [stdout] 21 + NyxCustomPrint((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | UnknownCustomType(String, Position), [INFO] [stdout] | ----------------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 22 - UnknownCustomType(String, Position), [INFO] [stdout] 22 + UnknownCustomType((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | UnknownVar(String, Position), [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 - UnknownVar(String, Position), [INFO] [stdout] 23 + UnknownVar((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Boolean` and `Struct` are never constructed [INFO] [stdout] --> src/parser.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum NyxType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 31 | Boolean, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | Struct(String, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NyxType` 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 `Circuit` and `Constructor` are never constructed [INFO] [stdout] --> src/transpiler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Scope { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 8 | Global, [INFO] [stdout] 9 | Circuit(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | Constructor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.52s [INFO] running `Command { std: "docker" "inspect" "320dda9de583619add408de026c587b0ae085cb16a6d5c6e8a719777bd3899f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "320dda9de583619add408de026c587b0ae085cb16a6d5c6e8a719777bd3899f0", kill_on_drop: false }` [INFO] [stdout] 320dda9de583619add408de026c587b0ae085cb16a6d5c6e8a719777bd3899f0