[INFO] cloning repository https://github.com/theypsilon/rust-bug-crash-cfg-if-macro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theypsilon/rust-bug-crash-cfg-if-macro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheypsilon%2Frust-bug-crash-cfg-if-macro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheypsilon%2Frust-bug-crash-cfg-if-macro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a157f041981a7c338ce052f7131e15b6bea491d6 [INFO] checking theypsilon/rust-bug-crash-cfg-if-macro against master#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheypsilon%2Frust-bug-crash-cfg-if-macro" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/theypsilon/rust-bug-crash-cfg-if-macro [INFO] finished tweaking git repo https://github.com/theypsilon/rust-bug-crash-cfg-if-macro [INFO] tweaked toml for git repo https://github.com/theypsilon/rust-bug-crash-cfg-if-macro written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/theypsilon/rust-bug-crash-cfg-if-macro on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/theypsilon/rust-bug-crash-cfg-if-macro 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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6319fba565d0928d3480b76a7bc3b7a69c4ac1690dbf6ef99a0bbc2130e17c72 [INFO] running `Command { std: "docker" "start" "-a" "6319fba565d0928d3480b76a7bc3b7a69c4ac1690dbf6ef99a0bbc2130e17c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6319fba565d0928d3480b76a7bc3b7a69c4ac1690dbf6ef99a0bbc2130e17c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6319fba565d0928d3480b76a7bc3b7a69c4ac1690dbf6ef99a0bbc2130e17c72", kill_on_drop: false }` [INFO] [stdout] 6319fba565d0928d3480b76a7bc3b7a69c4ac1690dbf6ef99a0bbc2130e17c72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2543e96327a04a3339da42f5a69987534c54dcda91b79ce7bbce9f4d3c01ae47 [INFO] running `Command { std: "docker" "start" "-a" "2543e96327a04a3339da42f5a69987534c54dcda91b79ce7bbce9f4d3c01ae47", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking rust-bug v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `foo` is defined multiple times [INFO] [stdout] --> src/foo.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! foo { [INFO] [stdout] | ---------------- previous definition of the macro `foo` here [INFO] [stdout] ... [INFO] [stdout] 13 | macro_rules! foo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `foo` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `foo` must be defined only once in the macro namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `foo` is defined multiple times [INFO] [stdout] --> src/foo.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! foo { [INFO] [stdout] | ---------------- previous definition of the macro `foo` here [INFO] [stdout] ... [INFO] [stdout] 13 | macro_rules! foo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `foo` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `foo` must be defined only once in the macro namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::foo` [INFO] [stdout] --> src/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::foo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-bug` (lib) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-bug` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "2543e96327a04a3339da42f5a69987534c54dcda91b79ce7bbce9f4d3c01ae47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2543e96327a04a3339da42f5a69987534c54dcda91b79ce7bbce9f4d3c01ae47", kill_on_drop: false }` [INFO] [stdout] 2543e96327a04a3339da42f5a69987534c54dcda91b79ce7bbce9f4d3c01ae47