[INFO] crate proc-macro-rules 0.2.1 is already in cache [INFO] extracting crate proc-macro-rules 0.2.1 into work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/proc-macro-rules/0.2.1 [INFO] extracting crate proc-macro-rules 0.2.1 into work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/proc-macro-rules/0.2.1 [INFO] validating manifest of proc-macro-rules-0.2.1 on toolchain master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of proc-macro-rules-0.2.1 on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing proc-macro-rules-0.2.1 [INFO] removed 1 missing examples [INFO] finished frobbing proc-macro-rules-0.2.1 [INFO] frobbed toml for proc-macro-rules-0.2.1 written to work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/proc-macro-rules/0.2.1/Cargo.toml [INFO] started frobbing proc-macro-rules-0.2.1 [INFO] removed 1 missing examples [INFO] finished frobbing proc-macro-rules-0.2.1 [INFO] frobbed toml for proc-macro-rules-0.2.1 written to work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/proc-macro-rules/0.2.1/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking proc-macro-rules-0.2.1 against try#06a150c7d11500b41499224f165e9de1de096768 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-7/try#06a150c7d11500b41499224f165e9de1de096768:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/proc-macro-rules/0.2.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 4c8502c05e4c61c35188e836ec69df27e7f87ca121fd097f0df420e54475b67d [INFO] running `"docker" "start" "-a" "4c8502c05e4c61c35188e836ec69df27e7f87ca121fd097f0df420e54475b67d"` [INFO] [stderr] Compiling proc-macro-hack v0.5.5 [INFO] [stderr] Compiling proc-macro-rules-macros v0.2.0 [INFO] [stderr] Checking proc-macro-rules v0.2.1 (/opt/crater/workdir) [INFO] [stderr] error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type [INFO] [stderr] --> examples/macro_rules.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | #[proc_macro] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `macro_rules` [INFO] [stderr] | [INFO] [stderr] = note: consider adding a `main` function to `examples/macro_rules.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: Could not compile `proc-macro-rules`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "4c8502c05e4c61c35188e836ec69df27e7f87ca121fd097f0df420e54475b67d"` [INFO] running `"docker" "rm" "-f" "4c8502c05e4c61c35188e836ec69df27e7f87ca121fd097f0df420e54475b67d"` [INFO] [stdout] 4c8502c05e4c61c35188e836ec69df27e7f87ca121fd097f0df420e54475b67d