[INFO] cloning repository https://github.com/shivamsinghAIMLops32/macro_scratch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shivamsinghAIMLops32/macro_scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FshivamsinghAIMLops32%2Fmacro_scratch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FshivamsinghAIMLops32%2Fmacro_scratch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7e5caf03714c889109876f76e631df54d946f8eb
[INFO] checking shivamsinghAIMLops32/macro_scratch against 4d7c0cd298ace72490220301fa543d63a154f8ce for pr-164789
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FshivamsinghAIMLops32%2Fmacro_scratch" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shivamsinghAIMLops32/macro_scratch
[INFO] finished tweaking git repo https://github.com/shivamsinghAIMLops32/macro_scratch
[INFO] tweaked toml for git repo https://github.com/shivamsinghAIMLops32/macro_scratch written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shivamsinghAIMLops32/macro_scratch on toolchain 4d7c0cd298ace72490220301fa543d63a154f8ce
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shivamsinghAIMLops32/macro_scratch 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" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4fed75c01627f5517fa64d8e76312929bd316e2e66b1247ec6aeb6107d94344c
[INFO] running `Command { std: "docker" "start" "4fed75c01627f5517fa64d8e76312929bd316e2e66b1247ec6aeb6107d94344c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4fed75c01627f5517fa64d8e76312929bd316e2e66b1247ec6aeb6107d94344c", 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" "4fed75c01627f5517fa64d8e76312929bd316e2e66b1247ec6aeb6107d94344c" "/opt/rustwide/cargo-home/bin/cargo" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4fed75c01627f5517fa64d8e76312929bd316e2e66b1247ec6aeb6107d94344c", 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" "4fed75c01627f5517fa64d8e76312929bd316e2e66b1247ec6aeb6107d94344c" "/opt/rustwide/cargo-home/bin/cargo" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking macro_scratch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: the `proc_macro_derive` attribute is only usable with crates of the `proc-macro` crate type
[INFO] [stdout]   --> src/main.rs:17:3
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[proc_macro_derive(CustomSerialize)]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the `proc_macro_derive` attribute is only usable with crates of the `proc-macro` crate type
[INFO] [stdout]   --> src/main.rs:38:3
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[proc_macro_derive(CustomDeserialize)]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `quote`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use quote::quote;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `quote`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `quote`, use `cargo add quote` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `syn`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput};
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `syn`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `quote`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use quote::quote;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `quote`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `quote`, use `cargo add quote` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `syn`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput};
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `syn`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `syn`, use `cargo add syn` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `macro_scratch`
[INFO] [stdout]   --> src/main.rs:57:2
[INFO] [stdout]    |
[INFO] [stdout] 57 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `macro_scratch` (bin "macro_scratch") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `macro_scratch` (bin "macro_scratch" test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "4fed75c01627f5517fa64d8e76312929bd316e2e66b1247ec6aeb6107d94344c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fed75c01627f5517fa64d8e76312929bd316e2e66b1247ec6aeb6107d94344c", kill_on_drop: false }`
[INFO] [stdout] 4fed75c01627f5517fa64d8e76312929bd316e2e66b1247ec6aeb6107d94344c
