[INFO] cloning repository https://github.com/allan-silva/pratical-rust-macro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/allan-silva/pratical-rust-macro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallan-silva%2Fpratical-rust-macro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallan-silva%2Fpratical-rust-macro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d94645c6ecf1b982c5e50b48fdd3a3547586275f [INFO] checking allan-silva/pratical-rust-macro against e7769602aca3770e8d8ea55716becb22e839a579 for pr-161253 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallan-silva%2Fpratical-rust-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/allan-silva/pratical-rust-macro [INFO] finished tweaking git repo https://github.com/allan-silva/pratical-rust-macro [INFO] tweaked toml for git repo https://github.com/allan-silva/pratical-rust-macro written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/allan-silva/pratical-rust-macro on toolchain e7769602aca3770e8d8ea55716becb22e839a579 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e7769602aca3770e8d8ea55716becb22e839a579" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/allan-silva/pratical-rust-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" "+e7769602aca3770e8d8ea55716becb22e839a579" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a9ef87d18fecc67d80d9d141dc97bcd79f86bceffdaeebf4a65f7c33a4059aee [INFO] running `Command { std: "docker" "start" "a9ef87d18fecc67d80d9d141dc97bcd79f86bceffdaeebf4a65f7c33a4059aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9ef87d18fecc67d80d9d141dc97bcd79f86bceffdaeebf4a65f7c33a4059aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a9ef87d18fecc67d80d9d141dc97bcd79f86bceffdaeebf4a65f7c33a4059aee" "/opt/rustwide/cargo-home/bin/cargo" "+e7769602aca3770e8d8ea55716becb22e839a579" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9ef87d18fecc67d80d9d141dc97bcd79f86bceffdaeebf4a65f7c33a4059aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a9ef87d18fecc67d80d9d141dc97bcd79f86bceffdaeebf4a65f7c33a4059aee" "/opt/rustwide/cargo-home/bin/cargo" "+e7769602aca3770e8d8ea55716becb22e839a579" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking praticalmacros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: no rules expected `:` [INFO] [stdout] --> src/main.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | const MEM_SIZE: usize = count_expr!($($inits:expr),+); [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] ... [INFO] [stdout] 70 | macro_rules! count_expr { [INFO] [stdout] | ----------------------- when calling this macro [INFO] [stdout] ... [INFO] [stdout] 77 | let fib = recurrence![a[n]: u64 = 0, 1; a[n-1] + a[n-2]]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: while trying to match meta-variable `$e:expr` [INFO] [stdout] --> src/main.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | ($e:expr) => (1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `recurrence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected `:` [INFO] [stdout] --> src/main.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | const MEM_SIZE: usize = count_expr!($($inits:expr),+); [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] ... [INFO] [stdout] 70 | macro_rules! count_expr { [INFO] [stdout] | ----------------------- when calling this macro [INFO] [stdout] ... [INFO] [stdout] 80 | for e in recurrence!(f[i]: f64 = 1.0; f[i-1] * i as f64).take(10) { [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: while trying to match meta-variable `$e:expr` [INFO] [stdout] --> src/main.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | ($e:expr) => (1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `recurrence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `praticalmacros` (bin "praticalmacros") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: no rules expected `:` [INFO] [stdout] --> src/main.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | const MEM_SIZE: usize = count_expr!($($inits:expr),+); [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] ... [INFO] [stdout] 70 | macro_rules! count_expr { [INFO] [stdout] | ----------------------- when calling this macro [INFO] [stdout] ... [INFO] [stdout] 77 | let fib = recurrence![a[n]: u64 = 0, 1; a[n-1] + a[n-2]]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: while trying to match meta-variable `$e:expr` [INFO] [stdout] --> src/main.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | ($e:expr) => (1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `recurrence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected `:` [INFO] [stdout] --> src/main.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | const MEM_SIZE: usize = count_expr!($($inits:expr),+); [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] ... [INFO] [stdout] 70 | macro_rules! count_expr { [INFO] [stdout] | ----------------------- when calling this macro [INFO] [stdout] ... [INFO] [stdout] 80 | for e in recurrence!(f[i]: f64 = 1.0; f[i-1] * i as f64).take(10) { [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: while trying to match meta-variable `$e:expr` [INFO] [stdout] --> src/main.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | ($e:expr) => (1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `recurrence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `praticalmacros` (bin "praticalmacros" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "a9ef87d18fecc67d80d9d141dc97bcd79f86bceffdaeebf4a65f7c33a4059aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9ef87d18fecc67d80d9d141dc97bcd79f86bceffdaeebf4a65f7c33a4059aee", kill_on_drop: false }` [INFO] [stdout] a9ef87d18fecc67d80d9d141dc97bcd79f86bceffdaeebf4a65f7c33a4059aee