[INFO] cloning repository https://github.com/ZhangHanDong/proc_codegen
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangHanDong/proc_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1d69502f52daa56298466089122cb4c441de18f9
[INFO] checking ZhangHanDong/proc_codegen against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangHanDong%2Fproc_codegen" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ZhangHanDong/proc_codegen on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ZhangHanDong/proc_codegen
[INFO] finished tweaking git repo https://github.com/ZhangHanDong/proc_codegen
[INFO] tweaked toml for git repo https://github.com/ZhangHanDong/proc_codegen written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ZhangHanDong/proc_codegen 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde v1.0.111
[INFO] [stderr]   Downloaded serde_derive v1.0.111
[INFO] [stderr]   Downloaded proc-macro2 v1.0.18
[INFO] [stderr]   Downloaded syn v1.0.30
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 32815e7f9abd661634183cf89a597c8c983448e5d746db2cb9e216566c45a7d0
[INFO] running `Command { std: "docker" "start" "-a" "32815e7f9abd661634183cf89a597c8c983448e5d746db2cb9e216566c45a7d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "32815e7f9abd661634183cf89a597c8c983448e5d746db2cb9e216566c45a7d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "32815e7f9abd661634183cf89a597c8c983448e5d746db2cb9e216566c45a7d0", kill_on_drop: false }`
[INFO] [stdout] 32815e7f9abd661634183cf89a597c8c983448e5d746db2cb9e216566c45a7d0
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2dd8eb8026424954032eddca47f7479bde8db4ef0d9ac678d00380dcb82dfc51
[INFO] running `Command { std: "docker" "start" "-a" "2dd8eb8026424954032eddca47f7479bde8db4ef0d9ac678d00380dcb82dfc51", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling syn v1.0.30
[INFO] [stderr]    Compiling serde v1.0.111
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]     Checking heck v0.3.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling serde_derive v1.0.111
[INFO] [stderr]     Checking toml v0.5.6
[INFO] [stderr]    Compiling codegen v0.1.0 (/opt/rustwide/workdir/codegen)
[INFO] [stdout] warning: unused imports: `Expr`, `Type`, `parenthesized`
[INFO] [stdout]  --> codegen/src/lib.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 |     syn::{parenthesized, braced, Field, Expr, Type, parse_macro_input, token, Ident, Token},
[INFO] [stdout]   |           ^^^^^^^^^^^^^                 ^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `toml`
[INFO] [stdout]   --> codegen/src/lib.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use toml;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]   --> codegen/src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::io::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> codegen/src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]   --> codegen/src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> codegen/src/genstruct.rs:101:45
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub(crate) fn struct_by_conf_to_tokenstream(input: TokenStream) -> TokenStream {
[INFO] [stdout]     |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> codegen/src/genstruct.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let mut fields_quote = {
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> codegen/src/genstruct.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let mut args_quote = {
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> codegen/src/genstruct.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let mut args_name_quote = {
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tagged` is never read
[INFO] [stdout]   --> codegen/src/conf.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) struct StructEntry {
[INFO] [stdout]    |                   ----------- field in this struct
[INFO] [stdout] 17 |     pub(crate) name: String,
[INFO] [stdout] 18 |     pub(crate) tagged: String,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StructEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `brace_token` is never read
[INFO] [stdout]  --> codegen/src/genstruct.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) struct Genstruct {
[INFO] [stdout]   |                   --------- field in this struct
[INFO] [stdout] 8 |     pub name: Ident,
[INFO] [stdout] 9 |     pub brace_token: token::Brace,
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConfPath` is never constructed
[INFO] [stdout]   --> codegen/src/genstruct.rs:83:19
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub(crate) struct ConfPath {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking proc_codegen v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `derive` is never read
[INFO] [stdout]   --> src/conf.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(crate) struct Basic {
[INFO] [stdout]    |                   ----- field in this struct
[INFO] [stdout] 11 |     pub(crate) derive: String,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Basic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `derive` is never read
[INFO] [stdout]   --> src/conf.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(crate) struct Basic {
[INFO] [stdout]    |                   ----- field in this struct
[INFO] [stdout] 11 |     pub(crate) derive: String,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Basic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `tagged`, and `fields` are never read
[INFO] [stdout]   --> src/conf.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) struct StructEntry {
[INFO] [stdout]    |                   ----------- fields in this struct
[INFO] [stdout] 17 |     pub(crate) name: String,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 18 |     pub(crate) tagged: String,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 19 |     pub(crate) fields: Option<Map<String, Value>>,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StructEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `basic` and `structs` are never read
[INFO] [stdout]   --> src/conf.rs:25:16
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub(crate) struct Conf{
[INFO] [stdout]    |                   ---- fields in this struct
[INFO] [stdout] 25 |     pub(crate) basic: Basic,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 26 |     pub(crate) structs: Vec<StructEntry>,
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Conf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `tagged`, and `fields` are never read
[INFO] [stdout]   --> src/conf.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) struct StructEntry {
[INFO] [stdout]    |                   ----------- fields in this struct
[INFO] [stdout] 17 |     pub(crate) name: String,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 18 |     pub(crate) tagged: String,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 19 |     pub(crate) fields: Option<Map<String, Value>>,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StructEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `basic` and `structs` are never read
[INFO] [stdout]   --> src/conf.rs:25:16
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub(crate) struct Conf{
[INFO] [stdout]    |                   ---- fields in this struct
[INFO] [stdout] 25 |     pub(crate) basic: Basic,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 26 |     pub(crate) structs: Vec<StructEntry>,
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Conf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 8.70s
[INFO] running `Command { std: "docker" "inspect" "2dd8eb8026424954032eddca47f7479bde8db4ef0d9ac678d00380dcb82dfc51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2dd8eb8026424954032eddca47f7479bde8db4ef0d9ac678d00380dcb82dfc51", kill_on_drop: false }`
[INFO] [stdout] 2dd8eb8026424954032eddca47f7479bde8db4ef0d9ac678d00380dcb82dfc51
