[INFO] fetching crate kilac 0.2.1... [INFO] testing kilac-0.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate kilac 0.2.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate kilac 0.2.1 [INFO] finished tweaking crates.io crate kilac 0.2.1 [INFO] tweaked toml for crates.io crate kilac 0.2.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kilac 0.2.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kilac 0.2.1 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded criterion-plot v0.3.1 [INFO] [stderr] Downloaded rand_xoshiro v0.1.0 [INFO] [stderr] Downloaded pretty_assertions v0.5.1 [INFO] [stderr] Downloaded criterion v0.2.11 [INFO] [stderr] Downloaded syn v2.0.91 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddb1f47485b41a55a0f67b60ff6cebbf58c0207e56642948175c5d99591e1c4d [INFO] running `Command { std: "docker" "start" "-a" "ddb1f47485b41a55a0f67b60ff6cebbf58c0207e56642948175c5d99591e1c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddb1f47485b41a55a0f67b60ff6cebbf58c0207e56642948175c5d99591e1c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddb1f47485b41a55a0f67b60ff6cebbf58c0207e56642948175c5d99591e1c4d", kill_on_drop: false }` [INFO] [stdout] ddb1f47485b41a55a0f67b60ff6cebbf58c0207e56642948175c5d99591e1c4d [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b62c5fe88ee240fa9279fdce9e58f58ce63d8f0a115781ed500d0ccb5cd031b [INFO] running `Command { std: "docker" "start" "-a" "0b62c5fe88ee240fa9279fdce9e58f58ce63d8f0a115781ed500d0ccb5cd031b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling kilac v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/kipac/mod.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | return (a[(ln / 2)] + a[(ln / 2) - 1]) / 2.0; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - return (a[(ln / 2)] + a[(ln / 2) - 1]) / 2.0; [INFO] [stdout] 129 + return (a[ln / 2] + a[(ln / 2) - 1]) / 2.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/parser/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 172 | let ar = arity!(fun, arity); [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: `#[deny(semicolon_in_expressions_from_macros)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] = note: this error originates in the macro `arity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/parser/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 173 | let nod = app(children!(ar, node), fun, ctx.clone()); [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 error originates in the macro `children` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/parser/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 186 | let ar = arity!(fun, arity); [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 error originates in the macro `arity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/parser/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 187 | let nod = app(children!(ar, node), fun, ctx.clone()); [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 error originates in the macro `children` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/parser/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 207 | let ar = arity!(fun, arity); [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 error originates in the macro `arity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/parser/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 208 | let nod = app(children!(ar, node), fun, ctx.clone()); [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 error originates in the macro `children` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/parser/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 242 | let ar = arity!(fun, arity); [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 error originates in the macro `arity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/parser/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 243 | let nod = app(children!(ar, node), fun, ctx.clone()); [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 error originates in the macro `children` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/parser/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 260 | let ar = arity!(fun, arity); [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 error originates in the macro `arity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/parser/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 261 | let nod = app(children!(ar, node), fun, ctx.clone()); [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 error originates in the macro `children` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/calc/ctx.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&self, String) -> Result; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/calc/mod.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | let parsed = try!(parse(lex(&s), c.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/calc/mod.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | match try!(eval(i.clone(), c.clone())) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 138 | Fun::Eq => value!(Num, cond!(res[0] == res[1])), [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 error originates in the macro `cond` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 139 | Fun::Neq => value!(Num, cond!(res[0] != res[1])), [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 error originates in the macro `cond` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 140 | Fun::Ge => value!(Num, cond!(res[0] <= res[1])), [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 error originates in the macro `cond` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 141 | Fun::Gt => value!(Num, cond!(res[0] < res[1])), [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 error originates in the macro `cond` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 142 | Fun::Le => value!(Num, cond!(res[0] >= res[1])), [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 error originates in the macro `cond` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/calc/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 143 | Fun::Lt => value!(Num, cond!(res[0] > res[1])), [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 error originates in the macro `cond` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/calc/mod.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | ast_to_value(try!(c.get(s))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kilac` (lib) due to 32 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0b62c5fe88ee240fa9279fdce9e58f58ce63d8f0a115781ed500d0ccb5cd031b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b62c5fe88ee240fa9279fdce9e58f58ce63d8f0a115781ed500d0ccb5cd031b", kill_on_drop: false }` [INFO] [stdout] 0b62c5fe88ee240fa9279fdce9e58f58ce63d8f0a115781ed500d0ccb5cd031b