[INFO] cloning repository https://github.com/TileHalo/Kisalaskuri [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TileHalo/Kisalaskuri" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTileHalo%2FKisalaskuri", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTileHalo%2FKisalaskuri'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc8eada055232c9d79a405ca35b14456aa45669e [INFO] checking TileHalo/Kisalaskuri against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTileHalo%2FKisalaskuri" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TileHalo/Kisalaskuri on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TileHalo/Kisalaskuri [INFO] finished tweaking git repo https://github.com/TileHalo/Kisalaskuri [INFO] tweaked toml for git repo https://github.com/TileHalo/Kisalaskuri written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/TileHalo/Kisalaskuri already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09edfee4d76e668a60d58a2fe9266a50a2db921f7fa881cf567de587e56a22fa [INFO] running `Command { std: "docker" "start" "-a" "09edfee4d76e668a60d58a2fe9266a50a2db921f7fa881cf567de587e56a22fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09edfee4d76e668a60d58a2fe9266a50a2db921f7fa881cf567de587e56a22fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09edfee4d76e668a60d58a2fe9266a50a2db921f7fa881cf567de587e56a22fa", kill_on_drop: false }` [INFO] [stdout] 09edfee4d76e668a60d58a2fe9266a50a2db921f7fa881cf567de587e56a22fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa79b979de5ab2239b4721f8dca5fbe6e1d0a9e2f947f49522213a64f17c70ee [INFO] running `Command { std: "docker" "start" "-a" "fa79b979de5ab2239b4721f8dca5fbe6e1d0a9e2f947f49522213a64f17c70ee", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Checking num-traits v0.2.0 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Compiling pest v1.0.3 [INFO] [stderr] Checking rustc-demangle v0.1.6 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking serde v1.0.27 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking quick-error v1.2.1 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking kilac v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking isatty v0.1.6 [INFO] [stderr] Checking clap v2.30.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking log v0.4.1 [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] 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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pretty_assertions v0.5.0 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking itertools v0.7.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking regex v0.2.6 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking itertools-num v0.1.1 [INFO] [stderr] Checking criterion-plot v0.2.0 [INFO] [stderr] Checking criterion-stats v0.2.0 [INFO] [stderr] Checking simplelog v0.4.4 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Checking serde_json v1.0.9 [INFO] [stderr] Compiling pest_derive v1.0.3 [INFO] [stderr] Checking handlebars v0.30.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking criterion v0.2.0 [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] | ^^^^^ ----------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [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] [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] | ^^^^^ -------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [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] [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] | ^^^^ ---------------------------------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [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] [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] | ^^^^ ------------------------------------------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] 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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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] [stderr] error: could not compile `kilac` due to 5 previous errors [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fa79b979de5ab2239b4721f8dca5fbe6e1d0a9e2f947f49522213a64f17c70ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa79b979de5ab2239b4721f8dca5fbe6e1d0a9e2f947f49522213a64f17c70ee", kill_on_drop: false }` [INFO] [stdout] fa79b979de5ab2239b4721f8dca5fbe6e1d0a9e2f947f49522213a64f17c70ee