[INFO] cloning repository https://github.com/thejohncrafter/projets-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thejohncrafter/projets-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthejohncrafter%2Fprojets-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthejohncrafter%2Fprojets-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c4525f5d241a67663a1f74f2326abd2890c44fa [INFO] checking thejohncrafter/projets-2020 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthejohncrafter%2Fprojets-2020" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thejohncrafter/projets-2020 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/thejohncrafter/projets-2020 [INFO] finished tweaking git repo https://github.com/thejohncrafter/projets-2020 [INFO] tweaked toml for git repo https://github.com/thejohncrafter/projets-2020 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thejohncrafter/projets-2020 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a5980ace94bc2b12e6cebfed57613aa9d5ae9f4a9cea4bdbf1ad79aa7e50b243 [INFO] running `Command { std: "docker" "start" "-a" "a5980ace94bc2b12e6cebfed57613aa9d5ae9f4a9cea4bdbf1ad79aa7e50b243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5980ace94bc2b12e6cebfed57613aa9d5ae9f4a9cea4bdbf1ad79aa7e50b243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5980ace94bc2b12e6cebfed57613aa9d5ae9f4a9cea4bdbf1ad79aa7e50b243", kill_on_drop: false }` [INFO] [stdout] a5980ace94bc2b12e6cebfed57613aa9d5ae9f4a9cea4bdbf1ad79aa7e50b243 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b34d8fc85ca4f6b3937015880c957900d6cb79002326db4f4aae32a0402a4fd2 [INFO] running `Command { std: "docker" "start" "-a" "b34d8fc85ca4f6b3937015880c957900d6cb79002326db4f4aae32a0402a4fd2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling automata v0.1.0 (/opt/rustwide/workdir/automata) [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> automata/src/lexer/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> automata/src/lexer/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> automata/src/lexer/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> automata/src/lexer/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_extra_info` is never used [INFO] [stdout] --> automata/src/parser/items.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait LRItem: Ord + Copy { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 77 | fn print_extra_info(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> automata/src/parser/pda.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Token(Symbol, Option), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StackItem` 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] 8 | Token((), Option), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> automata/src/parser/api.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] 26 + panic!("Can't find the non-terminal \"{}\"", name) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_extra_info` is never used [INFO] [stdout] --> automata/src/parser/items.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait LRItem: Ord + Copy { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 77 | fn print_extra_info(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> automata/src/parser/pda.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Token(Symbol, Option), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StackItem` 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] 8 | Token((), Option), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> automata/src/parser/api.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] 26 + panic!("Can't find the non-terminal \"{}\"", name) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_extra_info` is never used [INFO] [stdout] --> automata/src/parser/items.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait LRItem: Ord + Copy { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 77 | fn print_extra_info(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> automata/src/parser/pda.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Token(Symbol, Option), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StackItem` 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] 8 | Token((), Option), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> automata/src/parser/api.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] 26 + panic!("Can't find the non-terminal \"{}\"", name) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_extra_info` is never used [INFO] [stdout] --> automata/src/parser/items.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait LRItem: Ord + Copy { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 77 | fn print_extra_info(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> automata/src/parser/pda.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Token(Symbol, Option), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StackItem` 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] 8 | Token((), Option), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> automata/src/parser/api.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] 26 + panic!("Can't find the non-terminal \"{}\"", name) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking parsergen v0.1.0 (/opt/rustwide/workdir/parsergen) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> parsergen/src/lexer/regexp.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> parsergen/src/lexer/regexp.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> parsergen/src/lexer/regexp.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir/parser) [INFO] [stderr] Checking sim v0.1.0 (/opt/rustwide/workdir/sim) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> sim/src/parsing/parser.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `len` are never read [INFO] [stdout] --> sim/src/types.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct VarInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 63 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub len: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> sim/src/parsing/parser.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `len` are never read [INFO] [stdout] --> sim/src/types.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct VarInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 63 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub len: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ir v0.1.0 (/opt/rustwide/workdir/ir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> ir/src/ast_to_hir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> ir/src/ast_to_hir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> ir/src/ast_to_hir.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Renamer { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emit_unique_gvar_name` is never used [INFO] [stdout] --> ir/src/ast_to_hir.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl Emitter { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | fn emit_unique_gvar_name(&mut self, gvar: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Punct` is never used [INFO] [stdout] --> ir/src/lir/parsing.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Punct { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> ir/src/lir/parsing.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_lir` is never used [INFO] [stdout] --> ir/src/lir/parsing.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn parse_lir<'a>(file_name: &'a str, contents: &'a str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Punct` is never used [INFO] [stdout] --> ir/src/hir/parsing.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Punct { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> ir/src/hir/parsing.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_hir` is never used [INFO] [stdout] --> ir/src/hir/parsing.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn parse_hir<'a>(file_name: &'a str, contents: &'a str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> ir/src/ast_to_hir.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Renamer { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emit_unique_gvar_name` is never used [INFO] [stdout] --> ir/src/ast_to_hir.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl Emitter { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | fn emit_unique_gvar_name(&mut self, gvar: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Punct` is never used [INFO] [stdout] --> ir/src/lir/parsing.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Punct { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> ir/src/lir/parsing.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_lir` is never used [INFO] [stdout] --> ir/src/lir/parsing.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn parse_lir<'a>(file_name: &'a str, contents: &'a str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Punct` is never used [INFO] [stdout] --> ir/src/hir/parsing.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Punct { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> ir/src/hir/parsing.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_hir` is never used [INFO] [stdout] --> ir/src/hir/parsing.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn parse_hir<'a>(file_name: &'a str, contents: &'a str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stdout] warning: unused import: `std::fs::read_dir` [INFO] [stdout] --> compiler/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::read_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_dir` [INFO] [stdout] --> compiler/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::read_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::parse_and_type_file` [INFO] [stdout] --> compiler/src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use parser::parse_and_type_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::parse_and_type_file` [INFO] [stdout] --> compiler/src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use parser::parse_and_type_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> ir/src/ast_to_hir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> ir/src/ast_to_hir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> ir/src/ast_to_hir.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Renamer { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emit_unique_gvar_name` is never used [INFO] [stdout] --> ir/src/ast_to_hir.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl Emitter { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | fn emit_unique_gvar_name(&mut self, gvar: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> ir/src/ast_to_hir.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Renamer { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emit_unique_gvar_name` is never used [INFO] [stdout] --> ir/src/ast_to_hir.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl Emitter { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | fn emit_unique_gvar_name(&mut self, gvar: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> parser/src/ast.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LocatedIdent<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | pub span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocatedIdent` 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] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> parser/src/ast.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Range<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 114 | pub span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Range` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> parser/src/ast.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Else<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 134 | pub span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Else` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> parser/src/ast.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpVal` 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] 151 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> parser/src/ast.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpVal` 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] 152 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> parser/src/ast.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpVal` 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] 153 | Bool(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> parser/src/ast.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | Mul(i64, String), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpVal` 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] 158 | Mul((), String), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> parser/src/ast.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 159 | LMul(i64, Block<'a>), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpVal` 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] 159 | LMul((), Block<'a>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> parser/src/ast.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct Block<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 220 | pub span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> parser/src/ast.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct Decl<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 276 | pub span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions`, `structures`, and `global_expressions` are never read [INFO] [stdout] --> parser/src/typing/data.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TypedDecls<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | pub functions: HashMap>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub structures: HashMap>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | pub global_expressions: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedDecls` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `local` is never used [INFO] [stdout] --> parser/src/typing/data.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl EnvVariable { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn local() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `known_types` is never read [INFO] [stdout] --> parser/src/typing/data.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct TypingContext<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | pub known_types: HashSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypingContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_alive_in_env` is never used [INFO] [stdout] --> parser/src/typing/data.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl<'a> TypingContext<'a> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn is_alive_in_env(&self, ident: &LocatedIdent<'a>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> parser/src/ast.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LocatedIdent<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | pub span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocatedIdent` 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] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> parser/src/ast.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Range<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 114 | pub span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Range` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> parser/src/ast.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Else<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 134 | pub span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Else` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> parser/src/ast.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpVal` 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] 151 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> parser/src/ast.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpVal` 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] 152 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> parser/src/ast.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpVal` 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] 153 | Bool(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> parser/src/ast.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | Mul(i64, String), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpVal` 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] 158 | Mul((), String), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> parser/src/ast.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 159 | LMul(i64, Block<'a>), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpVal` 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] 159 | LMul((), Block<'a>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> parser/src/ast.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct Block<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 220 | pub span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> parser/src/ast.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct Decl<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 276 | pub span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions`, `structures`, and `global_expressions` are never read [INFO] [stdout] --> parser/src/typing/data.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TypedDecls<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | pub functions: HashMap>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub structures: HashMap>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | pub global_expressions: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedDecls` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `local` is never used [INFO] [stdout] --> parser/src/typing/data.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl EnvVariable { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn local() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `known_types` is never read [INFO] [stdout] --> parser/src/typing/data.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct TypingContext<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | pub known_types: HashSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypingContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_alive_in_env` is never used [INFO] [stdout] --> parser/src/typing/data.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl<'a> TypingContext<'a> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn is_alive_in_env(&self, ident: &LocatedIdent<'a>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.24s [INFO] running `Command { std: "docker" "inspect" "b34d8fc85ca4f6b3937015880c957900d6cb79002326db4f4aae32a0402a4fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b34d8fc85ca4f6b3937015880c957900d6cb79002326db4f4aae32a0402a4fd2", kill_on_drop: false }` [INFO] [stdout] b34d8fc85ca4f6b3937015880c957900d6cb79002326db4f4aae32a0402a4fd2 [INFO] checking thejohncrafter/projets-2020 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%2Fthejohncrafter%2Fprojets-2020" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thejohncrafter/projets-2020 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/thejohncrafter/projets-2020 [INFO] finished tweaking git repo https://github.com/thejohncrafter/projets-2020 [INFO] tweaked toml for git repo https://github.com/thejohncrafter/projets-2020 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thejohncrafter/projets-2020 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8378930cf3a487d3b7b7b9d0f30d6be73582420008fb51fc12b03523bbe00668 [INFO] running `Command { std: "docker" "start" "-a" "8378930cf3a487d3b7b7b9d0f30d6be73582420008fb51fc12b03523bbe00668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8378930cf3a487d3b7b7b9d0f30d6be73582420008fb51fc12b03523bbe00668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8378930cf3a487d3b7b7b9d0f30d6be73582420008fb51fc12b03523bbe00668", kill_on_drop: false }` [INFO] [stdout] 8378930cf3a487d3b7b7b9d0f30d6be73582420008fb51fc12b03523bbe00668 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d6af776b7107d86beee354ea67a0db14fdce536d4f104154a63576dceab10595 [INFO] running `Command { std: "docker" "start" "-a" "d6af776b7107d86beee354ea67a0db14fdce536d4f104154a63576dceab10595", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling automata v0.1.0 (/opt/rustwide/workdir/automata) [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> automata/src/lexer/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> automata/src/lexer/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> automata/src/lexer/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> automata/src/lexer/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_extra_info` is never used [INFO] [stdout] --> automata/src/parser/items.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait LRItem: Ord + Copy { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 77 | fn print_extra_info(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> automata/src/parser/pda.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Token(Symbol, Option), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StackItem` 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] 8 | Token((), Option), [INFO] [stdout] | ~~ [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] --> automata/src/lexer/building.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 137 | let e = self.visit(exp); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | IRegexp::Concat(Box::new(e), Box::new(IRegexp::Character(IChar::Hash(id)))) [INFO] [stdout] | ^^^^^^^^^^^ [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] --> automata/src/lexer/building.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 137 | let e = self.visit(exp); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | IRegexp::Concat(Box::new(e), Box::new(IRegexp::Character(IChar::Hash(id)))) [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] --> automata/src/lexer/building.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | |acc, (id, exp)| IRegexp::Union(Box::new(acc), Box::new(ctx.transform(exp, id))) [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] [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] --> automata/src/lexer/building.rs:147:60 [INFO] [stdout] | [INFO] [stdout] 147 | |acc, (id, exp)| IRegexp::Union(Box::new(acc), Box::new(ctx.transform(exp, id))) [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] [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] --> automata/src/lexer/dfa.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 44 | chars: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | chars: chars.peekable(), [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] warning: panic message is not a string literal [INFO] [stdout] --> automata/src/parser/api.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] 26 + panic!("Can't find the non-terminal \"{}\"", name) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `automata` (lib) due to 6 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `print_extra_info` is never used [INFO] [stdout] --> automata/src/parser/items.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait LRItem: Ord + Copy { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 77 | fn print_extra_info(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> automata/src/parser/pda.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Token(Symbol, Option), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StackItem` 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] 8 | Token((), Option), [INFO] [stdout] | ~~ [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] --> automata/src/lexer/building.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 137 | let e = self.visit(exp); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | IRegexp::Concat(Box::new(e), Box::new(IRegexp::Character(IChar::Hash(id)))) [INFO] [stdout] | ^^^^^^^^^^^ [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] --> automata/src/lexer/building.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 137 | let e = self.visit(exp); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | IRegexp::Concat(Box::new(e), Box::new(IRegexp::Character(IChar::Hash(id)))) [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] --> automata/src/lexer/building.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | |acc, (id, exp)| IRegexp::Union(Box::new(acc), Box::new(ctx.transform(exp, id))) [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] [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] --> automata/src/lexer/building.rs:147:60 [INFO] [stdout] | [INFO] [stdout] 147 | |acc, (id, exp)| IRegexp::Union(Box::new(acc), Box::new(ctx.transform(exp, id))) [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] [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] --> automata/src/lexer/dfa.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 44 | chars: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | chars: chars.peekable(), [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] warning: panic message is not a string literal [INFO] [stdout] --> automata/src/parser/api.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] 26 + panic!("Can't find the non-terminal \"{}\"", name) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_extra_info` is never used [INFO] [stdout] --> automata/src/parser/items.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait LRItem: Ord + Copy { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 77 | fn print_extra_info(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> automata/src/parser/pda.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Token(Symbol, Option), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StackItem` 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] 8 | Token((), Option), [INFO] [stdout] | ~~ [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] --> automata/src/lexer/building.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 137 | let e = self.visit(exp); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | IRegexp::Concat(Box::new(e), Box::new(IRegexp::Character(IChar::Hash(id)))) [INFO] [stdout] | ^^^^^^^^^^^ [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] --> automata/src/lexer/building.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 137 | let e = self.visit(exp); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | IRegexp::Concat(Box::new(e), Box::new(IRegexp::Character(IChar::Hash(id)))) [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] --> automata/src/lexer/building.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | |acc, (id, exp)| IRegexp::Union(Box::new(acc), Box::new(ctx.transform(exp, id))) [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] [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] --> automata/src/lexer/building.rs:147:60 [INFO] [stdout] | [INFO] [stdout] 147 | |acc, (id, exp)| IRegexp::Union(Box::new(acc), Box::new(ctx.transform(exp, id))) [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] [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] --> automata/src/lexer/dfa.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 44 | chars: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | chars: chars.peekable(), [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] warning: panic message is not a string literal [INFO] [stdout] --> automata/src/parser/api.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] 26 + panic!("Can't find the non-terminal \"{}\"", name) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `automata` (lib test) due to 6 previous errors; 4 warnings emitted [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `automata` (lib) due to 6 previous errors; 4 warnings emitted [INFO] [stdout] warning: method `print_extra_info` is never used [INFO] [stdout] --> automata/src/parser/items.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait LRItem: Ord + Copy { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 77 | fn print_extra_info(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> automata/src/parser/pda.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Token(Symbol, Option), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StackItem` 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] 8 | Token((), Option), [INFO] [stdout] | ~~ [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] --> automata/src/lexer/building.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 137 | let e = self.visit(exp); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | IRegexp::Concat(Box::new(e), Box::new(IRegexp::Character(IChar::Hash(id)))) [INFO] [stdout] | ^^^^^^^^^^^ [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] --> automata/src/lexer/building.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 137 | let e = self.visit(exp); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | IRegexp::Concat(Box::new(e), Box::new(IRegexp::Character(IChar::Hash(id)))) [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] --> automata/src/lexer/building.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | |acc, (id, exp)| IRegexp::Union(Box::new(acc), Box::new(ctx.transform(exp, id))) [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] [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] --> automata/src/lexer/building.rs:147:60 [INFO] [stdout] | [INFO] [stdout] 147 | |acc, (id, exp)| IRegexp::Union(Box::new(acc), Box::new(ctx.transform(exp, id))) [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] [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] --> automata/src/lexer/dfa.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 44 | chars: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | chars: chars.peekable(), [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] warning: panic message is not a string literal [INFO] [stdout] --> automata/src/parser/api.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - panic!(format!("Can't find the non-terminal \"{}\"", name)) [INFO] [stdout] 26 + panic!("Can't find the non-terminal \"{}\"", name) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `automata` (lib) due to 6 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d6af776b7107d86beee354ea67a0db14fdce536d4f104154a63576dceab10595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6af776b7107d86beee354ea67a0db14fdce536d4f104154a63576dceab10595", kill_on_drop: false }` [INFO] [stdout] d6af776b7107d86beee354ea67a0db14fdce536d4f104154a63576dceab10595