[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-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/reg/proc-macro-rules/0.2.1 [INFO] extracting crate proc-macro-rules 0.2.1 into work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/reg/proc-macro-rules/0.2.1 [INFO] validating manifest of proc-macro-rules-0.2.1 on toolchain master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of proc-macro-rules-0.2.1 on toolchain try#58b21121d0b447ceb3f1a655155d802191acf044 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-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-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/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-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/reg/proc-macro-rules/0.2.1/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking proc-macro-rules-0.2.1 against try#58b21121d0b447ceb3f1a655155d802191acf044 for pr-61100 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-61100/worker-6/try#58b21121d0b447ceb3f1a655155d802191acf044:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/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" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] efd59b42b3d6425348a2ec4723a00c6319eec1c7e6593170d8f1370b73fcb292 [INFO] running `"docker" "start" "-a" "efd59b42b3d6425348a2ec4723a00c6319eec1c7e6593170d8f1370b73fcb292"` [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" "efd59b42b3d6425348a2ec4723a00c6319eec1c7e6593170d8f1370b73fcb292"` [INFO] running `"docker" "rm" "-f" "efd59b42b3d6425348a2ec4723a00c6319eec1c7e6593170d8f1370b73fcb292"` [INFO] [stdout] efd59b42b3d6425348a2ec4723a00c6319eec1c7e6593170d8f1370b73fcb292