[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-60944/sources/master#589beb979c0f1a9736e02e578913db88398c3ba5/reg/proc-macro-rules/0.2.1 [INFO] extracting crate proc-macro-rules 0.2.1 into work/ex/pr-60944/sources/try#42445ded8fd34235a676755cb5d079658ed51f6a/reg/proc-macro-rules/0.2.1 [INFO] validating manifest of proc-macro-rules-0.2.1 on toolchain master#589beb979c0f1a9736e02e578913db88398c3ba5 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+589beb979c0f1a9736e02e578913db88398c3ba5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of proc-macro-rules-0.2.1 on toolchain try#42445ded8fd34235a676755cb5d079658ed51f6a [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+42445ded8fd34235a676755cb5d079658ed51f6a-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-60944/sources/master#589beb979c0f1a9736e02e578913db88398c3ba5/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-60944/sources/try#42445ded8fd34235a676755cb5d079658ed51f6a/reg/proc-macro-rules/0.2.1/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+589beb979c0f1a9736e02e578913db88398c3ba5-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+42445ded8fd34235a676755cb5d079658ed51f6a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+589beb979c0f1a9736e02e578913db88398c3ba5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+42445ded8fd34235a676755cb5d079658ed51f6a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking proc-macro-rules-0.2.1 against master#589beb979c0f1a9736e02e578913db88398c3ba5 for pr-60944 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60944/worker-5/master#589beb979c0f1a9736e02e578913db88398c3ba5:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60944/sources/master#589beb979c0f1a9736e02e578913db88398c3ba5/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" "+589beb979c0f1a9736e02e578913db88398c3ba5-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 70e0b0b83b09d864397e640372f974458c8e51f51c0ec6150777cfddc2d60a09 [INFO] running `"docker" "start" "-a" "70e0b0b83b09d864397e640372f974458c8e51f51c0ec6150777cfddc2d60a09"` [INFO] [stderr] Compiling proc-macro-hack v0.5.7 [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "70e0b0b83b09d864397e640372f974458c8e51f51c0ec6150777cfddc2d60a09"` [INFO] running `"docker" "rm" "-f" "70e0b0b83b09d864397e640372f974458c8e51f51c0ec6150777cfddc2d60a09"` [INFO] [stdout] 70e0b0b83b09d864397e640372f974458c8e51f51c0ec6150777cfddc2d60a09