[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] building thejohncrafter/projets-2020 against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthejohncrafter%2Fprojets-2020" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thejohncrafter/projets-2020 on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-3-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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5d7c3ac3958d632ddc0483e405b72523629bec60a0371ed77961458fd33da2e [INFO] running `Command { std: "docker" "start" "-a" "c5d7c3ac3958d632ddc0483e405b72523629bec60a0371ed77961458fd33da2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5d7c3ac3958d632ddc0483e405b72523629bec60a0371ed77961458fd33da2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5d7c3ac3958d632ddc0483e405b72523629bec60a0371ed77961458fd33da2e", kill_on_drop: false }` [INFO] [stdout] c5d7c3ac3958d632ddc0483e405b72523629bec60a0371ed77961458fd33da2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5715d6bdf81917a8ee4a38dbc1f4091ad4dd9c96b08ec7eb195505c3f7393a03 [INFO] running `Command { std: "docker" "start" "-a" "5715d6bdf81917a8ee4a38dbc1f4091ad4dd9c96b08ec7eb195505c3f7393a03", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling automata v0.1.0 (/opt/rustwide/workdir/automata) [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [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] [stderr] Compiling textwrap v0.11.0 [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(Symbol, Option), [INFO] [stdout] 8 + Token((), Option), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> automata/src/parser/builder.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | rules: &'a [Production], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 21 | term_count: usize, nterm_count: usize, [INFO] [stdout] 22 | ) -> Builder { [INFO] [stdout] | ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 22 | ) -> Builder<'a, I> { [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(Symbol, Option), [INFO] [stdout] 8 + Token((), Option), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> automata/src/parser/builder.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | rules: &'a [Production], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 21 | term_count: usize, nterm_count: usize, [INFO] [stdout] 22 | ) -> Builder { [INFO] [stdout] | ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 22 | ) -> Builder<'a, I> { [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] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling 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] [stderr] Compiling parser v0.1.0 (/opt/rustwide/workdir/parser) [INFO] [stderr] Compiling 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(String), [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] [stderr] Compiling 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: 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] [stderr] Compiling 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: `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: `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: 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(i64), [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(String), [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(bool), [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(i64, String), [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(i64, Block<'a>), [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.70s [INFO] running `Command { std: "docker" "inspect" "5715d6bdf81917a8ee4a38dbc1f4091ad4dd9c96b08ec7eb195505c3f7393a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5715d6bdf81917a8ee4a38dbc1f4091ad4dd9c96b08ec7eb195505c3f7393a03", kill_on_drop: false }` [INFO] [stdout] 5715d6bdf81917a8ee4a38dbc1f4091ad4dd9c96b08ec7eb195505c3f7393a03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94d7727fc81a4f5f1a9d54d3553bccfc2b25527265a1e53822cb0668e1e5bd7c [INFO] running `Command { std: "docker" "start" "-a" "94d7727fc81a4f5f1a9d54d3553bccfc2b25527265a1e53822cb0668e1e5bd7c", kill_on_drop: false }` [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(Symbol, Option), [INFO] [stdout] 8 + Token((), Option), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> automata/src/parser/builder.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | rules: &'a [Production], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 21 | term_count: usize, nterm_count: usize, [INFO] [stdout] 22 | ) -> Builder { [INFO] [stdout] | ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 22 | ) -> Builder<'a, I> { [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: 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(Symbol, Option), [INFO] [stdout] 8 + Token((), Option), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> automata/src/parser/builder.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | rules: &'a [Production], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 21 | term_count: usize, nterm_count: usize, [INFO] [stdout] 22 | ) -> Builder { [INFO] [stdout] | ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 22 | ) -> Builder<'a, I> { [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] [stderr] Compiling automata v0.1.0 (/opt/rustwide/workdir/automata) [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] [stderr] Compiling parsergen v0.1.0 (/opt/rustwide/workdir/parsergen) [INFO] [stderr] Compiling sim v0.1.0 (/opt/rustwide/workdir/sim) [INFO] [stderr] Compiling parser v0.1.0 (/opt/rustwide/workdir/parser) [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] [stderr] Compiling ir v0.1.0 (/opt/rustwide/workdir/ir) [INFO] [stderr] Compiling compiler v0.1.0 (/opt/rustwide/workdir/compiler) [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: `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: 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: 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(Symbol, Option), [INFO] [stdout] 8 + Token((), Option), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> automata/src/parser/builder.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | rules: &'a [Production], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 21 | term_count: usize, nterm_count: usize, [INFO] [stdout] 22 | ) -> Builder { [INFO] [stdout] | ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 22 | ) -> Builder<'a, I> { [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: 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: 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(String), [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: 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: 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: 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(i64), [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(String), [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(bool), [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(i64, String), [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(i64, Block<'a>), [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.18s [INFO] running `Command { std: "docker" "inspect" "94d7727fc81a4f5f1a9d54d3553bccfc2b25527265a1e53822cb0668e1e5bd7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94d7727fc81a4f5f1a9d54d3553bccfc2b25527265a1e53822cb0668e1e5bd7c", kill_on_drop: false }` [INFO] [stdout] 94d7727fc81a4f5f1a9d54d3553bccfc2b25527265a1e53822cb0668e1e5bd7c