[INFO] cloning repository https://github.com/apskhem/c-webassembly
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/apskhem/c-webassembly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapskhem%2Fc-webassembly", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapskhem%2Fc-webassembly'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8c18e9c1bca70d8e3a8cc545e1943cecf94c23da
[INFO] checking apskhem/c-webassembly against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapskhem%2Fc-webassembly" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/apskhem/c-webassembly
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/apskhem/c-webassembly
[INFO] tweaked toml for git repo https://github.com/apskhem/c-webassembly written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/apskhem/c-webassembly on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/apskhem/c-webassembly 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c46a2489397172baf5fc12585bd973126989c92fcc300ddc4cc64f52883dc3ad
[INFO] running `Command { std: "docker" "start" "-a" "c46a2489397172baf5fc12585bd973126989c92fcc300ddc4cc64f52883dc3ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c46a2489397172baf5fc12585bd973126989c92fcc300ddc4cc64f52883dc3ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c46a2489397172baf5fc12585bd973126989c92fcc300ddc4cc64f52883dc3ad", kill_on_drop: false }`
[INFO] [stdout] c46a2489397172baf5fc12585bd973126989c92fcc300ddc4cc64f52883dc3ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e790924d5202f35ba490a98527e9f8e906bc0948371440360440b14b47b0865e
[INFO] running `Command { std: "docker" "start" "-a" "e790924d5202f35ba490a98527e9f8e906bc0948371440360440b14b47b0865e", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling libc v0.2.102
[INFO] [stderr]    Compiling syn v1.0.78
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]     Checking unicode-xid v0.2.2
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]     Checking predicates-core v1.0.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]     Checking treeline v0.1.0
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking owo-colors v2.1.0
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking predicates-tree v1.0.3
[INFO] [stderr]     Checking predicates v2.0.2
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking quote v1.0.10
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking assert_cmd v2.0.1
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling structopt-derive v0.4.16
[INFO] [stderr]     Checking structopt v0.3.23
[INFO] [stderr]     Checking c-webassembly v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `range`
[INFO] [stdout]    --> src/token.rs:163:31
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let RawToken { value, range } = value;
[INFO] [stdout]     |                               ^^^^^ help: try ignoring the field: `range: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `range`
[INFO] [stdout]    --> src/token.rs:163:31
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let RawToken { value, range } = value;
[INFO] [stdout]     |                               ^^^^^ help: try ignoring the field: `range: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ast`
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let ast = parser::parse_syntax(&tokens)?;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `token_grammar::Comment` is more private than the item `TokenGrammar::Comment::0`
[INFO] [stdout]   --> src/token_grammar.rs:9:13
[INFO] [stdout]    |
[INFO] [stdout]  9 |     Comment(Comment),
[INFO] [stdout]    |             ^^^^^^^ field `TokenGrammar::Comment::0` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `token_grammar::Comment` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/token_grammar.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum Comment {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `token_grammar::Keyword` is more private than the item `TokenGrammar::Keyword::0`
[INFO] [stdout]   --> src/token_grammar.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Keyword(Keyword),
[INFO] [stdout]    |             ^^^^^^^ field `TokenGrammar::Keyword::0` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `token_grammar::Keyword` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/token_grammar.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum Keyword {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `token_grammar::Type` is more private than the item `TokenGrammar::Type::0`
[INFO] [stdout]   --> src/token_grammar.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Type(Type),
[INFO] [stdout]    |          ^^^^ field `TokenGrammar::Type::0` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `token_grammar::Type` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/token_grammar.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | enum Type {
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `token_grammar::Identifier` is more private than the item `TokenGrammar::Identifier::0`
[INFO] [stdout]   --> src/token_grammar.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Identifier(Identifier),
[INFO] [stdout]    |                ^^^^^^^^^^ field `TokenGrammar::Identifier::0` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `token_grammar::Identifier` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/token_grammar.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum Identifier {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `token_grammar::Literal` is more private than the item `TokenGrammar::Literal::0`
[INFO] [stdout]   --> src/token_grammar.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Literal(Literal),
[INFO] [stdout]    |             ^^^^^^^ field `TokenGrammar::Literal::0` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `token_grammar::Literal` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/token_grammar.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | enum Literal {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `token_grammar::Symbol` is more private than the item `TokenGrammar::Symbol::0`
[INFO] [stdout]   --> src/token_grammar.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Symbol(Symbol)
[INFO] [stdout]    |            ^^^^^^ field `TokenGrammar::Symbol::0` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `token_grammar::Symbol` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/token_grammar.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | enum Symbol {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_file` is never used
[INFO] [stdout]  --> src/io.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn write_file(path: &str, buf: &[u8]) -> std::io::Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GrammarError` is never used
[INFO] [stdout]   --> src/grammar.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum GrammarError {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GlobalDeclaration` is never constructed
[INFO] [stdout]    --> src/grammar.rs:307:12
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub struct GlobalDeclaration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `value` and `range` are never used
[INFO] [stdout]    --> src/token.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 142 | impl<'a> RawToken<'a> {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn value(&self) -> &str {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub const fn range(&self) -> &Range<usize> {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Comment` is never constructed
[INFO] [stdout]  --> src/token_grammar.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum TokenGrammar {
[INFO] [stdout]   |          ------------ variant in this enum
[INFO] [stdout] 9 |     Comment(Comment),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `TokenGrammar` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Any` is never constructed
[INFO] [stdout]   --> src/token_grammar.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum Comment {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] 19 |     Any
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Comment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Any` is never constructed
[INFO] [stdout]   --> src/token_grammar.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum Keyword {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] 24 |     ByOriginal(token::Keyword),
[INFO] [stdout] 25 |     Any
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Keyword` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ByOriginal` is never constructed
[INFO] [stdout]   --> src/token_grammar.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | enum Type {
[INFO] [stdout]    |      ---- variant in this enum
[INFO] [stdout] 30 |     ByOriginal(token::Type),
[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: variant `Any` is never constructed
[INFO] [stdout]   --> src/token_grammar.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | enum Literal {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 43 |     Any
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Any` is never constructed
[INFO] [stdout]   --> src/token_grammar.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | enum Symbol {
[INFO] [stdout]    |      ------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 51 |     Any
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Symbol` 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: associated functions `any_comment`, `any_keyword`, `from_type`, `any_literal`, and `any_symbol` are never used
[INFO] [stdout]    --> src/token_grammar.rs:129:18
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl TokenGrammar {
[INFO] [stdout]     | ----------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub const fn any_comment() -> Self {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub const fn any_keyword() -> Self {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub const fn from_type(o: token::Type) -> Self {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub const fn any_literal() -> Self {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub const fn any_symbol() -> Self {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `ln` and `col` are never used
[INFO] [stdout]   --> src/tokenizer.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl CharPositionCounter {
[INFO] [stdout]    | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     const fn ln(&self) -> usize {
[INFO] [stdout]    |              ^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     const fn col(&self) -> usize {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `outfile` and `opt_level` are never read
[INFO] [stdout]   --> src/cli.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Opt {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     outfile: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     opt_level: Option<OptLevel>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` 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 `opt_level` is never used
[INFO] [stdout]   --> src/cli.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Opt {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn opt_level(&self) -> OptLevel {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/grammar.rs:119:20
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn current(&self) -> &GrammarQuantifier {
[INFO] [stdout]     |                    ^^^^^     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                    |         ||
[INFO] [stdout]     |                    |         |the same lifetime is hidden here
[INFO] [stdout]     |                    |         the same lifetime is elided here
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn current(&self) -> &GrammarQuantifier<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ast`
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let ast = parser::parse_syntax(&tokens)?;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tokenizer.rs:58:23
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn tokenize(text: &str) -> Result<Vec<token::Token>, Box<dyn Error>> {
[INFO] [stdout]    |                       ^^^^                ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn tokenize(text: &str) -> Result<Vec<token::Token<'_>>, Box<dyn Error>> {
[INFO] [stdout]    |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: std::result::Result<String, Infallible>
[INFO] [stdout]  --> src/cli.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | /     /// Input file to be compiled
[INFO] [stdout] 8 | |     file: String,
[INFO] [stdout]   | |________________^
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: std::result::Result<String, Infallible>
[INFO] [stdout]   --> src/cli.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | /     /// Number of lines to read
[INFO] [stdout] 10 | |     #[structopt(short = "o")]
[INFO] [stdout] 11 | |     outfile: Option<String>,
[INFO] [stdout]    | |___________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `token_grammar::Comment` is more private than the item `TokenGrammar::Comment::0`
[INFO] [stdout]   --> src/token_grammar.rs:9:13
[INFO] [stdout]    |
[INFO] [stdout]  9 |     Comment(Comment),
[INFO] [stdout]    |             ^^^^^^^ field `TokenGrammar::Comment::0` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `token_grammar::Comment` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/token_grammar.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum Comment {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `token_grammar::Keyword` is more private than the item `TokenGrammar::Keyword::0`
[INFO] [stdout]   --> src/token_grammar.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Keyword(Keyword),
[INFO] [stdout]    |             ^^^^^^^ field `TokenGrammar::Keyword::0` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `token_grammar::Keyword` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/token_grammar.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum Keyword {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `token_grammar::Type` is more private than the item `TokenGrammar::Type::0`
[INFO] [stdout]   --> src/token_grammar.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Type(Type),
[INFO] [stdout]    |          ^^^^ field `TokenGrammar::Type::0` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `token_grammar::Type` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/token_grammar.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | enum Type {
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `token_grammar::Identifier` is more private than the item `TokenGrammar::Identifier::0`
[INFO] [stdout]   --> src/token_grammar.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Identifier(Identifier),
[INFO] [stdout]    |                ^^^^^^^^^^ field `TokenGrammar::Identifier::0` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `token_grammar::Identifier` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/token_grammar.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum Identifier {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `token_grammar::Literal` is more private than the item `TokenGrammar::Literal::0`
[INFO] [stdout]   --> src/token_grammar.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Literal(Literal),
[INFO] [stdout]    |             ^^^^^^^ field `TokenGrammar::Literal::0` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `token_grammar::Literal` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/token_grammar.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | enum Literal {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `token_grammar::Symbol` is more private than the item `TokenGrammar::Symbol::0`
[INFO] [stdout]   --> src/token_grammar.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Symbol(Symbol)
[INFO] [stdout]    |            ^^^^^^ field `TokenGrammar::Symbol::0` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `token_grammar::Symbol` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/token_grammar.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | enum Symbol {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_file` is never used
[INFO] [stdout]  --> src/io.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn write_file(path: &str, buf: &[u8]) -> std::io::Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GrammarError` is never used
[INFO] [stdout]   --> src/grammar.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum GrammarError {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GlobalDeclaration` is never constructed
[INFO] [stdout]    --> src/grammar.rs:307:12
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub struct GlobalDeclaration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `value` and `range` are never used
[INFO] [stdout]    --> src/token.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 142 | impl<'a> RawToken<'a> {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn value(&self) -> &str {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub const fn range(&self) -> &Range<usize> {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Comment` is never constructed
[INFO] [stdout]  --> src/token_grammar.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum TokenGrammar {
[INFO] [stdout]   |          ------------ variant in this enum
[INFO] [stdout] 9 |     Comment(Comment),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `TokenGrammar` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Any` is never constructed
[INFO] [stdout]   --> src/token_grammar.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum Comment {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] 19 |     Any
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Comment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Any` is never constructed
[INFO] [stdout]   --> src/token_grammar.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum Keyword {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] 24 |     ByOriginal(token::Keyword),
[INFO] [stdout] 25 |     Any
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Keyword` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ByOriginal` is never constructed
[INFO] [stdout]   --> src/token_grammar.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | enum Type {
[INFO] [stdout]    |      ---- variant in this enum
[INFO] [stdout] 30 |     ByOriginal(token::Type),
[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: variant `Any` is never constructed
[INFO] [stdout]   --> src/token_grammar.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | enum Literal {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 43 |     Any
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Any` is never constructed
[INFO] [stdout]   --> src/token_grammar.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | enum Symbol {
[INFO] [stdout]    |      ------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 51 |     Any
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Symbol` 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: associated functions `any_comment`, `any_keyword`, `from_type`, `any_literal`, and `any_symbol` are never used
[INFO] [stdout]    --> src/token_grammar.rs:129:18
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl TokenGrammar {
[INFO] [stdout]     | ----------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub const fn any_comment() -> Self {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub const fn any_keyword() -> Self {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub const fn from_type(o: token::Type) -> Self {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub const fn any_literal() -> Self {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub const fn any_symbol() -> Self {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `c-webassembly` (bin "c-webassembly" test) due to 2 previous errors; 24 warnings emitted
[INFO] [stdout] warning: methods `ln` and `col` are never used
[INFO] [stdout]   --> src/tokenizer.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl CharPositionCounter {
[INFO] [stdout]    | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     const fn ln(&self) -> usize {
[INFO] [stdout]    |              ^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     const fn col(&self) -> usize {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: fields `outfile` and `opt_level` are never read
[INFO] [stdout]   --> src/cli.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Opt {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     outfile: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     opt_level: Option<OptLevel>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` 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 `opt_level` is never used
[INFO] [stdout]   --> src/cli.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Opt {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn opt_level(&self) -> OptLevel {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/grammar.rs:119:20
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn current(&self) -> &GrammarQuantifier {
[INFO] [stdout]     |                    ^^^^^     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                    |         ||
[INFO] [stdout]     |                    |         |the same lifetime is hidden here
[INFO] [stdout]     |                    |         the same lifetime is elided here
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn current(&self) -> &GrammarQuantifier<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tokenizer.rs:58:23
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn tokenize(text: &str) -> Result<Vec<token::Token>, Box<dyn Error>> {
[INFO] [stdout]    |                       ^^^^                ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn tokenize(text: &str) -> Result<Vec<token::Token<'_>>, Box<dyn Error>> {
[INFO] [stdout]    |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: std::result::Result<String, Infallible>
[INFO] [stdout]  --> src/cli.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | /     /// Input file to be compiled
[INFO] [stdout] 8 | |     file: String,
[INFO] [stdout]   | |________________^
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: std::result::Result<String, Infallible>
[INFO] [stdout]   --> src/cli.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | /     /// Number of lines to read
[INFO] [stdout] 10 | |     #[structopt(short = "o")]
[INFO] [stdout] 11 | |     outfile: Option<String>,
[INFO] [stdout]    | |___________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `c-webassembly` (bin "c-webassembly") due to 2 previous errors; 24 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e790924d5202f35ba490a98527e9f8e906bc0948371440360440b14b47b0865e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e790924d5202f35ba490a98527e9f8e906bc0948371440360440b14b47b0865e", kill_on_drop: false }`
[INFO] [stdout] e790924d5202f35ba490a98527e9f8e906bc0948371440360440b14b47b0865e
