[INFO] cloning repository https://github.com/stevecooperorg/fsml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stevecooperorg/fsml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevecooperorg%2Ffsml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevecooperorg%2Ffsml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 956ad3c03eabd1fe3bd65da182cccabafa36153c [INFO] checking stevecooperorg/fsml against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevecooperorg%2Ffsml" "/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/stevecooperorg/fsml 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/stevecooperorg/fsml [INFO] finished tweaking git repo https://github.com/stevecooperorg/fsml [INFO] tweaked toml for git repo https://github.com/stevecooperorg/fsml written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/stevecooperorg/fsml 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pom v3.2.0 [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] 2a189423d4f28cb9666f049396bde62599f00363464888c4bdc0f62f596b9609 [INFO] running `Command { std: "docker" "start" "-a" "2a189423d4f28cb9666f049396bde62599f00363464888c4bdc0f62f596b9609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a189423d4f28cb9666f049396bde62599f00363464888c4bdc0f62f596b9609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a189423d4f28cb9666f049396bde62599f00363464888c4bdc0f62f596b9609", kill_on_drop: false }` [INFO] [stdout] 2a189423d4f28cb9666f049396bde62599f00363464888c4bdc0f62f596b9609 [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] 4f63e0aaf044b78598b8ce4f79778dcb50729b4c5e9cbfa9930c90d7a80c1a4d [INFO] running `Command { std: "docker" "start" "-a" "4f63e0aaf044b78598b8ce4f79778dcb50729b4c5e9cbfa9930c90d7a80c1a4d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.19 [INFO] [stderr] Checking object v0.24.0 [INFO] [stderr] Checking pom v3.2.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking addr2line v0.15.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking fsml v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Result` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | .map(|(ident)| StateId(ident)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - .map(|(ident)| StateId(ident)) [INFO] [stdout] 123 + .map(|ident| StateId(ident)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser.rs:165:6 [INFO] [stdout] | [INFO] [stdout] 165 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | raw.map(move |(state_ids)| { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - raw.map(move |(state_ids)| { [INFO] [stdout] 178 + raw.map(move |state_ids| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | .map(|(ident)| StateId(ident)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - .map(|(ident)| StateId(ident)) [INFO] [stdout] 123 + .map(|ident| StateId(ident)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser.rs:165:6 [INFO] [stdout] | [INFO] [stdout] 165 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | raw.map(move |(state_ids)| { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - raw.map(move |(state_ids)| { [INFO] [stdout] 178 + raw.map(move |state_ids| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_plant_uml` is never used [INFO] [stdout] --> src/lib.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn to_plant_uml(state_machine: &StateMachine) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `source` and `target` are never used [INFO] [stdout] --> src/parser.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl AcceptState { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 29 | pub fn source(&self) -> &StateId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn target(&self) -> &StateId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ws` is never used [INFO] [stdout] --> src/parser.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn ws<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `space` is never used [INFO] [stdout] --> src/parser.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn space<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `semi` is never used [INFO] [stdout] --> src/parser.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn semi<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_eol` is never used [INFO] [stdout] --> src/parser.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn to_eol<'a>() -> Parser<'a, u8, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_comment` is never used [INFO] [stdout] --> src/parser.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn line_comment<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eol` is never used [INFO] [stdout] --> src/parser.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn eol<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyword` is never used [INFO] [stdout] --> src/parser.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn keyword<'a>(keyword: &'static [u8]) -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `literal` is never used [INFO] [stdout] --> src/parser.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn literal<'a>(literal: &'static [u8]) -> Parser<'a, u8, String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `star_comment` is never used [INFO] [stdout] --> src/parser.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn star_comment<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `comment` is never used [INFO] [stdout] --> src/parser.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn comment<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spaced` is never used [INFO] [stdout] --> src/parser.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn spaced<'a, T>(parser: Parser<'a, u8, T>) -> Parser<'a, u8, T> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_cr` is never used [INFO] [stdout] --> src/parser.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn is_cr(term: u8) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_lf` is never used [INFO] [stdout] --> src/parser.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn is_lf(term: u8) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_underscore` is never used [INFO] [stdout] --> src/parser.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn is_underscore(term: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `state_id` is never used [INFO] [stdout] --> src/parser.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn state_id<'a>() -> Parser<'a, u8, StateId> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identifier` is never used [INFO] [stdout] --> src/parser.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn identifier<'a>() -> Parser<'a, u8, String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string` is never used [INFO] [stdout] --> src/parser.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn string<'a>() -> Parser<'a, u8, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `state` is never used [INFO] [stdout] --> src/parser.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn state<'a>() -> Parser<'a, u8, State> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `state_list` is never used [INFO] [stdout] --> src/parser.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn state_list<'a>() -> Parser<'a, u8, Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accept_states_list` is never used [INFO] [stdout] --> src/parser.rs:169:4 [INFO] [stdout] | [INFO] [stdout] 169 | fn accept_states_list<'a>() -> Parser<'a, u8, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accept_states_chain` is never used [INFO] [stdout] --> src/parser.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn accept_states_chain<'a>() -> Parser<'a, u8, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `state_machine` is never used [INFO] [stdout] --> src/parser.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn state_machine<'a>() -> Parser<'a, u8, StateMachine> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_file_content` is never used [INFO] [stdout] --> src/lib.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn save_file_content(file_path_str: &str, content: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:401:24 [INFO] [stdout] | [INFO] [stdout] 401 | panic!(message) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 401 | panic!("{}", message) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.69s [INFO] running `Command { std: "docker" "inspect" "4f63e0aaf044b78598b8ce4f79778dcb50729b4c5e9cbfa9930c90d7a80c1a4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f63e0aaf044b78598b8ce4f79778dcb50729b4c5e9cbfa9930c90d7a80c1a4d", kill_on_drop: false }` [INFO] [stdout] 4f63e0aaf044b78598b8ce4f79778dcb50729b4c5e9cbfa9930c90d7a80c1a4d [INFO] checking stevecooperorg/fsml against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevecooperorg%2Ffsml" "/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/stevecooperorg/fsml 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/stevecooperorg/fsml [INFO] finished tweaking git repo https://github.com/stevecooperorg/fsml [INFO] tweaked toml for git repo https://github.com/stevecooperorg/fsml written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/stevecooperorg/fsml 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] 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] 88afad67b6f4a936b78dc345d7471641d868d426c602bf5415421c714472ad3f [INFO] running `Command { std: "docker" "start" "-a" "88afad67b6f4a936b78dc345d7471641d868d426c602bf5415421c714472ad3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88afad67b6f4a936b78dc345d7471641d868d426c602bf5415421c714472ad3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88afad67b6f4a936b78dc345d7471641d868d426c602bf5415421c714472ad3f", kill_on_drop: false }` [INFO] [stdout] 88afad67b6f4a936b78dc345d7471641d868d426c602bf5415421c714472ad3f [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] 50ac3af48feaed53394c905a836bc79cc99a85bcf8960933235a06a9210b4f91 [INFO] running `Command { std: "docker" "start" "-a" "50ac3af48feaed53394c905a836bc79cc99a85bcf8960933235a06a9210b4f91", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking rustc-demangle v0.1.19 [INFO] [stderr] Checking object v0.24.0 [INFO] [stderr] Checking pom v3.2.0 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking addr2line v0.15.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking fsml v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Result` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | .map(|(ident)| StateId(ident)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - .map(|(ident)| StateId(ident)) [INFO] [stdout] 123 + .map(|ident| StateId(ident)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser.rs:165:6 [INFO] [stdout] | [INFO] [stdout] 165 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | raw.map(move |(state_ids)| { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - raw.map(move |(state_ids)| { [INFO] [stdout] 178 + raw.map(move |state_ids| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | .map(|(ident)| StateId(ident)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - .map(|(ident)| StateId(ident)) [INFO] [stdout] 123 + .map(|ident| StateId(ident)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser.rs:165:6 [INFO] [stdout] | [INFO] [stdout] 165 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | raw.map(move |(state_ids)| { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - raw.map(move |(state_ids)| { [INFO] [stdout] 178 + raw.map(move |state_ids| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_plant_uml` is never used [INFO] [stdout] --> src/lib.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn to_plant_uml(state_machine: &StateMachine) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `source` and `target` are never used [INFO] [stdout] --> src/parser.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl AcceptState { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 29 | pub fn source(&self) -> &StateId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn target(&self) -> &StateId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ws` is never used [INFO] [stdout] --> src/parser.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn ws<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `space` is never used [INFO] [stdout] --> src/parser.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn space<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `semi` is never used [INFO] [stdout] --> src/parser.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn semi<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_eol` is never used [INFO] [stdout] --> src/parser.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn to_eol<'a>() -> Parser<'a, u8, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_comment` is never used [INFO] [stdout] --> src/parser.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn line_comment<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eol` is never used [INFO] [stdout] --> src/parser.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn eol<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyword` is never used [INFO] [stdout] --> src/parser.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn keyword<'a>(keyword: &'static [u8]) -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `literal` is never used [INFO] [stdout] --> src/parser.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn literal<'a>(literal: &'static [u8]) -> Parser<'a, u8, String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `star_comment` is never used [INFO] [stdout] --> src/parser.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn star_comment<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `comment` is never used [INFO] [stdout] --> src/parser.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn comment<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spaced` is never used [INFO] [stdout] --> src/parser.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn spaced<'a, T>(parser: Parser<'a, u8, T>) -> Parser<'a, u8, T> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_cr` is never used [INFO] [stdout] --> src/parser.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn is_cr(term: u8) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_lf` is never used [INFO] [stdout] --> src/parser.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn is_lf(term: u8) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_underscore` is never used [INFO] [stdout] --> src/parser.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn is_underscore(term: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `state_id` is never used [INFO] [stdout] --> src/parser.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn state_id<'a>() -> Parser<'a, u8, StateId> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identifier` is never used [INFO] [stdout] --> src/parser.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn identifier<'a>() -> Parser<'a, u8, String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string` is never used [INFO] [stdout] --> src/parser.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn string<'a>() -> Parser<'a, u8, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `state` is never used [INFO] [stdout] --> src/parser.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn state<'a>() -> Parser<'a, u8, State> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `state_list` is never used [INFO] [stdout] --> src/parser.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn state_list<'a>() -> Parser<'a, u8, Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accept_states_list` is never used [INFO] [stdout] --> src/parser.rs:169:4 [INFO] [stdout] | [INFO] [stdout] 169 | fn accept_states_list<'a>() -> Parser<'a, u8, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accept_states_chain` is never used [INFO] [stdout] --> src/parser.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn accept_states_chain<'a>() -> Parser<'a, u8, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `state_machine` is never used [INFO] [stdout] --> src/parser.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn state_machine<'a>() -> Parser<'a, u8, StateMachine> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_file_content` is never used [INFO] [stdout] --> src/lib.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn save_file_content(file_path_str: &str, content: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:401:24 [INFO] [stdout] | [INFO] [stdout] 401 | panic!(message) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 401 | panic!("{}", message) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.67s [INFO] running `Command { std: "docker" "inspect" "50ac3af48feaed53394c905a836bc79cc99a85bcf8960933235a06a9210b4f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50ac3af48feaed53394c905a836bc79cc99a85bcf8960933235a06a9210b4f91", kill_on_drop: false }` [INFO] [stdout] 50ac3af48feaed53394c905a836bc79cc99a85bcf8960933235a06a9210b4f91