[INFO] cloning repository https://github.com/akshayknarayan/rust-macros [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akshayknarayan/rust-macros" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakshayknarayan%2Frust-macros", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakshayknarayan%2Frust-macros'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d49c59134695e0bcb10c41279456990ac93b729 [INFO] checking akshayknarayan/rust-macros against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakshayknarayan%2Frust-macros" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akshayknarayan/rust-macros on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/akshayknarayan/rust-macros [INFO] finished tweaking git repo https://github.com/akshayknarayan/rust-macros [INFO] tweaked toml for git repo https://github.com/akshayknarayan/rust-macros written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/akshayknarayan/rust-macros 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8753f415f50eac6d9cde1a3cb4f053fbff09ae7b708fd45bfc3436992aeaef5 [INFO] running `Command { std: "docker" "start" "-a" "f8753f415f50eac6d9cde1a3cb4f053fbff09ae7b708fd45bfc3436992aeaef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8753f415f50eac6d9cde1a3cb4f053fbff09ae7b708fd45bfc3436992aeaef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8753f415f50eac6d9cde1a3cb4f053fbff09ae7b708fd45bfc3436992aeaef5", kill_on_drop: false }` [INFO] [stdout] f8753f415f50eac6d9cde1a3cb4f053fbff09ae7b708fd45bfc3436992aeaef5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eca8174f9c7e4cc24ce7a0ae1667c57fb69a78c4ccfa54fbf210bcad820c804 [INFO] running `Command { std: "docker" "start" "-a" "1eca8174f9c7e4cc24ce7a0ae1667c57fb69a78c4ccfa54fbf210bcad820c804", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling proc-macro-hack v0.4.1 [INFO] [stderr] Compiling mashup-impl v0.1.9 [INFO] [stderr] Checking mashup v0.1.9 [INFO] [stderr] Checking macrotest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/main.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / foo!(A => [INFO] [stdout] 29 | | a: u32, [INFO] [stdout] 30 | | b: u32, [INFO] [stdout] 31 | | c: u32, [INFO] [stdout] 32 | | d: u32, [INFO] [stdout] 33 | | e: u32 [INFO] [stdout] 34 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `mashup_macro` which comes from the expansion of the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/main.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / foo!(A => [INFO] [stdout] 29 | | a: u32, [INFO] [stdout] 30 | | b: u32, [INFO] [stdout] 31 | | c: u32, [INFO] [stdout] 32 | | d: u32, [INFO] [stdout] 33 | | e: u32 [INFO] [stdout] 34 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `mashup_macro` which comes from the expansion of the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `m` in this scope [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | m! { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 28 | / foo!(A => [INFO] [stdout] 29 | | a: u32, [INFO] [stdout] 30 | | b: u32, [INFO] [stdout] 31 | | c: u32, [INFO] [stdout] 32 | | d: u32, [INFO] [stdout] 33 | | e: u32 [INFO] [stdout] 34 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `m` in this scope [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | m! { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 28 | / foo!(A => [INFO] [stdout] 29 | | a: u32, [INFO] [stdout] 30 | | b: u32, [INFO] [stdout] 31 | | c: u32, [INFO] [stdout] 32 | | d: u32, [INFO] [stdout] 33 | | e: u32 [INFO] [stdout] 34 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_a` found for struct `A` in the current scope [INFO] [stdout] --> src/main.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 20 | struct A { [INFO] [stdout] | -------- method `with_a` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | let v = a [INFO] [stdout] | _____________- [INFO] [stdout] 39 | | .with_a(42) [INFO] [stdout] | | -^^^^^^ method not found in `A` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_a` found for struct `A` in the current scope [INFO] [stdout] --> src/main.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 20 | struct A { [INFO] [stdout] | -------- method `with_a` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | let v = a [INFO] [stdout] | _____________- [INFO] [stdout] 39 | | .with_a(42) [INFO] [stdout] | | -^^^^^^ method not found in `A` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `macrotest` (bin "macrotest" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `macrotest` (bin "macrotest") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "1eca8174f9c7e4cc24ce7a0ae1667c57fb69a78c4ccfa54fbf210bcad820c804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eca8174f9c7e4cc24ce7a0ae1667c57fb69a78c4ccfa54fbf210bcad820c804", kill_on_drop: false }` [INFO] [stdout] 1eca8174f9c7e4cc24ce7a0ae1667c57fb69a78c4ccfa54fbf210bcad820c804