[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] de4863dd8c514b1481f6048873d776256155b02d [INFO] checking jisonZ/RustvizParse against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjisonZ%2FRustvizParse" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jisonZ/RustvizParse on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-6/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff434a041b403d3f33b2c47ba57dffa37c78455df0d5c22df3325f3b111ffa96 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ff434a041b403d3f33b2c47ba57dffa37c78455df0d5c22df3325f3b111ffa96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff434a041b403d3f33b2c47ba57dffa37c78455df0d5c22df3325f3b111ffa96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff434a041b403d3f33b2c47ba57dffa37c78455df0d5c22df3325f3b111ffa96", kill_on_drop: false }` [INFO] [stdout] ff434a041b403d3f33b2c47ba57dffa37c78455df0d5c22df3325f3b111ffa96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] efd159653245ed9d652b2774f586b741e6796b29539836c92e35da2643c1193e [INFO] running `Command { std: "docker" "start" "-a" "efd159653245ed9d652b2774f586b741e6796b29539836c92e35da2643c1193e", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking regex v1.5.4 [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/parse.rs:219:20 [INFO] [stdout] | [INFO] [stdout] 219 | 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:227:36 [INFO] [stdout] | [INFO] [stdout] 227 | ... 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/parse.rs:219:20 [INFO] [stdout] | [INFO] [stdout] 219 | 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:227:36 [INFO] [stdout] | [INFO] [stdout] 227 | ... if (!first_lit) { [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parse.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | _ => { [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:176:16 [INFO] [stdout] | [INFO] [stdout] 176 | if let m_call = String::from(format!("{}", exprm_call.method)) { [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:226:59 [INFO] [stdout] | [INFO] [stdout] 226 | ... 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:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | 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:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | 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:203:40 [INFO] [stdout] | [INFO] [stdout] 203 | syn::Member::Named(Ident) => { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parse.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | _ => { [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:176:16 [INFO] [stdout] | [INFO] [stdout] 176 | if let m_call = String::from(format!("{}", exprm_call.method)) { [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:226:59 [INFO] [stdout] | [INFO] [stdout] 226 | ... 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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Name` should have a snake case name [INFO] [stdout] --> src/parse.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | 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:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | 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:203:40 [INFO] [stdout] | [INFO] [stdout] 203 | syn::Member::Named(Ident) => { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.45s [INFO] running `Command { std: "docker" "inspect" "efd159653245ed9d652b2774f586b741e6796b29539836c92e35da2643c1193e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efd159653245ed9d652b2774f586b741e6796b29539836c92e35da2643c1193e", kill_on_drop: false }` [INFO] [stdout] efd159653245ed9d652b2774f586b741e6796b29539836c92e35da2643c1193e