[INFO] cloning repository https://github.com/jisonZ/RustvizParse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jisonZ/RustvizParse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjisonZ%2FRustvizParse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjisonZ%2FRustvizParse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f1a10e22c5288356c095b8194fa4868837fcc23 [INFO] checking jisonZ/RustvizParse against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjisonZ%2FRustvizParse" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jisonZ/RustvizParse on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jisonZ/RustvizParse [INFO] finished tweaking git repo https://github.com/jisonZ/RustvizParse [INFO] tweaked toml for git repo https://github.com/jisonZ/RustvizParse written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/jisonZ/RustvizParse already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09c3137c831affb52a5e17f6ad602861f89c2c9d8bbb4d11cfce6ab3b6dd762e [INFO] running `Command { std: "docker" "start" "-a" "09c3137c831affb52a5e17f6ad602861f89c2c9d8bbb4d11cfce6ab3b6dd762e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09c3137c831affb52a5e17f6ad602861f89c2c9d8bbb4d11cfce6ab3b6dd762e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09c3137c831affb52a5e17f6ad602861f89c2c9d8bbb4d11cfce6ab3b6dd762e", kill_on_drop: false }` [INFO] [stdout] 09c3137c831affb52a5e17f6ad602861f89c2c9d8bbb4d11cfce6ab3b6dd762e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 596ae1f99482081972844fe34e04085c71cb909bf7eacea5c19331dbe0613c4c [INFO] running `Command { std: "docker" "start" "-a" "596ae1f99482081972844fe34e04085c71cb909bf7eacea5c19331dbe0613c4c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking proc-macro2 v1.0.26 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking parse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/main.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use log::{debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/main.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/parse.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn parse(FileName : &PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/parse.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | if (macro_func.ident.to_string() == "println") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/parse.rs:216:36 [INFO] [stdout] | [INFO] [stdout] 216 | ... if (!first_lit) { [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/main.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use log::{debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/main.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/parse.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn parse(FileName : &PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/parse.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | if (macro_func.ident.to_string() == "println") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/parse.rs:216:36 [INFO] [stdout] | [INFO] [stdout] 216 | ... if (!first_lit) { [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parse.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/parse.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | / if let m_call = String::from(format!("{}", exprm_call.method)) { [INFO] [stdout] 166 | | debug!("func found: {}", m_call); [INFO] [stdout] 167 | | var_def.insert(RAP::Function(FuncInfo{Name: Some(format!("{}", m_call))})); [INFO] [stdout] 168 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `punct` [INFO] [stdout] --> src/parse.rs:215:59 [INFO] [stdout] | [INFO] [stdout] 215 | ... proc_macro2::TokenTree::Punct(punct) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_punct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parse.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/parse.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | / if let m_call = String::from(format!("{}", exprm_call.method)) { [INFO] [stdout] 166 | | debug!("func found: {}", m_call); [INFO] [stdout] 167 | | var_def.insert(RAP::Function(FuncInfo{Name: Some(format!("{}", m_call))})); [INFO] [stdout] 168 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `punct` [INFO] [stdout] --> src/parse.rs:215:59 [INFO] [stdout] | [INFO] [stdout] 215 | ... proc_macro2::TokenTree::Punct(punct) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_punct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Name` should have a snake case name [INFO] [stdout] --> src/parse.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Name: Option, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Reference` should have a snake case name [INFO] [stdout] --> src/parse.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Reference: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Mutability` should have a snake case name [INFO] [stdout] --> src/parse.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Mutability: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Fields` should have a snake case name [INFO] [stdout] --> src/parse.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Fields: Option>, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Name` should have a snake case name [INFO] [stdout] --> src/parse.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Name: Option [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FileName` should have a snake case name [INFO] [stdout] --> src/parse.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn parse(FileName : &PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ident` should have a snake case name [INFO] [stdout] --> src/parse.rs:192:40 [INFO] [stdout] | [INFO] [stdout] 192 | syn::Member::Named(Ident) => { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Name` should have a snake case name [INFO] [stdout] --> src/parse.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Name: Option, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Reference` should have a snake case name [INFO] [stdout] --> src/parse.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Reference: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Mutability` should have a snake case name [INFO] [stdout] --> src/parse.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Mutability: bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Fields` should have a snake case name [INFO] [stdout] --> src/parse.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Fields: Option>, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Name` should have a snake case name [INFO] [stdout] --> src/parse.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Name: Option [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FileName` should have a snake case name [INFO] [stdout] --> src/parse.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn parse(FileName : &PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ident` should have a snake case name [INFO] [stdout] --> src/parse.rs:192:40 [INFO] [stdout] | [INFO] [stdout] 192 | syn::Member::Named(Ident) => { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.65s [INFO] running `Command { std: "docker" "inspect" "596ae1f99482081972844fe34e04085c71cb909bf7eacea5c19331dbe0613c4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "596ae1f99482081972844fe34e04085c71cb909bf7eacea5c19331dbe0613c4c", kill_on_drop: false }` [INFO] [stdout] 596ae1f99482081972844fe34e04085c71cb909bf7eacea5c19331dbe0613c4c