[INFO] fetching crate kilac 0.2.1... [INFO] checking kilac-0.2.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate kilac 0.2.1 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kilac 0.2.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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 pretty_assertions v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b211a92a46117aa2c65b87f994b96481c6c2ebeccbb5415664e2ffeaaf4bfc45 [INFO] running `Command { std: "docker" "start" "-a" "b211a92a46117aa2c65b87f994b96481c6c2ebeccbb5415664e2ffeaaf4bfc45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b211a92a46117aa2c65b87f994b96481c6c2ebeccbb5415664e2ffeaaf4bfc45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b211a92a46117aa2c65b87f994b96481c6c2ebeccbb5415664e2ffeaaf4bfc45", kill_on_drop: false }` [INFO] [stdout] b211a92a46117aa2c65b87f994b96481c6c2ebeccbb5415664e2ffeaaf4bfc45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1de68031e4a5b32600a30b3a29269a079a22c994869b475a75d0f480c63dacea [INFO] running `Command { std: "docker" "start" "-a" "1de68031e4a5b32600a30b3a29269a079a22c994869b475a75d0f480c63dacea", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking kilac v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking clap v2.34.0 [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)]` 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] warning: 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: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `arity` (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/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 warning originates in the macro `children` (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/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 warning originates in the macro `arity` (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/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 warning originates in the macro `children` (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/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 warning originates in the macro `arity` (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/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 warning originates in the macro `children` (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/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 warning originates in the macro `arity` (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/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 warning originates in the macro `children` (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/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 warning originates in the macro `arity` (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/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 warning 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)]` 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] warning: 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 warning originates in the macro `cond` (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/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 warning originates in the macro `cond` (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/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 warning originates in the macro `cond` (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/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 warning originates in the macro `cond` (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/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 warning originates in the macro `cond` (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/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 warning 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] Checking csv-core v0.1.11 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking pretty_assertions v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/kilac.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | c.bench_function("ast min", |b| b.iter(|| parse(lex("min(5, 2)".into())))); [INFO] [stdout] | ^^^^^------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/calc/parser/mod.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn parse(input: Vec, c: C) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 17 | c.bench_function("ast min", |b| b.iter(|| parse(lex("min(5, 2)".into()), /* c */))); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/kilac.rs:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | c.bench_function("ast minmax", |b| b.iter(|| parse(lex("min(5, max(2, -2))".into())))); [INFO] [stdout] | ^^^^^---------------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/calc/parser/mod.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn parse(input: Vec, c: C) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 18 | c.bench_function("ast minmax", |b| b.iter(|| parse(lex("min(5, max(2, -2))".into()), /* c */))); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/kilac.rs:26:54 [INFO] [stdout] | [INFO] [stdout] 26 | c.bench_function("calc empty min", |b| b.iter(|| eval(parse_fn(lex("min(5, 2)".into()), empty, EmptyCtx).ok().unwrap()))); [INFO] [stdout] | ^^^^------------------------------------------------------------------ argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/calc/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn eval(ast: Ast, c: C) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 26 | c.bench_function("calc empty min", |b| b.iter(|| eval(parse_fn(lex("min(5, 2)".into()), empty, EmptyCtx).ok().unwrap(), /* c */))); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/kilac.rs:27:57 [INFO] [stdout] | [INFO] [stdout] 27 | c.bench_function("calc empty minmax", |b| b.iter(|| eval(parse_fn(lex("min(5, max(2, -2))".into()), empty, EmptyCtx).ok().unwrap()))); [INFO] [stdout] | ^^^^--------------------------------------------------------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/calc/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn eval(ast: Ast, c: C) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 27 | c.bench_function("calc empty minmax", |b| b.iter(|| eval(parse_fn(lex("min(5, max(2, -2))".into()), empty, EmptyCtx).ok().unwrap(), /* c */))); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [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)]` 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] warning: 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: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `arity` (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/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 warning originates in the macro `children` (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/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 warning originates in the macro `arity` (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/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 warning originates in the macro `children` (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/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 warning originates in the macro `arity` (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/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 warning originates in the macro `children` (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/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 warning originates in the macro `arity` (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/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 warning originates in the macro `children` (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/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 warning originates in the macro `arity` (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/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 warning 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)]` 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] warning: 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 warning originates in the macro `cond` (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/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 warning originates in the macro `cond` (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/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 warning originates in the macro `cond` (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/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 warning originates in the macro `cond` (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/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 warning originates in the macro `cond` (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/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 warning 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] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kilac` (bench "kilac") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1de68031e4a5b32600a30b3a29269a079a22c994869b475a75d0f480c63dacea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1de68031e4a5b32600a30b3a29269a079a22c994869b475a75d0f480c63dacea", kill_on_drop: false }` [INFO] [stdout] 1de68031e4a5b32600a30b3a29269a079a22c994869b475a75d0f480c63dacea