[INFO] cloning repository https://github.com/moiseevv/builder_macros
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moiseevv/builder_macros" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoiseevv%2Fbuilder_macros", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoiseevv%2Fbuilder_macros'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 85214429f286b26bfba8ee25258b616504ff6904
[INFO] checking moiseevv/builder_macros against 165655a2f1981fef27b31c547ad7631979fc5139 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoiseevv%2Fbuilder_macros" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/moiseevv/builder_macros
[INFO] finished tweaking git repo https://github.com/moiseevv/builder_macros
[INFO] tweaked toml for git repo https://github.com/moiseevv/builder_macros written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/moiseevv/builder_macros on toolchain 165655a2f1981fef27b31c547ad7631979fc5139
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/moiseevv/builder_macros 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" "+165655a2f1981fef27b31c547ad7631979fc5139" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.37
[INFO] [stderr]   Downloaded syn v1.0.91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7153e9fd5b4d2f64750d574ca468e031a52f52f6790e4e25c9883c9ae2db82e2
[INFO] running `Command { std: "docker" "start" "7153e9fd5b4d2f64750d574ca468e031a52f52f6790e4e25c9883c9ae2db82e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7153e9fd5b4d2f64750d574ca468e031a52f52f6790e4e25c9883c9ae2db82e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7153e9fd5b4d2f64750d574ca468e031a52f52f6790e4e25c9883c9ae2db82e2" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7153e9fd5b4d2f64750d574ca468e031a52f52f6790e4e25c9883c9ae2db82e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7153e9fd5b4d2f64750d574ca468e031a52f52f6790e4e25c9883c9ae2db82e2" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]     Checking unicode-xid v0.2.2
[INFO] [stderr]     Checking quote v1.0.18
[INFO] [stderr]     Checking builder v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]    --> src/lib.rs:104:1
[INFO] [stdout]     |
[INFO] [stdout] 104 | let builder_fields = self.fields.iter().map(|n,t,_|{
[INFO] [stdout]     | ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `const` instead of `let` for associated const
[INFO] [stdout]     |
[INFO] [stdout] 104 - let builder_fields = self.fields.iter().map(|n,t,_|{
[INFO] [stdout] 104 + const builder_fields = self.fields.iter().map(|n,t,_|{
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `.`
[INFO] [stdout]    --> src/lib.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |         .finish()
[INFO] [stdout]     |         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]    --> src/lib.rs:104:1
[INFO] [stdout]     |
[INFO] [stdout] 104 | let builder_fields = self.fields.iter().map(|n,t,_|{
[INFO] [stdout]     | ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `const` instead of `let` for associated const
[INFO] [stdout]     |
[INFO] [stdout] 104 - let builder_fields = self.fields.iter().map(|n,t,_|{
[INFO] [stdout] 104 + const builder_fields = self.fields.iter().map(|n,t,_|{
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `.`
[INFO] [stdout]    --> src/lib.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |         .finish()
[INFO] [stdout]     |         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::BuildHasher`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::hash::BuildHasher;
[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 import: `std::hash::BuildHasher`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::hash::BuildHasher;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `parse_builder_struct` in this scope
[INFO] [stdout]    --> src/lib.rs:46:34
[INFO] [stdout]     |
[INFO] [stdout]  46 |           Data::Struct(struct_) => parse_builder_struct(struct_,ident,generics,attrs,span),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 | / fn parse_buildrer_struct(
[INFO] [stdout] 165 | |     struct_: syn::DataStruct,
[INFO] [stdout] 166 | |     name: syn::Ident,
[INFO] [stdout] 167 | |     generics: syn::Generics,
[INFO] [stdout] ...   |
[INFO] [stdout] 212 | | })
[INFO] [stdout] 213 | | }
[INFO] [stdout]     | |_- similarly named function `parse_buildrer_struct` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout]  46 |         Data::Struct(struct_) => parse_buildrer_struct(struct_,ident,generics,attrs,span),
[INFO] [stdout]     |                                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `parse_builder_struct` in this scope
[INFO] [stdout]    --> src/lib.rs:46:34
[INFO] [stdout]     |
[INFO] [stdout]  46 |           Data::Struct(struct_) => parse_builder_struct(struct_,ident,generics,attrs,span),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 | / fn parse_buildrer_struct(
[INFO] [stdout] 165 | |     struct_: syn::DataStruct,
[INFO] [stdout] 166 | |     name: syn::Ident,
[INFO] [stdout] 167 | |     generics: syn::Generics,
[INFO] [stdout] ...   |
[INFO] [stdout] 212 | | })
[INFO] [stdout] 213 | | }
[INFO] [stdout]     | |_- similarly named function `parse_buildrer_struct` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout]  46 |         Data::Struct(struct_) => parse_buildrer_struct(struct_,ident,generics,attrs,span),
[INFO] [stdout]     |                                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:92:34
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn generate_builder(self) -> proc_macro2::TokenStream{
[INFO] [stdout]    |        ----------------          ^^^^^^^^^^^^^^^^^^^^^^^^ expected `TokenStream`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:92:34
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn generate_builder(self) -> proc_macro2::TokenStream{
[INFO] [stdout]    |        ----------------          ^^^^^^^^^^^^^^^^^^^^^^^^ expected `TokenStream`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syn::spanned::Spanned`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use syn::spanned::Spanned;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syn::spanned::Spanned`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use syn::spanned::Spanned;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `builder` (lib) due to 4 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `builder` (lib test) due to 4 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7153e9fd5b4d2f64750d574ca468e031a52f52f6790e4e25c9883c9ae2db82e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7153e9fd5b4d2f64750d574ca468e031a52f52f6790e4e25c9883c9ae2db82e2", kill_on_drop: false }`
[INFO] [stdout] 7153e9fd5b4d2f64750d574ca468e031a52f52f6790e4e25c9883c9ae2db82e2
