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