[INFO] cloning repository https://github.com/santiagocezar/gengir
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/santiagocezar/gengir" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsantiagocezar%2Fgengir", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsantiagocezar%2Fgengir'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 11e1b6447bf140bfc8c95127856bf6cc204971de
[INFO] checking santiagocezar/gengir against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsantiagocezar%2Fgengir" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/santiagocezar/gengir
[INFO] finished tweaking git repo https://github.com/santiagocezar/gengir
[INFO] tweaked toml for git repo https://github.com/santiagocezar/gengir written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/santiagocezar/gengir on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/santiagocezar/gengir 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap_derive v3.0.0-rc.7
[INFO] [stderr]   Downloaded clap v3.0.0-rc.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0c63701a3d6bce637ac5c2c79df5e8cbbce50d7d53fd67cbb874770414b1db55
[INFO] running `Command { std: "docker" "start" "-a" "0c63701a3d6bce637ac5c2c79df5e8cbbce50d7d53fd67cbb874770414b1db55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0c63701a3d6bce637ac5c2c79df5e8cbbce50d7d53fd67cbb874770414b1db55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c63701a3d6bce637ac5c2c79df5e8cbbce50d7d53fd67cbb874770414b1db55", kill_on_drop: false }`
[INFO] [stdout] 0c63701a3d6bce637ac5c2c79df5e8cbbce50d7d53fd67cbb874770414b1db55
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0d448ba728ec825ae64c9a010246cebe2885466c6b4b80128889622684820228
[INFO] running `Command { std: "docker" "start" "-a" "0d448ba728ec825ae64c9a010246cebe2885466c6b4b80128889622684820228", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling clap_derive v3.0.0-rc.7
[INFO] [stderr]     Checking clap v3.0.0-rc.7
[INFO] [stderr]     Checking gengir v1.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BufReader`, `PathBuf`, `Path`, `fmt::format`, and `mem`
[INFO] [stdout]   --> src/analyzer/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fmt::format,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 12 |     fs::File,
[INFO] [stdout] 13 |     io::{BufReader, Read},
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 14 |     mem,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 15 |     path::{Path, PathBuf},
[INFO] [stdout]    |            ^^^^  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufReader`, `PathBuf`, `Path`, `fmt::format`, and `mem`
[INFO] [stdout]   --> src/analyzer/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fmt::format,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 12 |     fs::File,
[INFO] [stdout] 13 |     io::{BufReader, Read},
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 14 |     mem,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 15 |     path::{Path, PathBuf},
[INFO] [stdout]    |            ^^^^  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/analyzer/classes.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let mut fields = Vec::new();
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/analyzer/classes.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let mut fields = Vec::new();
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/analyzer/parser.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Xml(xml::reader::Error),
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 12 -     Xml(xml::reader::Error),
[INFO] [stdout] 12 +     Xml(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/analyzer/parser.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |     MissingAttribute(String),
[INFO] [stdout]    |     ---------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     MissingAttribute(String),
[INFO] [stdout] 13 +     MissingAttribute(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pos` and `kind` are never read
[INFO] [stdout]   --> src/analyzer/parser.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Error {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 17 |     pub pos: TextPosition,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 18 |     pub kind: ErrorKind,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `try_an_type` is never used
[INFO] [stdout]   --> src/analyzer/types.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl Analyzer {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 87 |     pub fn try_an_type(&self, ev: &mut Event) -> TagResult<&'static Type> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_variadic_param` and `add_star_param` are never used
[INFO] [stdout]    --> src/declarations.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout]  95 | impl Function {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn add_variadic_param<'a>(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     pub fn add_star_param(self) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `finish` that must be used
[INFO] [stdout]    --> src/declarations.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | index_by!(Class::name: &str);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 179 | let _ = index_by!(Class::name: &str);
[INFO] [stdout]     | +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `finish` that must be used
[INFO] [stdout]    --> src/declarations.rs:180:1
[INFO] [stdout]     |
[INFO] [stdout] 180 | index_by!(Function::name: &str);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 180 | let _ = index_by!(Function::name: &str);
[INFO] [stdout]     | +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `finish` that must be used
[INFO] [stdout]    --> src/declarations.rs:181:1
[INFO] [stdout]     |
[INFO] [stdout] 181 | index_by!(Namespace::name: &str);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 181 | let _ = index_by!(Namespace::name: &str);
[INFO] [stdout]     | +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/analyzer/parser.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Xml(xml::reader::Error),
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 12 -     Xml(xml::reader::Error),
[INFO] [stdout] 12 +     Xml(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/analyzer/parser.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |     MissingAttribute(String),
[INFO] [stdout]    |     ---------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     MissingAttribute(String),
[INFO] [stdout] 13 +     MissingAttribute(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pos` and `kind` are never read
[INFO] [stdout]   --> src/analyzer/parser.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Error {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 17 |     pub pos: TextPosition,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 18 |     pub kind: ErrorKind,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `try_an_type` is never used
[INFO] [stdout]   --> src/analyzer/types.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl Analyzer {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 87 |     pub fn try_an_type(&self, ev: &mut Event) -> TagResult<&'static Type> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_variadic_param` and `add_star_param` are never used
[INFO] [stdout]    --> src/declarations.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout]  95 | impl Function {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn add_variadic_param<'a>(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     pub fn add_star_param(self) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `finish` that must be used
[INFO] [stdout]    --> src/declarations.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | index_by!(Class::name: &str);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 179 | let _ = index_by!(Class::name: &str);
[INFO] [stdout]     | +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `finish` that must be used
[INFO] [stdout]    --> src/declarations.rs:180:1
[INFO] [stdout]     |
[INFO] [stdout] 180 | index_by!(Function::name: &str);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 180 | let _ = index_by!(Function::name: &str);
[INFO] [stdout]     | +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `finish` that must be used
[INFO] [stdout]    --> src/declarations.rs:181:1
[INFO] [stdout]     |
[INFO] [stdout] 181 | index_by!(Namespace::name: &str);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 181 | let _ = index_by!(Namespace::name: &str);
[INFO] [stdout]     | +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.13s
[INFO] running `Command { std: "docker" "inspect" "0d448ba728ec825ae64c9a010246cebe2885466c6b4b80128889622684820228", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d448ba728ec825ae64c9a010246cebe2885466c6b4b80128889622684820228", kill_on_drop: false }`
[INFO] [stdout] 0d448ba728ec825ae64c9a010246cebe2885466c6b4b80128889622684820228
