[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/d94645c6ecf1b982c5e50b48fdd3a3547586275f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [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] validating manifest of git repo https://github.com/allan-silva/pratical-rust-macro 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/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] 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 394b6fcb39c3684f43a4153367de98ca5e928b55515ecf802d2847a1c2b50fdb [INFO] running `Command { std: "docker" "start" "-a" "394b6fcb39c3684f43a4153367de98ca5e928b55515ecf802d2847a1c2b50fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "394b6fcb39c3684f43a4153367de98ca5e928b55515ecf802d2847a1c2b50fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "394b6fcb39c3684f43a4153367de98ca5e928b55515ecf802d2847a1c2b50fdb", kill_on_drop: false }` [INFO] [stdout] 394b6fcb39c3684f43a4153367de98ca5e928b55515ecf802d2847a1c2b50fdb [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29571f4a16232f60930a037d68993af168084a85584d99f80b2ab56a95ce7546 [INFO] running `Command { std: "docker" "start" "-a" "29571f4a16232f60930a037d68993af168084a85584d99f80b2ab56a95ce7546", kill_on_drop: false }` [INFO] [stderr] Checking praticalmacros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: no rules expected the token `:` [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 the token `:` [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 the token `:` [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] [stdout] error: no rules expected the token `:` [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] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | }; [INFO] [stdout] | ^ [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `recurrence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | }; [INFO] [stdout] | ^ [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `recurrence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | }; [INFO] [stdout] | ^ [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `recurrence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | }; [INFO] [stdout] | ^ [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `recurrence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `praticalmacros` (bin "praticalmacros") due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `praticalmacros` (bin "praticalmacros" test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "29571f4a16232f60930a037d68993af168084a85584d99f80b2ab56a95ce7546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29571f4a16232f60930a037d68993af168084a85584d99f80b2ab56a95ce7546", kill_on_drop: false }` [INFO] [stdout] 29571f4a16232f60930a037d68993af168084a85584d99f80b2ab56a95ce7546