[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/2d49c59134695e0bcb10c41279456990ac93b729 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakshayknarayan%2Frust-macros" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akshayknarayan/rust-macros on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-2-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-hack v0.4.1 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.4.1 [INFO] [stderr] Downloaded mashup v0.1.9 [INFO] [stderr] Downloaded mashup-impl v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6efc2c4832d2c3f373bbee9500c23d8cdcbf378918a4f079ba54254ef6b33e06 [INFO] running `Command { std: "docker" "start" "-a" "6efc2c4832d2c3f373bbee9500c23d8cdcbf378918a4f079ba54254ef6b33e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6efc2c4832d2c3f373bbee9500c23d8cdcbf378918a4f079ba54254ef6b33e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6efc2c4832d2c3f373bbee9500c23d8cdcbf378918a4f079ba54254ef6b33e06", kill_on_drop: false }` [INFO] [stdout] 6efc2c4832d2c3f373bbee9500c23d8cdcbf378918a4f079ba54254ef6b33e06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00d69c897fa0391d74a102d0c3f4dcdfffe5537bf6973997f2ac421d60d1207d [INFO] running `Command { std: "docker" "start" "-a" "00d69c897fa0391d74a102d0c3f4dcdfffe5537bf6973997f2ac421d60d1207d", 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 unicode-xid v0.1.0 [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: 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] 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] 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" "00d69c897fa0391d74a102d0c3f4dcdfffe5537bf6973997f2ac421d60d1207d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00d69c897fa0391d74a102d0c3f4dcdfffe5537bf6973997f2ac421d60d1207d", kill_on_drop: false }` [INFO] [stdout] 00d69c897fa0391d74a102d0c3f4dcdfffe5537bf6973997f2ac421d60d1207d