[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] building apskhem/c-webassembly against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapskhem%2Fc-webassembly" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/apskhem/c-webassembly on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-26/source/Cargo.toml [INFO] crate git repo https://github.com/apskhem/c-webassembly already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_cmd v2.0.1 [INFO] [stderr] Downloaded difflib v0.4.0 [INFO] [stderr] Downloaded predicates v2.0.2 [INFO] [stderr] Downloaded syn v1.0.78 [INFO] [stderr] Downloaded owo-colors v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3feb7ae53d256a303a92c1b1c69ca47db6193bc9a1bcb61c54a0741fabce627f [INFO] running `Command { std: "docker" "start" "-a" "3feb7ae53d256a303a92c1b1c69ca47db6193bc9a1bcb61c54a0741fabce627f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3feb7ae53d256a303a92c1b1c69ca47db6193bc9a1bcb61c54a0741fabce627f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3feb7ae53d256a303a92c1b1c69ca47db6193bc9a1bcb61c54a0741fabce627f", kill_on_drop: false }` [INFO] [stdout] 3feb7ae53d256a303a92c1b1c69ca47db6193bc9a1bcb61c54a0741fabce627f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1edf30e8fd910260974abdf704ae260f57a230cadefe65860da36a781ab82c18 [INFO] running `Command { std: "docker" "start" "-a" "1edf30e8fd910260974abdf704ae260f57a230cadefe65860da36a781ab82c18", 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 version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.78 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling owo-colors v2.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling c-webassembly v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` 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] [INFO] [stdout] warning: private type `token_grammar::Comment` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Comment(Comment), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `token_grammar::Keyword` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Keyword(Keyword), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `token_grammar::Type` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Type(Type), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `token_grammar::Identifier` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | Identifier(Identifier), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `token_grammar::Literal` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `token_grammar::Symbol` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | Symbol(Symbol) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_file` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `GrammarError` [INFO] [stdout] --> src/grammar.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum GrammarError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/token.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn value(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `range` [INFO] [stdout] --> src/token.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | pub const fn range(&self) -> &Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comment` [INFO] [stdout] --> src/token_grammar.rs:9:5 [INFO] [stdout] | [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] --> src/token_grammar.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/token_grammar.rs:19:5 [INFO] [stdout] | [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] --> src/token_grammar.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/token_grammar.rs:25:5 [INFO] [stdout] | [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] --> src/token_grammar.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ByOriginal` [INFO] [stdout] --> src/token_grammar.rs:30:5 [INFO] [stdout] | [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] --> src/token_grammar.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/token_grammar.rs:43:5 [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] --> src/token_grammar.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/token_grammar.rs:51:5 [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] --> src/token_grammar.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_comment` [INFO] [stdout] --> src/token_grammar.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | pub const fn any_comment() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_keyword` [INFO] [stdout] --> src/token_grammar.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | pub const fn any_keyword() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_type` [INFO] [stdout] --> src/token_grammar.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | pub const fn from_type(o: token::Type) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_literal` [INFO] [stdout] --> src/token_grammar.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | pub const fn any_literal() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_symbol` [INFO] [stdout] --> src/token_grammar.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | pub const fn any_symbol() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ln` [INFO] [stdout] --> src/tokenizer.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | const fn ln(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `col` [INFO] [stdout] --> src/tokenizer.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | const fn col(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `outfile` [INFO] [stdout] --> src/cli.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | outfile: Option, [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] --> src/cli.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opt_level` [INFO] [stdout] --> src/cli.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | opt_level: Option, [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] --> src/cli.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opt_level` [INFO] [stdout] --> src/cli.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn opt_level(&self) -> OptLevel { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.19s [INFO] running `Command { std: "docker" "inspect" "1edf30e8fd910260974abdf704ae260f57a230cadefe65860da36a781ab82c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1edf30e8fd910260974abdf704ae260f57a230cadefe65860da36a781ab82c18", kill_on_drop: false }` [INFO] [stdout] 1edf30e8fd910260974abdf704ae260f57a230cadefe65860da36a781ab82c18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70b07fa83a980cfe83f934f2e1485be8a129f1e81184486b70bc782a5f2d88af [INFO] running `Command { std: "docker" "start" "-a" "70b07fa83a980cfe83f934f2e1485be8a129f1e81184486b70bc782a5f2d88af", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling wait-timeout v0.2.0 [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] = note: `#[warn(unused_variables)]` 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] [INFO] [stdout] warning: private type `token_grammar::Comment` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Comment(Comment), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `token_grammar::Keyword` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Keyword(Keyword), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `token_grammar::Type` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Type(Type), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `token_grammar::Identifier` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | Identifier(Identifier), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `token_grammar::Literal` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `token_grammar::Symbol` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | Symbol(Symbol) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_file` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `GrammarError` [INFO] [stdout] --> src/grammar.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum GrammarError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/token.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn value(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `range` [INFO] [stdout] --> src/token.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | pub const fn range(&self) -> &Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comment` [INFO] [stdout] --> src/token_grammar.rs:9:5 [INFO] [stdout] | [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] --> src/token_grammar.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/token_grammar.rs:19:5 [INFO] [stdout] | [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] --> src/token_grammar.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/token_grammar.rs:25:5 [INFO] [stdout] | [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] --> src/token_grammar.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ByOriginal` [INFO] [stdout] --> src/token_grammar.rs:30:5 [INFO] [stdout] | [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] --> src/token_grammar.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/token_grammar.rs:43:5 [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] --> src/token_grammar.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/token_grammar.rs:51:5 [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] --> src/token_grammar.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_comment` [INFO] [stdout] --> src/token_grammar.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | pub const fn any_comment() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_keyword` [INFO] [stdout] --> src/token_grammar.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | pub const fn any_keyword() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_type` [INFO] [stdout] --> src/token_grammar.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | pub const fn from_type(o: token::Type) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_literal` [INFO] [stdout] --> src/token_grammar.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | pub const fn any_literal() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_symbol` [INFO] [stdout] --> src/token_grammar.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | pub const fn any_symbol() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ln` [INFO] [stdout] --> src/tokenizer.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | const fn ln(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `col` [INFO] [stdout] --> src/tokenizer.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | const fn col(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `outfile` [INFO] [stdout] --> src/cli.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | outfile: Option, [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] --> src/cli.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opt_level` [INFO] [stdout] --> src/cli.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | opt_level: Option, [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] --> src/cli.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opt_level` [INFO] [stdout] --> src/cli.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn opt_level(&self) -> OptLevel { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates-tree v1.0.3 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling predicates v2.0.2 [INFO] [stderr] Compiling assert_cmd v2.0.1 [INFO] [stderr] Compiling c-webassembly v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` 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] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.22s [INFO] [stdout] warning: private type `token_grammar::Comment` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Comment(Comment), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/c_webassembly-155d59005bf2f94d) [INFO] [stdout] warning: private type `token_grammar::Keyword` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Keyword(Keyword), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/c_webassembly-8842c1c0305dd382) [INFO] [stdout] warning: private type `token_grammar::Type` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Type(Type), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable tests/default.rs (/opt/rustwide/target/debug/deps/default-3553e9892a2a847d) [INFO] [stdout] warning: private type `token_grammar::Identifier` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | Identifier(Identifier), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `token_grammar::Literal` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `token_grammar::Symbol` in public interface (error E0446) [INFO] [stdout] --> src/token_grammar.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | Symbol(Symbol) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_file` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `GrammarError` [INFO] [stdout] --> src/grammar.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum GrammarError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/token.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn value(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `range` [INFO] [stdout] --> src/token.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | pub const fn range(&self) -> &Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comment` [INFO] [stdout] --> src/token_grammar.rs:9:5 [INFO] [stdout] | [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] --> src/token_grammar.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/token_grammar.rs:19:5 [INFO] [stdout] | [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] --> src/token_grammar.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/token_grammar.rs:25:5 [INFO] [stdout] | [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] --> src/token_grammar.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ByOriginal` [INFO] [stdout] --> src/token_grammar.rs:30:5 [INFO] [stdout] | [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] --> src/token_grammar.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/token_grammar.rs:43:5 [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] --> src/token_grammar.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/token_grammar.rs:51:5 [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] --> src/token_grammar.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_comment` [INFO] [stdout] --> src/token_grammar.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | pub const fn any_comment() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_keyword` [INFO] [stdout] --> src/token_grammar.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | pub const fn any_keyword() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_type` [INFO] [stdout] --> src/token_grammar.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | pub const fn from_type(o: token::Type) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_literal` [INFO] [stdout] --> src/token_grammar.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | pub const fn any_literal() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_symbol` [INFO] [stdout] --> src/token_grammar.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | pub const fn any_symbol() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ln` [INFO] [stdout] --> src/tokenizer.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | const fn ln(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `col` [INFO] [stdout] --> src/tokenizer.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | const fn col(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `outfile` [INFO] [stdout] --> src/cli.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | outfile: Option, [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] --> src/cli.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opt_level` [INFO] [stdout] --> src/cli.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | opt_level: Option, [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] --> src/cli.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opt_level` [INFO] [stdout] --> src/cli.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn opt_level(&self) -> OptLevel { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "70b07fa83a980cfe83f934f2e1485be8a129f1e81184486b70bc782a5f2d88af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70b07fa83a980cfe83f934f2e1485be8a129f1e81184486b70bc782a5f2d88af", kill_on_drop: false }` [INFO] [stdout] 70b07fa83a980cfe83f934f2e1485be8a129f1e81184486b70bc782a5f2d88af