[INFO] cloning repository https://github.com/michaeljones/elm-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michaeljones/elm-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaeljones%2Felm-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaeljones%2Felm-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46ab530ca1a130e68871d3f1fc065a6e732768b7 [INFO] checking michaeljones/elm-parser against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaeljones%2Felm-parser" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michaeljones/elm-parser on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/michaeljones/elm-parser [INFO] finished tweaking git repo https://github.com/michaeljones/elm-parser [INFO] tweaked toml for git repo https://github.com/michaeljones/elm-parser written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/michaeljones/elm-parser 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc2378a02abc5bda4cbdf96fb7f8d5ada5c9867f6bd139b9977055aae14f69c9 [INFO] running `Command { std: "docker" "start" "-a" "bc2378a02abc5bda4cbdf96fb7f8d5ada5c9867f6bd139b9977055aae14f69c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc2378a02abc5bda4cbdf96fb7f8d5ada5c9867f6bd139b9977055aae14f69c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc2378a02abc5bda4cbdf96fb7f8d5ada5c9867f6bd139b9977055aae14f69c9", kill_on_drop: false }` [INFO] [stdout] bc2378a02abc5bda4cbdf96fb7f8d5ada5c9867f6bd139b9977055aae14f69c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8103868a3dbf9dfe5437ba04a54ef93d9116b5f5ca59e75cc4718a9fe07ca82 [INFO] running `Command { std: "docker" "start" "-a" "e8103868a3dbf9dfe5437ba04a54ef93d9116b5f5ca59e75cc4718a9fe07ca82", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling regex v1.0.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking same-file v1.0.2 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking walkdir v2.1.4 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Checking elm-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionDefinition`, `FunctionSignature`, `Function` [INFO] [stdout] --> src/ast/expression/mod.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use ast::expression::core::{Function, FunctionDefinition, FunctionSignature, LetEntry}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExportSet` [INFO] [stdout] --> src/ast/mod.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub use ast::statement::{ExportSet, Statement}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/access_function.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 18 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 39 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/float.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 23 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/function.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 55 | use ast::expression::function::*; [INFO] [stdout] | ---------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 59 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/integer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 21 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/string.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 39 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/variable.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 45 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/mod.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 356 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 359 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/helpers.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 180 | use ast::helpers::*; [INFO] [stdout] | --------------- the item `CompleteStr` is already imported here [INFO] [stdout] 181 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/comment.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | use ast::statement::comment::*; [INFO] [stdout] | -------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 33 | use ast::statement::core::*; [INFO] [stdout] 34 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/import.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | use ast::statement::import::*; [INFO] [stdout] | ------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 34 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/infix.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | use ast::statement::infix::*; [INFO] [stdout] | ------------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 31 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/module.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | use ast::statement::module::*; [INFO] [stdout] | ------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 73 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/port.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | use ast::statement::port::*; [INFO] [stdout] | ----------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 41 | use ast::type_::core::Type; [INFO] [stdout] 42 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/type_declaration.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | use ast::statement::type_declaration::*; [INFO] [stdout] | ----------------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 43 | use ast::type_::core::Type; [INFO] [stdout] 44 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExportSet` [INFO] [stdout] --> src/ast/mod.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub use ast::statement::{ExportSet, Statement}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indentation` [INFO] [stdout] --> src/ast/expression/mod.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | named_args!(simplified_record(indentation: u32) , [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `indentation` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/ast/expression/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / named_args!(simplified_record(indentation: u32) , [INFO] [stdout] 96 | | map!( [INFO] [stdout] 97 | | delimited!( [INFO] [stdout] 98 | | char!('{'), [INFO] [stdout] ... | [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `N`, `L`, and `R` are never constructed [INFO] [stdout] --> src/ast/binop.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Assoc { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | N, [INFO] [stdout] | ^ [INFO] [stdout] 4 | L, [INFO] [stdout] | ^ [INFO] [stdout] 5 | R, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Assoc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LetFunction` and `LetBinding` are never constructed [INFO] [stdout] --> src/ast/expression/core.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum LetEntry { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 25 | LetFunction(Function), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | LetBinding(Expression, Expression), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LetEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast/expression/core.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 31 | Character(char), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | Integer(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | Float(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | Variable(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | List(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | Access(Box, Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | AccessFunction(Name), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | Record(Vec<(Name, Expression)>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | RecordUpdate(Name, Vec<(Name, Expression)>), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | If(Box, Box, Box), [INFO] [stdout] | ^^ [INFO] [stdout] 43 | Let(Vec, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | Case(Box, Vec<(Expression, Expression)>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | Lambda(Vec, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | Application(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | BinOp(Box, Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESERVED_WORDS` is never used [INFO] [stdout] --> src/ast/helpers.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const RESERVED_WORDS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESERVED_OPERATORS` is never used [INFO] [stdout] --> src/ast/helpers.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const RESERVED_OPERATORS: &[&str] = &["=", ".", "..", "->", "--", "|", ":"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IR` is never used [INFO] [stdout] --> src/ast/helpers.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub enum IR { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Spaces`, `Comment`, and `NewLineAndSpaces` are never constructed [INFO] [stdout] --> src/ast/helpers.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum SpacesContent { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 91 | Spaces, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | Comment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | NewLineAndSpaces, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpacesContent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AllExport`, `SubsetExport`, `FunctionExport`, and `TypeExport` are never constructed [INFO] [stdout] --> src/ast/statement/core.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ExportSet { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | AllExport, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | SubsetExport(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | FunctionExport(Name), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | TypeExport(Name, Option>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExportSet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast/statement/core.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 17 | ModuleDeclaration(ModuleName, ExportSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | PortModuleDeclaration(ModuleName, ExportSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | EffectModuleDeclaration(ModuleName, Vec<(Name, Name)>, ExportSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | ImportStatement(ModuleName, Option, Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | TypeAliasDeclaration(Type, Type), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | TypeDeclaration(Type, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | PortTypeDeclaration(Name, Type), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | PortDeclaration(Name, Vec, Expression), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | Function(Function), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | InfixDeclaration(Assoc, i64, Name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | Comment(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TypeConstructor`, `TypeVariable`, `TypeRecordConstructor`, `TypeRecord`, `TypeTuple`, and `TypeApplication` are never constructed [INFO] [stdout] --> src/ast/type_/core.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | TypeConstructor(QualifiedType, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | TypeVariable(Name), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | TypeRecordConstructor(Box, Vec<(Name, Type)>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | TypeRecord(Vec<(Name, Type)>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | TypeTuple(Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | TypeApplication(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indentation` [INFO] [stdout] --> src/ast/expression/mod.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | named_args!(simplified_record(indentation: u32) , [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `indentation` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/ast/expression/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / named_args!(simplified_record(indentation: u32) , [INFO] [stdout] 96 | | map!( [INFO] [stdout] 97 | | delimited!( [INFO] [stdout] 98 | | char!('{'), [INFO] [stdout] ... | [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionDefinition`, `FunctionSignature`, `Function` [INFO] [stdout] --> src/ast/expression/mod.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use ast::expression::core::{Function, FunctionDefinition, FunctionSignature, LetEntry}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExportSet` [INFO] [stdout] --> src/ast/mod.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub use ast::statement::{ExportSet, Statement}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/access_function.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 18 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 39 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/float.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 23 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/function.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 55 | use ast::expression::function::*; [INFO] [stdout] | ---------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 59 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/integer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 21 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/string.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 39 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/variable.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 45 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/mod.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 356 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 359 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/helpers.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 180 | use ast::helpers::*; [INFO] [stdout] | --------------- the item `CompleteStr` is already imported here [INFO] [stdout] 181 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/comment.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | use ast::statement::comment::*; [INFO] [stdout] | -------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 33 | use ast::statement::core::*; [INFO] [stdout] 34 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/import.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | use ast::statement::import::*; [INFO] [stdout] | ------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 34 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/infix.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | use ast::statement::infix::*; [INFO] [stdout] | ------------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 31 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/module.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | use ast::statement::module::*; [INFO] [stdout] | ------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 73 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/port.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | use ast::statement::port::*; [INFO] [stdout] | ----------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 41 | use ast::type_::core::Type; [INFO] [stdout] 42 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/type_declaration.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | use ast::statement::type_declaration::*; [INFO] [stdout] | ----------------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 43 | use ast::type_::core::Type; [INFO] [stdout] 44 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExportSet` [INFO] [stdout] --> src/ast/mod.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub use ast::statement::{ExportSet, Statement}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionDefinition`, `FunctionSignature`, `Function` [INFO] [stdout] --> src/ast/expression/mod.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use ast::expression::core::{Function, FunctionDefinition, FunctionSignature, LetEntry}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/access_function.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 18 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 39 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/float.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 23 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/function.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 55 | use ast::expression::function::*; [INFO] [stdout] | ---------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 59 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/integer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 21 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/string.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 39 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/variable.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 45 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/mod.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 356 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 359 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/helpers.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 180 | use ast::helpers::*; [INFO] [stdout] | --------------- the item `CompleteStr` is already imported here [INFO] [stdout] 181 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/comment.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | use ast::statement::comment::*; [INFO] [stdout] | -------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 33 | use ast::statement::core::*; [INFO] [stdout] 34 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/import.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | use ast::statement::import::*; [INFO] [stdout] | ------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 34 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/infix.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | use ast::statement::infix::*; [INFO] [stdout] | ------------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 31 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/module.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | use ast::statement::module::*; [INFO] [stdout] | ------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 73 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/port.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | use ast::statement::port::*; [INFO] [stdout] | ----------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 41 | use ast::type_::core::Type; [INFO] [stdout] 42 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/type_declaration.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | use ast::statement::type_declaration::*; [INFO] [stdout] | ----------------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 43 | use ast::type_::core::Type; [INFO] [stdout] 44 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indentation` [INFO] [stdout] --> src/ast/expression/mod.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | named_args!(simplified_record(indentation: u32) , [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `indentation` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/ast/expression/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / named_args!(simplified_record(indentation: u32) , [INFO] [stdout] 96 | | map!( [INFO] [stdout] 97 | | delimited!( [INFO] [stdout] 98 | | char!('{'), [INFO] [stdout] ... | [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indentation` [INFO] [stdout] --> src/ast/expression/mod.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | named_args!(simplified_record(indentation: u32) , [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `indentation` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/ast/expression/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / named_args!(simplified_record(indentation: u32) , [INFO] [stdout] 96 | | map!( [INFO] [stdout] 97 | | delimited!( [INFO] [stdout] 98 | | char!('{'), [INFO] [stdout] ... | [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/dump.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dump.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | dump_directory(path, quiet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = dump_directory(path, quiet); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indentation` [INFO] [stdout] --> src/ast/expression/mod.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | named_args!(simplified_record(indentation: u32) , [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `indentation` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/ast/expression/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / named_args!(simplified_record(indentation: u32) , [INFO] [stdout] 96 | | map!( [INFO] [stdout] 97 | | delimited!( [INFO] [stdout] 98 | | char!('{'), [INFO] [stdout] ... | [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indentation` [INFO] [stdout] --> src/ast/expression/mod.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | named_args!(simplified_record(indentation: u32) , [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `indentation` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/ast/expression/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / named_args!(simplified_record(indentation: u32) , [INFO] [stdout] 96 | | map!( [INFO] [stdout] 97 | | delimited!( [INFO] [stdout] 98 | | char!('{'), [INFO] [stdout] ... | [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/dump.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dump.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | dump_directory(path, quiet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = dump_directory(path, quiet); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.60s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "e8103868a3dbf9dfe5437ba04a54ef93d9116b5f5ca59e75cc4718a9fe07ca82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8103868a3dbf9dfe5437ba04a54ef93d9116b5f5ca59e75cc4718a9fe07ca82", kill_on_drop: false }` [INFO] [stdout] e8103868a3dbf9dfe5437ba04a54ef93d9116b5f5ca59e75cc4718a9fe07ca82 [INFO] checking michaeljones/elm-parser against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaeljones%2Felm-parser" "/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/michaeljones/elm-parser on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/michaeljones/elm-parser [INFO] finished tweaking git repo https://github.com/michaeljones/elm-parser [INFO] tweaked toml for git repo https://github.com/michaeljones/elm-parser written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/michaeljones/elm-parser 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0801ea53e6a0757fe94ae2a5873184c5479138964454506d08172cc05d9e2161 [INFO] running `Command { std: "docker" "start" "-a" "0801ea53e6a0757fe94ae2a5873184c5479138964454506d08172cc05d9e2161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0801ea53e6a0757fe94ae2a5873184c5479138964454506d08172cc05d9e2161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0801ea53e6a0757fe94ae2a5873184c5479138964454506d08172cc05d9e2161", kill_on_drop: false }` [INFO] [stdout] 0801ea53e6a0757fe94ae2a5873184c5479138964454506d08172cc05d9e2161 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6610dae75fac474810dc1731887e1cd82b2ae1d141a8e2930e0bfd031716397f [INFO] running `Command { std: "docker" "start" "-a" "6610dae75fac474810dc1731887e1cd82b2ae1d141a8e2930e0bfd031716397f", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling regex v1.0.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking same-file v1.0.2 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking walkdir v2.1.4 [INFO] [stderr] Checking regex-syntax v0.6.0 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Checking elm-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionDefinition`, `FunctionSignature`, `Function` [INFO] [stdout] --> src/ast/expression/mod.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use ast::expression::core::{Function, FunctionDefinition, FunctionSignature, LetEntry}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExportSet` [INFO] [stdout] --> src/ast/mod.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub use ast::statement::{ExportSet, Statement}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/access_function.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 18 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 39 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/float.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 23 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/function.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 55 | use ast::expression::function::*; [INFO] [stdout] | ---------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 59 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/integer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 21 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/string.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 39 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/variable.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 45 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/mod.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 356 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 359 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/helpers.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 180 | use ast::helpers::*; [INFO] [stdout] | --------------- the item `CompleteStr` is already imported here [INFO] [stdout] 181 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/comment.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | use ast::statement::comment::*; [INFO] [stdout] | -------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 33 | use ast::statement::core::*; [INFO] [stdout] 34 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/import.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | use ast::statement::import::*; [INFO] [stdout] | ------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 34 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/infix.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | use ast::statement::infix::*; [INFO] [stdout] | ------------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 31 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/module.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | use ast::statement::module::*; [INFO] [stdout] | ------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 73 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/port.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | use ast::statement::port::*; [INFO] [stdout] | ----------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 41 | use ast::type_::core::Type; [INFO] [stdout] 42 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/type_declaration.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | use ast::statement::type_declaration::*; [INFO] [stdout] | ----------------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 43 | use ast::type_::core::Type; [INFO] [stdout] 44 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExportSet` [INFO] [stdout] --> src/ast/mod.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub use ast::statement::{ExportSet, Statement}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indentation` [INFO] [stdout] --> src/ast/expression/mod.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | named_args!(simplified_record(indentation: u32) , [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `indentation` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/ast/expression/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / named_args!(simplified_record(indentation: u32) , [INFO] [stdout] 96 | | map!( [INFO] [stdout] 97 | | delimited!( [INFO] [stdout] 98 | | char!('{'), [INFO] [stdout] ... | [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indentation` [INFO] [stdout] --> src/ast/expression/mod.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | named_args!(simplified_record(indentation: u32) , [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `indentation` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/ast/expression/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / named_args!(simplified_record(indentation: u32) , [INFO] [stdout] 96 | | map!( [INFO] [stdout] 97 | | delimited!( [INFO] [stdout] 98 | | char!('{'), [INFO] [stdout] ... | [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `N`, `L`, and `R` are never constructed [INFO] [stdout] --> src/ast/binop.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Assoc { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | N, [INFO] [stdout] | ^ [INFO] [stdout] 4 | L, [INFO] [stdout] | ^ [INFO] [stdout] 5 | R, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Assoc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LetFunction` and `LetBinding` are never constructed [INFO] [stdout] --> src/ast/expression/core.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum LetEntry { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 25 | LetFunction(Function), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | LetBinding(Expression, Expression), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LetEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast/expression/core.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 31 | Character(char), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | Integer(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | Float(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | Variable(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | List(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | Access(Box, Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | AccessFunction(Name), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | Record(Vec<(Name, Expression)>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | RecordUpdate(Name, Vec<(Name, Expression)>), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | If(Box, Box, Box), [INFO] [stdout] | ^^ [INFO] [stdout] 43 | Let(Vec, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | Case(Box, Vec<(Expression, Expression)>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | Lambda(Vec, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | Application(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | BinOp(Box, Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESERVED_WORDS` is never used [INFO] [stdout] --> src/ast/helpers.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const RESERVED_WORDS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESERVED_OPERATORS` is never used [INFO] [stdout] --> src/ast/helpers.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const RESERVED_OPERATORS: &[&str] = &["=", ".", "..", "->", "--", "|", ":"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IR` is never used [INFO] [stdout] --> src/ast/helpers.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub enum IR { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Spaces`, `Comment`, and `NewLineAndSpaces` are never constructed [INFO] [stdout] --> src/ast/helpers.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum SpacesContent { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 91 | Spaces, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | Comment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | NewLineAndSpaces, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpacesContent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AllExport`, `SubsetExport`, `FunctionExport`, and `TypeExport` are never constructed [INFO] [stdout] --> src/ast/statement/core.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ExportSet { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | AllExport, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | SubsetExport(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | FunctionExport(Name), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | TypeExport(Name, Option>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExportSet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast/statement/core.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 17 | ModuleDeclaration(ModuleName, ExportSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | PortModuleDeclaration(ModuleName, ExportSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | EffectModuleDeclaration(ModuleName, Vec<(Name, Name)>, ExportSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | ImportStatement(ModuleName, Option, Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | TypeAliasDeclaration(Type, Type), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | TypeDeclaration(Type, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | PortTypeDeclaration(Name, Type), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | PortDeclaration(Name, Vec, Expression), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | Function(Function), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | InfixDeclaration(Assoc, i64, Name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | Comment(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TypeConstructor`, `TypeVariable`, `TypeRecordConstructor`, `TypeRecord`, `TypeTuple`, and `TypeApplication` are never constructed [INFO] [stdout] --> src/ast/type_/core.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | TypeConstructor(QualifiedType, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | TypeVariable(Name), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | TypeRecordConstructor(Box, Vec<(Name, Type)>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | TypeRecord(Vec<(Name, Type)>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | TypeTuple(Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | TypeApplication(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionDefinition`, `FunctionSignature`, `Function` [INFO] [stdout] --> src/ast/expression/mod.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use ast::expression::core::{Function, FunctionDefinition, FunctionSignature, LetEntry}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionDefinition`, `FunctionSignature`, `Function` [INFO] [stdout] --> src/ast/expression/mod.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use ast::expression::core::{Function, FunctionDefinition, FunctionSignature, LetEntry}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExportSet` [INFO] [stdout] --> src/ast/mod.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub use ast::statement::{ExportSet, Statement}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/access_function.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 18 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 39 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/float.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 23 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/function.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 55 | use ast::expression::function::*; [INFO] [stdout] | ---------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 59 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/integer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 21 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/string.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 39 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/variable.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 45 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/access_function.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 18 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/character.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 39 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/float.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 23 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/mod.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 356 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 359 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/function.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 55 | use ast::expression::function::*; [INFO] [stdout] | ---------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 59 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/integer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 21 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/string.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 39 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/variable.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 45 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/helpers.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 180 | use ast::helpers::*; [INFO] [stdout] | --------------- the item `CompleteStr` is already imported here [INFO] [stdout] 181 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/comment.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | use ast::statement::comment::*; [INFO] [stdout] | -------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 33 | use ast::statement::core::*; [INFO] [stdout] 34 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/expression/mod.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 356 | use ast::expression::*; [INFO] [stdout] | ------------------ the item `CompleteStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 359 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/import.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | use ast::statement::import::*; [INFO] [stdout] | ------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 34 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/helpers.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 180 | use ast::helpers::*; [INFO] [stdout] | --------------- the item `CompleteStr` is already imported here [INFO] [stdout] 181 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/infix.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | use ast::statement::infix::*; [INFO] [stdout] | ------------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 31 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/comment.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | use ast::statement::comment::*; [INFO] [stdout] | -------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 33 | use ast::statement::core::*; [INFO] [stdout] 34 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/module.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | use ast::statement::module::*; [INFO] [stdout] | ------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 73 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/port.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | use ast::statement::port::*; [INFO] [stdout] | ----------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 41 | use ast::type_::core::Type; [INFO] [stdout] 42 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/type_declaration.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | use ast::statement::type_declaration::*; [INFO] [stdout] | ----------------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 43 | use ast::type_::core::Type; [INFO] [stdout] 44 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/import.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | use ast::statement::import::*; [INFO] [stdout] | ------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 34 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/infix.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | use ast::statement::infix::*; [INFO] [stdout] | ------------------------ the item `CompleteStr` is already imported here [INFO] [stdout] 31 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/module.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | use ast::statement::module::*; [INFO] [stdout] | ------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 73 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/port.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | use ast::statement::port::*; [INFO] [stdout] | ----------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 41 | use ast::type_::core::Type; [INFO] [stdout] 42 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CompleteStr` is imported redundantly [INFO] [stdout] --> src/ast/statement/type_declaration.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | use ast::statement::type_declaration::*; [INFO] [stdout] | ----------------------------------- the item `CompleteStr` is already imported here [INFO] [stdout] 43 | use ast::type_::core::Type; [INFO] [stdout] 44 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExportSet` [INFO] [stdout] --> src/ast/mod.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub use ast::statement::{ExportSet, Statement}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indentation` [INFO] [stdout] --> src/ast/expression/mod.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | named_args!(simplified_record(indentation: u32) , [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `indentation` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/ast/expression/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / named_args!(simplified_record(indentation: u32) , [INFO] [stdout] 96 | | map!( [INFO] [stdout] 97 | | delimited!( [INFO] [stdout] 98 | | char!('{'), [INFO] [stdout] ... | [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indentation` [INFO] [stdout] --> src/ast/expression/mod.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | named_args!(simplified_record(indentation: u32) , [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `indentation` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/ast/expression/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / named_args!(simplified_record(indentation: u32) , [INFO] [stdout] 96 | | map!( [INFO] [stdout] 97 | | delimited!( [INFO] [stdout] 98 | | char!('{'), [INFO] [stdout] ... | [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/dump.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dump.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | dump_directory(path, quiet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = dump_directory(path, quiet); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indentation` [INFO] [stdout] --> src/ast/expression/mod.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | named_args!(simplified_record(indentation: u32) , [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `indentation` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/ast/expression/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / named_args!(simplified_record(indentation: u32) , [INFO] [stdout] 96 | | map!( [INFO] [stdout] 97 | | delimited!( [INFO] [stdout] 98 | | char!('{'), [INFO] [stdout] ... | [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indentation` [INFO] [stdout] --> src/ast/expression/mod.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | named_args!(simplified_record(indentation: u32) , [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `indentation` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/ast/expression/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / named_args!(simplified_record(indentation: u32) , [INFO] [stdout] 96 | | map!( [INFO] [stdout] 97 | | delimited!( [INFO] [stdout] 98 | | char!('{'), [INFO] [stdout] ... | [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/dump.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dump.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | dump_directory(path, quiet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = dump_directory(path, quiet); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.91s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "6610dae75fac474810dc1731887e1cd82b2ae1d141a8e2930e0bfd031716397f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6610dae75fac474810dc1731887e1cd82b2ae1d141a8e2930e0bfd031716397f", kill_on_drop: false }` [INFO] [stdout] 6610dae75fac474810dc1731887e1cd82b2ae1d141a8e2930e0bfd031716397f